Scripts and data used for generating ZhConversion.php
[lhc/web/wiklou.git] / includes / killthread.php
index 625bad7..ce7e4a9 100644 (file)
@@ -1,7 +1,12 @@
 <?php
-
-# Script to kill a MySQL thread after a specified timeout
-
+/**
+ * Script to kill a MySQL thread after a specified timeout
+ * @package MediaWiki
+ */
+
+/**
+ *
+ */
 $wgCommandLineMode = true;
 
 unset( $IP );
@@ -14,7 +19,7 @@ ini_set( 'include_path', "$IP$sep$include_path" );
 
 require_once( 'Setup.php' );
 
-$wgTitle = Title::newFromText( wfMsg( 'badtitle' ) );
+$wgTitle = Title::newFromText( wfMsgForContent( 'badtitle' ) );
 $wgArticle = new Article($wgTitle);
 
 if ( !$argv[1] || !$argv[2] ) {