https://bugzilla.wikimedia.org/show_bug.cgi?id=22684
Summary: API - "The page parameter cannot be used together with
the text and title parameters" error
Product: MediaWiki
Version: 1.15.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Using the API to parse a page is not working properly. My query string looks
like this:
/api.php?action=parse&page=Houdini
It returns this response:
<?xml version="1.0"?>
<api>
<error code="params" info="The page parameter cannot be used together with
the text and title parameters" xml:space="preserve">
I am using mw 1.15.1 i get nothing of value from the mw debug log and i have
verified that my rewrite rules are not adding the title parameter. If i change
my query string to this:
/api.php?action=parse&text={{Houdini}}
I get the expected result.
(see
http://www.mediawiki.org/w/index.php?title=Talk:API:Parsing_wikitext&diff=prev&oldid=297592
for more info)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l