mini-fix
authorMagnus Manske <magnusmanske@users.mediawiki.org>
Tue, 10 Jan 2006 15:40:49 +0000 (15:40 +0000)
committerMagnus Manske <magnusmanske@users.mediawiki.org>
Tue, 10 Jan 2006 15:40:49 +0000 (15:40 +0000)
includes/Wiki.php

index aa37d5b..64d3c9b 100644 (file)
@@ -16,10 +16,9 @@ class MediaWiki {
                return $default ;
        }
 
-       function performAction ( $action , &$output , &$article , &$user ) {
+       function performAction ( $action , &$output , &$article , &$title , &$user ) {
                global $wgRequest ; # Unavoidable for now
                
-               $title = &$article->getTitle() ;
                switch( $action ) {
                        case 'view':
                                $output->setSquidMaxage( $this->getVal('SquidMaxage') );