Page MenuHomePhabricator

Special pages using HTMLForm and action="get" with non-friendly URLs break
Closed, ResolvedPublic

Description

Author: john

Description:
In trunk Special pages such as NewFiles, BlockList, and ComparePages use HTMLForm with a form that makes a GET request. Under most wikis with friendly URLs on the forms work as intended sending users to /wiki/Special:NewFiles?param=etc

However, on wikis without friendly URLs, users lose their title parameter and are thrown back to the index page: /w/index.php?param=etc


Version: 1.20.x
Severity: major

Details

Reference
bz30335

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:49 PM
bzimport set Reference to bz30335.

john wrote:

Adds hidden title input for forms

Not sure if $wgUsePathInfo is the right thing to look at, alternative would be to check for a question mark character in $wgArticlePath

Attached: