Tardis:Beware recursion: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Line 11: Line 11:
Another type of recursion is where you put big, important categories within other big, important categories, particularly when those categories share a lot of common ground.   
Another type of recursion is where you put big, important categories within other big, important categories, particularly when those categories share a lot of common ground.   


The classic example is '''[[:Category:The Doctor]]'''.  This should ''never'' go in '''[[:Category:Time Lords]]'''.  Instead, put the ''page'' '''[[The Doctor]]''' in '''[[:category:Time Lords]]''', and put '''[[:Category:The Doctor|The Doctor]]''' at the top of the [[:Category:Time-Space Visualiser|in-universe category branch]].
The classic example is '''[[:Category:The Doctor]]'''.  This should ''never'' go in '''[[:Category:Time Lords]]'''.  Instead, put the ''page'' '''[[The Doctor]]''' in '''[[:Category:Time Lords]]''', and put '''[[:Category:The Doctor|The Doctor]]''' at the top of the [[:Category:Time-Space Visualiser|in-universe category branch]].


Otherwise, the bot will spend hours bouncing back and forth between categories under '''[[:Category:Time Lords]]''' and '''[[:Category:The Doctor]]'''.  Why will this happen?  Since the Doctor ''is'' a Time Lord, his category shares any number of pages and subcategories with '''[[:Category:Time Lords|Time Lords]]'''.   
Otherwise, the bot will spend hours bouncing back and forth between categories under '''[[:Category:Time Lords|Time Lords]]''' and '''[[:Category:The Doctor|The Doctor]]'''.  Why will this happen?  Since the Doctor ''is'' a Time Lord, his category shares any number of pages and subcategories with '''[[:Category:Time Lords|Time Lords]]'''.   
 
Now, this isn't to say that ''all'' categories about individual Time Lords should stay out of '''[[:Category:Time Lords|Time Lords]]'''.  '''[[:Category:Romana]]''' is fine to go under '''[[:Category:Time Lords|Time Lords]]''' because it's a very small category, and, importantly, it doesn't contain anything that's repetitive of what's already in '''[[:category:Time Lords|Time Lords]]'''.


Now, this isn't to say that ''all'' categories about individual Time Lords should stay out of '''[[:Category:Time Lords]]'''.  '''[[:Category:Romana]]''' is fine to go under '''[[:Category:Time Lords]]''' because it's a very small category, and, importantly, it doesn't contain anything that's repetitive of what's already in '''[[:category:Time Lords]]'''.
=== Don't reverse the order of categories ===
=== Don't reverse the order of categories ===
Recursion can also occur if you order categories the wrong way.  '''[[:Category:K9 Mark I images]]''' goes into '''[[:Category:K9 images]]''', not the other way around.  Always build category branches from specific categories to more general ones.
Recursion can also occur if you order categories the wrong way.  '''[[:Category:K9 Mark I images]]''' goes into '''[[:Category:K9 images]]''', not the other way around.  Always build category branches from specific categories to more general ones.
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.