wiki.techinc.nl/tests/phpunit/includes/page
Alex Ezell d4a45f9ea8 WikiPage: Fix viewing of wiki redirects to NS_MEDIA
If a user creates a redirect to a Media namespace title, a fatal
error is thrown on viewing such rediect because we protect against
redirecting to virtual namespaces. This fix catches this kind of
redirect and modifies the namespace to be File before the Title object
is created.

Follow-up from 613e2699.

Bug: T203942
Change-Id: Ib211d98498f635862fea6bf3e7395f4f8718b3d8
2018-10-11 01:29:47 +00:00
..
ArticleTablesTest.php
ArticleTest.php
ArticleViewTest.php Add audience parameter to PoolWorkArticleView 2018-10-02 03:53:28 -07:00
ImagePage404Test.php
ImagePageTest.php
PageArchiveMcrTest.php [MCR] Make PageArchive aware of MCR 2018-07-10 16:36:57 +02:00
PageArchivePreMcrTest.php Add constant for the name of the 'main' slot for MCR 2018-09-24 16:52:12 -07:00
PageArchiveTestBase.php Update wikimedia/timestamp to v2.1.1 2018-09-10 15:31:26 -04:00
WikiCategoryPageTest.php
WikiPageDbTestBase.php WikiPage: Fix viewing of wiki redirects to NS_MEDIA 2018-10-11 01:29:47 +00:00
WikiPageMcrDbTest.php MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
WikiPageMcrReadNewDbTest.php Introduce ContentHandler::getSecondaryDataUpdates. 2018-09-14 16:18:18 +02:00
WikiPageMcrWriteBothDbTest.php [MCR] RevisionStore, enable insertions for new schema 2018-06-14 13:36:08 +00:00
WikiPageNoContentModelDbTest.php Introduce ContentHandler::getSecondaryDataUpdates. 2018-09-14 16:18:18 +02:00
WikiPagePreMcrDbTest.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00