* @param array $pageInfo
* @return void
*/
- function reportPage( $title, $foreignTitle, $revisionCount,
+ public function reportPage( $title, $foreignTitle, $revisionCount,
$successCount, $pageInfo ) {
$args = func_get_args();
call_user_func_array( $this->mOriginalPageOutCallback, $args );
$this->mPageCount++;
if ( $successCount > 0 ) {
+ // <bdi> prevents jumbling of the versions count
+ // in RTL wikis in case the page title is LTR
$this->getOutput()->addHTML(
"<li>" . Linker::linkKnown( $title ) . " " .
+ "<bdi>" .
$this->msg( 'import-revision-count' )->numParams( $successCount )->escaped() .
+ "</bdi>" .
"</li>\n"
);