Last modified: 2011-03-13 18:05:31 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 11174 - MediaWiki 1.6.10 with 2 extentions is not work.
MediaWiki 1.6.10 with 2 extentions is not work.
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Lowest major (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2007-09-04 01:12 UTC by ISAKA Yoji
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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

patch of Cite.php rev.16633 (584 bytes, patch)
2007-09-04 01:12 UTC, ISAKA Yoji

Description ISAKA Yoji 2007-09-04 01:12:02 UTC
Created attachment 4076 [details]
patch of Cite.php rev.16633

:MediaWiki 1.6.10 with 2 extentions;
:*Cite (Cite.php rev.16633)
:*ParserFunctions (ParserFunctions.php rev.24913)
:PHP 4.4.7 (cgi)
:MySQL 4.0.27
:FreeBSD 6.1R

;Problem appears:
*Using Cite only -> no problem
*Using ParserFunctions only -> no problem
*Using both -> failed with "Unknown datatype in hooks for ParserClearState"
array(1) { ["ParserClearState"]=>  array(2) { [0]=>  array(2) { [0]=>  &NULL [1]=>  string(10) "clearState" } [1]=>  array(2) { [0]=>  &object(extparserfunctions)(4) { ["mExprParser"]=>  NULL ["mTimeCache"]=>  array(0) { } ["mTimeChars"]=>  int(0) ["mMaxTimeChars"]=>  int(1000) } [1]=>  string(10) "clearState" } } } Unknown datatype in hooks for ParserClearState


    * GlobalFunctions.php line 602 calls wfbacktrace()
    * Hooks.php line 85 calls wfdebugdiebacktrace()
    * Parser.php line 172 calls wfrunhooks()
    * Parser.php line 3507 calls parser::clearstate()
    * MessageCache.php line 457 calls parser::transformmsg()
    * MessageCache.php line 406 calls messagecache::transform()
    * GlobalFunctions.php line 449 calls messagecache::get()
    * GlobalFunctions.php line 408 calls wfmsggetkey()
    * GlobalFunctions.php line 361 calls wfmsgreal()
    * EditPage.php line 837 calls wfmsgforcontent()
    * EditPage.php line 307 calls editpage::showeditform()
    * EditPage.php line 147 calls editpage::edit()
    * Wiki.php line 381 calls editpage::submit()
    * Wiki.php line 50 calls mediawiki::performaction()
    * index.php line 123 calls mediawiki::initialize()

:I'm tracing source, and find a procedure to call ParserClearState before defining $wgHooks in Cite.php. Patched version of Cite.php is worked with ParserFunctions under the environment as above.
Comment 1 Siebrand Mazeland 2009-10-16 07:56:35 UTC
Closed as WONTFIX. MediaWiki 1.6.x is no longer supported.

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