Last modified: 2006-02-01 14:21:06 UTC
I would like some way to skip all the history to the first person who created the page instead of going through all of the history.
(Something for Brion ?) In addition: I propose to introduce title=article&curid=1 or title=article&curid=first curid=0 cannot be used, as this indicates the current version, as far as I understood. I do not understand, why &curid=1 added to an article link points to a totally different page
Tom, it looks like you have your variables mixed up. curid refers to a page_id (cur_id in <1.5) and is the unique ID number of a particular page within the database. If you specify a curid parameter on a view URL, it overrides the given title. This is used on Special:Recentchanges items for pages to handle things being renamed, as I recall. Specifying curid=1 thus gives you whichever page was the first to be inserted into the database (unless that page has been deleted, in which case you get nothing.) oldid refers to a particular revision's rev_id (old_id in <1.5), and is the unique ID number of a particular revision within the database. Specifying oldid=1 thus gives you whichever page revision was the first revision of any page to ever be inserted into the database (unless that page has been deleted, in which case you get nothing). Note that this is *not* a sequence number within a particular page's history. No such sequence numbers are recorded in the database. There is a special URL parameter value, oldid=0, which is used in <1.5 when generating diff links to the current version of the given page (because no old_id number existed for current revisions due to the old database schema).
(In reply to comment #2) > curid refers to a page_id (cur_id in <1.5) and is the unique ID number of a > particular page within the database. If you specify a curid parameter on a view > URL, it overrides the given title. ... this is exactly, what I noticed. > oldid refers to a particular revision's rev_id (old_id in <1.5), and is the unique ID > number of a particular revision within the database. Specifying oldid=1 thus gives > you whichever page revision was the first revision of any page to ever be inserted > into the database (unless that page has been deleted, in which case you get > nothing). Thus ......./wiki/index.php?title=anything&oldid=1 shows the first page ever added to the database. So, the answer to the question of the bugzilla poster (not me), is: according to Brion's answer in versions < 1.5, you can unfortunately NOT directly link to the let's say first (initial) revision of a page. If I understand Brion correctly, the same will also be true for versions >= 1.5. Attention Brion: I would like to suggest to introduce a mechanism (query string) - let's say diff=0&curid=0 - which solves this problem of Jason Lee and which allows to point to the initial version of a page X. Tom
I amended the title to better reflect what was originally requested (by Jason Lee). The title is now brought into conformity with http://bugzilla.wikipedia.org/show_bug.cgi?id=181 Assign lasting ID to latest revision of articles (which is fixed in REL1_5 accoring to Brion's note there). Brion, it would be a big help and solving this bugzilla and bugzilla 181 to introduce two PSEUDO-oldid "oldest" and "latest" (or "recent" or "current") This would allow to construct links a) to the direct view of the first revision (when the page was created) http://server/wiki/index.php?title=foo&oldid=oldest (the number oldid being unknown when constructing the link blindly) b) bugzilla 181 = view the current revision http://server/wiki/index.php?title=foo&oldid=latest (the number oldid being unknown when constructing the link blindly) c) to show the difference between the both, i.e. one can construct a direct link to the difference view between the LATEST and the OLDEST revision http://server/wiki/index.php?title=foo&diff=0&oldid=oldest Can you help ? It would be great ...
amending the title again
Using the CVS HEAD and BASE keywords would be more familar.
This has been implemented on &action=history "(Latest | Earliest)". Thus I close this bug.
(In reply to comment #7) > This has been implemented on &action=history "(Latest | > Earliest)". Thus I close this bug. Latest: action=history Earliest: go=first&action=history as in http://en.wikipedia.org/w/index.php?title=Main_Page&go=first&action=history