Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -1692,12 +1692,11 @@ |
1693 | 1693 | } |
1694 | 1694 | |
1695 | 1695 | // Link and Preview |
1696 | | - $viewPage = SpecialPage::getTitleFor( 'NoticeTemplate', 'view' ); |
1697 | 1696 | $render = new SpecialBannerLoader(); |
1698 | 1697 | $render->siteName = 'Wikipedia'; |
1699 | 1698 | $render->language = $this->mRequest->getVal( 'wpUserLanguage' ); |
1700 | 1699 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' ), |
1701 | | - $this->getSkin()->makeLinkObj( $viewPage, |
| 1700 | + $this->getSkin()->makeLinkObj( $this->viewPage, |
1702 | 1701 | htmlspecialchars( $row->tmp_name ), |
1703 | 1702 | 'template=' . urlencode( $row->tmp_name ) ) . |
1704 | 1703 | Xml::fieldset( wfMsg( 'centralnotice-preview' ), |