Last modified: 2010-05-15 15:33:37 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 T3726, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1726 - out-of-band communication with extensions
out-of-band communication with extensions
Status: RESOLVED DUPLICATE of bug 684
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
Macintosh Mac OS X 10.3
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-03-21 05:00 UTC by Jan Steinman
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Description Jan Steinman 2005-03-21 05:00:51 UTC
Many external programs that would be handy from custom extensions have both a data set that drives them, and a bunch of 
attributes that modify how the data set is interpreted.

For example, Graphviz has a simple data format, but there are several layout engines available. You don't really want to 
pollute the data with such metadata. Another example is Ploticus, which has a simple data format, modified by a slew of 
command line switches.

I propose the following XML-compatible extension to extensions:

<ext key1=value1 key2=value2 ... > (extension data goes here) </ext>

The key/value pairs are packaged up in an associative array and passed as an optional second argument to the registered 
extension function.

For example:

<somethingThatDrawsImages style="float:right"> would allow graphics to be better integrated with pages
<graphviz layout=neato> would allow non-hierarchical layout
Comment 1 Brion Vibber 2005-03-21 06:38:47 UTC

*** This bug has been marked as a duplicate of 684 ***

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