$modules['watch'][] = 'mediawiki.page.watch.ajax';
}
- if ( !$user->getOption( 'disablesuggest', false ) ) {
- $modules['search'][] = 'mediawiki.searchSuggest';
- }
+ $modules['search'][] = 'mediawiki.searchSuggest';
}
}
// Singular if no revision -> diff link will show latest change only in any case
$plural = false;
}
- $plural = $plural ? 2 : 1;
- // 2 signifies "more than one revision". We don't know how many, and even if we did,
+ $plural = $plural ? 999 : 1;
+ // 999 signifies "more than one revision". We don't know how many, and even if we did,
// the number of revisions or authors is not necessarily the same as the number of
// "messages".
$newMessagesLink = Linker::linkKnown(