http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88280

Revision: 88280
Author:   siebrand
Date:     2011-05-16 23:36:39 +0000 (Mon, 16 May 2011)
Log Message:
-----------
(bug 28992) Revision numbers in the patrol log are transformed in the user 
language.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES-1.19
    trunk/phase3/includes/PatrolLog.php

Modified: trunk/phase3/RELEASE-NOTES-1.19
===================================================================
--- trunk/phase3/RELEASE-NOTES-1.19     2011-05-16 23:22:51 UTC (rev 88279)
+++ trunk/phase3/RELEASE-NOTES-1.19     2011-05-16 23:36:39 UTC (rev 88280)
@@ -7,7 +7,7 @@
 
 THIS IS NOT A RELEASE YET
 
-MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in 
+MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in
 production.
 
 === Configuration changes in 1.19 ===
@@ -25,8 +25,8 @@
 * (bug 28503) Support for ircs:// URL protocols
 * (bug 26033) It is now possible to count all non-redirect pages in content
   namespaces as articles
-* Images can now be embedded in an XML dump stream using backupDump.php 
-  --include-files and can be imported using importDump.php --uploads; 
+* Images can now be embedded in an XML dump stream using backupDump.php
+  --include-files and can be imported using importDump.php --uploads;
   furthermore, it can import files from the filesystem using --image-base-path
 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
   'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
@@ -56,7 +56,10 @@
 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
   Windows.
 * (bug 23464) File: prefixes are now chopped off during uploading.
-* (bug 28174) Message config-logo-help amended to not explicitly assume any 
LTR/RTL screen layout.
+* (bug 28174) Message config-logo-help amended to not explicitly assume any
+  LTR/RTL screen layout.
+* (bug 28992) Revision numbers in the patrol log are transformed in the user
+  language.
 
 === API changes in 1.19 ===
 * (bug 27790) add query type for querymodules to action=paraminfo
@@ -75,7 +78,7 @@
 
 MediaWiki 1.19 requires PHP 5.2.3. PHP 4 is no longer supported.
 
-MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but 
+MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
 support for them is somewhat less mature. There is experimental support for IBM
 DB2, Oracle and Microsoft SQL Server.
 
@@ -90,8 +93,8 @@
 1.19 has several database changes since 1.17, and will not work without schema
 updates.
 
-If upgrading from before 1.11, and you are using a wiki as a commons 
-repository, make sure that it is updated as well. Otherwise, errors may arise 
+If upgrading from before 1.11, and you are using a wiki as a commons
+repository, make sure that it is updated as well. Otherwise, errors may arise
 due to database schema changes.
 
 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
@@ -107,8 +110,8 @@
 
 == Online documentation ==
 
-Documentation for both end-users and site administrators is available on 
-MediaWiki.org, and is covered under the GNU Free Documentation License (except 
+Documentation for both end-users and site administrators is available on
+MediaWiki.org, and is covered under the GNU Free Documentation License (except
 for pages that explicitly state that their contents are in the public domain):
 
        http://www.mediawiki.org/wiki/Documentation

Modified: trunk/phase3/includes/PatrolLog.php
===================================================================
--- trunk/phase3/includes/PatrolLog.php 2011-05-16 23:22:51 UTC (rev 88279)
+++ trunk/phase3/includes/PatrolLog.php 2011-05-16 23:36:39 UTC (rev 88280)
@@ -39,6 +39,8 @@
         * @return String
         */
        public static function makeActionText( $title, $params, $skin ) {
+               global $wgLang;
+
                list( $cur, /* $prev */, $auto ) = $params;
                if( is_object( $skin ) ) {
                        # Standard link to the page in question
@@ -52,7 +54,7 @@
 
                                $diff = $skin->link(
                                        $title,
-                                       htmlspecialchars( wfMsg( 
'patrol-log-diff', $cur ) ),
+                                       htmlspecialchars( wfMsg( 
'patrol-log-diff', $wgLang->formatNum( $cur, true ) ) ),
                                        array(),
                                        $query,
                                        array( 'known', 'noclasses' )


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to