This is an archive of past discussions with User:TheDragonFire. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
Scripts++ Newsletter – Issue 20
News and updates associated with user scripts from the past month (January 2021).
Hello everyone and welcome to the 20th issue of the Wikipedia Scripts++ Newsletter:
User:Ahecht/Scripts/pageswap - version 1.4 fixes reading destination from form field if destination is not in article namespace, and fixes self redirects.
Wikipedia:XFDcloser - version 4 brings a new user interface for dialogs, some preferences for customising XFDcloser, major behind-the-scenes coding changes, and resolves various issues raised on the talkpage. Also, since version 3.16.6 non-admin soft delete closure have been allowed at TfD.
Open tasks
As a reminder, the legacy javascript globals (like accessing wgPageName without first assigning it a value or using mw.config.get('wgPageName') instead) are deprecated. If your user scripts make use of the globals, please update them to use mw.config instead. Some global interface editors or local interface administrators may edit your user script to make these changes if you don't. See phab:T72470 for more.
Miscellaneous
For people interested in creating user scripts or gadgets using TypeScript, a types-mediawiki package (GitHub, NPM) is now available that provides type definitions for the MediaWiki JS interface and the API.
A GitHub organization has been created for hosting codebases of gadgets. Users who maintain gadgets using GitHub may choose to move their repos to this organization, to ensure continued maintenance by others even if the original maintainer becomes inactive.
As always, if anyone else would like to contribute, including nominating a featured script, help is appreciated. Stay safe, and happy new year! --DannyS712 (talk) 01:17, 3 February 2021 (UTC)
User:Ahecht/Scripts/pageswap - version 1.4 fixes reading destination from form field if destination is not in article namespace, and fixes self redirects.
Wikipedia:XFDcloser - version 4 brings a new user interface for dialogs, some preferences for customising XFDcloser, major behind-the-scenes coding changes, and resolves various issues raised on the talkpage. Also, since version 3.16.6 non-admin soft delete closure have been allowed at TfD.
Open tasks
As a reminder, the legacy javascript globals (like accessing wgPageName without first assigning it a value or using mw.config.get('wgPageName') instead) are deprecated. If your user scripts make use of the globals, please update them to use mw.config instead. Some global interface editors or local interface administrators may edit your user script to make these changes if you don't. See phab:T72470 for more.
Miscellaneous
For people interested in creating user scripts or gadgets using TypeScript, a types-mediawiki package (GitHub, NPM) is now available that provides type definitions for the MediaWiki JS interface and the API.
A GitHub organization has been created for hosting codebases of gadgets. Users who maintain gadgets using GitHub may choose to move their repos to this organization, to ensure continued maintenance by others even if the original maintainer becomes inactive.
As always, if anyone else would like to contribute, including nominating a featured script, help is appreciated. Stay safe, and happy new year! --DannyS712 (talk) 01:17, 3 February 2021 (UTC)