Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | parent::__construct( "Book" ); |
29 | 29 | global $wgCollectionPODPartners; |
30 | 30 | if ( $PODPartners ) { |
31 | | - $this->mPODPartners = $PODpartners; |
| 31 | + $this->mPODPartners = $PODPartners; |
32 | 32 | } else { |
33 | 33 | $this->mPODPartners = $wgCollectionPODPartners; |
34 | 34 | } |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | } |
40 | 40 | |
41 | 41 | function execute( $par ) { |
42 | | - global $wgOut, $wgRequest, $wgUser, $wgContLang, $wgCollectionMaxArticles; |
| 42 | + global $wgOut, $wgRequest, $wgUser, $wgCollectionMaxArticles; |
43 | 43 | |
44 | 44 | // support previous URLs (e.g. used in templates) which used the "$par" part |
45 | 45 | // (i.e. subpages of the Special page) |
— | — | @@ -296,7 +296,6 @@ |
297 | 297 | default: |
298 | 298 | $wgOut->showErrorPage( 'coll-unknown_subpage_title', 'coll-unknown_subpage_text' ); |
299 | 299 | } |
300 | | - return; |
301 | 300 | } |
302 | 301 | |
303 | 302 | function renderBookCreatorPage( $referer, $par ) { |