#1
|
|||
|
|||
Use of Redirects.
I have a question for the admins. Can we PLEASE amend the site rules to make is that you are required to use redirects whenever possible? I recently did some reorganizing of the M1911 page and I had to go to EVERY page that linked to a gun that I moved...
For example, take the Para-Ordnance P10. If i was to say on a movie page that Harrison Ford playing the roll of John Smith used a Para-Ordnance P10, the code SHOULD look like : John Smith ([[Harrison Ford]]) is seen with a [[Para-Ordnance P10]]. With the Para-Ordnance P10 redirecting to the P10 on the M1911 page. Instead, people are putting: [[M1911_pistol_series#Para-Ordnance_P-10|Para-Ordnance P10]]. This means that if/when the P10 is moved, ALL the pages that linked to it must be changed instead of changing the redirect. Whats more, if the heading is changed on the page so that instead of saying: ==Para-Ordnance P10== it reads ==Para-Ordnance P-10== All the links wont work. I know that this is a hard thing to police but can we PLEASE put it in the rules? |
#2
|
|||
|
|||
I think it should be recommended that redirects be used, but I always have trouble writing that code to correctly direct the link. Do we have a guide that shows the way to write this code?
|
#3
|
|||
|
|||
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.)
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 |
#4
|
|||
|
|||
Assuming the subsection you want to link to has a table of contents, you can get the correct link by clicking on the section in the table of contents and then copying the last part of the address.
|
|
|