global $IP;
include_once( "$IP/SpecialRecentchanges.php" );
-function wfSpecialRecentchangeslinked()
+function wfSpecialRecentchangeslinked( $par = NULL )
{
global $wgUser, $wgOut, $wgLang, $wgTitle;
global $days, $target, $hideminor; # From query string
$wgOut->setPagetitle( wfMsg( "recentchanges" ) );
$sk = $wgUser->getSkin();
+ if( $par ) {
+ $target = $par;
+ }
if ( "" == $target ) {
$wgOut->errorpage( "notargettitle", "notargettext" );
return;