Last modified: 2013-03-14 13:59:39 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 T35581, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33581 - Special:Contributions - filter to show only the user's last edit to each page
Special:Contributions - filter to show only the user's last edit to each page
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-07 15:10 UTC by Stewart Gordon
Modified: 2013-03-14 13:59 UTC (History)
1 user (show)

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


Attachments

Description Stewart Gordon 2012-01-07 15:10:39 UTC
Sometimes I would like to see a list of pages I have recently edited.  Special:Contributions does this, but if I've edited the same page multiple times then it appears multiple times in the list.

"Only show edits that are latest revisions" guarantees that each page appears only once in the list, but if somebody has edited the page since the user whose contributions I am viewing, that page doesn't appear in the list at all.

It would therefore be nice to have another option here: "Only show edits that are the user's last edit to the page"

I don't know how the "Only show edits that are latest revisions" filter works internally, but if it just adds to the query the condition "no newer edits to [page] exist", then it probably wouldn't be difficult to do "no newer edits to [page] by [user] exist" along the same lines.
Comment 1 Bawolff (Brian Wolff) 2012-01-07 15:16:33 UTC
I don't think this can be done efficiently. (Like certainly it would be possible to on the php side, look through all the contribs we're about to output, and remove duplicates. However if a person edited a page once, then edited again 20 000 edits later (so that the two contribs are not on the same page when going through special:contribs 50 contribs at a time), it would be very difficult to make it so only one of those appeared.
Comment 2 Stewart Gordon 2012-01-14 01:09:20 UTC
How does it do "Only show edits that are latest revisions" efficiently enough?  Maybe knowing the database structure would help to put it in better perspective.
Comment 3 Bawolff (Brian Wolff) 2012-01-15 20:41:19 UTC
Database structure is documented at [[mw:Manual:Revision_table]] and [[mw:Manual:Page_table]]. Only show latest edits does an inner join from revision table to page table on rev_id = page_latest .

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


Navigation
Links