Page MenuHomePhabricator

Enable people to explicitly mark a section as capable of being subscribed to
Open, Needs TriagePublic

Description

This task involves the work with introducing explicit markup that would enable people to mark a heading, of any level, as one that people can subscribe to using Topic Subscriptions (T263820).

Stories

As the maintainer of a page that contains discussions that are "housed" within non-H2 level sections (e.g. === H3 === or ==== H4 ====) [ii], I want to be able to make it so [ subscribe] links appear alongside these headings, so that people can subscribe to them and subsequently, be notified when new comments are published within them.

Requirements
Background

In implementing Topic Subscriptions initially, we decided to limit the sections/topics people could subscribe to to == H2 == level section headings. [i]

In implementing this approach, we knowingly created cases where people would be unable to subscribe to discussions "housed" within a section heading that is "beneath" an == H2 == (e.g. === H3 === or ==== H4 ====).

This task is about adding support for people to be able to subscribe to topics housed within non-H2 section headings.


i. T263820
ii. See === {{dynamite|title=Community Wishlist Survey/Discussion|t=yes}} === on this page: https://www.wikidata.org/wiki/Wikidata:Property_proposal/identifier_values_as#Discussion


This ticket was prompted by the issue @Lectrician1 reported on mediawiki.org: Topic:Wpwd75hnz4m7driq.

Event Timeline

Esanders updated the task description. (Show Details)

We should also consider the inverse, as pages with h3/h4 topics often have higher level headings which group those topics, but which shouldn't be subscribable:

== Friday, 11th March (h2, not subscribable) ==
Here are today's topics:
=== Topic 1 (h3, subscribable) ===
Comment. ~~~~
=== Topic 2 (h3, subscribable) ===
Comment. ~~~~

== Thursday, 10th March (h2, not subscribable) ==
Here are today's topics:
=== Topic 1 (h3, subscribable) ===
Comment. ~~~~

etc.

pages with h3/h4 topics often have higher level headings which group those topics, but which shouldn't be subscribable:

Right, and wikis often use H1 headings for days/weeks/months in such cases as a workaround.