r57637 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57636‎ | r57637 | r57638 >
Date:10:09, 11 October 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Fix for r57636
Modified paths:
  • /trunk/extensions/LanguageSelector/LanguageSelector.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LanguageSelector/LanguageSelector.php
@@ -56,8 +56,9 @@
5757 $wgLanguageSelectorShowCode = false;
5858
5959 /**
60 - * Show all languages defined, not only those with a language files (Language::getLanguageNames( <true/false> ))
 60+ * Show all languages defined, not only those with a language file (Language::getLanguageNames( <true/false> ))
6161 */
 62+if( !isset ( $wgLanguageSelectorShowAll ) )
6263 $wgLanguageSelectorShowAll = false;
6364
6465 define( 'LANGUAGE_SELECTOR_MANUAL', 0 ); #don't place anywhere

Follow-up revisions

RevisionCommit summaryAuthorDate
r58265Revert part of r57637: register_globals vulnerabilityialex17:40, 28 October 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57636Allow showing all defined languages. Default behaviour unchanged.siebrand10:04, 11 October 2009

Status & tagging log