Topic on Talk:Edit Review Improvements/New filters for edit review

Remember the last used filters

23
Summary by Trizek (WMF)
Superzerocool (talkcontribs)

Hi,

I'm used the new filter in the past weeks. It works as intended but I see a (possible) improvement: I want to keep the last filters used after a page refresh (aka after a F5 keyboard hit). Regards!

Trizek (WMF) (talkcontribs)

Hello Superzerocool

All filters are added to the URL, so when you refresh the page, the filters are reloaded. That's the theory and I manage to reproduce it on my computer.

Is your browser up to date? ARe you sure you don't have any conflicting gadgets or scripts?

Superzerocool (talkcontribs)

Trizek, You're right, I don't write the right escenario (sorry!): I want that Mediawiki could remember the RC filters after a new load of the page (aka reclick on the RC link on the sidebar).

Steps:

  • Select the anon filter (or just change the default filters)
  • Click on RC link on the sidebar
  • See the default filters again.

I see two possible ways to improve the RC filters:

  • Remember the last filter used
  • Create a "personal list" to use the favorite RC filters (ie: anon edits, newbie and minor editions, etc).

Is it possible or I'm just dreaming? :)

Wargo (talkcontribs)

Add as bookmark in browser :)

Superzerocool (talkcontribs)

It isn't portable between computers, but it's a nice idea

Wargo (talkcontribs)

You can add link using user scripts to add additional links anywhere.

Superzerocool (talkcontribs)

Yes, it's possible too. I'm just leaving a suggestion to be discussed or developed to improve the UX to users: I know that the answer could be NO (with bold and a cross sign), but here is a feedback.

I will think about develop a gadget to make a RC bookmark.

Thanks!

Trizek (WMF) (talkcontribs)
Superzerocool (talkcontribs)

Oh, lovely <3... thanks for the task in Phabricator, I didn't see it :)

Trizek (WMF) (talkcontribs)

It is the #1 requested feature from the different communities. We are also working on a bunch of improvements, like filtering by namespace or improving time selection.

Superzerocool (talkcontribs)

Thanks, I didn't see the other discussions, but it would be useful for sysops and wikignomes (like me). Thanks for @Trizek (WMF) and @Wargo your answers!

Trizek (WMF) (talkcontribs)

De nada! :)

This post was hidden by Jdcomix (history)
Murph9000 (talkcontribs)

Here's a little JS snippet which you can add to common.js or skin.js to add a "portlet" link to your left nav / tool links, taking you to RC with some options pre-configured. I've coded it in a way that makes it easy to add / change / remove the various parameters. You'll need to figure out exactly which params you need for your preferred config by studying the URL generated by using the normal UI. If you're not comfortable playing around with JS, this may not be for you (obligatory disclaimer).

mw.util.addPortletLink(
	'p-interaction',
	mw.util.getUrl('Special:RecentChanges', {
		damaging: 'maybebad;likelybad;verylikelybad',
		goodfaith: 'maybebad;likelybad;verylikelybad',
		highlight: 1,
		damaging__likelygood_color: 'c1',
		damaging__maybebad_color: 'c3',
		damaging__likelybad_color: 'c4',
		damaging__verylikelybad_color: 'c5',
		goodfaith__likelygood_color: 'c2',
		goodfaith__maybebad_color: 'c3',
		goodfaith__likelybad_color: 'c4',
		goodfaith__verylikelybad_color: 'c5',
	}),
	'Recent changes (ORES)',
	'n-recentchanges-ores',
	'A list of recent changes in the wiki, with ORES filter enabled',
	null,
	document.getElementById('n-recentchanges').nextSibling
	);
Trizek (WMF) (talkcontribs)

@Murph9000, thank you for this script! I've tried it on English Wikipedia and it is a good option before having the bookmarks for filters sets.

1Or (talkcontribs)
Trizek (WMF) (talkcontribs)

@1Or, it has been accidentally deployed. We have reverted it in order to perform some tests and check if there is no remaining bugs.

1Or (talkcontribs)
Trizek (WMF) (talkcontribs)

No. It has been removed for everyone for now. It will be back soon! :)

1Or (talkcontribs)

Can't wait (:

Guycn2 (talkcontribs)

Me too...

1Or (talkcontribs)

Is there something new?

Trizek (WMF) (talkcontribs)

The deployments have been paused during the two previous weeks, because of a big meeting for the staff in charge of deployments, followed by the European hackathon. The deployment will be done soon.