Topic on Extension talk:StructuredDiscussions/Archive 2

Jamal22066 (talkcontribs)

Are there any reliable uninstall instructions? I commented out $wfLoadExtension for flow and now receive the following error:

[4a15dd98c1d00a2b8019936a] /mediawiki/index.php?title=Talk:Main_Page MWUnknownContentModelException from line 306 of C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\content\ContentHandler.php: The content model 'flow-board' is not registered on this wiki.

See https://www.mediawiki.org/wiki/Content_handlers to find out which extensions handle this content model.

Backtrace:

#0 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\content\ContentHandler.php(243): ContentHandler::getForModelID(string)

#1 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\MediaWiki.php(400): ContentHandler::getForTitle(Title)

#2 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\MediaWiki.php(291): MediaWiki->initializeArticle()

#3 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\MediaWiki.php(862): MediaWiki->performRequest()

#4 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\includes\MediaWiki.php(523): MediaWiki->main()

#5 C:\inetpub\wwwroot\epss-dev-mw01\mediawiki\index.php(43): MediaWiki->run()

#6 {main}

Do all the flow tables in the database need to be deleted as well?

Jamal22066 (talkcontribs)

Ran the following to fix the error:

UPDATE page SET page_content_model='wikitext' WHERE page_content_model='flow-board';

Joe Beaudoin Jr. Redux (talkcontribs)

Update: In addition to the above SQL update query, you may want to run the following as the database schema in MW has changed:

UPDATE content SET content_model='1' WHERE content_model='4';

NOTE: Make sure that "4" equals "flow-board" in your content_models table. If not, update the last content_model variable above with the proper identifying number.

And, as always, backup your database before doing anything!

Pppery (talkcontribs)
Reply to "Uninstall"