GWicke has uploaded a new change for review. Change subject: Improve the handling of tags in template targets ......................................................................
Improve the handling of tags in template targets * Convert template targets with tag tokens back into text. This pages using http://en.wikipedia.org/w/index.php?title=Template:Tl&action=edit, which relies on template calls with invalid targets being converted back to text. Fixes all semantic diffs in [[Wikipedia:Crown copyright]] and possibly some others * Also change some empty arguments from empty arrays to empty strings for a minor performance boost as these are not expanded. * A newly added parser test behaves much better than before, but does not yet pass completely. The differing part falls into the 'wontfix' part, so should probably be whitelisted or split off into a separate test. Otherwise no changes in parserTests. Change-Id: Ia936f62fd8c9e3c0e6cf3e9b6a711e9185ed1929 --- M js/lib/ext.core.TemplateHandler.js M js/lib/pegTokenizer.pegjs.txt 2 files changed, 63 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/95/33295/1 -- To view, visit https://gerrit.wikimedia.org/r/33295 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia936f62fd8c9e3c0e6cf3e9b6a711e9185ed1929 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: GWicke <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
