GhostInTheMachine • Talk • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • …
|
GhostInTheMachine • Talk • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts — UBX • drafts • t • test • wip • 2026-04-30 17:32:38 |
| WatchlistTidy | |
|---|---|
| Description | Fix errors in Watchlist layout |
| Author | GhostInTheMachine |
| Status | Release |
| Updated | See history |
| Source | User:GhostInTheMachine/WatchlistTidy.js |
This script makes changes to the layout of the watchlist page to fix specific design errors.
The watchlist displays a "View new changes since ..." prompt when new changes have been detected by the background Ajax thread.
This prompt is positioned within the area that is collapsed by the Hide button of the Active Filters panel, which means that the prompt is not visible when the Active Filters panel is collapsed.
The script moves the prompt block from the bottom of the filter block to the top of the filter area. i.e. Above the Hide / Show toggle, which means that the timestamp will still be visible on the display when the filter block is hidden.
The Active Filters panel is displayed on the left so that the Show/Hide button is on the left when the panel is collapsed and jumps to the right when the panel is displayed.
The script defaults the panel to display on the right, which means that the Show/Hide button acts correctly as a toggle and does not jump about when clicked.
The script just moves one of the existing page components.
Just to prove that it has loaded correctly, the script also sets part of the filter section to have a blue background.
The script probably only works on Vector. I have not tried it on other skins or on Evil Vector.
Add the following line to your common.js file.
{{subst:Lusc|User:GhostInTheMachine/WatchlistTidy.js}}
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.