wfDebug( __METHOD__ . ": User can't edit\n" );
if ( $this->context->getUser()->getBlock() ) {
- // track block with a cookie if it doesn't exists already
+ // Track block with a cookie if it doesn't exist already
MediaWikiServices::getInstance()->getBlockManager()
->trackBlockWithCookie( $this->context->getUser() );
*/
protected function contributionsSub( $userObj ) {
if ( $userObj->isAnon() ) {
- // Show a warning message that the user being searched for doesn't exists.
+ // Show a warning message that the user being searched for doesn't exist.
// User::isIP returns true for IP address and usemod IPs like '123.123.123.xxx',
// but returns false for IP ranges. We don't want to suggest either of these are
// valid usernames which we would with the 'contributions-userdoesnotexist' message.
$user = $this->getUser();
$status = AuthManager::singleton()->checkAccountCreatePermissions( $user );
if ( !$status->isGood() ) {
- // track block with a cookie if it doesn't exists already
+ // Track block with a cookie if it doesn't exist already
if ( $user->isBlockedFromCreateAccount() ) {
MediaWikiServices::getInstance()->getBlockManager()->trackBlockWithCookie( $user );
}
###################
!! test
-Link to image page- image page normally doesn't exists, hence edit link
+Link to image page- image page normally doesn't exist, hence edit link
Add test with existing image page
#<p><a href="/wiki/File:Test" title="Image:Test">Image:test</a>
!! wikitext
// Tell Title it doesn't know whether it exists
$title->mArticleID = -1;
- // Tell the link cache it doesn't exists when it really does
+ // Tell the link cache it doesn't exist when it really does
$linkCache->clearLink( $title );
$linkCache->addBadLinkObj( $title );