Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -1528,11 +1528,11 @@ |
1529 | 1529 | $s = ''; |
1530 | 1530 | $changes = self::getChanges( $nbitfield, $obitfield ); |
1531 | 1531 | if( count( $changes[0] ) ) { |
1532 | | - $s .= wfMsgForContent ( 'revdelete-hid', implode ( ', ', $changes[0] ) ); |
| 1532 | + $s .= wfMsgForContent( 'revdelete-hid', implode( ', ', $changes[0] ) ); |
1533 | 1533 | } |
1534 | 1534 | if( count( $changes[1] ) ) { |
1535 | 1535 | if ($s) $s .= '; '; |
1536 | | - $s .= wfMsgForContent ( 'revdelete-unhid', implode ( ', ', $changes[1] ) ); |
| 1536 | + $s .= wfMsgForContent( 'revdelete-unhid', implode( ', ', $changes[1] ) ); |
1537 | 1537 | } |
1538 | 1538 | if( count( $changes[2] ) ) { |
1539 | 1539 | $s .= $s ? ' (' . $changes[2][0] . ')' : $changes[2][0]; |
Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | * @returns nothing |
69 | 69 | */ |
70 | 70 | function history() { |
71 | | - global $wgOut, $wgRequest, $wgTitle, $wgScript; |
| 71 | + global $wgOut, $wgRequest, $wgScript; |
72 | 72 | |
73 | 73 | /* |
74 | 74 | * Allow client caching. |
— | — | @@ -153,7 +153,7 @@ |
154 | 154 | * @return string HTML output |
155 | 155 | */ |
156 | 156 | function beginHistoryList() { |
157 | | - global $wgTitle, $wgUser, $wgScript, $wgEnableHtmlDiff; |
| 157 | + global $wgUser, $wgScript, $wgEnableHtmlDiff; |
158 | 158 | $this->lastdate = ''; |
159 | 159 | $s = wfMsgExt( 'histlegend', array( 'parse') ); |
160 | 160 | if( $wgUser->isAllowed('deleterevision') ) { |
— | — | @@ -165,14 +165,14 @@ |
166 | 166 | 'style' => 'visibility:hidden;float:right;' |
167 | 167 | ) |
168 | 168 | ); |
169 | | - $s .= Xml::hidden( 'target', $wgTitle->getPrefixedDbKey() ); |
| 169 | + $s .= Xml::hidden( 'target', $this->mTitle->getPrefixedDbKey() ); |
170 | 170 | $s .= Xml::hidden( 'oldid', '', array('id'=>'revdel-oldid') ); |
171 | 171 | $s .= Xml::submitButton( wfMsg( 'showhideselectedversions' ) ); |
172 | 172 | $s .= Xml::closeElement( 'form' ); |
173 | 173 | } |
174 | 174 | $s .= Xml::openElement( 'form', array( 'action' => $wgScript, |
175 | 175 | 'id' => 'mw-history-compare' ) ); |
176 | | - $s .= Xml::hidden( 'title', $wgTitle->getPrefixedDbKey() ); |
| 176 | + $s .= Xml::hidden( 'title', $this->mTitle->getPrefixedDbKey() ); |
177 | 177 | if( $wgEnableHtmlDiff ) { |
178 | 178 | $s .= $this->submitButton( wfMsg( 'visualcomparison'), |
179 | 179 | array( |