User:GhostInTheMachine/UI
|
GhostInTheMachine • Talk • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts — UBX • drafts • t • test • wip • 2024-08-11 12:50:42 |
Purpose
The script adjusts the Vector skin to suit my personal preferences.
- remove the Wikipedia logo to save space in the sidebar
- remove the logout link to make things safer and to save some space
- add a "My pages" menu to the sidebar and populates it with links to some of my subpages
- add a "My gadgets" menu to the sidebar and populates it with assorted handy gadgets and tool
- remove some of the other menus from the sidebar
Use
The script changes the layout of the "standard" menus and adds extra menus.
Prerequisites
This script was written to move existing menu items added by other scripts and gadgets such as Twinkle.
If the menu items do not exist, then this script will handle that without any fuss.
Installing
Add the following line to your common.js file.
{{subst:Lusc|User:GhostInTheMachine/UI.js'}}
Notes
- remove the Wikipedia logo from the top of the sidebar
- phab:T268157 removed the
portal-firstclass ("The portal-first class is redundant in the modern Vector...
") and instead suppressed the first sidebar heading via CSS - This change caused the first heading to be lost again
- Fixed by removing the logo ID after it has been hidden
- phab:T268157 removed the
- remove the Logout link to make things safer (and save a little space)
- from a discussion in the Village pump in September and October 2020
- move the Mobile link to the end of the footer row
- from a discussion in the Village Pump in December 2020
- add CSS to make the menu headings stand out more clearly
- add CSS to use bull characters in hlists
- create a new menu — My pages
T290280 changed the H3 to a label with class "vector-menu-heading"- add menu items for some of my subpages
- create a new menu — My gadgets
- add go to top — simple scroll
- add sub-pages — display a list of subpages of the current page
- add go to end — simple scroll
- add Refill — process the current page using Refill
- move some existing gadget menu items from their current menus
- copy the Main page link into the standard Tools menu
- delete all of the standard menus except Tools
Short-term workaround for the 2024-06-06 bug in the edit diffs preview—
T366845 – see VP discussion- Short-term workaround for the 2024-06-20 bug in the diffs display —
T361717
Alternatives
- my SubPages script adds the subpages link as a button (next to the Talk button)
- my ShinyButtons script adds the TODO and WIP links to the "More..." menu
Possible improvements
This script tends to collect small changes all the time
Fix the sub-heading styling broken by
T290280 and probably by
T13555
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.
- 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:
- 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.
- 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.
- 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.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.