Rosetta Code:Village Pump/Grouping tasks

From Rosetta Code
Grouping tasks
This is a particular discussion thread among many which consider Rosetta Code.

Summary

A request to categorize some programming tasks

Discussion

I would like to group these tasks in [[Category:Higher-order functions]].

However, the system of categories under Category:Solutions by Programming Task is to difficult for me to understand, so I will not yet group these tasks. I just learned that Template:Task takes a parameter (as {{task|something goes here}}). --Kernigh 17:31, 20 April 2011 (UTC)

Yeah I had tried to organize the tasks long ago, but it didn't work as well as I had hoped. It would be a little easier to understand with the category tree extension, but it still wouldn't be that good. The argument for the task template is for a category to put it in. I say go ahead and make the category. I think people use Category:Programming Tasks in general anyway, so it won't confuse people. If you can think of any more groups go ahead and suggest them here. Maybe we can give the organization another shot. --Mwn3d 17:54, 20 April 2011 (UTC)
I did a quick analysis of classifications on RC Analysis of Rosetta Programming Categories as part trying to understand how the classifications evolved (for another purpose). This may be of use. Feel free to copy it for this purpose.
It seems to me that there are opportunities where consolidation is in order. Do we really need Prime, Primes, and Prime Numbers? Would we want to fix and have redirects?
It's also clear that things have been misfiled over time.
And there a quite a few with one member in the category as well.
I started to look at Crypto classes at Talk:RSA_code#New.2FModified_Tasks_and_Categories as well.
I know that SML may change the way this gets approached. I haven't made any progress on that myself, anyone else?
Thoughts? --Dgamey 21:38, 17 May 2011 (UTC)

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? --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.
Question, is there an easy way to get a list of all pages using the Library template? Or is this an easy bot (if the problem is large enough - mark Library references to non-created pages in error)?
--Dgamey 11:45, 18 May 2011 (UTC)