Index: trunk/extensions/FirePHP/FirePHP.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * FirePHP is a plugin for Firebug which adds debugging info from HTTP headers |
10 | 10 | * into the console output, which some will find handier than tailing a log file |
11 | 11 | * or such forth. |
12 | | - * |
| 12 | + * |
13 | 13 | * There's not a lot of fancy integration; everything's just output as a 'log' line. |
14 | 14 | * You can use $wgFirePHP global (or call FirePHP::getInstance() yourself) to get |
15 | 15 | * direct access to FirePHP's fancier features in test code. |
— | — | @@ -25,6 +25,14 @@ |
26 | 26 | |
27 | 27 | $wgHooks['Debug'][] = 'efFirePHPDebug'; |
28 | 28 | |
| 29 | +$wgExtensionCredits['other'][] = array( |
| 30 | + 'path' => __FILE__, |
| 31 | + 'name' => 'FirePHP', |
| 32 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:FirePHP', |
| 33 | + 'author' => 'Brion Vibber', |
| 34 | + 'description' => 'Allows the Firebug Extension for AJAX Development to work with MediaWiki', |
| 35 | +); |
| 36 | + |
29 | 37 | global $wgFirePHP; |
30 | 38 | $wgFirePHP = null; |
31 | 39 | |
— | — | @@ -44,4 +52,4 @@ |
45 | 53 | $wgFirePHP->log( $text ); |
46 | 54 | } |
47 | 55 | return true; |
48 | | -} |
\ No newline at end of file |
| 56 | +} |