Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97506
Change subject: Update documentation
......................................................................
Update documentation
Change-Id: I94af1fbbfeb838f4d300c87f0e42a816ff6c5fee
---
M includes/filerepo/FileRepo.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/06/97506/1
diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php
index d26191c..8611238 100644
--- a/includes/filerepo/FileRepo.php
+++ b/includes/filerepo/FileRepo.php
@@ -260,7 +260,7 @@
*
* @param string $zone One of: public, deleted, temp, thumb
* @param string|null $ext Optional file extension
- * @return String or false
+ * @return string|bool
*/
public function getZoneUrl( $zone, $ext = null ) {
if ( in_array( $zone, array( 'public', 'temp', 'thumb',
'transcoded' ) ) ) {
@@ -602,7 +602,7 @@
}
/**
- * Get the name of an image from its title object
+ * Get the name of a file from its title object
*
* @param $title Title
* @return String
--
To view, visit https://gerrit.wikimedia.org/r/97506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94af1fbbfeb838f4d300c87f0e42a816ff6c5fee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits