Template:Title disambig text: Difference between revisions

fix issue with disambiguation with parentheses. All tests at Template:Title disambig text/testcases pass
imported>Neveselbert
safesubst
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#invoke:String|match|{{{1|{{PAGENAME}}}}}|%s%((.-%)?)%)||-1|ignore_errors=true}}<noinclude>
{{safesubst<noinclude/>:#invoke:String|match|{{{1|{{PAGENAME}}}}}|%s%((.-%)?)%)||-1|ignore_errors=true}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>