https://bugzilla.wikimedia.org/show_bug.cgi?id=39025
Web browser: ---
Bug #: 39025
Summary: Unable to hide a gadget
Product: MediaWiki extensions
Version: unspecified
Platform: All
URL: https://www.mediawiki.org/wiki/Thread:Talk:ResourceLoa
der/V2_testing/Unable_to_hide_a_gadget
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Gadgets
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 29398
Classification: Unclassified
Mobile Platform: ---
From
https://www.mediawiki.org/wiki/Thread:Talk:ResourceLoader/V2_testing/Unable_to_hide_a_gadget
The "hidden" option is not working for this gadget[1]. It appears on [2] even
after I hide it[3]. Indeed, the loop[4] which adds a preference for each gadget
doesn't check for its hidden property before adding it to Special:Preferences
(BTW: it also doesn't check if the user has the appropriate rights).
[1] http://rl2.wmflabs.org/rl2-repo1/wiki/Gadget_definition:test.js
[2]
http://rl2.wmflabs.org/rl2-repo1/wiki/Special:Preferences#mw-prefsection-gadgets
Special:Preferences#mw-prefsection-gadgets
[3]
http://rl2.wmflabs.org/rl2-repo1/w/index.php?title=Gadget_definition:test.js&diff=prev&oldid=462
[4]
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Gadgets.git;a=blob;f=Gadgets.hooks.php;hb=refs/heads/RL2#l305
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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