Last modified: 2014-08-07 15:46:27 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 T55874, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53874 - Add a generic extension registration mechanism
Add a generic extension registration mechanism
Status: NEW
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-06 22:56 UTC by Gabriel Wicke
Modified: 2014-08-07 15:46 UTC (History)
4 users (show)

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


Attachments

Description Gabriel Wicke 2013-09-06 22:56:27 UTC
We need a way to register custom extensions from localsettings.js. These should provide handlers that work on the token stream (by emitting tokens) or on the DOM (by converting the extension tag into an HTML DOM), and in the serializer (to convert an extension node back to wikitext).

The details are hashed out in https://www.mediawiki.org/wiki/Parsoid/Extension_registration_interface.

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


Navigation
Links