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?
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.
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)
mediawiki-l@lists.wikimedia.org