User talk:GhostInTheMachine/TalkHelper2

Why does this need local time. It would work just as well using UTC.--something I absolutely rely on to hkeep my head straight. Or is it pulling a hook from t

User talk:GhostInTheMachine/TalkHelper2

Question

Why does this need local time. It would work just as well using UTC.--something I absolutely rely on to hkeep my head straight. Or is it pulling a hook from the time conversion script? DGG ( talk ) 18:30, 1 December 2020 (UTC)Reply

  • The Wikipedia:Comments in Local Time gadget scans a page for timestamps. It then adjusts their time to the local time zone and then (the bit I need) wraps the altered timestamp in a <span> tag with a localcomments class. It also replaces the date part with the text yesterday or today if appropriate. So that it can build the table of contents for all posts in the last two days, TalkHelper then searches for all uses of the localcomments class with the text yesterday or today. This is saving me all of the hard work associated with finding and parsing dates, but it does need the CommentsInLocalTime gadget to have done all the hard work first. — GhostInTheMachine talk to me 19:27, 1 December 2020 (UTC)Reply

TalkHelper

Thank you for the very useful script! Unfortunately, whenever I'm reading on mobile, it pops up a warning that I don't have commentsInLocalTime enabled every time I load a new page. Is it possible to disable that somehow? Rusalkii (talk) 17:23, 1 February 2022 (UTC)Reply

@Rusalkii: The TalkHelper script needs the commentsInLocalTime gadget to be enabled as well. See TalkHelper #Use and #Prerequisites for how to do that (and why) — GhostInTheMachine talk to me 19:09, 1 February 2022 (UTC)Reply
Right, and I have it enabled on desktop, but either it's impossible to enable on the mobile version of the site or I'm missing something. Rusalkii (talk) 19:12, 1 February 2022 (UTC)Reply
Ah. I never use the mobile version - even on a tablet. I will see if I can replicate that — GhostInTheMachine talk to me 19:23, 1 February 2022 (UTC)Reply

User:GhostInTheMachine/TalkHelper

User:GhostInTheMachine/TalkHelper.js is a "redirect" to User:GhostInTheMachine/TalkHelper2.js. However, both are listed at Wikipedia:User scripts/List, while User:GhostInTheMachine/TalkHelper1.js is not listed. —⁠andrybak (talk) 19:59, 17 December 2025 (UTC)Reply

True. Main script updated to v3 — GhostInTheMachine talk to me 20:26, 17 December 2025 (UTC)Reply
Also updated the doc pages for v2 and v3 — GhostInTheMachine talk to me 20:39, 17 December 2025 (UTC)Reply
The description at WP:US/L#User:GhostInTheMachine/TalkHelper.js makes it seem that it has fewer features than TalkHelper2:

Improves readability of long talk pages, highlighting posts from yesterday and today.

vs

Improves readability of long talk pages, highlighting posts from yesterday and today and also builds a table of contents for the posts.

In actuality, the number-less script is a redirect to User:GhostInTheMachine/TalkHelper3.js since Special:Diff/1328090334. This can be misleading to potential users. It seems that the description in the list is meant for User:GhostInTheMachine/TalkHelper1.js, not for the redirect. —⁠andrybak (talk) 20:44, 17 December 2025 (UTC)Reply

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.