https://bugzilla.wikimedia.org/show_bug.cgi?id=71396
Bug ID: 71396
Summary: Add revid handling (revids=, drstartid= and drendid=)
to list=deletedrevs
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Currently "list=deletedrevs" does not support look-ups with revision IDs.
However, "prop=revisions" does support look-ups based on revision IDs. I would
like to be able to use revision IDs to do lookups of both deleted and
non-deleted revisions in the same manner.
This means that revids would be supported for extracting specific revisions,
drstartid would allow searching after a certain revision and drendid would
allow searching before a certain revision.
Here is an example of what currently happens when trying the obvious with
"revids":
https://en.wikipedia.org/w/api.php?action=query&list=deletedrevs&revids=48686706&drprop=revid|content&drlimit=1&format=jsonfm
returns:
{
"query-continue": {
"deletedrevs": {
"drcontinue": "0|\udbff\udfff|20060416102417|59516453"
}
},
"query": {
"badrevids": {
"48686706": {
"revid": 48686706
}
},
"deletedrevs": [
{
"revisions": [
{
"timestamp": "2006-08-19T00:06:25Z",
"revid": 70501255,
"*": <snip>
}
],
"ns": 0,
"title": "\udbff\udfff"
}
]
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l