User:PerfektesChaos/js
Appearance
This is a collection of JavaScript code and adjacent pages which might be disseminated over WMF one day.
Scripts:
- editToolStrIns
mw-editTools: Insert characters and strings fixCentralAuthLocalLinks
Fix broken relative links in Special:CentralAuth.- paneMarker
emphasize browser windows/tabs used for input activities - resultListSort
sort page lists on special pages - userspaceLinks
links if visiting a page related to a particular user
Similar collections:
Minification
[edit]Since user scripts other than common.js and skin related are not minified I am used to deliver code in two versions:
debug.js
ord.js
etc., human readable, upstream version to be editedrelease.js
orr.js
etc.- corresponding to a distinct version of the first one
- tested as far as possible, without any known bug
- comments and whitespace removed in general
- line break for each statement left to keep decipherable and provide meaningful line numbers in messages
- important comments left, e.g. revision timestamp
- string literals concatenated by preprocessing which enables deliberate line breaks in long strings to maintain readability