Last modified: 2007-12-20 02:41:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13221, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11221 - 'Compare selected versions' button is active, but useless, on history page with one revision
'Compare selected versions' button is active, but useless, on history page wi...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.11.x
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-07 00:33 UTC by Brion Vibber
Modified: 2007-12-20 02:41 UTC (History)
1 user (show)

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


Attachments

Description Brion Vibber 2007-09-07 00:33:03 UTC
If there's only one version on a page, the history page still has the little "Compare selected verions" buttons at the top and bottom of the list. Of course, since there aren't multiple versions, there's no radio buttons to select revisions with.

Further, if you click the button, it just sends you to the page itself rather than any kind of diff.

The buttons probably should either be disabled or simply not displayed if we know we're outputting a single revision.
Comment 1 Raimond Spekking 2007-12-11 17:01:19 UTC
Fixed with r28390. Buttons are disabled now for pages with 1 revision only.
Comment 2 Brion Vibber 2007-12-20 02:41:17 UTC
In r28688 I've removed the button, as there are no other form elements present either.

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


Navigation
Links