Skip to content
Snippets Groups Projects
Commit 2d8c9e49 authored by Aastha Mehta's avatar Aastha Mehta
Browse files

load parse functions and scribunto extns for correct rendering of pages

parent 05b9a5ed
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true; ...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true;
$wgEnableAPI=1; $wgEnableAPI=1;
$wgEnableWriteAPI=1; $wgEnableWriteAPI=1;
## Database settings ## Database settings
$wgDBtype = "mysql"; $wgDBtype = "mysql";
$wgDBserver = "139.19.171.106"; $wgDBserver = "139.19.171.106";
...@@ -135,8 +136,10 @@ wfLoadSkin( 'Vector' ); ...@@ -135,8 +136,10 @@ wfLoadSkin( 'Vector' );
# End of automatically generated settings. # End of automatically generated settings.
# Add more configuration options below. # Add more configuration options below.
## added by aasthakm -- 24/02/2017 ## added by aasthakm -- 24/02/2017
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'Scribunto' );
#require_once "$IP/extensions/Scribunto/Scribunto.php"; #require_once "$IP/extensions/Scribunto/Scribunto.php";
#$wgScribuntoDefaultEngine = 'luastandalone'; #$wgScribuntoDefaultEngine = 'luastandalone';
#$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua'; #$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';
...@@ -153,7 +156,6 @@ $wgMaxArticleSize = 32 * 1024 * 1024; ...@@ -153,7 +156,6 @@ $wgMaxArticleSize = 32 * 1024 * 1024;
#$wgEnableParserCache = false; #$wgEnableParserCache = false;
#$wgCachePages = false; #$wgCachePages = false;
#$wgShowExceptionDetails=1;
$wgUseFileCache = true; /* default: false */ $wgUseFileCache = true; /* default: false */
#$wgUseFileCache = false; /* default: false */ #$wgUseFileCache = false; /* default: false */
#$wgUseGzip = true; #$wgUseGzip = true;
...@@ -166,7 +168,7 @@ $wgSMEEnabled = 1; ...@@ -166,7 +168,7 @@ $wgSMEEnabled = 1;
$wgSMEStats = 1; $wgSMEStats = 1;
$wgSMEProfiling = 0; $wgSMEProfiling = 0;
$wgSMEEnforcement = 1; $wgSMEEnforcement = 1;
$wgSMEDebug=0; $wgSMEDebug = 0;
$wgSMEDummyIP = "139.19.168.173"; $wgSMEDummyIP = "139.19.168.173";
$wgSMEDummyPort = 2231; $wgSMEDummyPort = 2231;
......
...@@ -133,8 +133,11 @@ wfLoadSkin( 'Vector' ); ...@@ -133,8 +133,11 @@ wfLoadSkin( 'Vector' );
## added by aasthakm -- 24/02/2017 ## added by aasthakm -- 24/02/2017
require_once "$IP/extensions/Scribunto/Scribunto.php"; wfLoadExtension( 'ParserFunctions' );
$wgScribuntoDefaultEngine = 'luastandalone'; wfLoadExtension( 'Scribunto' );
#require_once "$IP/extensions/Scribunto/Scribunto.php";
#$wgScribuntoDefaultEngine = 'luastandalone';
#$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua'; #$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';
## to debug error in lua: importdump sees an exception with an ## to debug error in lua: importdump sees an exception with an
## internal error of 1 from lua ## internal error of 1 from lua
...@@ -160,4 +163,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0; ...@@ -160,4 +163,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0;
$wgSMEEnabled = 1; $wgSMEEnabled = 1;
$wgSMEProfiling = 1; $wgSMEProfiling = 1;
$wgSMEEnforcement = 0; $wgSMEEnforcement = 0;
$wgSMEDebug=1; $wgSMEDebug = 1;
$wgSMEDummyIP = "139.19.168.173";
$wgSMEDummyPort = 2231;
###TODO: disable before experiments
#$wgShowExceptionDetails = 1;
#$wgShowSQLErrors = true;
#$wgDebugDumpSql = true;
#$wgShowDBErrorBacktrace = true;
#$wgDBerrorLog = "/local/sme/mwdberr.log";
##$wgDebugLogFile = "/local/sme/mwdbglog.txt";
...@@ -136,6 +136,9 @@ wfLoadSkin( 'Vector' ); ...@@ -136,6 +136,9 @@ wfLoadSkin( 'Vector' );
# End of automatically generated settings. # End of automatically generated settings.
# Add more configuration options below. # Add more configuration options below.
## added by aasthakm -- 24/02/2017
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'Scribunto' );
## added by aasthakm -- 24/02/2017 ## added by aasthakm -- 24/02/2017
#require_once "$IP/extensions/Scribunto/Scribunto.php"; #require_once "$IP/extensions/Scribunto/Scribunto.php";
...@@ -154,8 +157,8 @@ $wgMaxArticleSize = 32 * 1024 * 1024; ...@@ -154,8 +157,8 @@ $wgMaxArticleSize = 32 * 1024 * 1024;
#$wgEnableParserCache = false; #$wgEnableParserCache = false;
#$wgCachePages = false; #$wgCachePages = false;
#$wgShowExceptionDetails=1;
$wgUseFileCache = true; /* default: false */ $wgUseFileCache = true; /* default: false */
#$wgUseFileCache = false; /* default: false */
#$wgUseGzip = true; #$wgUseGzip = true;
$wgFileCacheDirectory = "$IP/cache"; $wgFileCacheDirectory = "$IP/cache";
$wgJobRunRate=0; $wgJobRunRate=0;
...@@ -165,6 +168,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0; ...@@ -165,6 +168,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0;
$wgSMEEnabled = 1; $wgSMEEnabled = 1;
$wgSMEProfiling = 1; $wgSMEProfiling = 1;
$wgSMEEnforcement = 1; $wgSMEEnforcement = 1;
$wgSMEDebug=1; $wgSMEDebug = 1;
$wgSMEDummyIP = "139.19.168.173"; $wgSMEDummyIP = "139.19.168.173";
$wgSMEDummyPort = 2231; $wgSMEDummyPort = 2231;
###TODO: disable before experiments
#$wgShowExceptionDetails = 1;
#$wgShowSQLErrors = true;
#$wgDebugDumpSql = true;
#$wgShowDBErrorBacktrace = true;
#$wgDBerrorLog = "/local/sme/mwdberr.log";
##$wgDebugLogFile = "/local/sme/mwdbglog.txt";
...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true; ...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true;
$wgEnableAPI=1; $wgEnableAPI=1;
$wgEnableWriteAPI=1; $wgEnableWriteAPI=1;
## Database settings ## Database settings
$wgDBtype = "mysql"; $wgDBtype = "mysql";
$wgDBserver = "139.19.171.106"; $wgDBserver = "139.19.171.106";
...@@ -137,10 +138,12 @@ wfLoadSkin( 'Vector' ); ...@@ -137,10 +138,12 @@ wfLoadSkin( 'Vector' );
# End of automatically generated settings. # End of automatically generated settings.
# Add more configuration options below. # Add more configuration options below.
## added by aasthakm -- 24/02/2017 ## added by aasthakm -- 24/02/2017
require_once "$IP/extensions/Scribunto/Scribunto.php"; wfLoadExtension( 'ParserFunctions' );
$wgScribuntoDefaultEngine = 'luastandalone'; wfLoadExtension( 'Scribunto' );
#require_once "$IP/extensions/Scribunto/Scribunto.php";
#$wgScribuntoDefaultEngine = 'luastandalone';
#$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua'; #$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';
## to debug error in lua: importdump sees an exception with an ## to debug error in lua: importdump sees an exception with an
## internal error of 1 from lua ## internal error of 1 from lua
...@@ -151,13 +154,12 @@ $wgScribuntoDefaultEngine = 'luastandalone'; ...@@ -151,13 +154,12 @@ $wgScribuntoDefaultEngine = 'luastandalone';
$wgMaxUploadSize = 32 * 1024 * 1024; $wgMaxUploadSize = 32 * 1024 * 1024;
$wgMaxArticleSize = 32 * 1024 * 1024; $wgMaxArticleSize = 32 * 1024 * 1024;
## added by alzayat ## added by alzayat
$wgEnableParserCache = false; $wgEnableParserCache = false;
$wgCachePages = false; $wgCachePages = false;
#$wgShowExceptionDetails=1;
#$wgUseFileCache = true; /* default: false */ #$wgUseFileCache = true; /* default: false */
#$wgUseFileCache = false; /* default: false */
#$wgUseGzip = true; #$wgUseGzip = true;
#$wgFileCacheDirectory = "$IP/cache"; #$wgFileCacheDirectory = "$IP/cache";
$wgJobRunRate=0; $wgJobRunRate=0;
...@@ -167,6 +169,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0; ...@@ -167,6 +169,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0;
$wgSMEEnabled = 1; $wgSMEEnabled = 1;
$wgSMEProfiling = 1; $wgSMEProfiling = 1;
$wgSMEEnforcement = 1; $wgSMEEnforcement = 1;
$wgSMEDebug=1; $wgSMEDebug = 1;
$wgSMEDummyIP = "139.19.168.173"; $wgSMEDummyIP = "139.19.168.173";
$wgSMEDummyPort = 2231; $wgSMEDummyPort = 2231;
###TODO: disable before experiments
#$wgShowExceptionDetails = 1;
#$wgShowSQLErrors = true;
#$wgDebugDumpSql = true;
#$wgShowDBErrorBacktrace = true;
#$wgDBerrorLog = "/local/sme/mwdberr.log";
##$wgDebugLogFile = "/local/sme/mwdbglog.txt";
...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true; ...@@ -57,6 +57,7 @@ $wgEmailAuthentication = true;
$wgEnableAPI=1; $wgEnableAPI=1;
$wgEnableWriteAPI=1; $wgEnableWriteAPI=1;
## Database settings ## Database settings
$wgDBtype = "mysql"; $wgDBtype = "mysql";
$wgDBserver = "139.19.171.106"; $wgDBserver = "139.19.171.106";
...@@ -135,10 +136,12 @@ wfLoadSkin( 'Vector' ); ...@@ -135,10 +136,12 @@ wfLoadSkin( 'Vector' );
# End of automatically generated settings. # End of automatically generated settings.
# Add more configuration options below. # Add more configuration options below.
## added by aasthakm -- 24/02/2017 ## added by aasthakm -- 24/02/2017
require_once "$IP/extensions/Scribunto/Scribunto.php"; wfLoadExtension( 'ParserFunctions' );
$wgScribuntoDefaultEngine = 'luastandalone'; wfLoadExtension( 'Scribunto' );
#require_once "$IP/extensions/Scribunto/Scribunto.php";
#$wgScribuntoDefaultEngine = 'luastandalone';
#$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua'; #$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';
## to debug error in lua: importdump sees an exception with an ## to debug error in lua: importdump sees an exception with an
## internal error of 1 from lua ## internal error of 1 from lua
...@@ -149,17 +152,16 @@ $wgScribuntoDefaultEngine = 'luastandalone'; ...@@ -149,17 +152,16 @@ $wgScribuntoDefaultEngine = 'luastandalone';
$wgMaxUploadSize = 32 * 1024 * 1024; $wgMaxUploadSize = 32 * 1024 * 1024;
$wgMaxArticleSize = 32 * 1024 * 1024; $wgMaxArticleSize = 32 * 1024 * 1024;
## added by alzayat ## added by alzayat
#$wgEnableParserCache = false; #$wgEnableParserCache = false;
#$wgCachePages = false; #$wgCachePages = false;
#$wgUseFileCache = true; /* default: false */ #$wgUseFileCache = true; /* default: false */
#$wgUseFileCache = false; /* default: false */
#$wgUseGzip = true; #$wgUseGzip = true;
#$wgFileCacheDirectory = "$IP/cache"; #$wgFileCacheDirectory = "$IP/cache";
# #
#$wgShowExceptionDetails=1;
$wgJobRunRate=0; $wgJobRunRate=0;
$wgInvalidateCacheOnLocalSettingsChange=0; $wgInvalidateCacheOnLocalSettingsChange=0;
...@@ -167,6 +169,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0; ...@@ -167,6 +169,14 @@ $wgInvalidateCacheOnLocalSettingsChange=0;
$wgSMEEnabled = 1; $wgSMEEnabled = 1;
$wgSMEProfiling = 1; $wgSMEProfiling = 1;
$wgSMEEnforcement = 1; $wgSMEEnforcement = 1;
$wgSMEDebug= 1; $wgSMEDebug = 1;
$wgSMEDummyIP = "139.19.168.173"; $wgSMEDummyIP = "139.19.168.173";
$wgSMEDummyPort = 2231; $wgSMEDummyPort = 2231;
###TODO: disable before experiments
#$wgShowExceptionDetails = 1;
#$wgShowSQLErrors = true;
#$wgDebugDumpSql = true;
#$wgShowDBErrorBacktrace = true;
#$wgDBerrorLog = "/local/sme/mwdberr.log";
##$wgDebugLogFile = "/local/sme/mwdbglog.txt";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment