GWicke has uploaded a new change for review. Change subject: Expand attribute tokens before converting them back to plain tokens ......................................................................
Expand attribute tokens before converting them back to plain tokens * Expand template attribute tokens when switching a template with invalid target back to regular content. * Remove ParserValue handling from flattenAndAppendToks- ParserValues should not get there really. Should we explicitly test for them and throw an exception in the interest of fail early & loud? This should fix crashes like http://parsoid.wmflabs.org:8001/result/684a25a1be457727593ac816e894d8acdec9f4cc/Georgetown%20Pike. No change in parser tests (TODO: add parser test). Change-Id: I543aaefa0b0bdd9be9ba1a6fe49c1fd3e5ef5c41 --- M js/lib/ext.core.TemplateHandler.js M js/lib/mediawiki.Util.js 2 files changed, 27 insertions(+), 23 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/92/35792/1 -- To view, visit https://gerrit.wikimedia.org/r/35792 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I543aaefa0b0bdd9be9ba1a6fe49c1fd3e5ef5c41 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
