Page MenuHomePhabricator

Edit Toolbar and Twinkle Gadgets are not loading properly at Bengali (bn) Wikipedia
Closed, InvalidPublic

Description

The "Edit Toolbar" and "Twinkle" Gadgets are not loading properly in Bengali Wikipedia. For more that one month we are facing this issue.

The problem is these gadgets do not load all the time. When we open any page in edit mode sometimes these gadgets are missing. If we refresh the pages a number of times the one of the gadgets might load. but i for last one week i could use the Twinkle only a few times.

We discussed this issue at our local village pump and many of the users agreed on this issue. But only one user said that he never faced this issue for the Edit toolbar, but for Twinkle the situation is same for him too.
One of the user reported this issue on the Twinkle project page, but solution did not came[2].

[1] - http://bn.wikipedia.org/wiki/WP:%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%B6%E0%A6%BE%E0%A6%B8%E0%A6%95%E0%A6%A6%E0%A7%87%E0%A6%B0_%E0%A6%86%E0%A6%B2%E0%A7%8B%E0%A6%9A%E0%A6%A8%E0%A6%BE%E0%A6%B8%E0%A6%AD%E0%A6%BE#.E0.A6.B8.E0.A6.AE.E0.A7.8D.E0.A6.AA.E0.A6.BE.E0.A6.A6.E0.A6.A8.E0.A6.BE_.E0.A6.9F.E0.A7.81.E0.A6.B2.E0.A6.AC.E0.A6.BE.E0.A6.B0_.28.E0.A6.9C.E0.A6.B0.E0.A7.81.E0.A6.B0.E0.A7.80_.E0.A6.AD.E0.A6.BF.E0.A6.A4.E0.A7.8D.E0.A6.A4.E0.A6.BF.E0.A6.A4.E0.A7.87_.E0.A6.AE.E0.A6.A8.E0.A7.8D.E0.A6.A4.E0.A6.AC.E0.A7.8D.E0.A6.AF_.E0.A6.AA.E0.A7.8D.E0.A6.B0.E0.A6.AF.E0.A6.BC.E0.A7.8B.E0.A6.9C.E0.A6.A8.29

[2] - https://github.com/azatoth/twinkle/issues/159


Version: wmf-deployment
Severity: major

Details

Reference
bz49268

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz49268.
bzimport added a subscriber: Unknown Object (MLST).
Nasirkhan created this task.Jun 6 2013, 7:16 PM

Hi Nasir,
thanks for reporting this.

Looking at the Javascript console in Firefox when loading http://bn.wikipedia.org/w/index.php?title=%E0%A6%A2%E0%A6%BE%E0%A6%95%E0%A6%BE_%E0%A6%AC%E0%A6%BF%E0%A6%B6%E0%A7%8D%E0%A6%AC%E0%A6%AC%E0%A6%BF%E0%A6%A6%E0%A7%8D%E0%A6%AF%E0%A6%BE%E0%A6%B2%E0%A6%AF%E0%A6%BC&action=edit I get:

Error: TypeError: mw.usability is undefined
Source File: http://bn.wikipedia.org/w/index.php?title=Mediawiki:RefToolbarMessages-en.js&action=raw&ctype=text/javascript
Line: 8

Error: TypeError: EditTools.createEditTools is not a function
Source File: http://bn.wikipedia.org/w/index.php?title=Mediawiki:RefToolbarLegacy.js&action=raw&ctype=text/javascript
Line: 88

For the latter, if you check http://bn.wikipedia.org/w/index.php?title=%E0%A6%AE%E0%A6%BF%E0%A6%A1%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%3AEdittools.js&diff=1222586&oldid=471948 you can see that the definition for the function createEditTools() was removed already in 2012, but RefToolbarLegacy.js was not updated accordingly.

So that's probably what you want to repair first, and then recheck the situation. http://www.mediawiki.org/wiki/MediaWiki_talk:Edittools and http://en.wikipedia.org/wiki/MediaWiki_talk:Edittools might also be a places for further support.

I'm closing this bug report as INVALID for the time being, as this problem is not about server configuration or MediaWiki code but about local scripts on a specific Wikipedia that anybody could fix on-wiki.