Author: rowan
Description:
This patch makes links more consistent, resulting in overal cooler URLs
I've been using the $wgArticlePath and the $wgActionPaths settings on my wikis for some time. However, I've been annoyed that many links with a query string included don't use these settings. This results in links such as /index.php?title=Special:Recentchanges&feed=atom instead of /Special:Recentchanges?feed=atom
To enable the latter form, this patch changes Title->getLocalURL() in a way that is best explained by the following diff excerpt:
- * @param string $query an optional query string; if not specified,
- * $wgArticlePath will be used.
+ * @param string $query an optional query string
This patch also removes a hidden input from the diff form on history pages. Apparently, the input has often been changed in incompatible ways, but I simply cannot figure out why it would have to be there in the first place... :-/ Keeping it there means that you get the title in the $_GET params twice! Anyway, please correct me if I'm wrong.
Please reply accordingly if there's no chance of this patch being accepted. In that case, I'll try to roll it into an extension so that I don't have to keep patching for ever and ever and ever.
Version: 1.12.x
Severity: enhancement
URL: http://wiki.hardwood-investments.net/Main_Page
Attached: