[svn r43615] fixes: setup session when Special:Collection page is renderen. replace $writer by constant "rl". Collection svn.43615
authorjojo
Mon Nov 17 19:06:30 2008 +0100 (7 weeks ago)
branchCollection
changeset 4007deda3378849
parent 399c768f2516f2c
child 4013ef492a866e2
[svn r43615] fixes: setup session when Special:Collection page is renderen. replace $writer by constant "rl".
Collection.body.php
       1 --- a/Collection.body.php	Mon Nov 17 18:52:41 2008 +0100
       2 +++ b/Collection.body.php	Mon Nov 17 19:06:30 2008 +0100
       3 @@ -214,6 +214,8 @@
       4  		global $wgScriptPath;
       5  		global $wgOut;
       6  
       7 +		self::startSession();
       8 +		
       9  		$this->setHeaders();
      10  		$wgOut->addInlineScript( "var wgCollectionVersion = \"$wgCollectionVersion\";" );		
      11  		$wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.js?$wgCollectionStyleVersion\"></script>" );
      12 @@ -962,7 +964,7 @@
      13  						'href' => SkinTemplate::makeSpecialUrlSubpage(
      14  							'Collection',
      15  							'render_article/',
      16 -						  $params . '&writer=' . $writer ),
      17 +						  $params . '&writer=rl' ),
      18  						'text' => wfMsg( 'coll-printable_version_pdf' )
      19  					);
      20  				}