MediaWiki:Common.js/addin-mooc-config.js

/** * This JS file is part of the MOOC Addin (https://en.wikiversity.org/wiki/Mooc-Module). * * @author Sebastian Schlicht (https://en.wikiversity.org/wiki/User:Sebschlicht) * @author René Pickhardt (http://www.rene-pickhardt.de/) * * This JS code holds configuration parameters for the MOOC interface addin. * When ported to another MediaWiki instance this code can be changed if necessary for the addin to work correctly. */ /* necessary to avoid interpretation of special character sequences such as signations */ // AddinMooc_CONFIG.set('LOG_LEVEL', 0);// -1: off, 0: debug, 1: production AddinMooc_CONFIG.set('MW_ROOT_URL', 'https://en.wikiversity.org/w/index.php'); AddinMooc_CONFIG.set('MW_API_URL', 'https://en.wikiversity.org/w/api.php'); AddinMooc_CONFIG.set('MW_NAMESPACE_TALK', 'Talk'); AddinMooc_CONFIG.set('MW_NAMESPACE_USER', 'User'); AddinMooc_CONFIG.set('MW_PAGE_CONTRIBUTIONS', 'Special:Contributions'); AddinMooc_CONFIG.set('UI_THREAD_COLLAPSED_NUMCHARACTERS', 100); AddinMooc_CONFIG.set('UI_SECTION_COLLAPSED_HEIGHT', 40); AddinMooc_CONFIG.set('USER_AGENT_EMAIL', 'sebschlicht@uni-koblenz.de'); AddinMooc_CONFIG.set('USER_AGENT_NAME', 'MOOC-JS'); AddinMooc_CONFIG.set('USER_AGENT_URL', 'https://en.wikiversity.org/wiki/User:Sebschlicht'); AddinMooc_CONFIG.LOADED += 1; //