r21399 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21398‎ | r21399 | r21400 >
Date:04:06, 20 April 2007
Author:ivanlanin
Status:old
Tags:
Comment:
* Fix object variable used for displaying "not-patrolled" CSS class on list
* Indonesian (id) localization updates
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/QueryPage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesId.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/QueryPage.php
@@ -393,7 +393,7 @@
394394 for( $i = 0; $i < $num && $row = $dbr->fetchObject( $res ); $i++ ) {
395395 $line = $this->formatResult( $skin, $row );
396396 if( $line ) {
397 - $attr = ( isset( $obj->usepatrol ) && $obj->usepatrol && $obj->patrolled == 0 )
 397+ $attr = ( isset( $row->usepatrol ) && $row->usepatrol && $row->patrolled == 0 )
398398 ? ' class="not-patrolled"'
399399 : '';
400400 $html[] = $this->listoutput
@@ -407,7 +407,7 @@
408408 $row = null;
409409 $line = $this->formatResult( $skin, $row );
410410 if( $line ) {
411 - $attr = ( isset( $obj->usepatrol ) && $obj->usepatrol && $obj->patrolled == 0 )
 411+ $attr = ( isset( $row->usepatrol ) && $row->usepatrol && $row->patrolled == 0 )
412412 ? ' class="not-patrolled"'
413413 : '';
414414 $html[] = $this->listoutput
Index: trunk/phase3/languages/messages/MessagesId.php
@@ -1293,8 +1293,7 @@
12941294
12951295 # Watchlist
12961296 'watchlist' => 'Daftar pantauan',
1297 -'my-watchlist' => 'Daftar pantauan',
1298 -'mywatchlist' => 'Pantauan saya',
 1297+'my-watchlist' => 'Pantauan saya',
12991298 'watchlistfor' => "(untuk '''$1''')",
13001299 'nowatchlist' => 'Daftar pantauan Anda kosong.',
13011300 'watchlistanontext' => 'Silakan $1 untuk melihat atau menyunting daftar pantauan Anda.',
Index: trunk/phase3/RELEASE-NOTES
@@ -326,6 +326,7 @@
327327 * Special:Random and Special:Randomredirect now try harder to send the user to
328328 a random page, and will give an error message if none really can be found
329329 instead of sending the user to the main page like they used to
 330+* Fix object variable used for displaying "not-patrolled" CSS class on list
330331
331332 == Maintenance ==
332333