https://bugzilla.wikimedia.org/show_bug.cgi?id=53563

       Web browser: ---
            Bug ID: 53563
           Summary: Parser::parse() sent null title
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: RSS
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: innocentkil...@gmail.com
                CC: jeroen_ded...@yahoo.com, m...@tgries.de,
                    neverett+bugzi...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

This extension doesn't behave nicely when parsing from the command line--that
$wgTitle looks suspicious!

I'm currently getting the following stacktrace from CirrusSearch:

[29-Aug-2013 20:54:16] Catchable fatal error: Argument 2 passed to
Parser::parse() must be an instance of Title, null given, called in
/usr/local/apache/common-local/php-1.22wmf15/extensions/RSS/RSSParser.php on
line 297 and defined at /usr/local/apache/common-local/php
-1.22wmf15/includes/parser/Parser.php on line 351
Server: terbium
URL: http://[unknown-host]
Backtrace:
#0
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Parser.php(351):
Parser::parse()
#1
/usr/local/apache/common-local/php-1.22wmf15/extensions/RSS/RSSParser.php(297):
Parser->parse('{{RSSPost | tit...', NULL, Object(ParserOptions))
#2
/usr/local/apache/common-local/php-1.22wmf15/extensions/RSS/RSSParser.php(331):
RSSParser->sandboxParse('{{RSSPost | tit...')
#3
/usr/local/apache/common-local/php-1.22wmf15/extensions/RSS/RSSHooks.php(96):
RSSParser->renderFeed(Object(Parser), Object(PPFrame_DOM))
#4 [internal function]: RSSHooks::renderRss('http://blog.wik...', Array,
Object(Parser), Object(PPFrame_DOM))
#5
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Parser.php(3992):
call_user_func_array(Array, Array)
#6
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Preprocessor_DOM.php(1181):
Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#7
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Parser.php(3121):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#8
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Parser.php(1201):
Parser->replaceVariables('== Gallery ==?<...')
#9
/usr/local/apache/common-local/php-1.22wmf15/includes/parser/Parser.php(388):
Parser->internalParse('== Gallery ==?<...')
#10
/usr/local/apache/common-local/php-1.22wmf15/includes/content/WikitextContent.php(300):
Parser->parse('== Gallery ==?<...', Object(Title), Object(ParserOptions), true,
true, 637440)
#11 /usr/local/apache/common-local/php-1.22wmf15/includes/WikiPage.php(3514):
WikitextContent->getParserOutput(Object(Title), 637440, Object(ParserOptions))
#12 /usr/local/apache/common-local/php-1.22wmf15/includes/PoolCounter.php(222):
PoolWorkArticleView->doWork()
#13 /usr/local/apache/common-local/php-1.22wmf15/includes/WikiPage.php(1126):
PoolCounterWork->execute()
#14 /usr/local/apache/common-local/php-1.22wmf15/includes/Article.php(1811):
WikiPage->getParserOutput(Object(ParserOptions), NULL)
#15
/usr/local/apache/common-local/php-1.22wmf15/extensions/CirrusSearch/CirrusSearchTextSanitizer.php(36):
Article->getParserOutput()
#16
/usr/local/apache/common-local/php-1.22wmf15/extensions/CirrusSearch/CirrusSearch.body.php(53):
CirrusSearchTextSanitizer::getSantizedTextFromTitle(Object(Title))
#17
/usr/local/apache/common-local/php-1.22wmf15/extensions/CirrusSearch/forceSearchIndex.php(215):
CirrusSearch->getTextFromContent(Object(Title), Object(WikitextContent))
#18
/usr/local/apache/common-local/php-1.22wmf15/extensions/CirrusSearch/forceSearchIndex.php(89):
ForceSearchIndex->findUpdates(Object(MWTimestamp), '111542', NULL)
#19
/usr/local/apache/common-local/php-1.22wmf15/maintenance/doMaintenance.php(115):
ForceSearchIndex->execute()
#20
/usr/local/apache/common-local/php-1.22wmf15/extensions/CirrusSearch/forceSearchIndex.php(304):
require_once('/usr/local/apac...')
#21 /usr/local/apache/common-local/multiversion/MWScript.php(97):
require_once('/usr/local/apac...')
#22 {main}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to