Moved language-related command-line scripts to their own directory.

This commit is contained in:
Tim Starling 2006-10-04 02:21:41 +00:00
parent bf55ed0c75
commit 2575420772
15 changed files with 14 additions and 13 deletions

View file

@ -257,7 +257,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
* (bug 6617) Validate timestamps on Special:Undelete
* Do fewer unnecessary full writes of user rows; only update user_touched
for watch/unwatch, group membership change, and login operations
* Restructured the languages directory, to avoid problems when people
untar MW 1.8 over the top of a 1.7 installation.
== Languages updated ==

View file

@ -6,7 +6,7 @@
* @subpackage Maintenance
*/
require_once( 'commandLine.inc' );
require_once( dirname(__FILE__).'/../commandLine.inc' );
require_once( 'languages.inc' );
/**

View file

@ -8,7 +8,7 @@
*/
/** */
require_once('commandLine.inc');
require_once(dirname(__FILE__).'/../commandLine.inc');
if ( isset( $args[0] ) ) {
$code = $args[0];

View file

@ -40,8 +40,8 @@
*/
/** This script run from the commandline */
require_once( 'parserTests.inc' );
require_once( 'commandLine.inc' );
require_once( dirname(__FILE__).'/../parserTests.inc' );
require_once( dirname(__FILE__).'/../commandLine.inc' );
if( isset($options['help']) ) { usage(); wfDie(); }

View file

@ -6,7 +6,7 @@
*/
/** */
require_once( "commandLine.inc" );
require_once( dirname(__FILE__).'/../commandLine.inc' );
$wgMessageCache->disableTransform();
$messages = array();
$wgEnglishMessages = array_keys( Language::getMessagesFor( 'en' ) );

View file

@ -7,7 +7,7 @@
* @subpackage Maintenance
*/
require_once('commandLine.inc');
require_once(dirname(__FILE__).'/../commandLine.inc');
if ( isset( $args[0] ) ) {
$code = $args[0];

View file

@ -8,8 +8,8 @@
*/
/** This is a command line script */
require_once('commandLine.inc');
require_once('languages.inc');
require_once(dirname(__FILE__).'/../commandLine.inc');
require_once(dirname(__FILE__).'/languages.inc');
define('ALL_LANGUAGES', true);
define('XGETTEXT_BIN', 'xgettext');

View file

@ -5,8 +5,8 @@
*/
/** This is a command line script */
require_once('commandLine.inc');
require_once('languages.inc');
require_once(dirname(__FILE__).'/../commandLine.inc');
require_once(dirname(__FILE__).'/languages.inc');
$langtool = new languages();

View file

@ -7,7 +7,7 @@
* Also need to rewrite the wfMsg system / message-cache.
*/
include('commandLine.inc');
include(dirname(__FILE__).'/../commandLine.inc');
?>

View file

@ -6,7 +6,7 @@
* @subpackage Maintenance
*/
require_once('commandLine.inc');
require_once(dirname(__FILE__).'/../commandLine.inc');
if ( isset( $args[0] ) ) {
$code = $args[0];