Austrian Economics Wiki talk:LocalSettings.php: Difference between revisions
Appearance
→Collapsetop: new section |
|||
| Line 9: | Line 9: | ||
== Collapsetop == | == Collapsetop == | ||
Okay, I figured out what was causing our collapsible templates not to work. When I comment out this line, | Okay, I figured out what was causing our collapsible templates not to work. When I comment out this line, [[Template:Collapsetop]] works like a charm: | ||
<source lang="php"> | <source lang="php"> | ||
$wgHooks['SkinAfterBottomScripts'][] = 'mises_analytic_scripts'; | $wgHooks['SkinAfterBottomScripts'][] = 'mises_analytic_scripts'; | ||
</source> | </source> | ||
I don't know whether those analytic scripts do anything important for us, but they screw up our collapsible templates. [[User:Nathan Larson|Nathan Larson]] ([[User talk:Nathan Larson|talk]]) 09:42, 14 October 2012 (MSD) | I don't know whether those analytic scripts do anything important for us, but they screw up our collapsible templates. [[User:Nathan Larson|Nathan Larson]] ([[User talk:Nathan Larson|talk]]) 09:42, 14 October 2012 (MSD) | ||
Revision as of 05:42, 14 October 2012
Useless page?
What is the purpose of this page? --John James (talk) 01:36, 9 September 2012 (MSD)
- So people can make better-informed comments and requests pertaining to configuration settings. It's hard to know what to suggest changing if one doesn't know what's already there. Nathan Larson (talk) 05:17, 9 September 2012 (MSD)
- Where did you get that code? --John James (talk) 06:02, 9 September 2012 (MSD)
- It was posted to the Google mailing list. It's probably slightly out of date by now. I made sure all this stuff was redacted before posting here. I just noticed, by the way, that it has an unnecessary require_once for ConfirmEdit; that is superfluous when there is a require_once for Asirra. Nathan Larson (talk) 11:57, 9 September 2012 (MSD)
- Where did you get that code? --John James (talk) 06:02, 9 September 2012 (MSD)
Collapsetop
Okay, I figured out what was causing our collapsible templates not to work. When I comment out this line, Template:Collapsetop works like a charm:
$wgHooks['SkinAfterBottomScripts'][] = 'mises_analytic_scripts';
I don't know whether those analytic scripts do anything important for us, but they screw up our collapsible templates. Nathan Larson (talk) 09:42, 14 October 2012 (MSD)