Last modified: 2014-09-18 14:41:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2738, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 738 - Ability to watch section levels of pages
Ability to watch section levels of pages
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
unspecified
All All
: Lowest enhancement with 5 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 5041 9111 19530 19544 29657 40984 (view as bug list)
Depends on: 36340
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-18 07:24 UTC by Sundar
Modified: 2014-09-18 14:41 UTC (History)
17 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sundar 2004-10-18 07:24:19 UTC
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.
Comment 1 Brion Vibber 2004-10-18 07:31:59 UTC
Sorry, but this is not practical; sections don't have a consistent identity which could be watched reliably.
Comment 2 MZMcBride 2009-07-06 01:37:18 UTC
*** Bug 5041 has been marked as a duplicate of this bug. ***
Comment 3 MZMcBride 2009-07-06 01:37:22 UTC
*** Bug 9111 has been marked as a duplicate of this bug. ***
Comment 4 MZMcBride 2009-07-06 01:38:32 UTC
*** Bug 19544 has been marked as a duplicate of this bug. ***
Comment 5 Brion Vibber 2009-07-13 17:48:38 UTC
*** Bug 19530 has been marked as a duplicate of this bug. ***
Comment 6 Brion Vibber 2011-07-01 20:34:44 UTC
*** Bug 29657 has been marked as a duplicate of this bug. ***
Comment 7 Jan Kucera (Kozuch) 2011-07-03 14:08:49 UTC
(In reply to comment #1)
> Sorry, but this is not practical; sections don't have a consistent identity
> which could be watched reliably.

Current no simple technical solution is no reason for wontfixing. Request is still valid. Reopening.
Comment 8 Peter Bena 2011-12-20 14:12:48 UTC
I suppose you should consider using liquid threads for this, it support the ability to watch threads
Comment 9 Eran Roz 2012-10-12 16:53:10 UTC
*** Bug 40984 has been marked as a duplicate of this bug. ***
Comment 10 Silas S. Brown 2012-10-12 17:30:12 UTC
Might it be possible to implement by putting the entire page on the watchlist but then adding a "filter" so changes that do not affect the requested section(s) are hidden?

There is already "hide bot edits" and "hide my edits", so surely "hide edits that do not affect sections X and Y" shouldn't be too hard?
Comment 11 Jan Kucera (Kozuch) 2013-01-05 12:01:18 UTC
What about rethinking the page architecture - converting sections into subpages and including them into an article themselves (which could be watched separetely)?
Comment 12 Quim Gil 2013-03-09 19:45:21 UTC
In 2004 Brion said before WONTFIXing:

(In reply to comment #1)
> Sorry, but this is not practical; sections don't have a consistent identity
> which could be watched reliably.

Then in 2011 Jan reopened. Yet Brion's sentence is still true. This features can't be really implemented until sections are something more than a piece of text between an "=" at the beginning of a line and the next.

Silas' idea is not bad, but still would be problematic e.g. what happens when an editor changes one character in a section? Or when a section is inserted before the one you are watching? 

MediaWiki displays content in a way that looks like sections but in fact it has no idea of the semantic organization of a page. Before this is solved (is there anybody planing to work on this?) this looks like a WONTFIX now just like it looked in 2004.
Comment 13 Jan Kucera (Kozuch) 2013-03-10 21:50:10 UTC
Maybe we could learn the parser to know about sections? Would that be TOOOOOO difficult? I think the big number of duplicates here clearly show that this feature is what an (average) editor wishes to have??? Any objections?
Comment 14 Andre Klapper 2013-03-11 02:14:58 UTC
(In reply to comment #13)
> the big number of duplicates here

Calling 6 "big" is a bit subjective. Also see https://bugzilla.wikimedia.org/duplicates.cgi?maxrows=100&openonly=0&changedsince=90 for relations.

> Any objections?

In general, a first step might be to define the best solution (which one?) and then break required steps into handle subtasks. To avoid misunderstandings, does the question for objections mean that you volunteer to work on this?
Comment 15 Quim Gil 2013-03-15 16:27:56 UTC
(In reply to comment #0)
> particularly for pages like [[Reference Desk]].

The reporter of Bug 5041 says:
> Everytime anybody nominates anything or votes I get notified in my watchlist.

The reporter of Bug 9111 says:
> For talk pages and pages like Wikipedia's Village Pump and Reference Desk

The reporter of Bug 19530 says:
> This feature might be very helpful in discussion pages and somewhat helpful 
> in articles (...) sometimes I post a question in the Reference Desk...

The reporter of Bug 19544 says:
> That's not only useful for discussion...

And I can say that even if I watch hundreds of pages in many projects, I only really miss this feature with beasts like Village Pump.

Maybe the problem, to start with, lies in how we create and update places like Village Pump or Reference Desk? A majority of those readers are interested only in certain chunks of those pages. The case is pretty similar to Discussion pages, although the average traffic there is pretty lower and therefore manageable.

What is more likely to be implemented before: the redesign of the architecture of a MediaWiki page or special way to handle pages for discussion, allowing users the possibility to subscribe to certain posts/threads?
Comment 16 Charlie Nolan 2013-03-16 21:05:46 UTC
Perhaps we're looking at the issue wrong.  The principle issue is not making all sections watchable, but rather making it possible to watch a specific section.  Thus, we don't actually require a way to track sections in general, just a way to tag a particular section.

Suppose we add a way to tag a particular section.  Part of the section syntax, a parser directive, a {{subst:}} template, or whatever other solution (or solutions) seems best.  This causes Mediawiki to assign the section a unique identifier, which is then preserved in the wikitext.  For a page like Reference Desk, this can be included in the standard "How do I post a question?" instructions.

Since the identifier isn't tied to the section's name or ordering, we no longer have that problem to deal with.  All that remains is the (relatively) easy task of allowing people to watch that section (either including or excluding subsections), keeping track of who has, and notifying the watchers when changes occur.  Nontrivial, but straightforward.

As a proof of concept, it could be written up as a plugin.  Turn it loose on one of the major wikis, but locked down to specific pages or a housekeeping bot, to keep it contained.  If it doesn't help matters, unplug it and call it a failed experiment.  If it's especially well-received, consider integrating into Mediawiki proper.  And if it starts looking like basically every section would get tagged, add a setting to auto-tag all new sections.  Which essentially solves the original issue in its full scope.
Comment 17 Quim Gil 2013-04-06 22:59:23 UTC
fwiw

(In reply to comment #15)
> What is more likely to be implemented before: the redesign of the
> architecture of a MediaWiki page or a special way to handle pages for 
> discussion, allowing users the possibility to subscribe to certain 
> posts/threads?

Quoting from 
http://www.mediawiki.org/wiki/Flow_Portal/Basic_information#Subscribe_to_topic :

It should be possible for a user to subscribe to an individual topic and not an entire page. Currently, users must "watch" an entire talk page in order to keep tabs on a single topic (which may be the only thing they are interested in).

Users should be able to subscribe to a topic in one of two ways:

    1. By commenting in the topic
    2. By manually choosing to subscribe to the topic
Comment 18 Bryce Glover 2013-05-02 01:02:30 UTC
(In reply to comment #11)
> What about rethinking the page architecture - converting sections into
> subpages
> and including them into an article themselves (which could be watched
> separetely)?

Sorry for butting into this conversation, but I wanted to put in my two cents:  I agree with Jan on his thinking that the MediaWiki software should eventually have the ability to compose pages from multiple sections stored in sub-pages.  The only problem with that would occur when users attempted to edit the entire page.  Would the editor go grab the wikicode from every single sub-page and merge it into a super-page for the duration of the editing session before separating everything back out once the user saved his or her changes?  That would be…relatively complicated, to say the least, but it would probably be better than having to fetch each section's edit page for simultaneous and continuous display of each of those page's edit boxes.  I do think, though, that the MediaWiki software needs to move toward this kind of an implementation when it comes to sections.  Such a design would make it possible for cross- and inter-wiki editing of shared sections that could be independently arranged into articles on each wiki such that Wikipedia might eventually become what I guess you would essentially call a superset of all existing wikis in terms of content.  The diff functionality would most likely have to undergo some revisions to make it resilient enough to handle differences between articles and sections not only across time, as it does now, but also across the space consumed by all of the servers that maintain wikis run on top of the MediaWiki software.  The plus side to this would, of course, be that Wikipedia could reflect updates made to pages on other wikis dedicated to more specialized domains of knowledge.  For example, WikiProjects could be expanded to include partnerships with wikis dealing with similar content; users would probably find this very useful in the initial stages of the possible deployment of the feature set which I am using this post to propose because of how WikiProjects could collaborate with other wikis to merge existing articles and sections such that their final versions rid the different websites' content of any disparity that might currently exist between them.  Another advantage of cross-wiki article hosting would obviously have to do with the fact that such a setup would create a natural backup scheme for every single wiki on the Internet; if one wiki goes down for temporary maintenance, for example, the content that users wish to access could be delivered to them from another wiki via a server-side suggestion mechanism.  Unfortunately, these ideas probably don't all belong under this bug's jurisdiction, which, as I understand it, deals only with the separation of articles into their constituent sections.  In any case, I support this measure at the very least; if you think that any of my ideas have merit, then could you kindly direct me to a place where they might be useful?
Comment 19 Andre Klapper 2013-05-02 13:11:10 UTC
Shorter comments (or structured text with paragraphs and sub-headings) on technical aspects highly welcome - note that this is not a forum. Thanks :)
Comment 20 Bryce Glover 2013-05-02 18:49:57 UTC
(In reply to comment #19)
> Shorter comments (or structured text with paragraphs and sub-headings) on
> technical aspects highly welcome - note that this is not a forum. Thanks :)

Sorry!  I'll keep a better eye on my posts' lengths in the future, but that was a kind of 'train of thought' post that I guess people try to avoid around here.  But, returning to the post in question, have you actually read it?
Comment 21 HateRealNameRequests 2014-09-18 14:25:33 UTC
This can be implemented as a filter on page watchlisting. A section begins at the first character of the section-title, the section ends at the last non-whitespace character before the next *equal level* section title (or the end of page). Any edit that adds, removes, or alters even one character in this region counts as a watched-edit. Any edit that touches the section title itself is a watched edit. Special case: If a section title is modified into a new valid section title then the watchlisting should be updated to follow the new section title. An edit that creates or modifies a subsection will be seen because the defined section only ends at the next *equal level* section. An edit that creates a new equal-level section after the watched section will not be watched, it is clearly outside the filter-zone I defined.

This bug/enhancement has only a few votes, but there's no doubt it would be widely valued.

Interesting new thought: A page watch that notifies you *only* of new section titles. This has various uses. It's a great way to follow Village Pump or Articles For Deletion of other process-pages. It's a great way to set aside articles-of-interest and only jump in when an important/interesting new Talk topic appears.
Comment 22 Nemo 2014-09-18 14:41:21 UTC
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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links