dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cae09d
)
Fixed the error of r18149. Apologies.
author
Leon Weber
<leon@users.mediawiki.org>
Sun, 3 Dec 2006 14:13:59 +0000
(14:13 +0000)
committer
Leon Weber
<leon@users.mediawiki.org>
Sun, 3 Dec 2006 14:13:59 +0000
(14:13 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
aa45ceb
..
117872d
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-203,7
+203,7
@@
class SkinTemplate extends Skin {
$tpl->set( 'titleprefixeddbkey', $this->mTitle->getPrefixedDBKey() );
$tpl->set( 'titletext', $this->mTitle->getText() );
$tpl->set( 'articleid', $this->mTitle->getArticleId() );
-
// $tpl->set( 'currevisionid', $wgArticle->getLatest()
);
+
$tpl->set( 'currevisionid', isset( $wgArticle ) ? $wgArticle->getLatest() : 0
);
if( $oldid ) {
$tpl->set( 'oldid', $oldid );