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

--- Comment #12 from FT2 <[email protected]> 2010-07-09 04:02:57 UTC ---
As an interim option, can we at least have "&oldid=" work with
Special:Undelete?

Most deleted revisions have a revision id and the field is indexed. The few old
deleted revisions that don't have a revision id can easily be given one.

Revid/oldid is universally used everywhere else to identify a revision, except
when it comes to deleted revisions. It would be a fairly simple change to have
Mediawiki correctly handle links of the form:
http://en.wikipedia.org/w/index.php?title=Special:Undelete&oldid=12345

as an equally valid alternative to the existing:
http://en.wikipedia.org/w/index.php?title=Special:Undelete&target=PAGENAME&timestamp=TIMESTAMP

Advantages:

1/ Whether a revision is deleted or undeleted the revisionid stays the same so
it can still be used to by admins to find the revision;

2/ Allows a failback to be added to Mediawiki that if &oldid= is given in a
link, and the revision isn't in the current revisions table, it can easily and
automatically be searched for in the deleted revisions table instead (and vice
versa), so diff links will "dead end" less often.

3/ It's simple to do and probably trivial on effort (if Special:Undelete args
include a page+timestamp look up the data by those, if the args are an oldid
then look up the data by that in the same table);

4/ Makes it easier to transition in future to using rev_id as the common index
field for revisions whether deleted or visible, which is a simplifying
direction for Mediawiki. Pagename/timestamp would continue to work so nothing
"breaks", but allowing oldid to work will make a future transition easier.

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