Page MenuHomePhabricator

Unable to move Flow page on fawiki
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • I receive an error message stating I need flow-create-board right for the talk page.
    • Of note, the talk page doesn't exist. Creating it (which creates a talk page) will not change the outcome of the above.

What should have happened instead?:

  • I should be able to move the page.

Additional analysis:

It seems like the associated right is only available to one group (flow-bot) and as a bureaucrat, I cannot assign this right to any account (including my own, temporarily).

Event Timeline

A_smart_kitten subscribed.

Is this task a possible duplicate of T231783: [Regression] Move Flow boards is not possible for an admin on fawiki? Also, while I’m not certain, it seems like "fa:ویکی‌پدیا:درخواست راهنمایی/Flow" may have just been moved to that title (from "fa:ویکی‌پدیا:درخواست راهنمایی") as a result of T378827: Run Flow migration script at *Phase 1* wikis.

Welcome to Flow, the graveyard of broken windows: ....

It's an intended (and working) feature that you need flow-create-board to move a Flow page to a title where Flow isn't the default content model. This is weird, but overall a good thing. wmf-config/CommonSettings.php contains the following code:

	// On wikis that have Flow as a beta feature or in an entire namespace,
	// give sysops the right to create and move Flow boards
	if ( $wgFlowEnableOptInBetaFeature || $wmgFlowNamespaces ) {
		$wgGroupPermissions['sysop']['flow-create-board'] = true;
	}

This was added in 2017 for T175934, prior to which it appears only WMF staff and stewards could move Flow boards, and does what it purports.

Flow is enabled on the following wikis (https://github.com/wikimedia/operations-mediawiki-config/blob/0ed8882c9da107389bba386c3087893546b4b9ae/dblists/flow.dblist):

arwiki
arwikiversity
bswiki
cawiki
cawikiquote
commonswiki
cswiki
elwiki
eowiki
euwiki
fawiki
fiwiki
fiwikimedia
frwiki
frwikiquote
frwikisource
frwikiversity
frwikivoyage
frwiktionary
gomwiki
hewiki
idwiki
kabwiki
kkwiki
lvwiki
mediawikiwiki
nowiki
officewiki
orwiki
outreachwiki
pawiki
plwiki
ptwiki
ptwikibooks
sewikimedia
specieswiki
svwiki
test2wiki
testwiki
tewiki
urwiki
viwikisource
wawiki
wawiktionary
wikidatawiki
zhwiki
zhwikisource

Of those, $wmgFlowEnableOptInBetaFeature (which doesn't actually enable the Beta feature, but means the skeleton for it is present) is set to True on:

arwiki
bswiki
cawiki
cawikiquote
elwiki
frwiki
frwikiquote
frwikisource
frwikiversity
frwikivoyage
nowiki
orwiki
urwiki
viwikisource
wawiki
wawiktionary
zhwiki
zhwikisource
wikidatawiki
specieswiki
outreachwiki

$wmgFlowNamespaces is set on:

officewiki
cawiki
kabwiki
sewikimedia
gomwiki
cawikiquote

Flow-create-board is manually granted to users on:

mediawikiwiki
euwiki
viwikisource

This seems to mean that on the remaining 20 wiki with Flow it has never been possible for anyone other than stewards or WMF staff to create Flow boards:

fiwikimedia
ptwiki
cswiki
plwiki
test2wiki
arwikiversity
tewiki
commonswiki
testwiki
svwiki
eowiki
fawiki
frwiktionary
hewiki
ptwikibooks
lvwiki
idwiki
fiwiki
pawiki
kkwiki

Spot-checking that analysis shows it is correct - all of them except ptwikibooks have few enough Flow boards that it's plausible every single one was manually created, and ptwikibooks seems to only have Flow boards from the LQT->Flow conversion.

This may or may not be worth fixing. In the mean time someone in the Staff, Steward, Sysadmin, or Global Flow creator global groups can do the move.

Pppery added subscribers: Trizek-WMF, Tgr, Catrope and 3 others.

(I back-merged since this now has a more recent and up-to-date analysis)

Thanks for this analysis. With this in mind, what is the next step? Should we add fawiki to $wmgFlowEnableOptInBetaFeature?

Probably someone should change the code in CommonSettings.php to unconditionally grant flow-create-board to admins.

But I'll leave that up to the teams actually doing Flow deprecation.

I didn't notice this task until now.


Now that the T378827: Run Flow migration script at *Phase 1* wikis is done, all pages are theoretically moved as sub-pages. How many pages need to be moved manually? I can perform these moves, which would take less time than granting the right to the admins (which was supposed to be already granted).

Adding fawiki to $wmgFlowEnableOptInBetaFeature won't be useful as it only targets individual talk pages that were activated through the beta feature.


@Huji, a side question, as I'm not certain of this part of your initial request:

Try moving fa:ویکی‌پدیا:درخواست راهنمایی/Flow to the more appropriate name "ویکی‌پدیا:درخواست راهنمایی"

As I understand it, you want to move fa:ویکی‌پدیا:درخواست راهنمایی/Flow to fa:ویکی‌پدیا:درخواست راهنمایی. I want to make sure that you are not trying to revert the archiving process we applied to remove Flow from the wikis.

As I understand it, you want to move fa:ویکی‌پدیا:درخواست راهنمایی/Flow to fa:ویکی‌پدیا:درخواست راهنمایی. I want to make sure that you are not trying to revert the archiving process we applied to remove Flow from the wikis.

Yep, I was going to undo that. I wasn't aware of the deprecation of Flow. Now that I am, my request is moot and I will close this task as invalid.