https://bugzilla.wikimedia.org/show_bug.cgi?id=48318
Jan Zerebecki <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #15 from Jan Zerebecki <[email protected]> --- https://www.wikipedia.org/wiki/Test fails in the same way. It is probably also true for other projects, but I didn't verify. How to test: wget -O /dev/null --debug --user-agent='Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' https://www.wikipedia.org/wiki/Test The failure comes to be because the redirecting of www.../wiki/ to en... is done in apache which only gets consulted after the mobile redirect. from operations/apache-config.git file www.wikipedia.conf RewriteRule ^/wiki$ http://en.wikipedia.org/ [R=301,L] similar rule in the same file for wikivoage RewriteRule ^(.*)$ http://en.wikivoyage.org$1 [R=301,L] It is probably best solved by tweaking the pattern of which URLs are eligible for mobile redirects. That pattern might be in operations/puppet.git file templates/squid/redirector.conf.erb but my mind is much too tired now to wield such heavy machinery. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
