r100594 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100593‎ | r100594 | r100595 >
Date:09:43, 24 October 2011
Author:santhosh
Status:ok
Tags:
Comment:
Define the global property $wgWebFontsEnabledByDefault as true by default.
Modified paths:
  • /trunk/extensions/WebFonts/WebFonts.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/WebFonts.php
@@ -37,7 +37,7 @@
3838 $wgHooks['GetPreferences'][] = 'WebFontsHooks::addPreference';
3939 $wgHooks['MakeGlobalVariablesScript'][] = 'WebFontsHooks::addVariables';
4040
41 -$wgWebFontsEnabled = true;
 41+$wgWebFontsEnabledByDefault = true;
4242
4343 $wgResourceModules['webfonts'] = array(
4444 'scripts' => 'js/webfonts.js',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100116have a configuraiton parameter $wgEnableWebFontsDefault , when set false, don...santhosh15:22, 18 October 2011

Status & tagging log