Page MenuHomePhabricator

XTools: Top edits - 'All' namespaces option
Closed, ResolvedPublic3 Estimated Story Points

Description

Suggestion for rewrite of Top edit: Add an 'All' option to display a top-100 edited pages list across all namespaces.

A use case for this is a user wanting to know where they have put most of their work, no matter the namespace. Also, perhaps if a user is wanting to attain new rights, others can better easily judge where the prospective rights-getter is accumulating their edits. Currently, one would have to eyeball this between separate namespace lists.

Also, we should have the namespace list update whenever there is a change to the project/wiki field and pull this list from the API rather than having it hardcoded (but add a hard-coded "All" option at the top).

No caching for now (T161057 will add that).

Event Timeline

kaldari renamed this task from XTools: Top edits - 'All' option to XTools: Top edits - 'All' namespaces option.Mar 21 2017, 10:36 PM
kaldari set the point value for this task to 3.

Is this available for user review (beta) anywhere?

Is this available for user review (beta) anywhere?

I don't think the "All" option is working yet, but yes, the new XTools Topedits tool is at http://tools.wmflabs.org/xtools-dev/topedits

However please don't go around telling people about it :) The staging environment will (probably) handle only so much traffic, and links to it may break at any time. Also don't attempt to use the edit counter, it may crash the entire suite of apps =P

Thanks. The secret stops here. heh

I'll merge this now, and update the dev site so you can test this out.

This is now merged and deployed to the dev site. Note that the 'all' option is above 'article' in the namespace list, and the latter is selected by default so it mightn't always be obvious that the 'all' is there.

It should show the namespace in the page list when 'all' is selected, but not when any single namespace is selected.

@Samwilson I ran 'All' for my own account, and all the entries looked familiar and highly likely to be correct. Thank you for your work!

I was looking through some old tickets I opened. Is this not in production yet? I have never seen this in the generally available Top Edits tool.

I was looking through some old tickets I opened. Is this not in production yet? I have never seen this in the generally available Top Edits tool.

Go to https://xtools.wmcloud.org/topedits and select "All" from the "Namespace" dropdown. It looks like it worked for you previously based on T160721#3224900

Yes, that works, as I've already been seeing results like that.

However, I thought I had asked for a combined All list for Top Edits, where entries from any namespace are shown in a single list.

I said "Add an 'All' option to display a top-100 edited pages list across all namespaces." I don't see that this exists.

Further, I see where I said it worked. I must not have had my coffee yet. It worked, but it didn't give me what I was seeking in the OP of the ticket. Knowing me, I probably gave up and just accepted what was done because it was in the neighborhood of what I wanted. But what was done requires a lot of eyeball hockey to piece together a true All list.

Nope, it doesn't look like it was a caffeine issue. Re-reviewing the PR from nine years ago, it did in fact query for a combined list of top edits across all namespaces. I don't remember that ever existing, but clear it did at least for a bit!

I guess at some point we split the results back out into separate namespaces. I do not know if this was intentional or not. A lot has changed in nine years!

@Stevietheman If you could create a new task, we can look into it, once again! Even just copy/paste from here is fine. I would say just re-open this, but it's very old, and in the middle of a chain of other tasks.

Ahhh, so it's my long-term memory that's shot. That makes sense. :)

OK, I will consider opening a new task.

At the same time, I have since acquired skills to build such a report using contemporary tools (Quarry & Database report). So, for my personal needs, I can make something for myself. But I do think having it in the XTools results would be nice for general editors in tracking their overall work.

And thank you for your patience with me in this thread.