Difference between revisions of "Template:ReplaceNumericCharEncoding"

From ChatWars Wiki
Jump to: navigation, search
(Created page with "<includeonly></includeonly><!-- --><noinclude> This template has the sole purpose to replace numeric char encoding (<code><nowiki>&#39 ;</nowiki></code>) with the actual chara...")
 
Line 1: Line 1:
<includeonly></includeonly><!--
+
<includeonly>{{#if: {{#pos: {{{string|}}} | &#39; }}
 +
              | {{#sub: {{{string|}}} | 0 | {{#pos: {{{string|}}} | &#39; }} }}'{{#sub: {{{string|}}} | {{#pos: {{{string|}}} | &#39; }} }}
 +
              | {{{string|}}}
 +
            }}</includeonly><!--
 
--><noinclude>
 
--><noinclude>
 
This template has the sole purpose to replace numeric char encoding (<code><nowiki>&#39 ;</nowiki></code>) with the actual character ("<code>'</code>") to circumvent a bug in mediawiki which makes queries for pagename break
 
This template has the sole purpose to replace numeric char encoding (<code><nowiki>&#39 ;</nowiki></code>) with the actual character ("<code>'</code>") to circumvent a bug in mediawiki which makes queries for pagename break
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 11:07, 22 October 2018

This template has the sole purpose to replace numeric char encoding (&#39 ;) with the actual character ("'") to circumvent a bug in mediawiki which makes queries for pagename break