Followup da433140: add one more test and release note
authorLiangent <liangent@gmail.com>
Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)
committerLiangent <liangent@gmail.com>
Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)
Change-Id: I03f3fa9cb58b6e98a88a2828f19bae849acf5455

RELEASE-NOTES-1.20
tests/phpunit/includes/TitleTest.php

index 01c2f9c..a48b81c 100644 (file)
@@ -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.
index d0bafa9..f61652d 100644 (file)
@@ -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' ),