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

Jamie Bliss astronouth7303 at gmail.com
Tue Sep 20 20:00:52 UTC 2005


Jared Brown wrote:
> I am trying to setup wikireference.com <http://wikireference.com> so that
> new portals can be created in the same way that portals are created on
> wikipedia. 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. So if you are on WikiReference:Sandbox and you
> type {{/something}} it will links as: "WikiReference:Sandbox/something"
> 
> My question is:
> 
> How do I enable my installation of mediawiki to do this automatically as
> wikipedia does?

Try enabling subpages in LocalSettings.php for the namespace in question.

-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.




More information about the MediaWiki-l mailing list