<?php
/**
- *
- *
- * Created on Oct 31, 2007
- *
* Copyright © 2007 Roan Kattouw "<Firstname>.<Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
if ( !$toTitle || $toTitle->isExternal() ) {
$this->dieWithError( [ 'apierror-invalidtitle', wfEscapeWikiText( $params['to'] ) ] );
}
- $toTalk = $toTitle->canTalk() ? $toTitle->getTalkPage() : null;
+ $toTalk = $toTitle->getTalkPageIfDefined();
if ( $toTitle->getNamespace() == NS_FILE
&& !RepoGroup::singleton()->getLocalRepo()->findFile( $toTitle )
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Move';
+ return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Move';
}
}