Last modified: 2014-11-12 03:58:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 72214 - ImportTest::testHandlePageContainsRedirect failure with non-wikitext content in main namespace
ImportTest::testHandlePageContainsRedirect failure with non-wikitext content ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 45750
  Show dependency treegraph
Reported: 2014-10-18 13:51 UTC by Aude
Modified: 2014-11-12 03:58 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Aude 2014-10-18 13:51:33 UTC
ImportTest::testHandlePageContainsRedirect with data set #0 ('<mediawiki>
		<redirect title="Test22"/>
			<comment>Admin moved page [[Test]] to [[Test22]]</comment>
			<text xml:space="preserve" bytes="20">#REDIRECT [[Test22]]</text>
</mediawiki>', 'Test22')
This test printed output: Revision 20 using content model wikitext cannot be stored on "Test" on this wiki, since that model is not supported on that page.
Comment 1 This, that and the other (TTO) 2014-11-12 03:58:31 UTC
This really doesn't have anything to do with bug 73283, other than the tests being in the same file.

This is a result of bug 45750. Obviously the test is assuming it is running on a wiki where the content model in mainspace is "wikitext". Presumably there are other tests that assume this as well; I wonder if we should make it a requirement for running the tests that pages in the main namespace have "wikitext" content model?

Note You need to log in before you can comment on or make changes to this bug.