Simetrical schreef:
On 1/4/08, catrope@svn.wikimedia.org catrope@svn.wikimedia.org wrote:
Revision: 29261 . . .
- Unbroke Special:Userrights for wikis without pretty URLs
** This probably shouldn't be hard-coded the way I did it . . .
$form .= Xml::hidden( 'title', 'Special:Userrights' );
Strange. I'm not sure how to fix this more correctly. You would think that action="http://example.com/w/index.php?title=Special:Userrights" plus a parameter user=Username would give a URL of http://example.com/w/index.php?title=Special:Userrights&user=Username, appending the parameters to the URL correctly, but you're right, it seems to give http://example.com/w/index.php?user=Username. Maybe that's why it was POSTed in the first place.
Why was it changed from POST to GET then?
BTW, it's kind of weird that this works with pretty URLs, but not with regular ones. One of the advantages of having PHP as a CGI on a Windows box, I guess (if not the only advantage).
Roan Kattouw (Catrope)