Page MenuHomePhabricator

Ability to watch section levels of pages
Open, Needs TriagePublicFeature

Assigned To
None
Authored By
bzimport
Oct 18 2004, 7:24 AM
Referenced Files
None
Tokens
"Hungry Hippo" token, awarded by Sdkb."Doubloon" token, awarded by ToBeFree."Like" token, awarded by Liuxinyu970226."Doubloon" token, awarded by Nemo_bis."Like" token, awarded by Dan_Eisenberg."Doubloon" token, awarded by Dalba."Like" token, awarded by Fixuture."Mountain of Wealth" token, awarded by RandomDSdevel."Like" token, awarded by Kozuch.

Description

Author: sundarbecse

Description:
I would love to be able to watch sections of a page instead of whole articles, particularly for pages
like [[Reference Desk]]. Otherwise, pertinent changes to sections that interest me get superceded by
subsequent changes to other sections.


Further details: Helpful for e.g. notability or deletion discussions. Also helpful in case a whole section gets removed or in case of long articles where it's difficult to recognize fast which section was edited.

This card tracks a proposal from the 2015 Community Wishlist Survey: https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey

This proposal received 45 support votes, and was ranked #18 out of 107 proposals. https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Watchlists#Section_watchlists

Also proposed in Community-Wishlist-Survey-2016. Received 35 support votes, and ranked #43 out of 265 proposals. View full proposals with discussion and votes here.

This issue was also voted into the top 20 requests of the de-wiki community in 2013

Details

Reference
bz738

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

We are using diff for that long

Who is "we"? Wikimedia wikis don't use GNU diff but wikidiff2.

IMPORTANT: If you are a community developer interested in working on this task: The Wikimedia Hackathon 2016 (Jerusalem, March 31 - April 3) focuses on #Community-Wishlist-Survey projects. There is some budget for sponsoring volunteer developers. THE DEADLINE TO REQUEST TRAVEL SPONSORSHIP IS TODAY, JANUARY 21. Exceptions can be made for developers focusing on Community Wishlist projects until the end of Sunday 24, but not beyond. If you or someone you know is interested, please REGISTER NOW.

Two questions:

  1. Is this task about any pages (as StructuredDiscussions on talk/discussion pages offers watching a specific section / topic, so technology already exists but outside of the MediaWiki core), or rather about articles in the main namespace as described in T2738#1098527 ?
  1. Is the situation described by Brion twelve years ago in T2738#34503 still the current status or is the Parsing-Team--ARCHIVED working on technology that might overcome this?:
In T2738#34503, brion wrote:

Sorry, but this is not practical; sections don't have a consistent identity which could be watched reliably.

This is about standard wikitext pages

Question still open:
Is the situation described by Brion twelve years ago in T2738#34503 still the current status or is the Parsing-Team--ARCHIVED ( @ssastry? @cscott? @Legoktm? or someone else?) working on technology that might overcome this?:

In T2738#34503, brion wrote:

Sorry, but this is not practical; sections don't have a consistent identity which could be watched reliably.

I already answered this question:

I think there are multiple degrees of complexity / steps possible here.
The simplest/crudest way possible is probably

  1. add a "watch" / "unwatch" button next to the "edit" button of each section, which stores the header text as is in the user's watchlist,
  2. let users edit that text match freely in Special:EditWatchlist,
  3. show in Special:Watchlist only the edits whose summary matches that section text, similar to how we filter by minor/bot/etc. edit.

Of course this would cover only a subset of the cases, but potentially a significant one. Anyone bothers to search in Google Scholar or whatever if there's some relevant past research on section editing?

search in Google Scholar or whatever if there's some relevant past research on section editing?

I found nothing. Perhaps someone else might have better luck.

Question still open:
Is the situation described by Brion twelve years ago in T2738#34503 still the current status or is the Parsing-Team--ARCHIVED ( @ssastry? @cscott? @Legoktm? or someone else?) working on technology that might overcome this?:

In T2738#34503, brion wrote:

Sorry, but this is not practical; sections don't have a consistent identity which could be watched reliably.

Yes, his comment is still true (there's a bug about stable ids for sections somewhere) but I think Nemo's implementation suggestion is probably the best way to go forward for now.

Yes, his comment is still true (there's a bug about stable ids for sections somewhere) but I think Nemo's implementation suggestion is probably the best way to go forward for now.

I think the UI for the basic version is rather straightforward (more controls and assorted improvements can be done later). Is the next step to propose a possible DB schema? Are there other potentially controversial aspects or blockers?

Maybe want to check how frequent edit summaries satisfy/don't satisfy the criteria in T2738#34571 so that we know how robust that fix is.

I think the UI for the basic version is rather straightforward (more controls and assorted improvements can be done later). Is the next step to propose a possible DB schema? Are there other potentially controversial or blocking?

Probably. It needs coordination with the other planned schema changes to watchlist (@Addshore?). We would also need some kind of index on rev_comment. I don't know how expensive or problematic that would be. It could also be implemented like the category watchlist stuff was potentionally?

This task was proposed in the Community-Wishlist-Survey-2016 and in its current state needs owner. Wikimedia is participating in Google Summer of Code 2017 and Outreachy Round 14. To the subscribers -- would this task or a portion of it be a good fit for either of these programs? If so, would you be willing to help mentor this project? Remember, each outreach project requires a minimum of one primary mentor, and co-mentor.
ToBeFree rescinded a token.
ToBeFree awarded a token.

I know this has been open for ages, but would it be feasible for a tag (the same as existing tags, or a different sort so they also contain the section name) to be auto-associated with an edit if said edit is made by clicking a section edit link? Then the "watch a section" functionality wouldn't have to rely on parsing, and could filter out all edits that have an unrelated tag. Regex matching could also be possible with such an implementation (e.g. if someone wants to be notified about Tech News without publicly announcing their subscription).

Such a filter would also catch edits made in sections with the same name and edits to the whole page (i.e. edits without tags), but it would filter out the majority of unrelated edits.

(Obviously there would be issues with templates being used in section names and section names being changed, but those things already break current edit summaries.)

Oh, this is basically the same as T2738#34571. Adding a tag would allow some auto-filtering (e.g. removal of templates), though.

Sdkb subscribed.

I wish this request was given higher priority. It would really be extremely useful.

DannyS712 raised the priority of this task from Lowest to Needs Triage.Dec 30 2019, 10:05 AM
DannyS712 subscribed.

Please reassess - priority was imported from bugzilla as lowest, and should be revisited given new interest in such a feature

This will also let users watch specific sections in talk pages.

This was one of the top results of the Talk Page Consultation. I think(?) the team put section watchlisting on the to-do list.

DannyS712 changed the subtype of this task from "Task" to "Feature Request".Mar 29 2020, 9:01 PM

Is it possible to add this feature in the mobile app?

@Jeour3: Hi, please ask in a support forum for the mobile app (as this ticket is about the MediaWiki software running on websites). Thanks a lot! :)

I've also been working on https://en.wikipedia.org/wiki/User:Enterprisey/section-watchlist, which is relevant to this task. It's not that stable right now (and down most of the time), but it seems pretty promising. My approach was use the recent changes events stream to get revision IDs, and then parse diffs to figure out what happened to each section.

Hi what's the status on this? Is it still being worked on?

@Jeour3: The status is below the task title ("Open"), and in the "Assigned To" field ("None").

DiscussionTools now allows users to subscribe to sections which uses the notifications mechanism, which is usually the dominant use case for watching sections.