Rosetta Code:Village Pump/Grouping tasks: Difference between revisions

more info on lib usage, new heading, more examples, Library and Uses from templates, problem with references generated by templates?
(more on phantoms)
(more info on lib usage, new heading, more examples, Library and Uses from templates, problem with references generated by templates?)
Line 34:
: --[[User:Dgamey|Dgamey]] 11:45, 18 May 2011 (UTC)
::Go to the template page and click on the "what links here" link on the bottom left. That will show you all the pages that use a template (as well as ones that link to it directly). --[[User:Mwn3d|Mwn3d]] 12:25, 18 May 2011 (UTC)
 
==Library/Libheader appears to be being used incorrectly==
:: I really think more is going on here and somethings aren't working as expected.
 
::A comment on one of the pages in question suggested the library may be correct and that disambiguation may be need like Library: prime (language). I'm not convinced if there is a library or package called primes that it would not have a broader name like the well known hosting site or such. The RC template [[:Template:Library]] has no documentation about what is expected/required so there is little surprise that people use the template differently. At least one attempt to get more information was made in 2009 but it didn't seem to go anywhere. Even if we conclude that a certain use is wrong, we'd need to go around an mark the pages needs improvement or similar. Examples:
 
::: <nowiki>Using {{libheader|Primes}} from [http://hackage.haskell.org/packages/hackage.html HackageDB]</nowiki> - creates Primes and formats in an ugly fashion. The code refers to HackageDB (which I would take to be the library and [http://hackage.haskell.org/package/primes primes] the package.
::: <nowkii>{{libheader|Icon Programming Library}}
 
::: <nowiki>{{libheader|Icon Programming Library}} [http://www.cs.arizona.edu/icon/library/src/procs/strings.icn strings.icn provides deletec and sortc]</wiki> This allows for the category page to represent the entire library rather than a single member.
::: vs. something else. What is intended?
 
:: --[[User:Dgamey|Dgamey]] 22:50, 18 May 2011 (UTC)
::: vs. something else. What is intended? I see an example that includes: <nowiki>{{libheader|GTK}}{{libheader|GtkAda}}{{uses from|library|GtkAda|component1=Window|component2=Widget|component3=Handlers|component4=Main}}</nowiki> which seems much along the lines of what I would have expected. Except that the libheader for GtkAda and the uses from point at different pages (GtkAda and Library/GtkAda).
 
::: The example in Ruby provides no useful information on the source of the library <nowiki>{{libheader|optparse}}{{libheader|prime}}</nowiki>
 
::: The Alternate D version in counting by primes <nowiki>{{libheader|uiprimes}} Library ''uiprimes'' is a homebrew library to generate prime numbers</nowiki> provides little more and doesn't say where the code is located or if the code is even available.
 
:: --[[User:Dgamey|Dgamey]] 22:50, 18 May 2011 (UTC) Updated: --[[User:Dgamey|Dgamey]] 02:20, 19 May 2011 (UTC)
Anonymous user