Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -110,6 +110,7 @@ |
111 | 111 | $mobileViewUrl = $wgRequest->getRequestURL(); |
112 | 112 | $delimiter = ( strpos( $mobileViewUrl, "?" ) !== false ) ? "&" : "?"; |
113 | 113 | $mobileViewUrl .= $delimiter . 'useFormat=mobile'; |
| 114 | + $mobileViewUrl = urlencode( $mobileViewUrl ); |
114 | 115 | |
115 | 116 | $tpl->set('mobileview', "<a href='{$mobileViewUrl}'>Mobile View</a>"); |
116 | 117 | $footerlinks['places'][] = 'mobileview'; |