Template talk:H:mlww: Difference between revisions
Add topicContent deleted Content added
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This is a special version of {{tim|mlw}} for the case that the target is in the Wikipedia namespace, as workaround for a problem with localurl. |
This is a special version of {{tim|mlw}} for the case that the target is in the Wikipedia namespace, as workaround for a problem with {{ml|help:magic words|Namespaces_and_URLs|localurl}}. (The hidden external link of mlw is produced with localurl in order to convert spaces to underscores; however, when applying localurl to a page in the Wikipedia namespace the prefix is interpreted as interwiki link. Therefore this template avoids localurl.) |
||
This templates requires underscores for spaces in the pagename. |
|||
*{{evd|mlww|Categorization|See also}}. |
*{{evd|mlww|Categorization|See also}}. |
Latest revision as of 07:19, 5 May 2007
This is a special version of Template:Mlw for the case that the target is in the Wikipedia namespace, as workaround for a problem with localurl. (The hidden external link of mlw is produced with localurl in order to convert spaces to underscores; however, when applying localurl to a page in the Wikipedia namespace the prefix is interpreted as interwiki link. Therefore this template avoids localurl.)
This templates requires underscores for spaces in the pagename.
"{{mlww|Categorization|See also}}"
gives "w:Wikipedia:Categorization#See also " [1]."{{mlww|Categories_for_discussion||w:Wikipedia:Categories for discussion}}"
gives "w:Wikipedia:Categories for discussion " [2].
Less neat:
"{{mlww|Categories_for_discussion}}"
gives "w:Wikipedia:Categories_for_discussion " [3].
Wrong (correct interwiki link, but Linksearch shows http://en.wikipedia.org/wiki/Wikipedia:Categories):
"{{mlww|Categories for discussion}}"
gives "w:Wikipedia:Categories for discussion " [4].