Page MenuHomePhabricator

Investigation: Discussion module for WikiProjects that lists the most recent new topics on talk pages in that category
Open, NormalPublic

Description

WikiProject X created a Discussions module that shows the most recent new topics on talk pages in the WikiProject category.

Example: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Women's_Health#Discussions

The existing module is updated by a bot, it's built on templates, and it's partly broken at the moment. It would be helpful to create this in software.

To be answered:

  • How many items on the list?
  • Just new topics or any edit to the talk page?
  • Should this be limited to talk pages, or would it make more sense to have the same functionality for article pages as well?
  • Is this actually just a cleaner version of Special:RecentChangesLinked?
  • How can we enable this module on a WikiProject page> We might be able to do this as a transcludable special page. May connect to T117142.
  • Is it possible to detect all new section creation (in a way that is sane and performant, or can we only detect people using the "New Section" interface?

Event Timeline

DannyH created this task.Oct 29 2015, 11:07 PM
DannyH raised the priority of this task from to Normal.
DannyH updated the task description. (Show Details)
DannyH added a project: Community-Tech.
DannyH moved this task to Epic backlog on the Community-Tech board.
DannyH added subscribers: DannyH, kaldari, Harej.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 29 2015, 11:07 PM
Harej set Security to None.
Harej moved this task from Needs Triage to Requests on the WikiProject-X board.
DannyH added a comment.Nov 6 2015, 6:34 PM
This comment was removed by DannyH.

This might make sense as a transcludable special page (and may depend on T117142).

DannyH updated the task description. (Show Details)Nov 6 2015, 9:13 PM
Harej added a comment.Nov 9 2015, 8:58 PM

If we model it off of the Python script I wrote for WikiProject X:

Each entry is for when a new section is posted to a talk page, i.e. an edit to a talk page namespace with the edit summary "new section". The newest ones are on the top. Thus each entry is not for each line of conversation to transpire on a talk page, but for when a new discussion is posted.

The current implementation posts the listing to a subpage called /Discussions. This page lists 15, with the bot chopping off the oldest entries to ensure that no more than 15 are ever listed. When this subpage is transcluded, only 4 show up, with a link to view more. If we are re-implementing this as a transcludable special page, I recommend the number of conversations showing up to be a custom parameter, with no limit otherwise imposed. Depending on what is feasible for MediaWiki.

The "population" of talk pages to feed from is based on a database pairing talk pages and WikiProjects, generated by this script. This custom database is used by several other scripts as well. The database exists because WikiProjects are inconsistent in their categorization of WikiProjects, requiring a lot of work to capture each use case, and rather than do this each time a script runs, I have the script run daily to generate the database. T117142 would obviate the need for this, as would English Wikipedia being totally consistent in its WikiProject categorization scheme. We could create a general special page for new discussions anywhere on Wikipedia, with a further option to subdivide by category (e.g. Special:NewDiscussions/Category:WikiProject_Chemistry_articles).

Harej added a comment.Nov 9 2015, 9:02 PM

@kaldari, if we go the transcludable special page route, while having T117142 in place would be nice, I don't think it should be a blocker by any means. Categories would be good enough; it would encourage WikiProjects to be consistent (or for those large projects that want differentiated discussion feeds, a category-based system would allow that).

Krenair added a subscriber: Krenair.
Harej added a comment.Dec 2 2015, 6:11 PM

Could this be a database table (with accompanying special page) akin to the recent changes table? Or as a column on the recent changes table? This table (or column) would be populated based on saved edits to talk pages with &section=new parameter. A fancier approach would look to see a new section created at the bottom of a talk page, since people like to create sections by editing an existing section on the bottom of the page. (For WikiProject X, we conveniently pretend that people don't do that.) You may also want to keep Flow boards in mind, but I imagine Flow is better at indicating when new sections are created.

From there, we could generate lists of new discussions by intersecting the new discussions table with the table from T117142 (or any category, for that matter).

kaldari renamed this task from Discussion module for WikiProjects that lists the most recent new topics on talk pages in that category to Investigation: Discussion module for WikiProjects that lists the most recent new topics on talk pages in that category.Dec 4 2015, 7:09 PM
kaldari updated the task description. (Show Details)
kaldari updated the task description. (Show Details)Dec 4 2015, 7:12 PM

I think this would be a useful module for WikiProjects. I've been tempted just to manually create a list of the newest WikiProject-wide topics (editorialized to keep out not-so-useful ones), but I would probably have to update this on a daily basis. Is there any way to create such a list with any current wiki technology outside of my using RecentChangesLinked on a list of talk pages and plus cut-n-paste of topic title/links?

Harej moved this task from Requests to Radar on the WikiProject-X board.Feb 2 2016, 11:15 PM