Index: trunk/extensions/Cite/SpecialCite.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) { |
38 | 38 | // check whether we’re in the right namespace, the $revid has the correct type and is not empty |
39 | 39 | // (what would mean that the current page doesn’t exist) |
40 | | - if ( $skintemplate->mTitle->isContentPage() && $revid !== 0 && !empty( $revid ) ) |
| 40 | + if ( $skintemplate->getTitle()->isContentPage() && $revid !== 0 && !empty( $revid ) ) |
41 | 41 | $nav_urls['cite'] = array( |
42 | 42 | 'args' => "page=" . wfUrlencode( "{$skintemplate->thispage}" ) . "&id=$revid" |
43 | 43 | ); |