GhostInTheMachine • Talk • All • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts • Tidying • TidyingSD • TODO • UBX • WIP • 2024-07-10 14:30:48 |
This script extends TalkHelper to further help when reading a long talk page.
The script does not alter any article but it highlights talk posts so that they are easier to read and provides a table of contents to the new talk posts.
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 border around each of the posts.
If any posts were found, the script will:
To provide space in the sidebar, the script also alters the existing sidebar menus so that they can be collapsed.
This script requires the CommentsInLocalTime gadget.
Add the following line to your common.js file if you want version 2
{{ subst:Lusc|User:GhostInTheMachine/TalkHelper2.js}}
or this line if you want the latest version
{{ subst:Lusc|User:GhostInTheMachine/TalkHelper.js}}
Version 1 of TalkHelper is simpler - it highlights posts from yesterday and today and maybe adds a menu button. It does not alter the sidebar or build a table of contents.
The TH2 script does not work on Wikipedia:Village pump (proposals), but is OK on the other VP pages.
{{
Skip to bottom}}
template.Skip to bottombutton with a div that has the mw-parser-output class.
{{
Skip to bottom}}
template and all was OK again — see
Wikipedia:Village pump (proposals) change 1102904261 → 1102906240)Same issue for Wikipedia:Village pump (WMF)
{{
pp-pc}}
was added – the padlock icon is (unnecessarily) wrapped in a div with the mw-parser-output class which causes a similar issue for my CILT clone{{
pp-pc}}
from
Wikipedia:Village pump (WMF) — confirmedDamage due to a series of changes to the HTML created for headings.
posts by me yesterdaybe highlighted? As
by meor as
yesterdayor some hybrid of the two?