[Mediawiki-l] Creating Alias name for a page -- Is there a better way?

Platonides Platonides at gmail.com
Mon Jan 10 23:24:16 UTC 2011


Haim (Howard) Roman wrote:
>    4. (I assume this just puts in a #REDIRECT command
Right.

> I believe that wiki's search can be configured to show both the "main" &
> "secondary" names, or only the main ones.  (But I'm not sure).
> 
> Also, more than one level of redirect does not work.  E.g.,
> 
>    1. you create an article titled "SX-445-D"
>    2. you move (rename) it to "wildcat"
>    3. you then move (rename) "wildcat" to "puma"
> 
> then going to "SX-445-D" will no longer automatically redirect you to
> "puma".  You'll have to edit "SX-445-D" & change its redirect from "wildcat"
> to "puma" (I hope this was clear)

Alternatively, the wiki can do it for you by setting in your
LocalSettings.php

$wgFixDoubleRedirects = true;

It will get messy if your wiki gets page-moving vandals, but for Tech
Geek internal wiki, it'd fit perfectly.




More information about the MediaWiki-l mailing list