Anonymous user
Rosetta Code:Village Pump/Grouping tasks: Difference between revisions
Rosetta Code:Village Pump/Grouping tasks (view source)
Revision as of 11:45, 18 May 2011
, 13 years agocaused by incorrect use of library templates
m (tidy links) |
(caused by incorrect use of library templates) |
||
Line 25:
==Phantom Categories==
:I was trying to test cleaning up some categories of tasks and thought I'd start with Primes, Prime, and Prime Numbers. So I added the Category:Prime Numbers to the page but low and behold I can't find where [[Truncatable_primes]] references ''Primes''. In the html source there is a "wgCategories=[" inside a script and I can see at the bottom where a "Category:Primes (page does not exist)" is generated but I can't find where to fix this. This also appears this is the case with the single member of the ''Prime'' category. Help? --[[User:Dgamey|Dgamey]] 10:31, 18 May 2011 (UTC)
: Bingo! These appear to be caused by the incorrect use of Library templates. Rather than reference the library as a whole, people are referencing the module within it creating an entire category for a single non-unique member. Not sure if it's just careless use or if there isn't enough supporting documentation in the template.
:: So far I've seen this in D, Haskell, and Ruby code.
:: I haven't yet started to go around marking these examples incorrect yet. Likely I will after its been looked into a bit more.
: --[[User:Dgamey|Dgamey]] 11:45, 18 May 2011 (UTC)
|