The comment of a time-limited protection now contains the date in the default format...
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 2 Feb 2008 11:49:18 +0000 (11:49 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 2 Feb 2008 11:49:18 +0000 (11:49 +0000)
RELEASE-NOTES
includes/Article.php

index 20c8482..b276299 100644 (file)
@@ -352,6 +352,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
 * Fix for Special:Export so it doesn't ignore the page named '0'
 * Don't display rollback link if the user doesn't have all required permissions
+* The comment of a time-limited protection now contains the date in the default format
 
 == Parser changes in 1.12 ==
 
index 753e7df..ec702a7 100644 (file)
@@ -1734,7 +1734,7 @@ class Article {
 
                                $expiry_description = '';
                                if ( $encodedExpiry != 'infinity' ) {
-                                       $expiry_description = ' (' . wfMsgForContent( 'protect-expiring', $wgContLang->timeanddate( $expiry ) ).')';
+                                       $expiry_description = ' (' . wfMsgForContent( 'protect-expiring', $wgContLang->timeanddate( $expiry, false, false ) ).')';
                                }
 
                                # Prepare a null revision to be added to the history