Page MenuHomePhabricator

Create a simpler way to move Flow pages in the read-only era
Open, Needs TriagePublic

Description

Follow up the T378827#10424041 request by @Stryn, there should be a simpler way to move Flow pages once it is switched to read-only mode. For posterity, here is what I did:

  1. Set wgFlowReadOnly to false for fiwiki at a mwdebug host
  2. From a privileged wiki account, perform the move
  3. Reset the change

Moving the page should be harmless, and sometimes necessary to facilitate late archiving (like in this case). Filling this for reference, if this is a super-rare usecase, we can use the process we have already.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The most common usecase of moving Flow page is user renaming.

Note: The automated archival process blindly assumes all subpages are archives, and it ignores them as such. Unfortunately, at certain projects (such as MediaWiki.org, which is a part of phase 2a), this is largely untrue. Pages on MediaWiki.org are hierarchically organised, and the fact a page is a subpage doesn't mean anything all by itself.

@ppelberg, this is something your team might want to handle as part of Flow deprecation.

It's also worth pointing out that a bunch of subpages are neither standard archives nor need to be archived. For example https://www.mediawiki.org/wiki/Talk:Requests_for_comment/API_roadmap is a Flow page, not technically an archive of anything, but also not worth moving IMO since the parent page is long-obsolete and I'm completely content to leave it read-only between the time Flow is set to read-only on MediaWiki.org and when we run convertToText on everything (or possibly I run my script to export Flow boards with history and delete the original board)

I just processed another rename request (T332022#10557825). I think the priority of this task should be raised, as requests like this are challenging to process. I've also mentioned this to Val (Editing EM) off-Phab.

It's also worth pointing out that a bunch of subpages are neither standard archives nor need to be archived. For example https://www.mediawiki.org/wiki/Talk:Requests_for_comment/API_roadmap is a Flow page, not technically an archive of anything, but also not worth moving IMO since the parent page is long-obsolete and I'm completely content to leave it read-only between the time Flow is set to read-only on MediaWiki.org and when we run convertToText on everything (or possibly I run my script to export Flow boards with history and delete the original board)

(this comment is no longer relevant - I would now prefer Flow talk page manager do what it's going to do, since moving to a subpage makes it easier for my export bot which is now ready even though it wasn't years ago)

@zoe asked me about this on Slack. For posterity, the process I described in the description is no longer viable, as the mwdebug* hosts will be going away soon. https://wikitech.wikimedia.org/wiki/Mw-experimental can be used to perform the same action in the present day.

That being said...we should really find an actual way to fix this rather than continuously finding very manual&hacky solutions to move pages.