Pageviews analytics seems to be using its own magical page format which is not possible to recreate from the wiki markup. I'm trying to create this template: https://en.wikipedia.org/wiki/Template:Graph:PageViews
For that, I need a {{{2|{{ARTICLEPAGENAME}}}}} (parameter #2 or the current page name) to be converted to the pageview's title.
This is not possible because:
- {{urlencode:string|wiki}} does not escape /
- {{urlencode:string|path}} does not convert spaces to _
- There are no generic functions to convert title to "db-style" title with underscores
- There are no functions to do search/replace
Please add support for %20 equivalence to _