Localisation updates for core and extension messages from translatewiki.net (2009...
[lhc/web/wiklou.git] / js2 / apiProxyPage.js
index 0619e4a..79590cc 100644 (file)
@@ -1,22 +1,26 @@
 /*
 * mwProxy js2 page system.
 *
-* invokes the apiProxy system 
+* Invokes the apiProxy system 
 */
 
 /*
- * since this is proxy server set a pre-append debug flag to know which debug msgs are coming from where
+ * Since this is proxy server set a pre-append debug flag to know which debug msgs are coming from where
  */
+$mw.conf['debug_pre'] = 'Proxy';
 if( !mwApiProxyConfig )
        var mwApiProxyConfig = {};
 
-//The default mwApiProxyConfig config 
-//(presently hard coded but should read from user and site config)  
+// The default mwApiProxyConfig config 
+// (presently hard coded but should read from user and site config)  
 var mwApiProxyDefaultConfig = {
                'master_whitelist'      : [  'en.wikipedia.org', 'localhost', '127.1.1.100' ],
                'master_blacklist'      : []                                    
 };
-//user_white_list should also be checked and configured at runtime.
+
+// User white_list should also be checked and configured at runtime.
 js2AddOnloadHook( function() {                         
        //build our configuration from the default and mwApiProxyConfig vars
        mwApiProxyConfig = $j.extend(true, mwApiProxyDefaultConfig,  mwApiProxyConfig);