* 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 ==
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
$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
# 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.',