Page MenuHomePhabricator

Disable unused Flow extension on ru.wikipedia
Closed, ResolvedPublic

Description

The extension has only been used on test pages for six years. If you can turn these topics into wikitext, it will be really fine :)
https://ru.wikipedia.org/wiki/Служебная:Все_страницы?from=&to=&namespace=2600

Local discussion: https://ru.wikipedia.org/wiki/Википедия:Форум/Предложения#Расширение_Википедия:Flow (ok)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Iniquity changed the task status from Open to Stalled.May 6 2021, 1:40 PM

Stalled on local discussion.

kostajh subscribed.

If the discussion is unstalled, let us know, but yeah AFAIK this is not straightforward to do unfortunately.

@kostajh Deleting all 159 T188812#4020445 topics by the local admin can help delete the extension, or does it not matter what state the topics are in? or deleting topics only creates links in the logs that will further interfere with deleting the extension? Already disabled in the wiki where there are zero topics - do you need our consent to wipe something that would help delete the extension?

This is bad, but maybe there is some simple way to do it. See T188812: Uninstall Flow on all wikis where it has zero topics and T148611: Plan to disable Flow on Enwiki.

Uninstalling Flow isn't really "simple". It's not "impossible", but it's also not the easiest thing to do. The process to disable Flow from a wiki is to:

  1. Convert all flow boards to wikitext (can be done with a maintenance script)
  2. Uninstall the extension
  3. Bulk-delete all Topic pages via a script

All of those steps can be done by any sysadmin. Once that happens, everything previously maintained by Flow will be inaccessible – the only thing that would stay are the wikitext exports.

As @kostajh noted above, the first thing we would need here is the discussion to be finished, and in favor of removing Flow. Once that happened, please unstall the task (via the Add Action -> Change Status dropdown menu) and then it will hopefully done one day :-).

@Urbanecm Is this "Bulk-delete" script different from local admin rights? If the administrator manually deletes all pages in the "Topic" namespace - will it be the same as the deleteBatch does or not?

@Urbanecm Is this "Bulk-delete" script different from local admin rights? If the administrator manually deletes all pages in the "Topic" space - will it be the same as the deleteBatch does or not?

It's not different, but I don't think the first step (exporting current flow boards to wikitext) can be done locally. If you no longer use any Flow boards, feel free to delete them all – note that if you do so, you will lose access to them when Flow is uninstalled. If you want to keep them in wikitext, keeping them undeleted is probably the best thing.

@Urbanecm We have already "delete them all". These were two boards with sandbox function for the test in 2014. All useful messages have been moved to wikitext. Just delete that already and delete associated namespaces.

@Urbanecm We have already "delete them all". These were two boards with sandbox function for the test in 2014. All useful messages have been moved to wikitext. Just delete that already and delete associated namespaces.

Well, in that case, there's only one thing remaining. Did the discusion about removing Flow finish?

It's not different, but I don't think the first step (exporting current flow boards to wikitext) can be done locally.

Hey! I want to clarify, just in case, your converter will do it differently than here: https://ru.wikipedia.org/wiki/Википедия:Flow/Архив2? :)

It's not different, but I don't think the first step (exporting current flow boards to wikitext) can be done locally.

Hey! I want to clarify, just in case, your converter will do it differently than here: https://ru.wikipedia.org/wiki/Википедия:Flow/Архив2? :)

That page doesn't sound to exist?

It's not different, but I don't think the first step (exporting current flow boards to wikitext) can be done locally.

Hey! I want to clarify, just in case, your converter will do it differently than here: https://ru.wikipedia.org/wiki/Википедия:Flow/Архив2? :)

That page doesn't sound to exist?

Oh, sorry for that: https://ru.wikipedia.org/wiki/Обсуждение_Википедии:Flow/Архив2.

Well, tbh, I don't know what would it do – I never used it (yet).

Iniquity changed the task status from Stalled to Open.May 15 2021, 11:00 PM

Well then I think we can turn it off :)

@Urbanecm_WMF @kostajh we can remove the Flow, do we need to do something else? :)

Well then I think we can turn it off :)

Was the on wiki discussion finished already?

Ps; I do work for Growth team, but I'm working on this in my volunteer time. Hence, replying via my volunteer acc.

Well then I think we can turn it off :)

Was the on wiki discussion finished already?

Yes :)

Ps; I do work for Growth team, but I'm working on this in my volunteer time. Hence, replying via my volunteer acc.

Sorry for that, missclick :)

Change 693878 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] ruwiki: Disable Flow/StructuredDiscussion

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

Change 693878 merged by jenkins-bot:

[operations/mediawiki-config@master] ruwiki: Disable Flow/StructuredDiscussion

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

Mentioned in SAL (#wikimedia-operations) [2021-05-24T12:16:30Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 47e040bc6bd678e4916e0a43ad1cba5b2096274a: ruwiki: Uninstall Flow (T282132) (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2021-05-24T12:18:13Z] <urbanecm> Uninstalling Flow from ruwiki: Delete all pages in NS2600 (Flow's Topic) in ruwiki via deleteBatch.php (T282132; P16170)

Urbanecm claimed this task.

So, this should be done.

For future reference: What I did

This was mainly following https://wikitech.wikimedia.org/wiki/Flow. Note that even T220608 is marked as resolved, I had to do $wgContentHandlers["flow-board"] = $wgContentHandlers["wikitext"] before I was able to delete the NS2600 pages (before doing it, I got P16172).

  1. Ensured there are no live pages with flow-board as their content model, except Flow's in (P16171)
  2. Removed ruwiki from flow.dblist, effectively uninstalling Flow (SAL entry)
  3. Deletde all pages from NS2600 from ruwiki via deleteBatch.php (SAL entry (#wikimedia-operations))