mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
5ebc592e98
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
14 lines
360 B
Plaintext
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' );
|
|
};
|