r94201 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94200‎ | r94201 | r94202 >
Date:21:19, 10 August 2011
Author:catrope
Status:ok (Comments)
Tags:
Comment:
Fix whitespace in r93757
Modified paths:
  • /trunk/extensions/PrefSwitch/PrefSwitch.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PrefSwitch/PrefSwitch.hooks.php
@@ -43,8 +43,8 @@
4444 */
4545 public static function personalUrls( &$personal_urls, &$title ) {
4646 global $wgUser, $wgRequest, $wgPrefSwitchShowLinks;
47 - if(!$wgPrefSwitchShowLinks) {
48 - return true;
 47+ if ( !$wgPrefSwitchShowLinks ) {
 48+ return true;
4949 }
5050
5151 // Figure out the orgin to include in the link

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r937571) commit WMF hack that makes it possible to hide the "New features" link...erik14:52, 2 August 2011

Comments

#Comment by Krinkle (talk | contribs)   12:54, 11 August 2011

There's still a tab trailing after return true; ;-)

Status & tagging log