Revert "Added localhost to available sources and made it default"

We need to keep master deployable, and obviously this won't deploy
right. For now you'll need to keep a local hack in your own Parsoid, and
later we should have a settings file.

This was also breaking people's dev installs because not everyone uses
http://localhost/mediawiki

This reverts commit 0e0d9fbb50.

Change-Id: Iba69ee62432d8e5f489ee31d9280961a90b79c20
This commit is contained in:
Catrope 2012-06-20 20:04:38 -07:00
parent a9d62184ed
commit b9acd5cbc3

View file

@ -50,10 +50,6 @@ env.addInterwiki( 'mw', 'http://www.mediawiki.org/w' );
// For development: // For development:
//env.addInterwiki( 'localhost', 'http://localhost/w' ); //env.addInterwiki( 'localhost', 'http://localhost/w' );
// add localhost and make it the default
env.addInterwiki( 'localhost', 'http://localhost/mediawiki' );
defaultInterwiki = 'localhost';
var parserPipelineFactory = new ParserPipelineFactory( env ); var parserPipelineFactory = new ParserPipelineFactory( env );
//var parser = parserPipelineFactory.makePipeline( 'text/x-mediawiki/full' ); //var parser = parserPipelineFactory.makePipeline( 'text/x-mediawiki/full' );