Last modified: 2009-03-24 15:51:03 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 T20120, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18120 - Editing not possible when Special:OldReviewedPages included with empty list
Editing not possible when Special:OldReviewedPages included with empty list
Status: RESOLVED DUPLICATE of bug 17852
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Normal critical (vote)
: ---
Assigned To: Roan Kattouw
http://de.wikipedia.org/wiki/Wikipedi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-24 06:30 UTC by merl
Modified: 2009-03-24 15:51 UTC (History)
3 users (show)

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


Attachments

Description merl 2009-03-24 06:30:06 UTC
Editing a page with the template {{Special:OldReviewedPages}} via api only works if the included template returns a non empty list. Editing with index.php is always possible. (all tests done with user having editor-right).

Response from ?action=edit&text=abc&... on editing a page where the special-template returns that there are no old reviewed pages at the moment:

<?xml version="1.0"?><api><error code="internal_api_error_MWException" info="Exception Caught: Empty $wgTitle in OutputPage::parse">
#0 /usr/local/apache/common-local/php-1.5/includes/GlobalFunctions.php(736): OutputPage-&gt;parse('Gegenwärtig gi...', true, true)
#1 /usr/local/apache/common-local/php-1.5/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php(86): wfMsgExt('oldreviewedpage...', Array)
#2 /usr/local/apache/common-local/php-1.5/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php(29): OldReviewedPages-&gt;showList('10,namespace=Vo...')
#3 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(540): OldReviewedPages-&gt;execute('10,namespace=Vo...')
#4 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(559): SpecialPage::executePath(Object(Title), true)
#5 /usr/local/apache/common-local/php-1.5/includes/parser/Parser.php(2867): SpecialPage::capturePath(Object(Title))
#6 /usr/local/apache/common-local/php-1.5/includes/parser/Preprocessor_DOM.php(959): Parser-&gt;braceSubstitution(Array, Object(PPFrame_DOM))
#7 /usr/local/apache/common-local/php-1.5/includes/parser/Parser.php(2623): PPFrame_DOM-&gt;expand(Object(PPNode_DOM), 0)
#8 /usr/local/apache/common-local/php-1.5/includes/parser/Parser.php(875): Parser-&gt;replaceVariables('&lt;noinclude&gt;?{{B...')
#9 /usr/local/apache/common-local/php-1.5/includes/parser/Parser.php(327): Parser-&gt;internalParse('&lt;noinclude&gt;?{{B...')
#10 /usr/local/apache/common-local/php-1.5/includes/Article.php(2854): Parser-&gt;parse('&lt;noinclude&gt;?{{B...', Object(Title), Object(ParserOptions), true, true, NULL)
#11 /usr/local/apache/common-local/php-1.5/extensions/SpamBlacklist/SpamBlacklist_body.php(218): Article-&gt;prepareTextForEdit('&lt;noinclude&gt;?{{B...')
#12 /usr/local/apache/common-local/php-1.5/extensions/SpamBlacklist/SpamBlacklist.php(106): SpamBlacklist-&gt;filter(Object(Title), '&lt;noinclude&gt;?{{B...', '', '', Object(EditPage))
#13 [internal function]: wfSpamBlacklistFilterAPIEditBeforeSave(Object(EditPage), '&lt;noinclude&gt;?{{B...', Array)
#14 /usr/local/apache/common-local/php-1.5/includes/Hooks.php(117): call_user_func_array('wfSpamBlacklist...', Array)
#15 /usr/local/apache/common-local/php-1.5/includes/api/ApiEditPage.php(180): wfRunHooks('APIEditBeforeSa...', Array)
#16 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(431): ApiEditPage-&gt;execute()
#17 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(261): ApiMain-&gt;executeAction()
#18 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(245): ApiMain-&gt;executeActionWithErrorHandling()
#19 /usr/local/apache/common-local/php-1.5/api.php(77): ApiMain-&gt;execute()
#20 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#21 {main}
</error></api>
Comment 1 Roan Kattouw 2009-03-24 15:51:03 UTC

*** This bug has been marked as a duplicate of bug 17852 ***

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


Navigation
Links