Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

User:Enterprisey/section-watchlist

    From Wikipedia, the free encyclopedia
    <User:Enterprisey
    As of April 2021, I do not anticipate operating or working on this project any more due to the very interesting WMF work on "topic subscriptions": seemw:Talk pages project/Notifications andT263820. I am watching that project with great excitement and wish them the best of luck.

    Add sections to your watchlist!

    Still under heavy development. Might lose data from time to time, and missing some features. Pretty usable nevertheless; feel free to try it and let me know what you think. I use it every day. Development status as of January 2021: before I announce this script more broadly, I want to finishthe tickets labeled "beta".

    How to use

    [edit]
    1. InstallUser:Enterprisey/section-watchlist.js, using whatever method you like.User:Enterprisey/script-installer works well.
    2. Navigate toSpecial:BlankPage/section-watchlist and follow the instructions there to register your account on the server.
    3. Now, sections should have watch links next to the edit links! Click the "watch" link to be notified of edits made to that section, including any subsections. You can view your notifications atSpecial:BlankPage/section-watchlist.

    You may also want to installUser:Enterprisey/reply-link so you can reply to new comments directly from the section watchlist.

    Project status

    [edit]

    The server will hopefully be up most of the time; follow#wikipedia-enconnect and #english-wikipedia on thediscord, where I will probably post with development updates. (This ad-hoc arrangement is temporary, and I'll probably have some sort of status page or mailing list later.)https://section-watchlist.toolforge.org/ will have a welcome message whenever the server is up. For now, I'm trying to see how long the server can run without crashing. The current record is five days or so.

    How did you do this?

    [edit]

    Glad you asked! I wrote a program to read a diff and produce a list of "section events", like "section A was edited, section B was merged into section C, and section D was deleted". Then, I had it watch therecent changes feed, look at all edits made to pages with any watched section, and notify the appropriate users.

    This program runs on Toolforge, on thesection-watchlist tool. I didn't want to write a userscript that made every request (that is, when you load the watchlist page, it'll check the history of every page you watch), because that was far too inefficient for my liking.

    The code, for both the program (aka "backend" - written inRust!) and user script, is athttps://git.sr.ht/~enterprisey/section-watchlist/ for now. I'm using Sourcehut instead of GitHub because Sourcehut is better aligned with my philosophies of development and user-interface design. It'll probably be a real pain to accept contributions, though, so I might re-evaluate.

    The list of bugs and feature requests that I'm working on is athttps://todo.sr.ht/~enterprisey/section-watchlist.

    See also

    [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Enterprisey/section-watchlist&oldid=1020122997"

    [8]ページ先頭

    ©2009-2025 Movatter.jp