Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | $image = wfFindFile( $imageTitle ); |
183 | 183 | |
184 | 184 | // if it is multipage, we use the page order of the file |
185 | | - if ( $image && $image->exists() && $image->isMultiPage() ) { |
| 185 | + if ( $image && $image->exists() && $image->isMultipage() ) { |
186 | 186 | $name = $image->getTitle()->getText(); |
187 | 187 | $index_name = "$index_namespace:$name"; |
188 | 188 | |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | $imageTitle = Title::makeTitleSafe( NS_IMAGE, $index_title->getText() ); |
211 | 211 | $image = wfFindFile( $imageTitle ); |
212 | 212 | // if multipage, we use the page order, but we should read pagenum from the index |
213 | | - if ( $image && $image->exists() && $image->isMultiPage() ) { |
| 213 | + if ( $image && $image->exists() && $image->isMultipage() ) { |
214 | 214 | $pagenr = 1; |
215 | 215 | $parts = explode( '/', $title->getText() ); |
216 | 216 | if ( count( $parts ) > 1 ) { |
— | — | @@ -522,7 +522,7 @@ |
523 | 523 | global $wgUser; |
524 | 524 | $index_namespace = $this->index_namespace; |
525 | 525 | $image = $imgpage->img; |
526 | | - if ( !$image->isMultiPage() ) { |
| 526 | + if ( !$image->isMultipage() ) { |
527 | 527 | return true; |
528 | 528 | } |
529 | 529 | $sk = $wgUser->getSkin(); |
— | — | @@ -702,7 +702,7 @@ |
703 | 703 | } |
704 | 704 | |
705 | 705 | $image = wfFindFile( $imageTitle ); |
706 | | - if ( !( $image && $image->isMultiPage() && $image->pageCount() ) ) { |
| 706 | + if ( !( $image && $image->isMultipage() && $image->pageCount() ) ) { |
707 | 707 | return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_file' ) . '</strong>'; |
708 | 708 | } |
709 | 709 | |
— | — | @@ -797,7 +797,7 @@ |
798 | 798 | return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_file' ) . '</strong>'; |
799 | 799 | } |
800 | 800 | $image = wfFindFile( $imageTitle ); |
801 | | - if ( !( $image && $image->isMultiPage() && $image->pageCount() ) ) { |
| 801 | + if ( !( $image && $image->isMultipage() && $image->pageCount() ) ) { |
802 | 802 | return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_file' ) . '</strong>'; |
803 | 803 | } |
804 | 804 | $count = $image->pageCount(); |
— | — | @@ -1390,7 +1390,7 @@ |
1391 | 1391 | $imageTitle = Title::makeTitleSafe( NS_IMAGE, $index_title->getText() ); |
1392 | 1392 | if ( $imageTitle ) { |
1393 | 1393 | $image = wfFindFile( $imageTitle ); |
1394 | | - if ( $image && $image->isMultiPage() && $image->pageCount() ) { |
| 1394 | + if ( $image && $image->isMultipage() && $image->pageCount() ) { |
1395 | 1395 | $n = $image->pageCount(); |
1396 | 1396 | for ( $i = 1; $i <= $n; $i++ ) { |
1397 | 1397 | $page = $dbr->strencode( $index_title->getDBKey() . '/' . $i ); |