MediaWiki cheat sheet: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
#footer-icon-poweredbyico { display: none; }
#footer-icon-poweredbyico { display: none; }
#footer-poweredbyico { display: none; }
#footer-poweredbyico { display: none; }
</pre>
skins/Vector.php の変更
<pre>
@@ -267,7 +267,11 @@
                        $portals['SEARCH'] = true;
                }
                if ( !isset( $portals['TOOLBOX'] ) ) {
-                      $portals['TOOLBOX'] = true;
+                      if($this->data['loggedin']) {
+                              $portals['TOOLBOX'] = true;
+                      } else {
+                              $portals['TOOLBOX'] = false;
+                      }
                }
                if ( !isset( $portals['LANGUAGES'] ) ) {
                        $portals['LANGUAGES'] = true;
</pre>
</pre>