From c0fe9b47438cf8e059c54bf62816c5888239f946 Mon Sep 17 00:00:00 2001 From: Liangent Date: Tue, 4 Sep 2012 23:14:20 +0800 Subject: [PATCH] Followup da433140: add one more test and release note Change-Id: I03f3fa9cb58b6e98a88a2828f19bae849acf5455 --- RELEASE-NOTES-1.20 | 1 + tests/phpunit/includes/TitleTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index 01c2f9c67f..a48b81cfa0 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -234,6 +234,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki. * EXIF below sea level GPS altitude data is now shown correctly. * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a currency. * (bug 39273) "Show changes" should not be incorrectly displayed in the Live Preview state. +* Made body-content lang attribute honor the variant language when it is set. === API changes in 1.20 === * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API. diff --git a/tests/phpunit/includes/TitleTest.php b/tests/phpunit/includes/TitleTest.php index d0bafa9d0c..f61652df19 100644 --- a/tests/phpunit/includes/TitleTest.php +++ b/tests/phpunit/includes/TitleTest.php @@ -138,6 +138,7 @@ class TitleTest extends MediaWikiTestCase { array( 'zh-cn', 'Main_page', 'zh', 'zh-tw', 'zh-cn' ), array( 'zh', 'MediaWiki:About', 'zh', 'zh-tw', 'zh-cn' ), + array( 'zh', 'MediaWiki:About/', 'zh', 'zh-tw', 'zh-cn' ), array( 'de', 'MediaWiki:About/de', 'zh', 'zh-tw', 'zh-cn' ), array( 'zh-cn', 'MediaWiki:About/zh-cn', 'zh', 'zh-tw', 'zh-cn' ), array( 'zh-tw', 'MediaWiki:About/zh-tw', 'zh', 'zh-tw', 'zh-cn' ), -- 2.20.1