$hideliu = $wgRequest->getBool( 'hideliu', $defaults['hideliu'] );
$hidepatrolled = $wgRequest->getBool( 'hidepatrolled', $defaults['hidepatrolled'] );
$hidemyself = $wgRequest->getBool ( 'hidemyself', $defaults['hidemyself'] );
- $from = $wgRequest->getVal( 'from', $defaults['from'] );
+ $from = $wgRequest->getVal( 'from', $defaults['from'] );
# Get query parameters from path
if( $par ) {
}
function rcDoOutputFeed( $rows, &$feed ) {
- global $wgSitename, $wgFeedClasses, $wgContLanguageCode;
$fname = 'rcDoOutputFeed';
wfProfileIn( $fname );
* Makes change an option link which carries all the other options
*/
function makeOptionsLink( $title, $override, $options ) {
- global $wgUser, $wgLang, $wgContLang;
+ global $wgUser, $wgContLang;
$sk = $wgUser->getSkin();
return $sk->makeKnownLink( $wgContLang->specialPage( 'Recentchanges' ),
$title, wfArrayToCGI( $override, $options ) );
array( 'hideliu' => 1-$options['hideliu'] ), $nondefaults);
$patrLink = makeOptionsLink( $showhide[1-$options['hidepatrolled']],
array( 'hidepatrolled' => 1-$options['hidepatrolled'] ), $nondefaults);
- $myselfLink = makeOptionsLink( $showhide[1-$options['hidemyself']],
+ $myselfLink = makeOptionsLink( $showhide[1-$options['hidemyself']],
array( 'hidemyself' => 1-$options['hidemyself'] ), $nondefaults);
$hl = wfMsg( 'showhideminor', $minorLink, $botLink, $liuLink, $patrLink, $myselfLink );
* @return string
*/
function rcNamespaceForm( $namespace, $invert, $nondefaults, $categories_any ) {
- global $wgContLang, $wgScript, $wgAllowCategorizedRecentChanges, $wgRequest;
+ global $wgScript, $wgAllowCategorizedRecentChanges, $wgRequest;
$t = Title::makeTitle( NS_SPECIAL, 'Recentchanges' );
$namespaceselect = HTMLnamespaceselector($namespace, '');