Last modified: 2006-07-04 08:54:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3957 - restructure the code to evaluate ?title=foo&oldid=nnnn ; allow ?oldid=nnnn without title
restructure the code to evaluate ?title=foo&oldid=nnnn ; allow ?oldid=nnnn wi...
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-11-13 21:08 UTC by lɛʁi לערי ריינהארט
Modified: 2006-07-04 08:54 UTC (History)
1 user (show)

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


Description lɛʁi לערי ריינהארט 2005-11-13 21:08:50 UTC

please compare

This bug is about the *great feature* of being able to compare two *arbitrary*
oldid's / pages available in the database. It can be used for maintenance.

This *feature* should not be disabeled.

This request is about showing the correct / *actual* titles of *both*
*arbitrary* oldid's / pages.

Originaly one person was generating a link as
but later [[foo]] was moved to [[bar]].

But then
should show the *correct* title *bar* and *not* the *old* title *foo.

If title= is missing [[MediaWiki:Mainpage]] is shown as seccond title. This is
*not* correct.

regards reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2005-12-15 22:59:28 UTC
please disregard (In reply to comment #0)

subject changed to
restructure the code to evaluate ?title=foo&oldid=nnnn ; allow ?oldid=nnnn
without title

The scenario is the following:
time period 1) A page A is created
               A is modified n times
time period 2) A is moved to B
               B is modified n2 times 
time period 3) B is moved to C
               A is deleted
               C is modified n3 times 
(optionaly)    some revisions are deleted

Now consider the general case of a reference to revisions of this page.

assume that A is [[wiktionary:en:doomsdays]]
            B is [[wiktionary:en:Abba]]
            C is [[wiktionary:en:abba]]
 here title=C all works fine
 here title=B still all works fine (only because "Abba" redirects to "abba"!)
 here title=A no content is displayed;
 please see what links are generated for "view current revision",
 "← Older revision" and "Newer revision →"

in addition please see also a "wrong" title (somebody mistyped it)
 verify the generated links

what works is also a reference *without* title

*today* the *last* revision is 672681
generate the same page 

additional scenarios
- oldid=nnnn could be deleted
- oldid=nnnn is out of range

oldid=nnnn is used to refer to a version of a page ; at WP also for citation.
This is why the link should remain "valid" as long as the revision exists in the
database else as long as a such a title exists. I assume that such links would
be hanging around as bookmarks here and there. The task is to offer somthing
usefull to the visitors if the version is still available

Referencing to a version with "oldid" should not be influenced "that much" if
the title does not exist (any more), if the title was deleted (maybe if the
title is invalid etc.) as long as this version exists.
MediaWiki messages can notify that the requested title and the actual titles differ.

I do not know what is best to do if the version does not exist but the title
exists. Should the history be displayed? Other proposals: ... ?

This enhancement request goes hand in hand with
bug 2455: correct navigation links for diffs between two different pages

best regards reinhardt [[user:gangleri]]
Comment 2 Rob Church 2006-07-04 08:54:54 UTC
When an oldid is provided, the title argument is more or less ignored. So
title=Blah&oldid=1 would work, for instance.

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