User:GhostInTheMachine/TalkHelper3

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

GhostInTheMachineTalkBarnstarsHelpMiscModulesOtherLayoutPhotosProjectsScriptsUBXdraftsttestwip2026-03-22 12:00:54

User script
TalkHelper3
DescriptionHighlights recent talk posts
AuthorGhostInTheMachine
Status
Release
First released4 December 2025 (2025-12-04)
Version3
Updated4 December 2025
SkinsVector
SourceUser:GhostInTheMachine/TalkHelper3.js

Purpose

This user script is an update to TalkHelper2. It now handles the changes to the structure of talk page headings introduced in June 2024.

Version 3 also uses the standard Comments in Local Time gadget rather than incorporating my cloned and modified version.

The script does not alter any article but it highlights recent talk posts so that they are easier to read. It also provides a table of contents to the new talk posts and counters of how many posts were from yesterday and today.

Use

The script hunts for timestamps previously created 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:

  • add a menu button showing the count — clicking the menu item will scroll to the first post of that day
  • build a table of 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.

Prerequisites

This script requires the CommentsInLocalTime gadget.

  1. Go to the gadgets tab of your preferences
  2. Enable "Change UTC-based times and dates, such as those used in signatures, to be relative to local time"
  3. Save

Installing

Add the following line to your common.js file if you want version 3:

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

or this line if you just want whatever is the latest version:

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

Bugs

Seems OK so far in real Vector. If you do use Vector 2022, please let me know how this script fits in.

Possible improvements

  • Highlight posts for more than two days — use the hidden timestamps rather than searching for yesterday and today
    • This would remove the need for the Comments in Local Time gadget
  • Add switch to optionally float the left-hand sidebar so that it "sticks" to the top of the page

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.