http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76179
Revision: 76179
Author: hartman
Date: 2010-11-06 01:34:47 +0000 (Sat, 06 Nov 2010)
Log Message:
-----------
Use wfDeprecated() in the deprecated function getThumbnail() and getLinksTo()
of File.php
Modified Paths:
--------------
trunk/phase3/includes/filerepo/File.php
Modified: trunk/phase3/includes/filerepo/File.php
===================================================================
--- trunk/phase3/includes/filerepo/File.php 2010-11-06 00:32:18 UTC (rev
76178)
+++ trunk/phase3/includes/filerepo/File.php 2010-11-06 01:34:47 UTC (rev
76179)
@@ -528,6 +528,7 @@
* @deprecated use transform()
*/
public function getThumbnail( $width, $height=-1, $render = true ) {
+ wfDeprecated( __METHOD__ );
$params = array( 'width' => $width );
if ( $height != -1 ) {
$params['height'] = $height;
@@ -886,6 +887,7 @@
* @deprecated Use HTMLCacheUpdate, this function uses too much memory
*/
function getLinksTo( $options = array() ) {
+ wfDeprecated( __METHOD__ );
wfProfileIn( __METHOD__ );
// Note: use local DB not repo DB, we want to know local links
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs