Last modified: 2014-11-12 03:58:31 UTC
ImportTest::testHandlePageContainsRedirect with data set #0 ('<mediawiki> <page> <title>Test</title> <ns>0</ns> <id>21</id> <redirect title="Test22"/> <revision> <id>20</id> <timestamp>2014-05-27T10:00:00Z</timestamp> <contributor> <username>Admin</username> <id>10</id> </contributor> <comment>Admin moved page [[Test]] to [[Test22]]</comment> <text xml:space="preserve" bytes="20">#REDIRECT [[Test22]]</text> <sha1>tq456o9x3abm7r9ozi6km8yrbbc56o6</sha1> <model>wikitext</model> <format>text/x-wiki</format> </revision> </page> </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.
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?