mediawiki-extensions-Visual.../api/localsettings.js.example
Amir E. Aharoni 5ebc592e98 Make an example localsettings.js file.
The current installation instructions suggest reading ParserService.js
to create localsettings.js. Adding this example file should make
the installation a bit easier - the user will simply have to copy
the example file to the target name and edit it.

Also fixed the line ending in the .gitignore entry for localsettings.js.

Change-Id: Ia4f16ac636cbd3473837f439c699e5e3e9950e9e
2012-07-21 13:43:18 +03:00

14 lines
360 B
Plaintext

/*
* This is a sample configuration file.
*
* Copy this file to localsettings.js.
* Edit that file and change the URL below to your needs.
*
* See also the file ParserService.js for more information.
*/
exports.setup = function( config, env ) {
config.defaultInterwiki = 'localhost';
env.addInterwiki( 'localhost', 'http://localhost/mediawiki' );
};