r84034 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84033‎ | r84034 | r84035 >
Date:16:58, 15 March 2011
Author:ialex
Status:ok
Tags:
Comment:
Update doc: Image:: -> File::
Modified paths:
  • /trunk/phase3/includes/Defines.php (modified) (history)
  • /trunk/phase3/includes/HTMLCacheUpdate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Defines.php
@@ -114,7 +114,7 @@
115115
116116 /**@{
117117 * Media types.
118 - * This defines constants for the value returned by Image::getMediaType()
 118+ * This defines constants for the value returned by File::getMediaType()
119119 */
120120 define( 'MEDIATYPE_UNKNOWN', 'UNKNOWN' ); // unknown format
121121 define( 'MEDIATYPE_BITMAP', 'BITMAP' ); // some bitmap image or image source (like psd, etc). Can't scale up.
Index: trunk/phase3/includes/HTMLCacheUpdate.php
@@ -18,7 +18,7 @@
1919 * batches, but of course LIMIT with an offset is inefficient on the DB side.
2020 *
2121 * The class is nevertheless a vast improvement on the previous method of using
22 - * Image::getLinksTo() and Title::touchArray(), which uses about 2KB of memory per
 22+ * File::getLinksTo() and Title::touchArray(), which uses about 2KB of memory per
2323 * link.
2424 *
2525 * @ingroup Cache

Status & tagging log