Difference between revisions of "DPL:FAQ"
From FollowTheScore
(→My article name contains underscores, but in the DPL result they don´t appear.) |
|||
Line 3: | Line 3: | ||
== My article name contains underscores, but in the DPL result they don´t appear. == | == My article name contains underscores, but in the DPL result they don´t appear. == | ||
− | Normally, DPL replaces all undercores in article names by spaces when showing the result. You can replace underscores by their ''symbolic html name'' via the 'replaceintitle' statement. So DPL will no longer recognize the underscores and the html engine will translate the | + | Normally, DPL replaces all undercores in article names by spaces when showing the result. You can replace underscores by their ''symbolic html name'' via the 'replaceintitle' statement. So DPL will no longer recognize the underscores and later the html engine will translate the symbolic name to underscores. |
This wiki contains an [[Article_with_underscore]]. Normally DPL would show it as {{#dpl:titlematch=%underscore}}. | This wiki contains an [[Article_with_underscore]]. Normally DPL would show it as {{#dpl:titlematch=%underscore}}. | ||
But with <tt><nowiki>{{#dpl:titlematch=%underscore|replaceintitle=/ /,&#95;}}</nowiki></tt> you will get {{#dpl:titlematch=%underscore|replaceintitle=/ /,_}} | But with <tt><nowiki>{{#dpl:titlematch=%underscore|replaceintitle=/ /,&#95;}}</nowiki></tt> you will get {{#dpl:titlematch=%underscore|replaceintitle=/ /,_}} |
Revision as of 05:11, 25 July 2007
My article name contains underscores, but in the DPL result they don´t appear.
Normally, DPL replaces all undercores in article names by spaces when showing the result. You can replace underscores by their symbolic html name via the 'replaceintitle' statement. So DPL will no longer recognize the underscores and later the html engine will translate the symbolic name to underscores.
This wiki contains an Article_with_underscore. Normally DPL would show it as . But with {{#dpl:titlematch=%underscore|replaceintitle=/ /,_}} you will get