Extension talk:Newest Pages

Please submit bug reports and feature requests for this extension to the extension's maintainer, Rob Church, via email.

Narrow to a given Namespace
Thanks, this is very helpful. Any chance you could add a param to allow the namespace to be specified? I'd like to transclude this page as a kind of "Table of Contents" for a specific namespace.


 * Available as of version 1.3. Rob Church (talk) 23:27, 13 May 2006 (UTC)

Namespace as a Category Page?
I was wondering if the Namespace that can be specified could actually specify a Category Page? skdb 15:04, 29 June 2006 (UTC)

What is the namespace for "Pages"
Thanks a lot - this is wonderful! It works with categories and most namespaces. But I wonder what would be the namespace to write if I want to have pages/articles only. I can select "(Artikel)" (German for articles = pages) in the selectbox but I do not know the word to write as namespace... Thanks a lot! --194.76.29.2 15:37, 17 July 2006 (UTC)


 * I had this same problem and after trial-and-error discovered that to filter for articles in the (Main) namespace the syntax is 71.35.247.211 02:24, 10 August 2006 (UTC)

Section #3 of the README states, "Use - to select the main namespace." 86.134.116.228 08:16, 15 August 2006 (UTC)

Questions

 * How do I link to namespace Main?
 * Special:Newestpages/-
 * This was noted in the README file. robchurch | talk 14:32, 20 November 2006 (UTC)

Index: NewestPages.page.php
 * How do I refine the code, so the namespace Main will appear as default?

=
====================================================== --- NewestPages.page.php	(revision 17805) +++ NewestPages.page.php	(working copy) @@ -66,7 +66,7 @@ 		if( !isset( $this->limit ) ) $this->limit = $this->sanitiseLimit( $req->getInt( 'limit', $wgNewestPagesLimit ) ); if( !isset( $this->namespace ) ) -			$this->namespace = $this->extractNamespace( $req->getVal( 'namespace', -1 ) ); +			$this->namespace = $this->extractNamespace( $req->getVal( 'namespace', NS_MAIN ) ); if( !isset( $this->redirects ) ) $this->redirects = (bool)$req->getInt( 'redirects', 1 ); }

Index: NewestPages.page.php
 * How do I refine the code, so the redirect pages will not appear as default?

=
====================================================== --- NewestPages.page.php	(revision 17805) +++ NewestPages.page.php	(working copy) @@ -68,7 +68,7 @@ 		if( !isset( $this->namespace ) ) $this->namespace = $this->extractNamespace( $req->getVal( 'namespace', -1 ) ); if( !isset( $this->redirects ) ) -			$this->redirects = (bool)$req->getInt( 'redirects', 1 ); +			$this->redirects = (bool)$req->getInt( 'redirects', 0 ); } 	function sanitiseLimit( $limit ) {


 * How can I filter and show new articles within a category?
 * This isn't supported in this extension at the present time. It might be added as a feature in a subsequent release, as it's a popular request. robchurch | talk 14:35, 20 November 2006 (UTC)


 * I've answered the remaining questions above. Please note that I reviewed this discussion page by chance; wherever possible, I prefer extension questions like this to be emailed to me; an address is provided in the README file for that purpose. Thanks. robchurch | talk 14:35, 20 November 2006 (UTC)

showing certain categorie
Hi I was wondering if it is possible just to show the main categorie on the front main page instead of it going to the all categorie... ty Nevermind I figured it out... Thanks for this extensions...!!

Error message with wfLoadExtensionMessages
Im getting the error: Fatal error: Call to undefined function wfLoadExtensionMessages in /var/www/wiki/extensions/newestPages/NewestPages.page.php on line 26

After research I found one page that states that wfLoadExtensionMessages is only available in version 1.11 and above. (Extension:Cite/Cite.php). Therefore this extension won't work on 1.6 and above. Is this correct? (We still at 1.9 :