[Mediawiki-l] Remove page name prefix on Category page

Michael Schmarck michael.schmarck at habmalnefrage.de
Tue Jan 22 18:58:20 UTC 2008

· David Gerard <dgerard at gmail.com>:

> On 22/01/2008, Michael Schmarck <michael.schmarck at habmalnefrage.de> wrote:
>> How do I make a Category page remove a certain prefix from the page names,
>> which make up that category?
> On the article page: would {{DEFAULTSORT:{{PAGENAME}}}} work?

Haven't tried and can't try right now, but what's that supposed
to do? If I have a page named "Server1/email", then {{PAGENAME}}
expands to "Server1/email", doesn't it?

Hmm, wouldn't {{SUBPAGENAME}} be the Magic word to use here?
Would that return "email" for "Server1/email"? If I don't misunderstand
then that would be better, wouldn't it?

But still - does that "modify" how a page name is displayed on a
category page?


Michael Schmarck
This is a logical analogy too... anyone who's been around, knows the world is 
run by paenguins.  Always a paenguin behind the curtain, really getting things 
done.  And paenguins in politics--who can deny it?
        -- Kevin M. Bealer, commenting on the penguin Linux logo

More information about the MediaWiki-l mailing list