From: "Rob Church" robchur@gmail.com Date: January 1, 2007 4:59:22 AM EST To: "MediaWiki announcements and site admin list" <mediawiki- l@wikimedia.org> Subject: Re: [Mediawiki-l] Template to list 10 most recent created pages Reply-To: MediaWiki announcements and site admin list <mediawiki- l@Wikimedia.org>
On 01/01/07, Chris Smeder smeder.c@gmail.com wrote:
I have searched google and mediawiki and had no success in finding information on creating a template that would list the 10 most recent created pages. Any one know of a tutorial or info on how to do this?
Install the NewestPages extension (http://www.mediawiki.org/wiki/Extension:NewestPages) and then create a template that contains {{Special:Newestpages/-/10}}.
Rob Church
The extension works well enough for me, but I just have a minor quip: addHTML() seems to be ignoring any newlines I put in. Is there a way to get around this? I also can't figure out how to remove the "<p><br /></p>" on either side of the listing when it's included within a page. Is there a way to get around either of these things?
Thanks.