User:GhostInTheMachine/WatchlistTidy

GhostInTheMachine • Talk • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • …

User:GhostInTheMachine/WatchlistTidy

GhostInTheMachineTalkBarnstarsHelpMiscModulesOtherLayoutPhotosProjectsScriptsUBXdraftsttestwip2026-04-30 17:32:38

User script
WatchlistTidy
DescriptionFix errors in Watchlist layout
AuthorGhostInTheMachine
Status
Release
UpdatedSee history
SourceUser:GhostInTheMachine/WatchlistTidy.js

Purpose

This script makes changes to the layout of the watchlist page to fix specific design errors.

Display the alert

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.

  • 22 August 2022 — Posted as T315870
  • 30 April 2026 — T406339 moved the alert below the Active Filters block
  • 30 April 2026 — trimmed this part of the fix following closure of T315870

Fix jumping Show/Hide toggle

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.

  • 22 August 2022 — Posted as T315858

Use

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.

Prerequisites

The script probably only works on Vector. I have not tried it on other skins or on Evil Vector.

Installing

Add the following line to your common.js file.

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

Possible improvements

  • Ensure that the filter display block is hidden by default.

See also

Content Disclaimer

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.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.