Technical13 created this task.
Technical13 added a subscriber: Technical13.
Technical13 added projects: DataValues-JavaScript, JavaScript,
MediaWiki-extensions-GlobalCssJs.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
Please add a `mw.config.get( 'wgBlocked' );` object that is `false` or
contains `{ blockId: <id>, blockedBy: <by>, blockedTimestamp: <timestamp>,
blockedExpiry: <expires timestamp>, blockReason: <reason> }`. This would allow
userscript and gadget developers to easily lock out blocked users from loading
the script which may prevent frustration of other users that need to clean up
after an accidental use of a script that may have had unexpected or undesired
results. The first use case that comes to mind for me is preventing users from
attempting to archive sections on their talk page with [[en:User:Technical
13/1CA]] where they are unable to append the section to their talk page but the
script would still remove the section from the live page. Blocked users also
don't need to be focused on trying to use various scripts to try and evade
their block and should be instead focusing on why they are blocked and getting
that resolved. This global would make it easier to remove these
temptations. Thank you.
TASK DETAIL
https://phabricator.wikimedia.org/T86858
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Technical13
Cc: Technical13, Aklapper, Wikidata-bugs, Quiddity, Legoktm
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs