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

--- Comment #9 from MZMcBride <[email protected]> 2012-09-04 05:36:13 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
>> Right. But does a "valid" oldid behave as you expect?
> 
> Yes, if the "oldid" value refers to a (past or current) revision ID that
> exists.
> 
> The problem is that any other "oldid" value (in the absence of any "title")
> returns info about the main page instead of returning an error, so readers may
> not realise that they have made a mistake.

Hmmm. I see what you mean now.
https://www.mediawiki.org/w/index.php?title=&oldid=1111111111111111111&action=view
throws an error, so
https://www.mediawiki.org/w/index.php?title=&oldid=1111111111111111111&action=info
should presumably as well. This should be filed as a separate bug.

> Whether accidentally or by design, "oldid" values are correctly mapped to the
> current revision of the relevant page when oldid matches a revisionid, as
> expected.

You think that's the correct behavior?

> If the "title" parameter (or the canonical /wiki/Baz:Foo_bar URL) does not
> refer to a page that exists, action=info should return an error page, instead
> of the misleading garbage edit history data that it currently returns.

This is bug 39688 ("action=info displays misleading edit history for
redlinks").

-- 
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