User:GhostInTheMachine/SortWhatLinksHere

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2022-08-22 12:43:59

Purpose

edit

Sorts the links displayed by the What links here page.

The script runs shortly after the page is loaded so the links are displayed first in their unsorted state and then sorted.

It does nothing for other pages.

Prerequisites

edit

None.

Installing

edit

Add the following line to your common.js file.

{{subst:Lusc|User:GhostInTheMachine/SortWhatLinksHere.js}}

Notes

edit

Inspired by a March 2021 request from User:Headbomb in User scripts / Requests.

Alternatives

edit

The list of links really should be sorted by the system, so that this script is not needed

See also

edit