From b9acd5cbc381f5c8e86e24b960e469b4402061cb Mon Sep 17 00:00:00 2001 From: Catrope Date: Wed, 20 Jun 2012 20:04:38 -0700 Subject: [PATCH] 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 0e0d9fbb5060a91dd8ddd343f8ec2eca873d01fd. Change-Id: Iba69ee62432d8e5f489ee31d9280961a90b79c20 --- api/ParserService.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/ParserService.js b/api/ParserService.js index 7adc21a506..c4bc988ca4 100644 --- a/api/ParserService.js +++ b/api/ParserService.js @@ -50,10 +50,6 @@ env.addInterwiki( 'mw', 'http://www.mediawiki.org/w' ); // For development: //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 parser = parserPipelineFactory.makePipeline( 'text/x-mediawiki/full' );