Index: trunk/phase3/includes/Title.php |
— | — | @@ -1640,7 +1640,7 @@ |
1641 | 1641 | $options['LIMIT'] = $limit; |
1642 | 1642 | return $this->mSubpages = TitleArray::newFromResult( |
1643 | 1643 | $dbr->select( 'page', |
1644 | | - array( 'page_id', 'page_namespace', 'page_title' ), |
| 1644 | + array( 'page_id', 'page_namespace', 'page_title', 'page_is_redirect' ), |
1645 | 1645 | $conds, |
1646 | 1646 | __METHOD__, |
1647 | 1647 | $options |
Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -234,7 +234,8 @@ |
235 | 235 | } |
236 | 236 | |
237 | 237 | if( ($this->oldTitle->hasSubpages() || $this->oldTitle->getTalkPage()->hasSubpages()) |
238 | | - && $this->oldTitle->userCan( 'move-subpages' ) ) { |
| 238 | + && $this->oldTitle->userCan( 'move-subpages' ) ) |
| 239 | + { |
239 | 240 | global $wgMaximumMovedPages, $wgLang; |
240 | 241 | |
241 | 242 | $wgOut->addHTML( " |
— | — | @@ -521,9 +522,6 @@ |
522 | 523 | |
523 | 524 | foreach( $subpages as $subpage ) { |
524 | 525 | $link = $skin->link( $subpage ); |
525 | | - if ( $subpage->isRedirect() ) |
526 | | - $link = '<div class="allpagesredirect">' . $link . '</div>' ; |
527 | | - |
528 | 526 | $out->addHTML( "<li>$link</li>\n" ); |
529 | 527 | } |
530 | 528 | $out->addHTML( "</ul>\n" ); |