Last modified: 2006-11-30 17:10:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8074 - can't regression test multiple parser funcitons.
can't regression test multiple parser funcitons.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.9.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-28 21:52 UTC by Steve Sanbeg
Modified: 2006-11-30 17:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Steve Sanbeg 2006-11-28 21:52:21 UTC
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
Comment 1 Steve Sanbeg 2006-11-30 17:10:37 UTC
Problem was in API documentation; apparently, the magic language hook needs to
return true, otherwise it screws up other extensions (?).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links