User:GhostInTheMachine/TalkHelper
|
GhostInTheMachine • Talk • Barnstars • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts — UBX • drafts • t • test • wip • 2025-12-17 20:37:46 |
Purpose
This family of scripts aims to help when reading a long talk page.
The scripts do not alter any article but they highlight talk posts so that they are easier to identify.
Prerequisites
All versions of the script require the CommentsInLocalTime gadget to be enabled.
- Go to the gadgets tab of your preferences
- Enable "Change UTC-based times and dates, such as those used in signatures, to be relative to local time"
- Save
Notes
This script also loads CSS to fix the sidebar menu at the top of the display — see User:BrandonXLF/FloatSide.
Version 1
The script hunts for timestamps previously found by the CommentsInLocalTime gadget and selects any that are for yesterday and today.
It then adds a background colour and a border around each of the posts.
If any posts were found, the script will:
- add a menu button showing the count - clicking the menu item will scroll to the first post
See TalkHelper1
Version 2
This version behaves as version 1 but will also:
- build a table of contents for the posts, sorted into time order, and add this table to the left-hand sidebar.
- to provide space in the sidebar, the script also alters the existing sidebar menus so that they can be collapsed.
See TalkHelper2
Version 3
Updated to handle the changes to the structure of talk page headings introduced in June 2024.
Also uses the standard Comments in Local Time gadget rather than incorporating my cloned and modified version.
See TalkHelper3
Version 4
The next version is currently in progress and is evolving.
It should test for when the page was last viewed and then display any posts since then.
Installing
Add the following line to your common.js file if you want the latest version of the script
{{subst:Lusc|User:GhostInTheMachine/TalkHelper.js}}
Add the following line to your common.js file if you specifically want version 1
{{subst:Lusc|User:GhostInTheMachine/TalkHelper1.js}}
or version 2
{{subst:Lusc|User:GhostInTheMachine/TalkHelper2.js}}
Alternatives
Since they were created in 2004, talk pages have been edited in the same way as any other page.
There is currently a WMF project to improve talk page editing, but that project does not seem to address the readability of talk pages.
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.