Page MenuHomePhabricator

Incorrect documentation of the dir parameter of list=watchlistraw
Closed, ResolvedPublic

Description

See e.g. https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bwatchlistraw. Description of wrdir states that

In which direction to enumerate:

newer
    List oldest first. Note: wrstart has to be before wrend.
older
    List newest first (default). Note: wrstart has to be later than wrend.

One of the following values: ascending, descending
Default: ascending

Values newer/older are not applicable here (apparently copied over from list=watchlist or other similar action). Also there are no wrstart and wrend parameters

Details

Event Timeline

Restricted Application added a project: Documentation. · View Herald TranscriptJun 20 2016, 12:08 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript
WMDE-leszek updated the task description. (Show Details)Jun 20 2016, 12:26 PM
Anomie moved this task from Unsorted to Non-Code on the MediaWiki-API board.Jun 20 2016, 1:54 PM
Anomie added a subscriber: Anomie.

It's using the "standard" documentation for dir parameters, which seems inappropriate here.

Anomie moved this task from Non-Code to Needs Code on the MediaWiki-API board.Jun 20 2016, 1:55 PM

Change 295240 had a related patch set uploaded (by WMDE-leszek):
Fix documentation of the dir parameter of list=watchlistraw API action

https://gerrit.wikimedia.org/r/295240

Anomie closed this task as Resolved.Jun 20 2016, 6:32 PM
Anomie assigned this task to WMDE-leszek.

Change 295240 merged by jenkins-bot:
Fix documentation of the dir parameter of list=watchlistraw API action

https://gerrit.wikimedia.org/r/295240