Difference between revisions of "Template:ReplaceNumericCharEncoding"
Line 7: | Line 7: | ||
| {{#if: {{#pos: {{{string|}}} | > }} | | {{#if: {{#pos: {{{string|}}} | > }} | ||
| {{#sub: {{{string|}}} | 0 | {{#pos: {{{string|}}} | > }} }}>{{#sub: {{{string|}}} | {{#expr: {{#pos: {{{string|}}} | > }} + 4}} }} | | {{#sub: {{{string|}}} | 0 | {{#pos: {{{string|}}} | > }} }}>{{#sub: {{{string|}}} | {{#expr: {{#pos: {{{string|}}} | > }} + 4}} }} | ||
− | | {{{string|}}}{#vardefine: a | 0 }} | + | | {{{string|}}}{{#vardefine: a | 0 }} |
}} | }} | ||
}} | }} |
Revision as of 20:21, 19 March 2019
This template has the sole purpose to replace numeric char encoding (' ;
(decimal encoding) AND ' ;
(hexadecimal encoding) ) with the actual character ("'
") to circumvent a bug in mediawiki which makes queries for pagename break