Last modified: 2014-11-17 10:35:31 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 T27325, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25325 - RSS/Atom feeds don't respect watchlist preferences or URL query parameters
RSS/Atom feeds don't respect watchlist preferences or URL query parameters
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-26 16:52 UTC by Helder
Modified: 2014-11-17 10:35 UTC (History)
11 users (show)

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


Attachments
add wlexcludeuser to feedwatchlist (1.29 KB, patch)
2010-09-26 17:31 UTC, Platonides
Details

Description Helder 2010-09-26 16:52:02 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
Comment 1 Platonides 2010-09-26 17:31:23 UTC
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.
Comment 2 Helder 2010-09-30 11:35:54 UTC
It seems that we also can't hide bot edits (with wlshow=!bot ?)
Comment 3 Gurch 2010-10-03 19:52:37 UTC
(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).
Comment 4 Stewart Gordon 2010-10-12 23:40:25 UTC
(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.
Comment 5 Helder 2011-07-05 21:18:04 UTC
Any updates on this?
Comment 6 Sam Reed (reedy) 2011-07-05 22:21:10 UTC
(In reply to comment #5)
> Any updates on this?

I guess not as it's still open
Comment 7 Sam Reed (reedy) 2011-11-14 14:36:18 UTC
Comment on attachment 7706 [details]
add wlexcludeuser to feedwatchlist

Applied Platonides' patch in r102987
Comment 8 Sam Reed (reedy) 2011-11-14 14:40:19 UTC
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
Comment 9 Stewart Gordon 2011-11-25 01:53:33 UTC
Moreover, adding "feed=rss" or "feed=atom" to the query should not cause the rest of the query parameters not to work.
Comment 10 Helder 2012-08-10 20:29:01 UTC
(In reply to comment #7)
> Comment on attachment 7706 [details]
> add wlexcludeuser to feedwatchlist
> 
> Applied Platonides' patch in r102987

Is this working for someone?
Comment 11 tm112 2013-03-10 15:30:47 UTC
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.
Comment 12 tm112 2013-03-10 20:15:50 UTC
(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
…?
Comment 13 Bartosz Dziewoński 2013-03-10 21:11:17 UTC
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 :)
Comment 14 Yuri Astrakhan 2013-03-10 22:21:31 UTC
merged I2a856733
Comment 15 Bartosz Dziewoński 2013-03-10 22:23:32 UTC
(Reopening, that was just a partial fix, unless I'm misunderstanding something.)
Comment 16 Yuri Astrakhan 2013-03-10 22:27:20 UTC
Bartosz, sorry, yes, it is only fixes the wlexcludeuser
Comment 17 tm112 2013-03-11 12:13:49 UTC
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.
Comment 18 tm112 2013-03-11 12:30:18 UTC
Isn't it similar to Bug 23804 ?
Comment 19 tm112 2013-03-19 14:48:37 UTC
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.
Comment 21 Yuri Astrakhan 2013-03-24 15:22:03 UTC
wlshow patch merged
Comment 22 Gerrit Notification Bot 2013-04-17 12:37:24 UTC
Related URL: https://gerrit.wikimedia.org/r/59620 (Gerrit Change I6a51e3ee07fe7622b9c708c78563795d7a1118fc)

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


Navigation
Links