On Tue, Aug 16, 2011 at 3:26 AM, Max Semenik maxsem.wiki@gmail.com wrote:
On Tue, Aug 16, 2011 at 7:15 AM, MZMcBride z@mzmcbride.com wrote:
Rather than something sane and predictable for the URL parameter to view the standard (non-mobile) site (such as &useFormat=standard), the code uses ?mAction=view_normal_site.
As I commented in CodeReview today, a boolean parameter (?disableImages=1) has now been complemented with a completely separate parameter (?enableImages=1) rather than using ?disableImages=0, which I find to be very strange.
Also, a stylistic nitpick: MediaWiki usually doesn't camelCase for URL parameters, so &useFormat=... should ideally be changed to useformat for consistency.
Duly Noted.
Probably, this could also achieved with $wgActionPaths-style
rewrite rules, e.g. en.wikipedia.org/mobile/Artticle_Name ?
This variable was originally supposed to just be temporary as a way to force the mobile render. I'll look into converting it to this approach.
-- Best regards, Max Semenik ([[User:MaxSem]]) _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l