Last modified: 2013-09-24 15:09:01 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 T56376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54376 - UploadWizard can't parse from the command line
UploadWizard can't parse from the command line
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Yuvi Panda
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-20 13:40 UTC by Nik Everett
Modified: 2013-09-24 15:09 UTC (History)
7 users (show)

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


Attachments

Description Nik Everett 2013-09-20 13:40:46 UTC
manybubbles@deployment-bastion:~$ time sudo -u mwdeploy mwscript extensions/CirrusSearch/forceSearchIndex.php --wiki commonswiki --batch-size=50 --fromId=22259 | tee -a ~/commonswiki.log
Empty $mTitle in OutputPage::parse
Backtrace:
#0 /data/project/apache/common-local/php-master/includes/OutputPage.php(1681): OutputPage->parse('Template:Upload...', true, false)
#1 /data/project/apache/common-local/php-master/extensions/UploadWizard/includes/UploadWizardCampaign.php(177): OutputPage->parseInline('Template:Upload...')
#2 /data/project/apache/common-local/php-master/extensions/UploadWizard/includes/UploadWizardCampaign.php(200): UploadWizardCampaign->parseValue('Template:Upload...')
#3 /data/project/apache/common-local/php-master/extensions/UploadWizard/includes/UploadWizardCampaign.php(223): UploadWizardCampaign->parseArrayValues(Array)
#4 /data/project/apache/common-local/php-master/extensions/UploadWizard/includes/CampaignContent.php(109): UploadWizardCampaign->getParsedConfig()
#5 /data/project/apache/common-local/php-master/extensions/UploadWizard/includes/CampaignContent.php(94): CampaignContent->generateHtml(Object(Title))
#6 /data/project/apache/common-local/php-master/includes/WikiPage.php(3514): CampaignContent->getParserOutput(Object(Title), 31199, Object(ParserOptions))
#7 /data/project/apache/common-local/php-master/includes/PoolCounter.php(222): PoolWorkArticleView->doWork()
#8 /data/project/apache/common-local/php-master/includes/WikiPage.php(1126): PoolCounterWork->execute()
#9 /data/project/apache/common-local/php-master/extensions/CirrusSearch/CirrusSearchUpdater.php(182): WikiPage->getParserOutput(Object(ParserOptions), 31199)
#10 /data/project/apache/common-local/php-master/extensions/CirrusSearch/CirrusSearchUpdater.php(124): CirrusSearchUpdater::buildDocumentforRevision(Array)
#11 /data/project/apache/common-local/php-master/extensions/CirrusSearch/forceSearchIndex.php(113): CirrusSearchUpdater::updateRevisions(Array)
#12 /data/project/apache/common-local/php-master/maintenance/doMaintenance.php(113): ForceSearchIndex->execute()
#13 /data/project/apache/common-local/php-master/extensions/CirrusSearch/forceSearchIndex.php(298): require_once('/data/project/a...')
#14 /data/project/apache/common-local/multiversion/MWScript.php(97): require_once('/data/project/a...')
#15 {main}

real    0m1.855s
user    0m0.336s
sys     0m0.164s
manybubbles@deployment-bastion:~$
Comment 1 Nik Everett 2013-09-20 13:41:26 UTC
Marking high priority because it gets in the way of testing.
Comment 2 Nik Everett 2013-09-20 14:29:35 UTC
This looks like a recently introduced problem in UploadWizard so I'm shifting it over there.

It turns out that _I_ don't test against commonswiki in beta and I'm not sure if anyone does but it still seems like a problem.
Comment 3 Brion Vibber 2013-09-20 15:52:16 UTC
This looks related to the new campaign pages; assigning to Yuvi and CC'ing me.
Comment 4 Gerrit Notification Bot 2013-09-20 20:56:12 UTC
Change 85330 had a related patch set uploaded by Yuvipanda:
Use parser directly to parse wikitext

https://gerrit.wikimedia.org/r/85330
Comment 5 Gerrit Notification Bot 2013-09-20 21:19:17 UTC
Change 85330 merged by jenkins-bot:
Explicitly use $wgParser to parse wikitext

https://gerrit.wikimedia.org/r/85330
Comment 6 Yuvi Panda 2013-09-24 15:09:01 UTC
Closing as resolved since I haven't heard any more complaints :P

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


Navigation
Links