Template talk:News

From Organic Design wiki
Revision as of 22:36, 3 September 2011 by Nad (talk | contribs) (had another go but couldn't figure it out)

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)