Last modified: 2014-08-05 22:37:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56140, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54140 - TemplateData: Store TemplateData in its own namespace ("Template data:") with a JSON content type and associated to the Template: namespace
TemplateData: Store TemplateData in its own namespace ("Template data:") with...
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
TemplateData (Other open bugs)
master
All All
: High enhancement (vote)
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: 52448
  Show dependency treegraph
 
Reported: 2013-09-15 05:36 UTC by Mark Holmquist
Modified: 2014-08-05 22:37 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2013-09-15 05:36:13 UTC
e.g. Template:Information could be documented at TemplateData:Information instead of inside the source code of Template:Information.

Pros:

1. More standard use of ContentHandler for JSON across projects
2. Document templates without needing to make edits to templates that are potentially transcluded across large swaths of pages
3. Easier to implement custom editors for ContentHandler pages than for portions of wikitext pages.

Cons:

1. Would need to have two separate systems - one for the JSON storage, then another to transclude the generated documentation onto template doc pages, e.g. with <templatedata /> or {{#templatedata}} or so (no params needed, because the TemplateData namespace page can be of the same name, like a talk page)
2. Would need to rework the existing editor (sorry, mooeypoo) to work with the new system
Comment 1 Rainer Rillke @commons.wikimedia 2013-09-18 09:38:17 UTC
Is this a dupe of https://bugzilla.wikimedia.org/show_bug.cgi?id=50512#c0 ?
Comment 2 Mark Holmquist 2013-09-18 13:50:41 UTC
I talked about that briefly on IRC, we decided that since this is specifically about the namespace proposal, until we decided what to do about it, we'd leave both open. And closing that bug may not necessarily close this bug.
Comment 4 James Forrester 2014-05-27 16:32:36 UTC
Re-wording; this is blocked by https://www.mediawiki.org/wiki/Requests_for_comment/Associated_namespaces being implemented.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links