Page MenuHomePhabricator

Extra title param tacked onto page limits
Closed, ResolvedPublic

Description

This might be a problem with the parent classes here, but on the comments listing page (and authors, and revisions...), when using the "show X items per page" box, we get an extra &title= tacked on the end of the URL.


Version: unspecified
Severity: major
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/comments?limit=500&title=Special%3ACode%2FMediaWiki%2Fcomments

Details

Reference
bz16009

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:19 PM
bzimport set Reference to bz16009.

happy.melon.wiki wrote:

On wikis without short URLs enabled, this causes limit forms to redirect to the Main Page, badly breaking, eg, the trunk version of [[Special:AllPages]]. $url needs to be redefined to create a link to the main script entry point, with ?title= built on, rather than using $this->getTitle()->escapeLocalURL();

  • Bug 18606 has been marked as a duplicate of this bug. ***