dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Make DBAccessBase use DBConnRef, rename $wiki, and hide getLoadBalancer()"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiExpandTemplates.php
diff --git
a/includes/api/ApiExpandTemplates.php
b/includes/api/ApiExpandTemplates.php
index
a5e7437
..
4b74a3d
100644
(file)
--- a/
includes/api/ApiExpandTemplates.php
+++ b/
includes/api/ApiExpandTemplates.php
@@
-76,10
+76,6
@@
class ApiExpandTemplates extends ApiBase {
$this->addWarning( [ 'apierror-revwrongpage', $rev->getId(),
wfEscapeWikiText( $pTitleObj->getPrefixedText() ) ] );
}
- } else {
- // Consider the title derived from the revid as having
- // been provided.
- $titleProvided = true;
}
}