GWicke has submitted this change and it was merged. Change subject: Fix prefixed image options, implement link= ......................................................................
Fix prefixed image options, implement link= See e.g. https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Simple_image Also, had to change the way we store magic words that are prefixed options. The MW API sends them back in the form "option=$1", so I store them that way by default now, and detect them that way in the link handler. Also, fixed the options like $1px that were hacked in. They all work now. Change-Id: I41e151e133d63208e0b7e6c1824a612900a3107a --- M js/lib/ext.core.LinkHandler.js M js/lib/mediawiki.WikiConfig.js M js/lib/mediawiki.WikitextSerializer.js M js/lib/mediawiki.wikitext.constants.js 4 files changed, 183 insertions(+), 80 deletions(-) Approvals: GWicke: Verified; Looks good to me, approved jenkins-bot: Checked -- To view, visit https://gerrit.wikimedia.org/r/47601 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I41e151e133d63208e0b7e6c1824a612900a3107a Gerrit-PatchSet: 11 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: MarkTraceur <mtrac...@member.fsf.org> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: MarkTraceur <mtrac...@member.fsf.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits