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 "Use BlobStore::getBlobBatch for RevisionStore::newRevisionsFromBatch"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryMyStashedFiles.php
diff --git
a/includes/api/ApiQueryMyStashedFiles.php
b/includes/api/ApiQueryMyStashedFiles.php
index
0c70a8a
..
457f6c6
100644
(file)
--- a/
includes/api/ApiQueryMyStashedFiles.php
+++ b/
includes/api/ApiQueryMyStashedFiles.php
@@
-36,7
+36,7
@@
class ApiQueryMyStashedFiles extends ApiQueryBase {
$user = $this->getUser();
if ( $user->isAnon() ) {
$user = $this->getUser();
if ( $user->isAnon() ) {
- $this->die
Usage( 'The upload stash is only available to logged-in users.
', 'stashnotloggedin' );
+ $this->die
WithError( 'apierror-mustbeloggedin-uploadstash
', 'stashnotloggedin' );
}
// Note: If user is logged in but cannot upload, they can still see
}
// Note: If user is logged in but cannot upload, they can still see
@@
-145,6
+145,6
@@
class ApiQueryMyStashedFiles extends ApiQueryBase {
}
public function getHelpUrls() {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:mystashedfiles';
+ return 'https://www.mediawiki.org/wiki/
Special:MyLanguage/
API:mystashedfiles';
}
}
}
}