Last modified: 2014-11-17 10:35:31 UTC
Hi! When I use the RSS feed for watchlist, it shows my own edits even if I set "Hide my edits from the watchlist" in the preferences page. Helder
Created attachment 7706 [details] add wlexcludeuser to feedwatchlist It seems the RSS feed does not take into account ANY of your preferences, but the others can at least be chosen on the url. This one could be workarounded by exposing wlexcludeuser (see patch) but a hideown parameter to ApiQueryWatchlist would be preferable IMHO.
It seems that we also can't hide bot edits (with wlshow=!bot ?)
(In reply to comment #1) > This one could be workarounded by exposing wlexcludeuser (see patch) but a > hideown parameter to ApiQueryWatchlist would be preferable IMHO. Exposing wlexcludeuser does provide the additional feature of hiding a specific user other than yourself (may or may not be of use to people).
(In reply to comment #1) > It seems the RSS feed does not take into account ANY of your preferences, but > the others can at least be chosen on the url. Not working for me, either for the watchlist or where I really want it: recent changes. It would be nice if the HTML, RSS and Atom versions of RecentChanges, Watchlist et al used the same backend code and so would naturally honour any prefs or URL parameters.
Any updates on this?
(In reply to comment #5) > Any updates on this? I guess not as it's still open
Comment on attachment 7706 [details] add wlexcludeuser to feedwatchlist Applied Platonides' patch in r102987
Retitling bug Presumably all of the following sohuld be respected if they are not currently Expand watchlist to show all changes, not just the most recent Hide minor edits from the watchlist Hide bot edits from the watchlist Hide my edits from the watchlist Hide edits by anonymous users from the watchlist Hide edits by logged in users from the watchlist
Moreover, adding "feed=rss" or "feed=atom" to the query should not cause the rest of the query parameters not to work.
(In reply to comment #7) > Comment on attachment 7706 [details] > add wlexcludeuser to feedwatchlist > > Applied Platonides' patch in r102987 Is this working for someone?
It would be great if this could work li that: http://www.mediawiki.org/wiki/Extension:News#Options Simple URL parameters like: nobots, nominor… //But I don't see a parameter for excluding user's changes.
(In reply to comment #10) > (In reply to comment #7) > > Comment on attachment 7706 [details] > > add wlexcludeuser to feedwatchlist > > > > Applied Platonides' patch in r102987 > > Is this working for someone? No, that's not working for me – assuming I use it properly: https://pl.wikipedia.org/w/index.php?title=%C5%9Alina&action=history&feed=atom&wlexcludeuser=EmausBot …?
Ugh, it was broken because the effect of setting this option was later overwritten in the code. I just submitted I2a856733 to fix this issue. The rest of the things mentioned in this bug still apply; someone should probably do this similarly to what Platonides' patch does. I'm taking the liberty of marking this as 'easy'; it doesn't seem to be hard to do, maybe just a little boring :)
merged I2a856733
(Reopening, that was just a partial fix, unless I'm misunderstanding something.)
Bartosz, sorry, yes, it is only fixes the wlexcludeuser
So does the 'wlexcludeuser' work? Not for me, as for now. w/api.php?action=feedwatchlist&(…)&wlexcludeuser=Kaligula doesn't exclude my edits from watchlist.
Isn't it similar to Bug 23804 ?
I just submitted Idab489fc017dcf226ea39f2f1766e06064e4ec0a on gerrit, which adds support for 'wlshow' parameter. 'wlshow' parameter allows excluding bots/anon/minor edits from feedwatchlist so I think that would resolve the issue.
https://gerrit.wikimedia.org/r/54654 (Gerrit Change Idab489fc017dcf226ea39f2f1766e06064e4ec0a) | Code-Review: Verified:+1 Patch Set 4: Verified+1 Build successful - https://integration.wikimedia.org/ci/job/mediawiki-core-merge/9481/console : SUCCESS - https://integration.wikimedia.org/ci/job/mediawiki-core-whitespaces/3094/console : SUCCESS (non-voting) - https://integration.wikimedia.org/ci/job/mediawiki-core-phpcs-HEAD/5569/console : SUCCESS (non-voting) - https://integration.wikimedia.org/ci/job/mediawiki-core-jslint/4356/checkstyleResult/ : SUCCESS - https://integration.wikimedia.org/ci/job/mediawiki-core-lint/11329/console : SUCCESS [by jenkins-bot]
wlshow patch merged
Related URL: https://gerrit.wikimedia.org/r/59620 (Gerrit Change I6a51e3ee07fe7622b9c708c78563795d7a1118fc)