you mean the code for redirects? Here's a step by step guide using the M1911A1 as an example. (For the record,
http://www.imfdb.org/wiki/M1911A1 already has a redirect setup.)
- Naviagte to the page you need to setup a redirect on. You can do this by simply typing [[M1911A1]] on the page you are working on. If the redirect isn't set up, the link will be red. Click the link and it will take you to the page.
- Figure out what page you need to redirect TO. In this case we want to redirect "M1911A1" to the "M1911 pistol series" page (note the capitalization). Additionally, we want to go to the subheading "M1911A1"
- The syntax for a redirect is #redirect [[PAGENAME#SUBHEADING]]. So in this case, we would type [b]#redirect [[M1911 pistol series#M1911A1]]. This should be the ONLY text on the page that we are redirecting.
- Finally, after you save the page, test the link to make sure it works
Additional examples:
To redirect [[Beretta 92FS]], the code is #REDIRECT [[Beretta 92 pistol series#Beretta 92F/FS]]
To redirect [[Benelli M4]], the code is #REDIRECT [[Benelli_M_Series_Super_90_Shotguns#Benelli_M4]]
Here is the MediaWiki page about how to do redirects:
http://www.mediawiki.org/wiki/Help:Redirects
One thing that sometimes happens is that you get double redirects. For example m1911a1-->M1911A1-->M1911 pistol series#M1911A1. MediaWiki doesn't allow double redirects and will stop the link after the first jump to prevent infinite looping. Don't worry about this though. Every day or two I check the double-redirect page and fix any broken redirects.
Hope that helps! If you have any more questions, feel free to ask um here or post directly on my talk page. :-)
-Z