Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/72455
Change subject: Improving comments in File class
......................................................................
Improving comments in File class
Change-Id: I5d1653f84f7e9324b234c2cc49e7ee5a1d0676ff
---
M includes/filerepo/file/File.php
1 file changed, 5 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/55/72455/1
diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php
index 0da4036..7cec85f 100644
--- a/includes/filerepo/file/File.php
+++ b/includes/filerepo/file/File.php
@@ -48,17 +48,16 @@
* @ingroup FileAbstraction
*/
abstract class File {
+ // Bitfield values akin to the Revision deletion constants
const DELETED_FILE = 1;
const DELETED_COMMENT = 2;
const DELETED_USER = 4;
const DELETED_RESTRICTED = 8;
- /** Force rendering in the current process */
+ // Force rendering in the current process
const RENDER_NOW = 1;
- /**
- * Force rendering even if thumbnail already exist and using RENDER_NOW
- * I.e. you have to pass both flags: File::RENDER_NOW |
File::RENDER_FORCE
- */
+ // Force rendering even if thumbnail already exist and using RENDER_NOW
+ // I.e. you have to pass both flags: File::RENDER_NOW |
File::RENDER_FORCE
const RENDER_FORCE = 2;
const DELETE_SOURCE = 1;
@@ -1499,7 +1498,7 @@
* Is this file a "deleted" file in a private archive?
* STUB
*
- * @param $field
+ * @param integer $field one of DELETED_* bitfield constants
*
* @return bool
*/
--
To view, visit https://gerrit.wikimedia.org/r/72455
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d1653f84f7e9324b234c2cc49e7ee5a1d0676ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits