Last modified: 2012-08-08 11:07:48 UTC
Recent changes inclusion http://www.mediawiki.org/wiki/Help:Recent_changes should have a parameter to select the namespace, e.g. {{Special:RecentChanges/days=5,limit=40,namespace=Talk}}
The source has support for namespace number, not with the namespace text. But when using that on trunk, you get nothing.
1:16.5: The page title is changed to the inclusion code. Trunk: Some unwanted <div dir="ltr" class="mw-content-ltr" lang="en"><p><br></p> is added on top: http://www.mediawiki.org/wiki/User:Subfader/Skip/A
This change would be VERY welcomed because a) it would align the special page with a common bot design (see http://search.cpan.org/~lifeguard/MediaWiki-Bot-v3.4.2/lib/MediaWiki/Bot.pm#recentchanges($ns,_$limit,_$options_hashref)) b) align it with a few other special pages that accept namespace as a parameter c) eliminate manual updating of a list of pages from a particular namespace that are new/changed often found on the Main Page of a wiki.
Support for the namespace parameter was added in r98618. Note that you have to use the namespace number.
Use {{Special:RecentChanges/days=5,limit=40,namespace=1}} or {{Special:RecentChanges|days=5|limit=40|namespace=1}}
Thanks.
When I include this, the page title is "Special:RecentChanges/(your params)". It can't even be overridden by {{DISPLAYTITLE:}}
(In reply to comment #7) > When I include this, the page title is "Special:RecentChanges/(your params)". > > It can't even be overridden by {{DISPLAYTITLE:}} That is a old bug and was last fixed with bug 35014 and the title override should not occur on WMF wikis. Which version you are using?
Ah ok, I use an early alpha of 1.16.
The title override is fixed in 1.19. You have to update your installation.