&& not and, || not or
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 12 Dec 2010 17:50:35 +0000 (17:50 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 12 Dec 2010 17:50:35 +0000 (17:50 +0000)
includes/SkinTemplate.php

index 6ec0d20..d420116 100644 (file)
@@ -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 ) {