Page MenuHomePhabricator

Gadgets not working in Bengali Wikisource
Closed, DeclinedPublic

Description

Following gadgets are not working in Bengali Wikisource.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 26 2019, 6:42 AM

Removing the Gadgets project tag. See its description: The tag is about the Gadgets PHP extension. It is not about random gadgets on random websites.

Aklapper closed this task as Declined.Jun 26 2019, 9:08 AM

@Bodhisattwa: In general: Please always read and follow https://www.mediawiki.org/wiki/How_to_report_a_bug . You do not describe why you think something is "broken". Or how someone else could see the problem. You must include such information when creating tasks.

To fix broken gadgets, please see and follow https://www.mediawiki.org/wiki/Help:Locating_broken_scripts .
That page is also linked from https://www.mediawiki.org/wiki/How_to_report_a_bug

I can report that https://bn.wikipedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js is broken: TypeError: mw.util is undefined

Furthermore, On-wiki content like user scripts, gadgets, templates, custom CSS are local features and managed independently on each wiki. Phabricator is used for MediaWiki, MediaWiki extensions, or server configuration, or by developers and teams to organize what they plan to work on. Hence I'm declining this task.
This is a matter to discuss and fix on the local wiki and not handled in Phabricator until https://phabricator.wikimedia.org/T121470 gets solved.

See https://www.mediawiki.org/wiki/Help:Locating_broken_scripts how you can find out why exactly a gadget is broken.
See https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users) and https://www.mediawiki.org/wiki/ResourceLoader/Legacy_JavaScript how you can fix that broken code.