[Mediawiki-l] How do I enable relative paths in templates?

Rowan Collins rowan.collins at gmail.com
Tue Sep 20 20:42:21 UTC 2005


Jared Brown wrote:
> The problem is that {{/something}} links as this:
> "Template:/something" on my installation of mediawiki (v1.4) but as some of
> you might know {{/something}} on wikipedia completes the relative path with
> the base path you are at. 

Note that Wikipedia runs something beyond v1.5, so it may just not work in v1.4.

Jamie Bliss wrote:
> Try enabling subpages in LocalSettings.php for the namespace in question.

>From the way you worded your e-mail, I guessed that [[/subpage]] works
fine on the page in question, but if not, yes, try that setting (you
may need to copy the appropriate part from
includes/DefaultSettings.php)

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list