https://bugzilla.wikimedia.org/show_bug.cgi?id=71368
Bug ID: 71368
Summary: Plural messages with callback functions for external
links no longer work
Product: MediaWiki
Version: 1.24rc
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Internationalization
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
This is a regression introduced by
https://gerrit.wikimedia.org/r/#/c/156237/5/resources/src/mediawiki/mediawiki.jqueryMsg.js,unified
and specifically the .html() call on line 1139, which has the effect of
flattening the link into its html code in the final rendered message.
The broken message is in UploadWizard:
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/908
The affected message calls .msg() with these kinds of parameters: .msg(
'api-error-duplicate', [1, foo] ) where "foo" is a callback function, to be
executed on click of the extLink.
To view this issue live, just deliberately re-upload an existing file with
Upload Wizard.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l