Last modified: 2013-01-02 09:24:48 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 T44944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42944 - [Regression] Watchlist fails: "Uncaught TypeError: mw.messsage is not a function"
[Regression] Watchlist fails: "Uncaught TypeError: mw.messsage is not a funct...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.21.x
All All
: Highest major (vote)
: ---
Assigned To: Krinkle
https://www.mediawiki.org/wiki/Techni...
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-11 08:24 UTC by Niklas Laxström
Modified: 2013-01-02 09:24 UTC (History)
6 users (show)

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


Attachments

Description Niklas Laxström 2012-12-11 08:24:29 UTC
Looks like regression in 1.21wmf6.

Js error: Uncaught TypeError: Object #<Object> has no method 'messsage' mediawiki.page.watch.ajax.js:168
Comment 1 Nemo 2012-12-11 08:56:39 UTC
Yes, same on monobook.

Data e ora: 11/12/2012 09:55:37
Errore: TypeError: mw.messsage is not a function
File sorgente: https://bits.wikimedia.org/static-1.21wmf6/resources/mediawiki.page/mediawiki.page.watch.ajax.js
Riga: 168
Comment 2 Andre Klapper 2012-12-11 15:02:30 UTC
My wild guess: 
"messsage" is likely a typo (hence mediawiki/core/resources/mediawiki/mediawiki.js:297 cannot be found?), but no recent changes in 
  core / resources / mediawiki.page / mediawiki.page.watch.ajax.js
so maybe some other changes made reaching the Error condition in the calling code suddenly more likely.
Comment 3 Alex Monk 2012-12-11 17:01:31 UTC
Gerrit change #38113 fixes this 'messsage' error, but it won't solve the issue of watchlisting things failing as this is actually in the code to display errors. 
(msg = mw.messsage( 'watcherrortext', link );)
Comment 4 Niklas Laxström 2012-12-11 18:15:53 UTC
I cannot reproduce it anymore btw. Too bad I didn't take the whole backtrace.
Comment 5 Andre Klapper 2012-12-11 18:21:14 UTC
[Decreasing my tentative "Highest prio" and "blocking 38865" in that case. Please increase again after reproducing.]
Comment 7 Krinkle 2013-01-02 09:22:08 UTC
It can only be reproduced in case of an API error. The code is still in 1.21wmf6, the fix needs to be backported as it will cause an Uncaught Exception.

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


Navigation
Links