Page MenuHomePhabricator

"limit=0" should mean "limit=0" on Special:Log, Special:Contributions, and page histories
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Visit a Special:Log or Special:Contributions page or a page history.
  • Append "&limit=0" (if the URL already contains a query string) or "?limit=0" (if the URL does not already contain a query string) to the end of the URL.

What happens?: The default limit of 50 log entries or edits is shown.

What should have happened instead?: An empty list of log entries or edits is shown.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

The behavior is inconsistent with the one for Special:RecentChanges (which currently does not use paging, although paging Special:RecentChanges has often been proposed, as at T20228 and T163429). Namely, when I visit https://en.wikipedia.org/wiki/Special:RecentChanges?limit=0, an empty list is correctly shown with the message "No changes during the given period match these criteria.".

In contrast, https://en.wikipedia.org/wiki/Special:Log?limit=0, https://en.wikipedia.org/wiki/Special:Contributions/0?limit=0, and https://en.wikipedia.org/w/index.php?title=Main_Page&action=history&limit=0 do not work as expected.