Difference between revisions of "Template talk:News"

From Organic Design wiki
(Suggestions)
 
(had another go but couldn't figure it out)
Line 1: Line 1:
 
==Category listing==
 
==Category listing==
 
If one of you clever folks could add a suitable piped link to "[[:Category:News]]" in the template, showing the date in ISO format or similar, all of the items could list in date order in the category, instead of alphanumerically by "NZ English" date format. [[User:Robin Patterson|Robin Patterson]] 06:50, 3 September 2011 (PDT)
 
If one of you clever folks could add a suitable piped link to "[[:Category:News]]" in the template, showing the date in ISO format or similar, all of the items could list in date order in the category, instead of alphanumerically by "NZ English" date format. [[User:Robin Patterson|Robin Patterson]] 06:50, 3 September 2011 (PDT)
 +
:Thanks for the suggestion, I've reverted the manual categorisations you did as there's too many to do by hand, I could get a robot to do it some time, but I'd prefer to have an automatic way as you suggest in Template:News, but it's actually quite difficult and I haven't been able to figure out a way to do it yet. The reason it's so hard is because there's no way for a template to obtain the name of the article that's transcluding it - I can't even add a magic word for it because it's not readily available from the MediaWiki PHP code either. --[[User:Nad|nad]] 15:36, 3 September 2011 (PDT)

Revision as of 22:36, 3 September 2011

Category listing

If one of you clever folks could add a suitable piped link to "Category:News" in the template, showing the date in ISO format or similar, all of the items could list in date order in the category, instead of alphanumerically by "NZ English" date format. Robin Patterson 06:50, 3 September 2011 (PDT)

Thanks for the suggestion, I've reverted the manual categorisations you did as there's too many to do by hand, I could get a robot to do it some time, but I'd prefer to have an automatic way as you suggest in Template:News, but it's actually quite difficult and I haven't been able to figure out a way to do it yet. The reason it's so hard is because there's no way for a template to obtain the name of the article that's transcluding it - I can't even add a magic word for it because it's not readily available from the MediaWiki PHP code either. --nad 15:36, 3 September 2011 (PDT)