Fix called function case in a bunch of places
Change-Id: If1e392290a5bab3bce389f7da692e53a748b8aff
This commit is contained in:
parent
69661f2fe8
commit
36e6ab15da
7 changed files with 11 additions and 11 deletions
|
|
@ -3727,7 +3727,7 @@ class EditPage {
|
|||
|
||||
return new OOUI\ButtonWidget( [
|
||||
'id' => 'mw-editform-cancel',
|
||||
'href' => $this->getContextTitle()->getLinkUrl( $cancelParams ),
|
||||
'href' => $this->getContextTitle()->getLinkURL( $cancelParams ),
|
||||
'label' => new OOUI\HtmlSnippet( $this->context->msg( 'cancel' )->parse() ),
|
||||
'framed' => false,
|
||||
'infusable' => true,
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ class FeedItem {
|
|||
* @return string
|
||||
*/
|
||||
public function getUniqueID() {
|
||||
$id = $this->getUniqueIDUnescaped();
|
||||
$id = $this->getUniqueIdUnescaped();
|
||||
if ( $id ) {
|
||||
return $this->xmlEncode( $id );
|
||||
}
|
||||
|
|
@ -383,7 +383,7 @@ class RSSFeed extends ChannelFeed {
|
|||
"title" => $item->getTitle(),
|
||||
"url" => $this->xmlEncode( wfExpandUrl( $item->getUrlUnescaped(), PROTO_CURRENT ) ),
|
||||
"permalink" => $item->rssIsPermalink,
|
||||
"uniqueID" => $item->getUniqueId(),
|
||||
"uniqueID" => $item->getUniqueID(),
|
||||
"description" => $item->getDescription(),
|
||||
"date" => $this->xmlEncode( $this->formatTime( $item->getDate() ) ),
|
||||
"author" => $item->getAuthor()
|
||||
|
|
@ -433,7 +433,7 @@ class AtomFeed extends ChannelFeed {
|
|||
// uses htmlentities, which does not work with XML
|
||||
$templateParams = [
|
||||
'language' => $this->xmlEncode( $this->getLanguage() ),
|
||||
'feedID' => $this->getFeedID(),
|
||||
'feedID' => $this->getFeedId(),
|
||||
'title' => $this->getTitle(),
|
||||
'url' => $this->xmlEncode( wfExpandUrl( $this->getUrlUnescaped(), PROTO_CURRENT ) ),
|
||||
'selfUrl' => $this->getSelfUrl(),
|
||||
|
|
@ -474,7 +474,7 @@ class AtomFeed extends ChannelFeed {
|
|||
// Manually escaping rather than letting Mustache do it because Mustache
|
||||
// uses htmlentities, which does not work with XML
|
||||
$templateParams = [
|
||||
"uniqueID" => $item->getUniqueId(),
|
||||
"uniqueID" => $item->getUniqueID(),
|
||||
"title" => $item->getTitle(),
|
||||
"mimeType" => $this->xmlEncode( $wgMimeType ),
|
||||
"url" => $this->xmlEncode( wfExpandUrl( $item->getUrlUnescaped(), PROTO_CURRENT ) ),
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ class RevisionStore implements IDBAccessObject, RevisionFactory, RevisionLookup
|
|||
|
||||
// rev_id is defined as NOT NULL, but this revision may not yet have been inserted.
|
||||
if ( !$title && $revId !== null && $revId > 0 ) {
|
||||
$dbr = $this->getDbConnectionRef( $dbMode );
|
||||
$dbr = $this->getDBConnectionRef( $dbMode );
|
||||
// @todo: Title::getSelectFields(), or Title::getQueryInfo(), or something like that
|
||||
$row = $dbr->selectRow(
|
||||
[ 'revision', 'page' ],
|
||||
|
|
|
|||
|
|
@ -1812,10 +1812,10 @@ class Title implements LinkTarget {
|
|||
if ( $this->isExternal() ) {
|
||||
$target = SpecialPage::getTitleFor(
|
||||
'GoToInterwiki',
|
||||
$this->getPrefixedDBKey()
|
||||
$this->getPrefixedDBkey()
|
||||
);
|
||||
}
|
||||
return $target->getFullUrl( $query, false, $proto );
|
||||
return $target->getFullURL( $query, false, $proto );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ class ApiComparePages extends ApiBase {
|
|||
if ( $rev ) {
|
||||
$title = $rev->getTitle();
|
||||
if ( isset( $this->props['ids'] ) ) {
|
||||
$vals["{$prefix}id"] = $title->getArticleId();
|
||||
$vals["{$prefix}id"] = $title->getArticleID();
|
||||
$vals["{$prefix}revid"] = $rev->getId();
|
||||
}
|
||||
if ( isset( $this->props['title'] ) ) {
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ class ApiOptions extends ApiBase {
|
|||
$user->setOption( $key, $value );
|
||||
$changed = true;
|
||||
} else {
|
||||
$this->addWarning( [ 'apiwarn-validationfailed', wfEscapeWikitext( $key ), $validation ] );
|
||||
$this->addWarning( [ 'apiwarn-validationfailed', wfEscapeWikiText( $key ), $validation ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ class XmlTypeCheck {
|
|||
if ( !$externalCallback && !$generalCallback && !$checkIfSafe ) {
|
||||
return;
|
||||
}
|
||||
$dtd = $reader->readOuterXML();
|
||||
$dtd = $reader->readOuterXml();
|
||||
$callbackReturn = false;
|
||||
|
||||
if ( $generalCallback ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue