Last modified: 2014-10-21 12:55:32 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 T73368, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71368 - Plural messages with callback functions for external links no longer work
Plural messages with callback functions for external links no longer work
Status: RESOLVED DUPLICATE of bug 70617
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-26 20:27 UTC by Gilles Dubuc
Modified: 2014-10-21 12:55 UTC (History)
10 users (show)

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


Attachments

Description Gilles Dubuc 2014-09-26 20:27:59 UTC
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.
Comment 1 Santhosh Thottingal 2014-10-21 12:55:32 UTC

*** This bug has been marked as a duplicate of bug 70617 ***

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


Navigation
Links