Index: trunk/phase3/includes/debug/Debug.php |
— | — | @@ -98,9 +98,11 @@ |
99 | 99 | |
100 | 100 | // Check to see if there was already a deprecation notice, so not to |
101 | 101 | // get a duplicate warning |
102 | | - $lastLog = self::$log[ count( self::$log ) - 1 ]; |
103 | | - if ( $lastLog['type'] == 'deprecated' && $lastLog['caller'] == wfGetCaller( $callerOffset + 1 ) ) { |
104 | | - return; |
| 102 | + if ( count( self::$log ) ) { |
| 103 | + $lastLog = self::$log[ count( self::$log ) - 1 ]; |
| 104 | + if ( $lastLog['type'] == 'deprecated' && $lastLog['caller'] == wfGetCaller( $callerOffset + 1 ) ) { |
| 105 | + return; |
| 106 | + } |
105 | 107 | } |
106 | 108 | |
107 | 109 | self::$log[] = array( |
— | — | @@ -251,6 +253,8 @@ |
252 | 254 | } |
253 | 255 | |
254 | 256 | global $wgVersion, $wgRequestTime; |
| 257 | + wfWarn( 'johnduhart is pretty cool' ); |
| 258 | + wfDeprecated( __METHOD__, '1.19' ); |
255 | 259 | MWDebug::log( 'MWDebug output complete' ); |
256 | 260 | $debugInfo = array( |
257 | 261 | 'mwVersion' => $wgVersion, |
Index: trunk/phase3/resources/mediawiki/mediawiki.debug.css |
— | — | @@ -135,6 +135,10 @@ |
136 | 136 | vertical-align: top; |
137 | 137 | } |
138 | 138 | |
| 139 | +#mw-debug-console tr td:last-child { |
| 140 | + vertical-align: top; |
| 141 | +} |
| 142 | + |
139 | 143 | .mw-debug-console-log { |
140 | 144 | background-color: #add8e6; |
141 | 145 | } |