Mistipedia:Redirect

From Mistipedia
Jump to navigationJump to search

Sometimes an entry will have several alternative titles. For example, there are a lot of NPCs listed alphabetically by their titles (Brother, Captain, etc) who ought to be cross-listed by their names as well (e.g. both "Garvyn" and "Captain Garvyn"). Surname-first variants might also be appropriate for some.

This can be done with what is a called a "redirect" in mediawiki-ese. Here's how you do it:

1) Pick the "most official" name for the person to have the actual entry.

(example: http://fraternityofshadows.com/wiki/Captain_Garvyn)
(remember, spaces become underscores in the wiki URLs)

2) Then for each alternate name (we called them aliases in the Catalogue) create a page with that name.

(example: http://fraternityofshadows.com/wiki/Garvyn)

3) on the page you created in step two, add the following line:

#REDIRECT [[Official Name]]
(example: #REDIRECT [[Captain Garvyn]] )
NOTE: This should be the only text on that page. Move everything else over to the official page.


For an example, see Strahd. If you go to Strahd, it will redirect to Count Strahd von Zarovich and it will say at the top:

"Count Strahd von Zarovich

(Redirected from Strahd)"

If you click on Strahd from there, it will take you to the actual Strahd page and force it NOT to redirect. (by going to the 'secret' URL http://fraternityofshadows.com/w/index.php?title=Strahd&redirect=no )

You can edit that page to see exactly how it's done. (don't change it, please, but just look.)


A lot of these were already done by the catalogue import script, but there are many more to be done.