* (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in TeX
* Fix regression in streaming page dump generation
* (bug 7801) Add support for parser function hooks in parser tests
+* checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
== Languages updated ==
function checkUsernames() {
$this->stderr = fopen( 'php://stderr', 'wt' );
- $this->log = fopen( '/home/wikipedia/logs/checkUsernames.log', 'at' );
}
function main() {
$fname = 'checkUsernames::main';
if ( ! User::isValidUserName( $row->user_name ) ) {
$out = sprintf( "%s: %6d: '%s'\n", wfWikiID(), $row->user_id, $row->user_name );
fwrite( $this->stderr, $out );
- fwrite( $this->log, $out );
+ wfDebugLog( 'checkUsernames', $out );
}
}
}