Page MenuHomePhabricator

RC page - 'Show last' option consistently displays fewer number of results
Closed, DuplicatePublic

Description

  1. In betalabs, either set set Preferences-> Recent Changes-> "Number of edits to show in recent changes, page histories, and in logs, by default" to 10, so to make manual count easier.

Or you can use $('.mw-changeslist li' ).length to count the number of results on the RC page.

  1. Set the range of days to e.g. 30
  1. First select a bigger number of results to to be displayed - e.g. 500 and use no filters.

You can also use filter(s) that most likely to return big number of results: 'Page edits', 'Registered users' etc.

Count the results. No filters selected: (URL: https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=500)- the count: 489

  1. Without changing anything else, select another option for the number of results to be displayed - e.g. 50

(URL: https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=30&from=&limit=50).
The count: 46.

More examples:
https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=500&hideanons=1 -- the count: 489
https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=50&hideanons=1 -- the count:46

https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=500&userExpLevel=experienced -- the count: 265
https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=50&userExpLevel=experienced -- the count: 46

The issue is not present with many other filters:

https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=500&hidehumans=1 -- the count: 136
https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=50&hidehumans=1 -- the count:50

https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=500&hidepageedits=1&hidecategorization=1&hideWikibase=1&hidelog=1 -- the count:67
https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=50&hidepageedits=1&hidecategorization=1&hideWikibase=1&hidelog=1 -- the count: 50

However, when in the above examples, &limit= is changed to a smaller number (either via url or in Preferences), the number of results become inconsistent again - e,g,
Change to &limit=5 in https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=50&hidepageedits=1&hidecategorization=1&hideWikibase=1&hidelog=1 to https://en.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges?urlversion=2&days=7&from=&limit=5&userExpLevel=experienced and you will see only 3 results, although for &limit=50 there were 50 results.