Page MenuHomePhabricator

How to handle subpages during talk page conversion to Flow
Closed, ResolvedPublic

Description

Sometimes a talk subpage contains actual discussion of its related article. so it should become a Flow board. Other times it just holds related information for its parent discussion page, so it should remain a regular wikitext page.

Example: the conversion of a namespace to Flow on OfficeWiki did not touch the subpage https://office.wikimedia.org/wiki/OfficeWiki_talk:WikiProject_OfficeWiki/guidingprinciples

Event Timeline

Spage created this task.Dec 4 2014, 9:12 PM
Spage raised the priority of this task from to Medium.
Spage updated the task description. (Show Details)
Spage changed Security from none to None.
Spage added subscribers: Aklapper, Spage.

If we determine that a Flow should be enabled on a subpage, then this is blocked by T76197.

I'm not really sure what to do here, it doesn't seem actionable?

We agreed the test for whether a subpage should be Flowified is if there's an article corresponding to it. For example, mw:Talk:Mobile_web/Team should be a Flow board because it's the talk page for a real page. But en:Talk:Bacon/Draft_3 should not.

So, convertNamespaceFromWikitext.php should perform this check, and output either

Subpage found, Foo_talk:Bar/Baz, no corresponding article so not converting to Flow.

or

Subpage found, Foo_talk:Buzz/Scratch, has corresponding article so converting to Flow.

Sounds reasonable? AIUI converting subpages to Flow is blocked until we address T76778, but the warning is still useful.

Can I ask how specifically are we converting it to a Flow board? Where does the original content go? Thanks.

Can I ask how specifically are we converting it to a Flow board? Where does the original content go? Thanks.

https://www.mediawiki.org/wiki/Flow/Converting_talk_pages

Change 179337 had a related patch set uploaded (by EBernhardson):
Allow subpage conversion under limited circumstances

https://gerrit.wikimedia.org/r/179337

Patch-For-Review

Gryllida added a comment.EditedDec 11 2014, 11:07 PM

( Spage: I disagree with the process documented on the wiki page you linked. Please discuss here: https://phabricator.wikimedia.org/T76682 ) Discussed on IRC. Looks like we agree there (and this current task is needed just not to lose the data — for some wikis which feel ready to start Flowing without converting old discussions.)

Change 179337 merged by jenkins-bot:
Allow subpage conversion under limited circumstances

https://gerrit.wikimedia.org/r/179337