Last modified: 2006-06-09 21:44:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8091, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6091 - Inputbox extension indirectly uses $wgTitle, breaking job queue
Inputbox extension indirectly uses $wgTitle, breaking job queue
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-26 07:10 UTC by Brion Vibber
Modified: 2006-06-09 21:44 UTC (History)
0 users

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


Attachments

Description Brion Vibber 2006-05-26 07:10:38 UTC
The inpuxbox extension appears to be incorrectly accessing $wgTitle 
and passing it into the parser. This results in failures of batch 
processes, such as the job queue:

dewiki:  Attempt to call member function of FakeTitle
dewiki:
dewiki:  Backtrace:
dewiki:  GlobalFunctions.php line 661 calls wfBacktrace()
dewiki:  FakeTitle.php line 7 calls wfDebugDieBacktrace()
dewiki:  FakeTitle.php line 48 calls FakeTitle::error()
dewiki:  Parser.php line 1391 calls FakeTitle::isTalkPage()
dewiki:  Parser.php line 899 calls Parser::replaceInternalLinks()
dewiki:  Parser.php line 221 calls Parser::internalParse()
dewiki:  OutputPage.php line 367 calls Parser::parse()
dewiki:  inputbox.php line 138 calls OutputPage::parse()
dewiki:  inputbox.php line 91 calls Inputbox::getSearchForm2()
dewiki:  inputbox.php line 59 calls Inputbox::render()
dewiki:  - line - calls renderInputbox()
dewiki:  Parser.php line 499 calls call_user_func_array()
dewiki:  Parser.php line 212 calls Parser::strip()
dewiki:  JobQueue.php line 189 calls Parser::parse()
dewiki:  JobQueue.php line 148 calls Job::refreshLinks()
dewiki:  runJobs.php line 15 calls Job::run()

On a quick examination, this is done indirectly through calling 
$wgOut->parse().
Comment 1 Rob Church 2006-06-09 21:44:39 UTC
This seems to have been fixed in r14562.

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


Navigation
Links