Author: ssanbeg
Description:
It appears that when regression testing parser functions, the LanguageGetMagic
hook is only called for the first extension that loads it. Subsequent
extensions don't load the magic word, and ths won't recognize parser functions,
so the tested extension has to be the first one with parserfunctions listed in
LocalSettings.php.
I haven't found a fix for this, unfortuantely.
for example, this would be printed if labeled section transclusion is the second
one listed (it doesn't matter whether it is being tested or not)
Notice: Undefined index: lst in /var/www/html/wikis/svn/languages/Language.php
on line 1096
"" is not a valid magic thingie for "lst"
Warning: array_slice(): The first argument should be an array in
/var/www/html/wikis/svn/languages/Language.php on line 1104
Notice: Undefined index: lstx in /var/www/html/wikis/svn/languages/Language.php
on line 1096
"" is not a valid magic thingie for "lstx"
Warning: array_slice(): The first argument should be an array in
/var/www/html/wikis/svn/languages/Language.php on line 1104
Version: 1.9.x
Severity: normal
OS: Linux
Platform: PC