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:
92f8c16
)
&& not and, || not or
author
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 12 Dec 2010 17:50:35 +0000
(17:50 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 12 Dec 2010 17:50:35 +0000
(17:50 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
6ec0d20
..
d420116
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-344,8
+344,8
@@
class SkinTemplate extends Skin {
$tpl->setRef( 'newtalk', $newtalks );
$tpl->setRef( 'skin', $this );
$tpl->set( 'logo', $this->logoText() );
- if ( $out->isArticle()
and ( !isset( $oldid ) or isset( $diff ) ) and
- $wgArticle
and
0 != $wgArticle->getID() ){
+ if ( $out->isArticle()
&& ( !isset( $oldid ) || isset( $diff ) ) &&
+ $wgArticle
&&
0 != $wgArticle->getID() ){
if ( !$wgDisableCounters ) {
$viewcount = $wgLang->formatNum( $wgArticle->getCount() );
if ( $viewcount ) {