wiki.techinc.nl/tests/phpunit/includes/title
Kunal Mehta 63b2003520 TitleFormatter: Implement fbc1449653 and unify prefix logic
fbc1449653 (Make Titles with an unknown namespace ID refer to
Special:Badtitle.) was never implemented in TitleFormatter, so let's do
that.

While we're at it, formatTitle() is now structured in the same format as
Title::prefix(), to make it easier to compare code between the two
implementations. The existing tests verify that this is a no-op. There's
a little extra indirection in getPrefixedDBkey(), which now goes through
dbkeyform -> textform -> dbkeyform, but reduces duplication of code,
which I think is worth it.

Bug: T165149
Change-Id: I4e43487a52663d2a647f9e71d487f58e25474f7a
2018-08-17 17:43:52 -07:00
..
ForeignTitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiTitleCodecTest.php TitleFormatter: Implement fbc1449653 and unify prefix logic 2018-08-17 17:43:52 -07:00
NaiveForeignTitleFactoryTest.php
NaiveImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
NamespaceAwareForeignTitleFactoryTest.php Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
NamespaceImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
SubpageImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
TitleValueTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00