aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/MessageTest.php
diff options
context:
space:
mode:
authorElliott Eggleston <ejegg@ejegg.com>2022-02-23 21:20:33 -0500
committerElliott Eggleston <ejegg@ejegg.com>2022-02-23 21:21:45 -0500
commitc83b530f952286f10c5d9a5bf7960bb6acf7be18 (patch)
treed87d678d77422174fdd9ca857f15ce357cd63408 /tests/phpunit/includes/MessageTest.php
parent44e77271b8961bb920f439897b9e225fa93cc116 (diff)
downloadmediawikicore-c83b530f952286f10c5d9a5bf7960bb6acf7be18.tar.gz
mediawikicore-c83b530f952286f10c5d9a5bf7960bb6acf7be18.zip
Revert "Show message fallback keys when using &uselang=qqx"
This reverts commit 11d7d97768fa384102eba4a530a535454ea4aa11. Breaking fundraising banners with regexes in them. Bug: T302469 Change-Id: I0146a6a2907ca72792375e97a5b5392c6465614f
Diffstat (limited to 'tests/phpunit/includes/MessageTest.php')
-rw-r--r--tests/phpunit/includes/MessageTest.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/phpunit/includes/MessageTest.php b/tests/phpunit/includes/MessageTest.php
index a3da34532b4c..f80a52e881e0 100644
--- a/tests/phpunit/includes/MessageTest.php
+++ b/tests/phpunit/includes/MessageTest.php
@@ -837,29 +837,6 @@ class MessageTest extends MediaWikiLangTestCase {
}
/**
- * @covers Message::format
- * @covers LanguageQqx
- */
- public function testQqxPlaceholders() {
- $this->assertSame(
- wfMessage( 'test' )->inLanguage( 'qqx' )->text(),
- '(test)'
- );
- $this->assertSame(
- wfMessage( 'test' )->params( 'a', 'b' )->inLanguage( 'qqx' )->text(),
- '(test: a, b)'
- );
- $this->assertSame(
- wfMessageFallback( 'test', 'other-test' )->inLanguage( 'qqx' )->text(),
- '(test / other-test)'
- );
- $this->assertSame(
- wfMessageFallback( 'test', 'other-test' )->params( 'a', 'b' )->inLanguage( 'qqx' )->text(),
- '(test / other-test: a, b)'
- );
- }
-
- /**
* @covers Message::inContentLanguage
*/
public function testInContentLanguage() {