Last modified: 2014-01-18 00:43:44 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 T50966, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48966 - API for retrieving Revision Deleted information
API for retrieving Revision Deleted information
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 10:36 UTC by Yishen Miao
Modified: 2014-01-18 00:43 UTC (History)
7 users (show)

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


Attachments

Description Yishen Miao 2013-05-30 10:36:55 UTC
The Current deletedrevs module of MediaWiki API does not provide any functionality for exporting pages which have been revdeled, nor the index.php accepts unhide=1 when the action parameter is other than view. (e.g. [//zh.wikipedia.org/w/index.php?action=raw&oldid=18255759&unhide=1] and [//zh.wikipedia.org/w/index.php?action=raw&oldid=18255759&unhide=1]) Therefore, it may be necessary to implement such functions to the API system.
Comment 1 Alex Monk 2013-05-30 12:07:34 UTC
Related to bug 23005 - except for this I think you want to be able to view revdeleted information rather than revdelete.
Comment 2 Umherirrender 2013-05-30 20:12:17 UTC
Sounds like bug 27747
Comment 3 Brad Jorsch 2013-05-30 20:23:17 UTC
(In reply to comment #2)
> Sounds like bug 27747

Well, maybe. But we'd also need the same sort of thing for prop=revisions, too, in addition to list=deletedrevs.
Comment 4 Umherirrender 2013-05-31 07:00:23 UTC
prop=revisions already outputted revision deleted version, you will get a userhidden="" or texthidden="", but you cannot unhide it, that is right. There was a try with Gerrit change #4658.

Other modules like deletedrevs, recentchanges (bug 27748) and filearchive (bug 34926) would skipped such revisions.
Comment 5 Brad Jorsch 2013-12-23 19:30:16 UTC
I have another issue to fix first, but then I'll fix this.
Comment 6 Gerrit Notification Bot 2014-01-14 16:58:58 UTC
Change 107389 had a related patch set uploaded by Anomie:
Improve API query RevDel handling

https://gerrit.wikimedia.org/r/107389
Comment 7 Gerrit Notification Bot 2014-01-17 22:58:58 UTC
Change 107389 merged by jenkins-bot:
Improve API query RevDel handling

https://gerrit.wikimedia.org/r/107389
Comment 8 Brad Jorsch 2014-01-18 00:43:44 UTC
This change should be deployed to WMF wikis with 1.23wmf11, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.

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


Navigation
Links