User:GhostInTheMachine/Scripts
Appearance
GhostInTheMachine • Talk • All • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts • Tidying • TidyingSD • UBX • WIP • 2021-02-03 20:17:39 |
Overview | Scripts | Status | Description |
---|---|---|---|
LastEditor | JS | Live | Show info on the last edit of a page — Fork of User:Eizen/LastEditor |
NoEditSummary | JS | Live | Warn if you are about to save an edit with no summary text — stolen from User:SD0001 |
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 |
SubPages | JS | Live | Add a button to list the subpages of the current page |
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 | OK-ish | Changes to the user interface on the watchlist page |
WRANA | drafted / stalled | This will be a prototype of a Wizard for requesting a new Wikipedia article @BessieMaelstrom – Outline for a "Request an article wizard" | |
common | JS CSS | standard | Listed here so that I can add notes to the page rather than the script |
Test | JS CSS | testing | Whatever I am |
Scripts that I use
- User:Anomie/linkclassifier — colour code wiki links — vital
- User:Bradv/Scripts/Superlinks — adds a menu with an assortment of pop-up quick views
- User:Evad37/ToDoLister — manage a TODO list in my TODO subpage
- User:Nardog/CatChangesViewer — track additions and removals of a category
- User:PerfektesChaos/js/lintHint — button to run a lint check on a page
- User:SD0001/shortdescs-in-category — add button to category listings to display the short descriptions — awesome
Scripts that I have used
- User:Eizen/LastEditor — displays data about a page's last editor — I created a slightly modified version
- User:Þjarkur/Highlight recently added text — highlights any text that has been recently added — rather heavy and not very effective — disabled
- Wikipedia:Subpages#Notes — add subpages link to the sidebar Tools menu — moved this into my UI script
Loading user scripts
- {{Iusc}} = {{Install user script}}
old way using importScript()
- {{Lusc}} = {{Load user script}}
new way using mw.loader.load()
- {{J}} = {{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