Page MenuHomePhabricator

Implement the 'standard' parser functions in 1.6.10? (urlencode in particular).
Closed, DeclinedPublic

Description

Author: dan.bolser

Description:
Not all of the 'standard' parser functions work in 1.6.10 and nobody seems to care. Apologies if you do care, but in the meantime here is the bug.

Sorry if this bug got reported before - I searched 'parser functions 1.6.10' but got loads of apparently unrelated bugs. i.e. none were complaining about missing functions.

I define 'standard' parser functions as classified here...

http://www.mediawiki.org/wiki/Extension:Parser_function_extensions

So perhaps this is really a 'MediaWiki.org documentation' bug... can a wiki have a documentation bug? Oh well...

Specifically urlencode does not work in 1.6.10. All the other 'standard' parser functions do.

I had a stab at a workaround here http://www.mediawiki.org/wiki/Extension:Urlencode

but it doesn't play well in constructs like...

[http://some.site/q?=<urlencode>{{PAGENAME}}</urlencode> so there]

Thanks for your consideration,
Your fan,

Dan.


Version: 1.6.x
Severity: normal

Details

Reference
bz9988

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:39 PM
bzimport set Reference to bz9988.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

New features are not backported to old branches. In general, only security fixes are backported, and typically some bug fixes within perhaps a month after the branching. If you would like to add the features to your MediaWiki install, you can either try copying the relevant changes over yourself, or browbeat your host into giving you PHP5.