Last modified: 2014-08-26 15:34:17 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 T71870, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69870 - Enable DOM editing of transclusion parameters
Enable DOM editing of transclusion parameters
Status: ASSIGNED
Product: Parsoid
Classification: Unclassified
DOM (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Marc Ordinas i Llopis
:
Depends on:
Blocks: 50355
  Show dependency treegraph
 
Reported: 2014-08-21 19:38 UTC by James Forrester
Modified: 2014-08-26 15:34 UTC (History)
3 users (show)

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


Attachments

Description James Forrester 2014-08-21 19:38:14 UTC
This is needed to allow VisualEditor to support such lovely wikitext as {{echo|{{echo|Foo!}}}} and more complex variations.
Comment 1 Marc Ordinas i Llopis 2014-08-26 10:04:42 UTC
The current status for DOM transclusion parameters is: The code is there, but it is disabled by default as it affects performance. For example, it increases the rendering of [[Barack_Obama]] by more than 3s.

To enable it (in case someone wants to try it out), add
parsoidConfig.addHTMLTemplateParameters = true;
to localsettings.js.

With this enabled, it's possible to make Parsoid accept new transclusion parameters from HTML by removing the wt ones. We are also planning on adding support for detecting changes in parameters (so that the wikitext ones don't have to be removed) in the future.

I'll be working on improving performance shortly.
Comment 2 James Forrester 2014-08-26 15:34:17 UTC
(In reply to Marc Ordinas i Llopis from comment #1)
> With this enabled, it's possible to make Parsoid accept new transclusion
> parameters from HTML by removing the wt ones. We are also planning on adding
> support for detecting changes in parameters (so that the wikitext ones don't
> have to be removed) in the future.

That sounds great.

> I'll be working on improving performance shortly.

Excellent. :-)

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


Navigation
Links