r49437 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49436‎ | r49437 | r49438 >
Date:11:34, 13 April 2009
Author:ialex
Status:deferred
Tags:
Comment:
Added bad_images table to the ones used in paser tests
Modified paths:
  • /trunk/extensions/BadImage/BadImage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/BadImage/BadImage.php
@@ -36,6 +36,8 @@
3737 $wgBadImageCache = true;
3838
3939 $wgHooks['BadImage'][] = 'efBadImage';
 40+$wgHooks['ParserTestTables'][] = 'efBadImageAddTable';
 41+
4042 $wgLogTypes[] = 'badimage';
4143 $wgLogNames['badimage'] = 'badimages-log-name';
4244 $wgLogHeaders['badimage'] = 'badimages-log-header';
@@ -50,3 +52,9 @@
5153 return true;
5254 }
5355 }
 56+
 57+function efBadImageAddTable( &$tables ) {
 58+ $tables[] = 'bad_images';
 59+ return true;
 60+}
 61+

Status & tagging log