boolean watch= was deprecated in favour of watchlist= way back in 1.17 (T24944), but FlaggedRevs still uses watch=.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Update ApiStabilizeGeneral and ApiStabilizeProtect watchlist handling | mediawiki/extensions/FlaggedRevs | master | +65 -16 |
Related Objects
- Mentioned Here
- T24944: API: watchlist options are inconsistent
Event Timeline
Specifically, ApiStabilizeGeneral and ApiStabilizeProtect need to be updated
See https://www.mediawiki.org/wiki/Special:Code/MediaWiki/r64197 for some background and migrations (also available at https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/88df448d362b1c331bfdb8de69d1818bf6e5316e%5E%21/)
Change 580602 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/FlaggedRevs@master] Update ApiStabilizeGeneral and ApiStabilizeProtect watchlist handling
Change 580602 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Update ApiStabilizeGeneral and ApiStabilizeProtect watchlist handling
@DannyS712 How would you phrase this in Tech News?
(I see in Gerrit that there are no known callers (or am I misreading that comment?), if that's the case, which purpose do you think mentioning it serves? So I get the context here.)
The two api modules used to have watch parameters to either watch the page, or do nothing. Now they have watchlist parameters, with the options being watch, unwatch, preferences (the default) and nochange, and the old watch parameters are deprecated.
FWIW, it looks apihelp-stabilize-param-watchlist needs adding to all the i18n pages. Presumably it can just copy the text used everywhere by apihelp-*-param-watchlist in core?