Last modified: 2008-10-31 12:15:22 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 T18201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16201 - Submitting page content with a Special template via Api causes 500 Response
Submitting page content with a Special template via Api causes 500 Response
Status: RESOLVED DUPLICATE of bug 16188
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-31 11:12 UTC by merl
Modified: 2008-10-31 12:15 UTC (History)
3 users (show)

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


Attachments

Description merl 2008-10-31 11:12:45 UTC
Setting the content of a page with a special page as included template doesn't work.
Content: {{Spezial:Seiten mit ungesichteten Versionen/5,category=Begriffsklärung}}

Example HTTP-Request (reduced):
POST /w/api.php?action=edit&format=xml HTTP/1.1
Host: de.wikipedia.org
User-Agent: Mozilla/5.0
Connection: close

title=Wikipedia%3ASpielwiese&text=%7B%7BSpezial%3ASeiten%20mit%20ungesichteten%20Versionen%2F5%2Ccategory%3DBegriffskl%C3%A4rung%7D%7D&time=20081031104624&basetimestamp=20081031104503&token=123123123%2B%5C

RESPONSE:
status: 500
x-vary-options: Accept-Encoding;list-contains=gzip
connection: close

When changing one character in template name, so that it is not valid any more, the api-request succeeds.
Submitting this content via index.php also works finde.
Comment 1 P.Copp 2008-10-31 11:15:13 UTC

*** This bug has been marked as a duplicate of bug 16188 ***
Comment 2 merl 2008-10-31 11:26:06 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 16188 ***
> 
I have tested it with my editor account, and with my account having a bot flag. So i think it doesn't duplicate this bug.
Comment 3 P.Copp 2008-10-31 11:33:05 UTC
This bug is caused by transcluding a page, that can't be accessed by anons. It has been fixed by making Special:OldreviewedPages not transcludable anymore.
Comment 4 Roan Kattouw 2008-10-31 12:15:22 UTC
Duping to bug 16188 again, assuming the explanation in comment #3 is correct. Please reopen if this bug still happens after r42833 has been scapped.

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

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


Navigation
Links