1 -%> $wgServer = "http://mw-test.lojban.org"; $wgCanonicalServer = "http://mw-test.lojban.org"; <%- else -%> $wgServer = "https://mw.lojban.org"; $wgCanonicalServer = "https://mw.lojban.org"; <%- end -%> ## The relative URL path to the skins directory $wgStylePath = "$wgScriptPath/skins"; ## The relative URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! $wgLogo = "$wgScriptPath/images/148px-redit2_no_uenzi.svg.png"; ## UPO means: this is also a user preference option $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgSMTP = array( 'host' => "mail.lojban.org", // could also be an IP address. Where the SMTP server is located 'IDHost' => "lojban.org", // Generally this will be the domain name of your website (aka mywiki.org) 'port' => 25, // Port to use when connecting to the SMTP server 'auth' => false, // Should we use SMTP authentication (true or false) 'username' => "", // Username to use for SMTP authentication (if being used) 'password' => "" // Password to use for SMTP authentication (if being used) ); $wgEmergencyContact = "webmaster@lojban.org"; $wgPasswordSender = "webmaster@lojban.org"; $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; # See run_database.sh for why we're talking to jukni $wgDBserver = "jukni:11036"; # Not 'localhost'; that will try to do a socket connection, instead of TCP # FIXME: ^^ # $wgDBserver = "jukni:<%= test ? 11037 : 11036 %>"; # Not 'localhost'; that will try to do a socket connection, instead of TCP $wgDBname = "mediawiki"; $wgDBuser = "root"; $wgDBpassword = "<%= File.read('DO_NOT_CHECK_IN/mysql_password.txt').chomp %>"; # MySQL specific settings $wgDBprefix = ""; # MySQL table options to use during installation or update $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; # Experimental charset support for MySQL 5.0. $wgDBmysql5 = true; ## Shared memory settings $wgMainCacheType = CACHE_ANYTHING; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = true; ## If you use ImageMagick (or any other shell command) on a ## Linux server, this will need to be set to the name of an ## available UTF-8 locale $wgShellLocale = "en_US.utf8"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: #$wgHashedUploadDirectory = false; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. ## $wgCacheDirectory = "$IP/cache"; # Site language code, should be one of the list in ./languages/Names.php $wgLanguageCode = "en"; $wgSecretKey = "<%= File.read('DO_NOT_CHECK_IN/wgsecret_password.txt').chomp %>"; # Site upgrade key. Must be set to a string (default provided) to turn on the # web installer while LocalSettings.php is in place $wgUpgradeKey = false; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector': $wgDefaultSkin = "vector"; ## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = ""; # Path to the GNU diff3 utility. Used for conflict resolution. $wgDiff3 = "/usr/bin/diff3"; # Query string length limit for ResourceLoader. You should only set this if # your web server has a query string length limit (then set it to that limit), # or if you have suhosin.get.max_value_length set in php.ini (then set it to # that value) $wgResourceLoaderMaxQueryLength = -1; # End of automatically generated settings. # Add more configuration options below. # ============================================= # ============================================= #GENERAL PATCHES //$wgAllowUserJs = true;//allows WikEd for all users, probably useless for wikEd since it's already enabled from Common.js $wgCompressRevisions=true;//compress the database $wgMaxArticleSize=10000;//CLL and ELG are large texts. We need them on on a single page //require_once "$IP/extensions/NativeSvgHandler/NativeSvgHandler.php"; //$wgParserCacheType = CACHE_NONE; $wgExternalLinkTarget = '_blank';//in order to open external links in a new window / tab. $wgDefaultUserOptions['watchdefault'] = 1; #GUI PAGE ELEMENTS $wgFavicon = "/extensions/LojbanFavicon.ico"; // DISABLED PER https://github.com/lojban/lmw/issues/1 // require_once( "$IP/extensions/LogoFunctions/LogoFunctions.php" );//you can change the logo $wgUsePathInfo = true; # Enable use of pretty URLs $wgCapitalLinks = false; $wgCapitalLinkOverrides [NS_TEMPLATE] = true; $wgCapitalLinkOverrides [828] = true; //$wgFooterIcons = array();//removes icons in the footer ##Combating bulky interface for non-logged-in users //$wgDefaultUserOptions ['editsection'] = false;//hide the section edit links for users who are not logged in ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## ##Sidebar customizations ## require_once( "$IP/extensions/CustomNavBlocks/CustomNavBlocks.php" ); ## $wgCustomNavBlocksEnable = true; // DISABLED PER https://github.com/lojban/lmw/issues/1 //require_once("$IP/extensions/CSS/CSS.php"); ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## # Skins. Mobile devices optimization: ## require_once "$IP/skins/Metrolook/Metrolook.php"; ## // $wgDefaultUserOptions['skinmetrolook-collapsiblenav'] = 0; ## $wgMetrolookFeatures = array( 'collapsiblenav' => array('global' => false, 'user' => false ), ); ## //$wgValidSkinNames['metrolook'] = 'Metrolook'; ## //$SearchBar = false; ## $wgMetrolookLogo = false; ## $wgMetrolookUploadButton = false; ## $wgMetrolookDownArrow = false; ## $wgMetrolookLine = false; ## /* ## $wgMetrolookBartile = false; ## $wgMetrolookMobile = false; ## */ ## $DownArrow = false; ## $Logoshow = false; ## $UploadButton = false; ## $Line = false; // Vector skin wfLoadSkin( 'Vector' ); $wgVectorUseSimpleSearch = true; $wgVectorUseIconWatch = true; // DISABLED PER https://github.com/lojban/lmw/issues/1 //require_once "$IP/skins/Vector/Vector.php"; //$wgVectorFeatures['collapsiblenav']['global'] = false; //Allow users to enable CollapsibleNav in their preferences. //$wgVectorFeatures['collapsiblenav']['user'] = true; //$wgVectorFeatures['collapsibletabs']['global'] = true; ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## require_once "$IP/extensions/WikiArticleFeeds/WikiArticleFeeds.php"; ## require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; // No longer works with MW 1.28 - rlpowell //require_once "$IP/extensions/Mantle/Mantle.php"; $wgMFAutodetectMobileView = true; #CACHE.PERFOMANCE $wgUseFileCache = false;//advise: better to set to false otherwise mobilefrontend is not reliablw $wgFileCacheDirectory = "$IP/cache"; $wgShowIPinHeader = false; $wgEnableSidebarCache=true; $wgUseGzip = true; $wgDisableCounters = true;//Note: If you’re using caching, keeping counters on will not be of use anyway because in most cases the requested page will delivered to the users from cache and database update will not take place. //$wgMiserMode = true; //better to keep it false #SYNTAX EXTENDED //require_once( "$IP/extensions/Poem/Poem.php" ); wfLoadExtension( 'Cite' ); wfLoadExtension( 'ParserFunctions' ); $wgPFEnableStringFunctions = true; wfLoadExtension( 'Variables' ); wfLoadExtension( 'Scribunto' ); $wgScribuntoDefaultEngine = 'luastandalone'; ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## wfLoadExtension( 'DynamicPageList' ); ## // require_once("$IP/extensions/SimpleTable/SimpleTable.php");//only version 1.2 (not later!!!) works ## //enableSemantics('mw<%= test %>.lojban.org'); ## //include_once( "$IP/extensions/SemanticForms/SemanticForms.php" ); ## require_once "$IP/extensions/SimpleMathJax/SimpleMathJax.php"; ## #$wgSimpleMathJaxSize = 120; ## /** There is a bug in Extension:MathJax with MediaWiki 1.19.0, 1.20.0 and 1.21.1 ## * If you are using any form of PHP caching on your wiki and you have setup ## * your wiki to use variable caching like $wgMainCacheType = CACHE_ACCEL; ## * you could encounter issues with rendering of formulas. ## * If so uncomment the last line. ## */ # Robin's server alias ///combat alias mw.lojban.org that made you think you loggined from Robin's server $wgUsePrivateIPs = true; $wgSquidServersNoPurge = array( '173.13.139.233', '192.168.123.132', '173.13.139.235' ); ///end combat mw.lojban.org # UPLOADING $wgUseSharedUploads = true; //trying to allow images from Wikimedia (instantcommons) $wgAllowJavaUploads = true; // allows uploading if "This file did not pass file verification" $wgAllowExternalImages = true; $wgAllowImageMoving = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgImageMagickTempDir = '/srv/mediawiki/cache'; $wgMaxShellMemory = 1048576; # allow more file types: # trying to get pdfs to work ## $wgMimeDetectorCommand = "file -bi"; ini_set( 'memory_limit', '364M' ); $wgUploadSizeWarning = true; $wgAllowCopyUploads = true; ////// EXTREMELY IMPORTNAT FOR UTL UPLOADING $wgVerifyMimeType = false; $wgCheckFileExtensions = false; $wgStrictFileExtensions = false; // lets allow all extensions $wgFileExtensions[] = array( 'webp','sip', 'png', 'gif', 'jpg', 'jpeg', 'bmp', 'svg','pdf','djvu','djv','doc','mp3','swf','chm','diff','docx', 'ttf' ); $wgFileBlacklist = array(); $wgMimeTypeBlacklist= array(); $wgDisableUploadScriptChecks = true; $wgEnableUploads= true; $wgGenerateThumbnailOnParse = true;//if false you will break thumbs $wgUploadDirectory = $IP . '/images/'; ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## require_once("$IP/extensions/UploadLocal/UploadLocal.php"); ## $wgUploadLocalDirectory = $IP . '/files'; # NEWS wfLoadExtension( 'RSS' ); $wgRSSUrlWhitelist = array( '*' ); $wgRSSAllowLinkTag=true; // No longer works with MW 1.28 - rlpowell // require_once( "$IP/extensions/RandomText/random.php" ); //require_once("$IP/extensions/News/News.php"); // DISABLED PER https://github.com/lojban/lmw/issues/1 //require_once( 'extensions/Wikilog/Wikilog.php' ); //Wikilog::setupBlogNamespace( 100 ); # FORUM // DISABLED PER https://github.com/lojban/lmw/issues/1 //annotating. Try to emulate Google Docs commenting here using various extensions: //require_once("$IP/extensions/Annotator/Annotator.php"); //require_once("$IP/extensions/WikiForum/WikiForum.php"); //$wgWikiForumAllowAnonymous=true; //$wgGroupPermissions['*']['wikiforum-moderator'] = false; //$wgGroupPermissions['*']['wikiforum-admin'] = false; //$wgGroupPermissions['user']['wikiforum-moderator'] = true; ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## require_once("$IP/extensions/SocialProfile/SocialProfile.php"); ## $wgUserProfileDisplay['friends'] = true; ## $wgUserProfileDisplay['foes'] = true; ## $wgUserBoard = true; ## $wgUserProfileDisplay['board'] = true; ## $wgUserProfileDisplay['stats'] = true; ## $wgFriendingEnabled = true; ##Flow /* * If index rebuilds fail, uncomment this: * require_once "$IP/extensions/Flow/Flow.php"; */ /* require_once "$IP/extensions/Echo/Echo.php"; require_once "$IP/extensions/Thanks/Thanks.php"; $wgFlowContentFormat = 'html'; $wgFlowEditorList = array( 'visualeditor', 'none' ); $wgFlowOccupyPages = array ( ); $wgFlowOccupyNamespaces = array( ); $wgFlowOccupyPages = array ( 'Talk:Main Page', 'Mywiki talk:WikiProject Flow', 'Talk:Flow QA' ); $wgFlowOccupyNamespaces = array( NS_USER_TALK ); */ ##WEBCHAT // DISABLED PER https://github.com/lojban/lmw/issues/1 // require_once("$IP/extensions/WebChat/WebChat.php"); // IRC Server to connect to, not required when using the freenodeChat web client. // $wgWebChatServer = 'irc.freenode.net'; // Channel to connect to. // $wgWebChatChannel = '#jbosnu,#ckule,#lojban'; // Which web chat client to use, 'freenodeChat' is required when connecting to freenode, // but 'Mibbit' can be used for other networks. // $wgWebChatClient = 'freenodeChat'; #Editor //require_once( "$IP/extensions/CharInsert/CharInsert.php" ); ## VisualEditor + Parsoid: # require_once("$IP/extensions/VisualEditor/VisualEditor.php"); // By default, VE is only enabled in NS_MAIN # $wgVisualEditorNamespaces = array( NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_IMAGE, NS_CATEGORY); // Enable by default for everybody # $wgDefaultUserOptions['visualeditor-enable'] = 1; // Don't allow users to disable it # $wgHiddenPrefs[] = 'visualeditor-enable'; // OPTIONAL: Enable VisualEditor's experimental code features //$wgVisualEditorEnableExperimentalCode = true; // URL to the Parsoid instance // MUST NOT end in a slash due to Parsoid bug # $wgVisualEditorParsoidURL = 'http://localhost:9999'; // Interwiki prefix to pass to the Parsoid instance // Parsoid will be called as $url/$prefix/$pagename # $wgVisualEditorParsoidPrefix = 'localhost'; // List of skins VisualEditor integration supports # $wgVisualEditorSupportedSkins = array( 'vector', 'apex', 'monobook', 'minerva', 'metrolook' ); // Whether to enable the (experimental for now) TOC widget # $wgVisualEditorEnableTocWidget = false; // Whether to show the "welcome to the beta" dialog the first time a user uses VisualEditor # $wgVisualEditorShowBetaWelcome = false; #SEARCH //require_once( "$IP/extensions/OpenSearchXml/OpenSearchXml.php" ); #Set default searching $wgNamespacesToBeSearchedDefault = array( NS_MAIN => true, NS_TALK => true, NS_USER => true, NS_USER_TALK => true, NS_PROJECT => false, NS_PROJECT_TALK => false, NS_FILE => true, NS_FILE_TALK => true, NS_MEDIAWIKI => false, NS_MEDIAWIKI_TALK => false, NS_TEMPLATE => false, NS_TEMPLATE_TALK => false, NS_HELP => false, NS_HELP_TALK => false, NS_CATEGORY => true, NS_CATEGORY_TALK => true ); ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## # PAGE MANAGEMENT ## ini_set( 'max_input_vars', 3000);//for ReplaceText ## require_once( "$IP/extensions/ReplaceText/ReplaceText.php" ); ## //require_once ( "$IP/extensions/MassEditRegex/MassEditRegex.php" ); ## //$wgGroupPermissions['sysop']['masseditregex'] = true; // Allow administrators to use Special:MassEditRegex ## //$wgGroupPermissions['massedit']['masseditregex'] = true; // Create 'massedit' group where members can use Special:MassEditRegex without being sysops ## //require_once("$IP/extensions/DeleteOldRevisions2/DeleteOldRevisions2.php");//security issues with this extension ## ## // DISABLED PER https://github.com/lojban/lmw/issues/1 ## //require_once("$IP/extensions/DeleteBatch/DeleteBatch.php"); ## ## require_once("$IP/extensions/Renameuser/Renameuser.php"); ## //include_once("$IP/extensions/AdminLinks/AdminLinks.php"); ## //require_once("$IP/extensions/PageAttachment/SetupExtension.php");//Enable it back when it starts to support localisation ## ## ## #WIDGETS ## //$wgRawHtml = true; // very dangerous! please don't add the content unless it's of utter importance ## //require_once( "$IP/extensions/HTMLets/HTMLets.php" ); ## //$wgHTMLetsDirectory = "$IP/htmlets"; ## require_once("$IP/extensions/Widgets/Widgets.php"); ## $wgGroupPermissions['user']['editwidgets'] = true; ## /*require_once( "$IP/extensions/GoogleAdSense/GoogleAdSense.php" ); ## $wgGoogleAdSenseClient = 'ca-pub-1161714373457356'; ## $wgGoogleAdSenseSlot = '7612993623'; ## $wgGoogleAdSenseID = 'First for LMW'; ## $wgGoogleAdSenseAnonOnly = true; ## // Width of the AdSense box, specified in your AdSense account ## $wgGoogleAdSenseWidth = 120; ## // Height of the AdSense box, specified in your AdSense account ## $wgGoogleAdSenseHeight = 600; ## */ // Needed for MobileFrontend $wgMFDefaultSkinClass = 'SkinVector'; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['*']['create'] = false; $wgGroupPermissions['user']['create'] = true; $wgGroupPermissions['sysop']['create'] = true; ##confirm account: require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php"; $wgGroupPermissions['user']['createaccount'] = true; $wgConfirmAccountContact = 'thelogicallanguagegroup@gmail.com'; $wgGroupPermissions['bureaucrat']['confirmaccount-notify'] = true; $wgMakeUserPageFromBio = false; $wgAutoWelcomeNewUsers = false; $wgConfirmAccountRequestFormItems = array( 'UserName' => array( 'enabled' => true ), 'RealName' => array( 'enabled' => false ), 'Biography' => array( 'enabled' => false, 'minWords' => 3 ), 'AreasOfInterest' => array( 'enabled' => false ), 'CV' => array( 'enabled' => false ), 'Notes' => array( 'enabled' => true ), 'Links' => array( 'enabled' => false ), 'TermsOfService' => array( 'enabled' => false ), ); ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## ##delete accounts ## wfLoadExtension( 'UserMerge' ); ## // By default nobody can use this function, enable for bureaucrat? ## $wgGroupPermissions['bureaucrat']['usermerge'] = true; ## // optional: default is array( 'sysop' ) ## $wgUserMergeProtectedGroups = array(); #GOOGLE ANALYTICS /*require_once "$IP/extensions/googleAnalytics/googleAnalytics.php"; // Replace xxxxxxx-x with YOUR GoogleAnalytics UA number $wgGoogleAnalyticsAccount = "UA-45171210-1"; // Optional Variables (both default to true) $wgGoogleAnalyticsIgnoreSysops = true; $wgGoogleAnalyticsIgnoreBots = true; //$wgGoogleAnalyticsIgnoreUsers=true;//only for modified extension // If you use AdSense as well and have linked your accounts, set this to true to enable tracking $wgGoogleAnalyticsAddASAC = false;*/ // require_once "$IP/extensions/UniversalAnalyticsIntegration/UniversalAnalyticsIntegration.php"; // Google Universal Analytics account id (e.g. "UA-12345678-1") $wgGoogleAnalyticsAccount = "UA-45171210-1"; // HTML code for other web analytics (can be used along with Google Universal Analytics) $wgGoogleAnalyticsOtherCode = ""; // Do NOT include web analytics code in any pages displayed to sysops (exclude sysops from web analytics). $wgGoogleAnalyticsIgnoreSysops = true; // Do NOT include web analytics code in any pages displayed to bots (exclude bots from web analytics). $wgGoogleAnalyticsIgnoreBots = true; // Do NOT include web analytics code in any pages displayed to any logged in users (exclude all users from web analytics). $wgGoogleAnalyticsIgnoreAllUsers = false; // It is possible to use 'noanalytics' permission to exclude specific groups from web analytics. // Array with NUMERIC namespace IDs where web analytics code should NOT be included. $wgGoogleAnalyticsIgnoreNsIDs = array(); // Array with page names (see magic word {{FULLPAGENAME}}) where web analytics code should NOT be included. $wgGoogleAnalyticsIgnorePages = array(); ##Google Universal Analytics #require_once "$IP/extensions/GoogleTagManager/GoogleTagManager.php"; // Replace GTM-XXXXXX with your Google Tag Manager container ID #$wgGoogleTagManagerContainerID = "GTM-MTCB68"; # EXPORT AS PDF/Word #require_once("$IP/extensions/PdfExport/PdfExport.php"); ## Define only one of the following backends: # PrinceXML #$wgPdfExportPrincePath = '/usr/bin/prince'; // Path to the PrinceXML binary #$wgPdfExportPrincePhpInterface = $IP . '/extensions/PdfExport/prince.php'; // Path to the prince.php file from the prince website. # MWLib #$wgPdfExportMwLibPath = '/usr/local/bin/mw-render'; // Path to the mw-render binary # MPdf #$wgPdfExportMPdf = $IP . '/extensions/PdfExport/mpdf/mpdf.php'; // Path to the main mPDF.php file # DomPDF #$wgPdfExportDomPdfConfigFile = $IP . '/extensions/PdfExport/dompdf/dompdf_config.inc.php'; // Path to the DomPdf config file # HTMLDoc #$wgPdfExportHtmlDocPath = '/usr/local/bin/htmldoc'; /*require_once( "$IP/extensions/Collection/Collection.php" ); $wgCollectionFormats = array( 'rl' => 'PDF', # enabled by default 'odf' => 'ODT', 'docbook' => 'DocBook XML', 'xhtml' => 'XHTML 1.0 Transitional', 'epub' => 'e-book (EPUB)', //'zim' => 'Kiwix (OpenZIM)', ); $wgPdfExportAttach = true; //require_once "$IP/extensions/DocExport/DocExport.php"; $egDocexportCleanHtmlParams = false; include_once("$IP/extensions/DataTransfer/DataTransfer.php"); $wgGroupPermissions['user']['datatransferimport'] = true; */ ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## #MULTILINGUAL WIKI ## $EXT = "$IP/extensions"; ## $wgExtensionAssetsPath = "{$wgScriptPath}/../extensions"; ## require_once( "$EXT/Babel/Babel.php" ); ## ## require_once( "$EXT/cldr/cldr.php" ); ## ## //require_once( "$EXT/CleanChanges/CleanChanges.php" ); ## $wgCCTrailerFilter = true; ## $wgCCUserFilter = false; ## $wgDefaultUserOptions['usenewrc'] = 1; ## ## require_once( "$EXT/LocalisationUpdate/LocalisationUpdate.php" ); ## $wgLocalisationUpdateDirectory = "$IP/cache"; ## ## require_once( "$EXT/Translate/Translate.php" ); ## $wgGroupPermissions['*']['translate'] = true; ## $wgGroupPermissions['*']['translate-messagereview'] = true; ## $wgGroupPermissions['*']['translate-groupreview'] = true; ## $wgGroupPermissions['*']['translate-import'] = true; ## $wgGroupPermissions['*']['pagetranslation'] = true; ## $wgGroupPermissions['*']['translate-manage'] = true; ## $wgTranslateDocumentationLanguageCode = 'qqq'; ## $wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages ## ## require_once( "$EXT/UniversalLanguageSelector/UniversalLanguageSelector.php" ); ## $wgLoginLanguageSelector=true;//must be important for saving the deteced language while tregistering. not tested ## $wgULSGeoService = true; ## $wgULSEnable = true; ## $wgULSAnonCanChangeLanguage = false; ## $wgULSPosition = 'none'; //for autotranslating sidebar elements. I'd suggest simply using Mediaiwki: namespace pages instead. /*$wgTblePageTranslation = true; ranslateCC['wiki-sidebar'] = 'addSidebarMessageGroup'; function addSidebarMessageGroup( $id ) { $mg = new WikiMessageGroup( $id, 'sidebar-messages' ); $mg->setLabel( 'Sidebar' ); $mg->setDescription( 'Messages used in the sidebar of this wiki' ); return $mg; }*/ ## ## REMOVED FOR MW 1.34 UPGRADE 1 Feb 2020 ## ## #QUIZ ## require_once("$IP/extensions/Quiz/Quiz.php"); ## $egMWQuizzerAdmins = array('WikiSysop'); ## //!require_once('extensions/mediawikiquizzer/mediawikiquizzer.php'); ## //!MediaWikiQuizzer::setupNamespace(104); // 104 - ????????? ?????? ???????????? ???? ## #Poll/Voting ## //!require_once "$IP/extensions/AJAXPoll/AJAXPoll.php"; ## //!require_once( "$IP/extensions/SecurePoll/SecurePoll.php" ); ## //require_once( "$IP/extensions/QPoll/qp_user.php" ); ## //!require_once "$IP/extensions/Poll/Poll.php"; ## //require_once("$IP/extensions/BucketVoting/BucketVoting.php"); ## //$wgBucketVoting_admingroup="sysop"; # Debug LMW: /* $wgShowExceptionDetails = true; $wgShowDebug=true; error_reporting( -1 ); ini_set( 'display_errors', 1 ); */ # EmbedVideo #old version: require_once( "$IP/extensions/EmbedVideo/EmbedVideo.php" ); #disabled due to too much client side BS: wfLoadExtension( 'EmbedVideo' ); # NON SORTED, disabled //require_once( "$IP/extensions/FileSystemListing/FileSystemListing.php" ); //require_once("$IP/extensions/DirList/DirList.php");//disabled. Crashes Parsoid!!! //require_once( "$IP/extensions/ArticleComments/ArticleComments.php" ); //require_once( "$IP/extensions/UserAdmin/UserAdmin.php" ); //require_once( "$IP/extensions/Gadgets/Gadgets.php" ); //require_once("$IP/extensions/GraphViz/GraphViz.php"); //require_once( "$IP/extensions/WYSIWYG/WYSIWYG.php" ); //require_once("$IP/extensions/SiteGraph/SiteGraph.php"); $wgShowExceptionDetails = true;