Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -204,7 +204,6 @@ |
205 | 205 | $tpl->set( 'titletext', $this->mTitle->getText() ); |
206 | 206 | $tpl->set( 'articleid', $this->mTitle->getArticleId() ); |
207 | 207 | $tpl->set( 'currevisionid', isset( $wgArticle ) ? $wgArticle->getLatest() : 0 ); |
208 | | - $tpl->set( 'oldid', $oldid ? $oldid : 0 ); |
209 | 208 | |
210 | 209 | $tpl->set( 'isarticle', $wgOut->isArticle() ); |
211 | 210 | |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -285,7 +285,6 @@ |
286 | 286 | var wgTitle = "' . Xml::escapeJsString( $data['titletext'] ) . '"; |
287 | 287 | var wgArticleId = ' . (int)$data['articleid'] . '; |
288 | 288 | var wgCurRevisionId = ' . ( int ) $data['currevisionid'] . '; |
289 | | - var wgOldid = ' . ( int ) $data['oldid'] . '; |
290 | 289 | var wgIsArticle = ' . ( $data['isarticle'] ? 'true' : 'false' ) . '; |
291 | 290 | |
292 | 291 | var wgUserName = ' . ( $data['username'] == NULL ? 'null' : ( '"' . Xml::escapeJsString( $data['username'] ) . '"' ) ) . '; |
— | — | @@ -300,7 +299,7 @@ |
301 | 300 | function getHeadScripts() { |
302 | 301 | global $wgStylePath, $wgUser, $wgAllowUserJs, $wgJsMimeType, $wgStyleVersion; |
303 | 302 | global $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, $wgLang; |
304 | | - global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle, $wgRequest; |
| 303 | + global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle; |
305 | 304 | |
306 | 305 | $ns = $wgTitle->getNamespace(); |
307 | 306 | $nsname = isset( $wgCanonicalNamespaceNames[ $ns ] ) ? $wgCanonicalNamespaceNames[ $ns ] : $wgTitle->getNsText(); |
— | — | @@ -318,7 +317,6 @@ |
319 | 318 | 'titletext' => $wgTitle->getText(), |
320 | 319 | 'articleid' => $wgTitle->getArticleId(), |
321 | 320 | 'currevisionid' => isset( $wgArticle ) ? $wgArticle->getLatest() : 0, |
322 | | - 'oldid' => $wgRequest->getVal( 'oldid' ), |
323 | 321 | 'isarticle' => $wgOut->isArticle(), |
324 | 322 | 'username' => $wgUser->isAnon() ? NULL : $wgUser->getName(), |
325 | 323 | 'userlang' => $wgLang->getCode(), |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -247,7 +247,6 @@ |
248 | 248 | redirect from Special:Contributions/newbies for backwards compatibility |
249 | 249 | * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment |
250 | 250 | * Added js variable wgCurRevisionId to the output |
251 | | -* Added js variable wgOldId which shows the oldid when viewing an old revision |
252 | 251 | * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht |
253 | 252 | * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit |
254 | 253 | instead of hardcoding to 1000 |