Jump to content

User:GhostInTheMachine/Scripts

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GhostInTheMachine (talk | contribs) at 16:39, 10 July 2022 (Users scripts from other people that I use: H2). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

GhostInTheMachineTalkAllBarnstarsHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDUBXWIP2022-07-10 16:39:20

My user scripts so far
Overview Scripts Status Me Description
FoldSections JS Live Green tickY Fold sections of an article — Fork of User:BrandonXLF/CollapseSections as of 2022-01-10
GraphicReplyLink JS Live Green tickY Replace the text reply link with a with a better-looking graphic emoji
LastEditor JS Live Green tickY Displays information related to page's last editor — Fork of User:Eizen/LastEditor as of 2021-01-18
NoEditSummary JS Live Green tickY Warn if you are about to save an edit with no summary text — stolen from a post by User:SD0001
SD-display-helper JS Live Green tickY CSS to improve display of the Short Description Helper
SDlinkBuilder JS Live Green tickY Create a list of links to pages with their Short descriptions
ShinyButtons JS Live Red XN Add extra menu buttons for my TODO and WIP subpages — rolled into UI
SortWhatLinksHere JS Live Green tickY Sort the links displayed by the What links here page
SubPages JS Live Red XN Add a button to list the subpages of the current page — rolled into UI
TalkHelper JS v2 live Improve the readability of long talk pages (redirects to latest version)
TalkHelper v1 JS Live Highlights the posts from yesterday and today. Adds a menu button to jump to the first post
TalkHelper v2 JS Live Green tickY Adds yesterday and today sidebar menu for simpler navigation
TalkHelper v3 JS WIP Adds more navigation options
Tasky Light bulb iconB prototyping Add articles to a task list and manage the task status
UI JS continuous Green tickY Assorted changes to the layout of current skin and menus
Now includes ShinyButtons and SubPages
WatchlistTidy JS Live Green tickY Makes changes to the layout of the watchlist page
WRANA drafted / stalled This will be a prototype of a Wizard for requesting a new article
@BessieMaelstrom – Outline for a "Request an article wizard"
common JS standard Green tickY Listed here so that I can add notes to the page rather than the script
CSS Empty — all CSS is now added by the JS script that needs it
Test JS testing Light bulb iconB Whatever I am playing with testing at the moment. Here be dragons
CSS

Imported user scripts

Users scripts from other people that I use

See the notes on my page covering my common.js

Importing user scripts

Red XN Template {{Iusc}} = {{Install user script}}

  • This was the old way to import a user script which uses the importScript() function
  • Do NOT use this as the importScript function will probably be deleted one day
Timeline for importScript function
February 2010 MediaWiki 1.16 added importScript as part of the mediawiki.util module
November 2015 MediaWiki 1.26 unconditional preload of mediawiki.util disabled by default
June 2016 MediaWiki 1.27 preload of mediawiki.util module no longer available — scripts that use the mediawiki.util module must express a dependency on it
July 2017 MediaWiki 1.29 the importScript function is deprecated
Unknown Unknown the importScript function is deleted. Global chaos erupts

Loading user scripts

Green tickY Template {{Lusc}} = {{Load user script}}

Also Green tickY {{Js}} — uses the full URL, so it can load scripts from another wiki

JavaScript misc

Gadgets