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

--- Comment #6 from MZMcBride <[email protected]> 2012-09-03 21:09:52 UTC ---
(In reply to comment #5)
> As now implemented on the http://www.mediawiki.org/ wiki, this has the
> following minor issues when handling invalid parameters:

These should be filed as separate bugs, please. :-)

> - an invalid "oldid" value causes info for the main page to be displayed
> instead of generating an error page
> e.g. http://www.mediawiki.org/w/index.php?oldid=999999999&action=info
> (but an invalid "curid" value correctly shows "Bad title" error)

Right. But does a "valid" oldid behave as you expect? I think you're hitting a
differently (underlying) issue (i.e., that ?action=info doesn't support
oldid's).

> - an invalid "title" value shows invalid data (garbage in edit history info)
> instead of generating an error page
> e.g. http://www.mediawiki.org/w/index.php?title=invalidtitlehere&action=info

"Invalidtitlehere" isn't an invalid title. :-) 
https://www.mediawiki.org/w/index.php?title=invalidtitlehere%3C&action=info
(with a "<" appended to the example page title, making the title actually
invalid) throws a "bad title" error, as expected.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to