Jump to content

User:GhostInTheMachine/TalkHelper1

From Wikipedia, the free encyclopedia

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2022-02-12 14:53:20

Purpose

[edit]

This script helps 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.

Use

[edit]

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, it will add a menu item showing the count. Clicking the menu item will scroll to the first post.

Prerequisites

[edit]

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

[edit]

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

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

or this line if you want the latest version

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

Alternatives

[edit]

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 I don't think that this project addresses talk page readability.

Possible improvements

[edit]
  • Add the nav menu items to the sidebar instead of the top menu
  • Add a navigation menu to the highlighted posts

See also

[edit]