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
Follow-up r85929: update MediaWiki::articleFromTitle() calls in extensions (and a...
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiPurge.php
diff --git
a/includes/api/ApiPurge.php
b/includes/api/ApiPurge.php
index
fe54d5f
..
170f00f
100644
(file)
--- a/
includes/api/ApiPurge.php
+++ b/
includes/api/ApiPurge.php
@@
-68,7
+68,7
@@
class ApiPurge extends ApiBase {
$result[] = $r;
continue;
}
- $article = MediaWiki::articleFromTitle( $title );
+ $article = MediaWiki::articleFromTitle( $title
, RequestContext::getMain()
);
$article->doPurge(); // Directly purge and skip the UI part of purge().
$r['purged'] = '';