Index: trunk/extensions/VisualEditor/modules/parser/ext.core.ParserFunctions.js |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | ParserFunctions.prototype['pf_localurl'] = function ( target, argList, argDict ) { |
217 | 217 | return ( this.manager.env.wgScriptPath + '/index' + |
218 | 218 | this.manager.env.wgScriptExtension + '?title=' + |
219 | | - target + '&' + |
| 219 | + this.manager.env.normalizeTitle( target ) + '&' + |
220 | 220 | argList.map( |
221 | 221 | function( kv ) { |
222 | 222 | //console.log( JSON.stringify( kv ) ); |