Index: trunk/extensions/EtherpadLite/EtherpadLite.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | 'path' => __FILE__, |
66 | 66 | 'name' => 'EtherpadLite', |
67 | 67 | 'author' => array( 'Thomas Gries' ), |
68 | | - 'version' => '1.06 20120213', |
| 68 | + 'version' => '1.07 20120214', |
69 | 69 | 'url' => 'https://www.mediawiki.org/wiki/Extension:EtherpadLite', |
70 | 70 | 'descriptionmsg' => 'etherpadlite-desc', |
71 | 71 | ); |
— | — | @@ -170,15 +170,16 @@ |
171 | 171 | |
172 | 172 | $parser->disableCache(); |
173 | 173 | |
| 174 | + # Etherpad Lite requires rawurlencoded userName, thus we must add it manually |
| 175 | + |
174 | 176 | $url = wfAppendQuery( $url, array( |
175 | 177 | "showControls" => $showControls, |
176 | 178 | "showChat" => $showChat, |
177 | 179 | "showLineNumbers" => $showLineNumbers, |
178 | 180 | "useMonospaceFont" => $useMonospaceFont, |
179 | 181 | "noColors" => $noColors, |
180 | | - "userName" => rawurlencode( $wgUser->getName() ), |
181 | 182 | ) |
182 | | - ); |
| 183 | + ) . "&userName=" . rawurlencode( $wgUser->getName() ); |
183 | 184 | |
184 | 185 | # @todo One could potentially stuff other css in the width argument |
185 | 186 | # since ; isn't checked for. Since overall css is checked for allowed |