You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Flow

From Wikitech-static
Revision as of 23:02, 2 March 2017 by imported>Catrope (Created page with "== Uninstalling Flow from a wiki == * Ensure that all Flow boards are either transwikied or exported to wikitext and deleted * Remove the wiki from flow.dblist (e.g. [https:/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Uninstalling Flow from a wiki

  • Ensure that all Flow boards are either transwikied or exported to wikitext and deleted
  • Remove the wiki from flow.dblist (e.g. like this)
  • Delete all pages in the Topic namespace:
    • Add $wgExtraNamespaces[2600] = 'Topic'; to the config (only locally on the deployment machine, don't sync this)
    • Run UPDATE page SET page_content_model='wikitext' WHERE page_namespace=2600;
    • Run SELECT CONCAT('Topic:', page_title) FROM page WHERE page_namespace=2600; and put the list of pages in a file
    • Run mwscript deleteBatch.php --wiki=wikiname "--u=Your Username (WMF)" "--r=Uninstalling Flow" list-of-topic-pages.txt
    • Remove the $wgExtraNamespaces config.