* Fix object variable used for displaying "not-patrolled" CSS class on list
authorIvan Lanin <ivanlanin@users.mediawiki.org>
Fri, 20 Apr 2007 04:06:06 +0000 (04:06 +0000)
committerIvan Lanin <ivanlanin@users.mediawiki.org>
Fri, 20 Apr 2007 04:06:06 +0000 (04:06 +0000)
* Indonesian (id) localization updates

RELEASE-NOTES
includes/QueryPage.php
languages/messages/MessagesId.php

index 5323f5a..7d5ebc5 100644 (file)
@@ -326,6 +326,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Special:Random and Special:Randomredirect now try harder to send the user to
   a random page, and will give an error message if none really can be found
   instead of sending the user to the main page like they used to
+* Fix object variable used for displaying "not-patrolled" CSS class on list
 
 == Maintenance ==
 
index ce240a7..27c6927 100644 (file)
@@ -393,7 +393,7 @@ class QueryPage {
                        for( $i = 0; $i < $num && $row = $dbr->fetchObject( $res ); $i++ ) {
                                $line = $this->formatResult( $skin, $row );
                                if( $line ) {
-                                       $attr = ( isset( $obj->usepatrol ) && $obj->usepatrol && $obj->patrolled == 0 )
+                                       $attr = ( isset( $row->usepatrol ) && $row->usepatrol && $row->patrolled == 0 )
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
@@ -407,7 +407,7 @@ class QueryPage {
                                $row = null;
                                $line = $this->formatResult( $skin, $row );
                                if( $line ) {
-                                       $attr = ( isset( $obj->usepatrol ) && $obj->usepatrol && $obj->patrolled == 0 )
+                                       $attr = ( isset( $row->usepatrol ) && $row->usepatrol && $row->patrolled == 0 )
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
index 894049f..5a7d796 100644 (file)
@@ -1293,8 +1293,7 @@ Ada sejumlah '''\$3''' penampilan halaman, dan sejumlah '''\$4''' penyuntingan s
 
 # Watchlist
 'watchlist'            => 'Daftar pantauan',
-'my-watchlist'            => 'Daftar pantauan',
-'mywatchlist'          => 'Pantauan saya',
+'my-watchlist'         => 'Pantauan saya',
 'watchlistfor'         => "(untuk '''$1''')",
 'nowatchlist'          => 'Daftar pantauan Anda kosong.',
 'watchlistanontext'    => 'Silakan $1 untuk melihat atau menyunting daftar pantauan Anda.',