Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -40,8 +40,8 @@ |
41 | 41 | $action = $wgRequest->getVal('action'); |
42 | 42 | |
43 | 43 | if ( $skinTemplate->iscontent && ( $action == '' || $action == 'view' || $action == 'purge' ) ) { |
44 | | - if ( self::_isCollectionPage( $skinTemplate->mTitle, $wgArticle ) ) { |
45 | | - $params = 'colltitle=' . wfUrlencode( $skinTemplate->mTitle->getPrefixedDBKey() ); |
| 44 | + if ( self::_isCollectionPage( $skinTemplate->getTitle(), $wgArticle ) ) { |
| 45 | + $params = 'colltitle=' . wfUrlencode( $skinTemplate->getTitle()->getPrefixedDBKey() ); |
46 | 46 | if ( isset( $wgCollectionFormats['rl'] ) ) { |
47 | 47 | $nav_urls['printable_version_pdf'] = array( |
48 | 48 | 'href' => SkinTemplate::makeSpecialUrlSubpage( |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | foreach ( $wgCollectionFormats as $writer => $name ) { |
56 | 56 | } |
57 | 57 | } else { |
58 | | - $params = 'arttitle=' . $skinTemplate->mTitle->getPrefixedURL(); |
| 58 | + $params = 'arttitle=' . $skinTemplate->getTitle()->getPrefixedURL(); |
59 | 59 | if( $wgArticle ) { |
60 | 60 | $oldid = $wgArticle->getOldID(); |
61 | 61 | if ( $oldid ) { |