Last modified: 2012-08-08 11:07:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33802, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31802 - RC inclusion: Add namespace parameter
RC inclusion: Add namespace parameter
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Unprioritized enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-18 18:47 UTC by Subfader
Modified: 2012-08-08 11:07 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Subfader 2011-10-18 18:47:29 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}}
Comment 1 db [inactive,noenotif] 2011-10-18 19:30:35 UTC
The source has support for namespace number, not with the namespace text.

But when using that on trunk, you get nothing.
Comment 2 Subfader 2011-10-18 19:57:55 UTC
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
Comment 3 John McClure 2011-12-17 19:49:58 UTC
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.
Comment 4 MrBlueSky 2012-01-03 01:45:17 UTC
Support for the namespace parameter was added in r98618. Note that you have to use the namespace number.
Comment 5 db [inactive,noenotif] 2012-08-06 19:13:17 UTC
Use

{{Special:RecentChanges/days=5,limit=40,namespace=1}}

or

{{Special:RecentChanges|days=5|limit=40|namespace=1}}
Comment 6 Subfader 2012-08-06 19:35:37 UTC
Thanks.
Comment 7 Subfader 2012-08-06 19:41:35 UTC
When I include this, the page title is "Special:RecentChanges/(your params)".

It can't even be overridden by {{DISPLAYTITLE:}}
Comment 8 db [inactive,noenotif] 2012-08-06 20:41:05 UTC
(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?
Comment 9 Subfader 2012-08-07 15:39:21 UTC
Ah ok, I use an early alpha of 1.16.
Comment 10 db [inactive,noenotif] 2012-08-08 11:07:48 UTC
The title override is fixed in 1.19. You have to update your installation.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links