User:GhostInTheMachine/Scripts
Appearance
GhostInTheMachine • Talk • All • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts • Tidying • TidyingSD • UBX • WIP • 2022-01-10 15:23:05 |
Overview | Scripts | Status | Me | Description |
---|---|---|---|---|
FoldSections | JS | Live | ![]() |
Fold sections of an article — Fork of User:BrandonXLF/CollapseSections as of 2022-01-10 |
LastEditor | JS | Live | ![]() |
Displays information related to page's last editor — Fork of User:Eizen/LastEditor as of 2021-01-18 |
NoEditSummary | JS | Live | ![]() |
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 | ![]() |
CSS to improve display of the Short Description Helper |
SDlinkBuilder | JS | Live | ![]() |
Create a list of links to pages with their Short descriptions |
ShinyButtons | JS | Live | ![]() |
Add extra menu buttons for my TODO and WIP subpages — rolled into UI |
SortWhatLinksHere | JS | Live | ![]() |
Sort the links displayed by the What links here page |
SubPages | JS | Live | ![]() |
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 | ![]() |
Adds yesterday and today sidebar menu for simpler navigation |
— TalkHelper v3 | JS | WIP | Adds more navigation options | |
Tasky | ![]() |
prototyping | Add articles to a task list and manage the task status | |
UI | JS | continuous | ![]() |
Assorted changes to the layout of current skin and menus Now includes ShinyButtons and SubPages |
WatchlistTidy | JS | Live | ![]() |
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 | ![]() |
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 | ![]() |
Whatever I am |
CSS |
Users scripts from other people that I use
See the notes on my page covering my common.js
Loading user scripts
{{Iusc}} = {{Install user script}} — old way using importScript() — Do NOT use this as the importScript function will be deleted "soon"
{{Lusc}} = {{Load user script}} — new way using mw.loader.load()
{{Js}} — uses the full URL, so cross-wiki
- Migration guide re Iusc vs. Lusc
- MW:ResourceLoader/Core modules
- mw.loader mw.loader
- mw.loader-method-using load dependencies
JavaScript misc
- jQuery API documentation
- JavaScript mw.config — direct access to variables works but is discouraged
- loading config variables — load variables via mw.config.get( 'wgUserEditCount')
Gadgets
- MediaWiki:Gadgets-definition ⇒ Special:Gadgets — list of special gadgets users can enable