function.gzinflate]: data error in /var/www/localhost/htdocs/mediawiki/includes/Revision.php on line 65). Then could no longer edit, got error message. Had to use maintenace/nukePage.php. ## hard to back out of, test carefully on a single unimportant page before exposing generally # cache # ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` # - http://www.mediawiki.org/wiki/Manual:Cache # - http://meta.wikimedia.org/wiki/MediaWiki_FAQ see 'purge' # for programmatic clearing of cache # - http://www.mediawiki.org/wiki/Extension:Semantic_Calendar#The_caching_issue # - http://www.mediawiki.org/wiki/Extension:MagicNoCache # $wgEnableSidebarCache = true; # $wgLocalMessageCache = "$IP/cache/message"; # $wgRevisionCacheExpiry = 3*24*3600; # default 0 = disabled $wgMemCachedServers = array(); # $wgMainCacheType = CACHE_ACCEL; # general objects, default CACHE_NONE # $wgMessageCacheType = CACHE_NONE; # messages, default CACHE_ANYTHING # $wgMessageCacheType = CACHE_ACCEL; # $wgParserCacheType = CACHE_ACCEL; # parser objects, default CACHE_ANYTHING ### workaround for https://bugzilla.wikimedia.org/show_bug.cgi?id=38809 : # $wgParserCacheType = CACHE_NONE; # $wgParserCacheExpireTime = 1*3600; # default 24 hours (24*3600) ### or disable it, so semantic queries {{#ask/show}} always reflect latest property changes: # $wgParserCacheType = CACHE_NONE; # - http://meta.wikimedia.org/wiki/Help:Preferences#Misc_settings # 'Disable page caching' is not working for semantic properties # (parser cache), at least not on referata.com # cache, file # ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` # $wgUseFileCache = true; # $wgFileCacheDirectory = "$IP/cache/file"; # Titling # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $wgRestrictDisplayTitle = false; # Allow any title with {{DISPLAYTITLE:NEW TITLE}}, even if it does not map to the # URL-based title. ##### E x t e n s i o n s ################################################################ # If there is no proper download link for an extension, then look here: # http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FOO/RELEASE-NOTES # Then set 'pathrev' below and download the files individually: # http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FOO/?pathrev=REV # http://www.mediawiki.org/wiki/Extension:BoilerplateSelection # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # require_once "$IP/extensions/Boilerplateselection.php"; # # Patched where marked MCA. This old extension clobbers the 'preload' parameter. # # http://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text # # # # At some point we'll have to either: # # - fix it # # - replace it with a better preload extension, # # | http://www.mediawiki.org/wiki/Extension:BoilerRoom # # | http://www.mediawiki.org/wiki/Extension:Preloader # # - replace it with MyDraft # # - http://reluk.ca/project/votorola/_/javadoc/votorola/a/position/WP_MyDraft.html # # - it can test for the existence of the draft and, if the user chooses, # # generate the appropriate 'preload' parameter # # - drawback: it might be bypassed, as it isn't a catch-all solution # # like the built-in preloaders # # global $wgBoilerPlateAry; # # Matches against page title without namespace, per {{PAGENAME}}. So it is # # currently patched, restricting it to the User namespace. # # $wgBoilerPlateAry = array( # # '!^[^/]+[ _\-][^/.]+[A-Z][^/.]*/[^a-z].*/[A-Za-z_][A-Za-z0-9_.\-]*$!' => 'New_position_preload', # ## wrong ^^^^^^^^^ this can be numeric, or any legal character (only first character is restricted) # '!^[^/]+[ _\-][^/.]+[A-Z][^/.]*/[^a-z].*/[A-Za-z0-9_.\-]+$!' => 'New_position_preload', # # Mike - Zelea C om / Tor/p / grfin # # USERNAME / AREA * / LAST OF POLL NAME # # This will also work (as is) a single-area pollwiki, provided all poll pages are # # subpages. Otherwise, it may be modified. # # '!^[^/]+[ _\-][^/.]+[A-Z][^/.]*$!' => 'New_user_preload' ); # # Mike - Zelea C om # # # An alternative to this extension might be to test if the position page exists and # # then, if not, link to it using the standard MediaWiki 'preload' parameter. But # # this would require that the page existence tests of the ParserFunctions extension # # work on Special:MyPage subpages, which they do not. # ## too troublesome, it preloads during edit "Show changes" (19.2). archived in ._/ # http://www.mediawiki.org/wiki/Extension:Cite/Cite.php v.ba162a9 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/Cite/Cite.php"; # extensions/Cite/Cite_body.php patched where marked MCA # # tags cannot be placed in parser functions ('if' etc), nor can parser # functions or template parameters be placed in tags (~2009 version). # http://www.mediawiki.org/wiki/Extension:ConfirmEdit (bundled w/ 1.18+) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php"; # defined in ConfirmEdit.php: $wgGroupPermissions['*' ]['skipcaptcha'] = false; # the no-group $wgGroupPermissions['user' ]['skipcaptcha'] = true; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false; # that would be everyone, new users are currently autoconfirmed immediately $wgGroupPermissions['bot' ]['skipcaptcha'] = true; # registered bots $wgGroupPermissions['sysop' ]['skipcaptcha'] = true; $wgGroupPermissions['bureaucrat' ]['skipcaptcha'] = true; $wgCaptchaTriggers['edit'] = true; # on edit $wgCaptchaTriggers['create'] = true; # on page creation $wgCaptchaTriggers['addurl'] = true; # on edits that add an external URL $wgCaptchaTriggers['createaccount'] = true; # on Special:Userlogin&type=signup $wgCaptchaTriggers['badlogin'] = true; # on Special:Userlogin after failure require_once "$IP/extensions/ConfirmEdit/QuestyCaptcha.php"; $wgCaptchaClass = 'QuestyCaptcha'; # http://www.mediawiki.org/wiki/Extension:CSS v. 4a8e9a5 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/CSS/CSS.php"; # http://www.mediawiki.org/wiki/Extension:Gadgets (bundled w/ ?1.18+) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/Gadgets/Gadgets.php"; # http://www.mediawiki.org/wiki/Extension:ImageMap v.53c3289 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/ImageMap/ImageMap.php"; # http://www.mediawiki.org/wiki/Extension:MagicNoCache v.1.2.1 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/MagicNoCache/MagicNoCache.php"; # http://reluk.ca/project/MailishUsername/ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/MailishUsername/Extension.php"; # http://www.mediawiki.org/wiki/Extension:ParserFunctions (bundled w/ 1.18+) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/ParserFunctions/ParserFunctions.php"; # PHP must be compiled with 'ctype' else functions 'expr' and 'ifexpr' may fail with # "Call to undefined function ctype_alpha()". # http://www.mediawiki.org/wiki/Extension:RegexFunctions v.9e2b7ee # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/RegexFunctions/RegexFunctions.php"; $wgRegexFunctionsPerPage = 50; # was getting failures at default (10) # http://www.mediawiki.org/wiki/Extension:Renameuser v.b7b5c2a # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/Renameuser/SpecialRenameuser.php"; # http://www.mediawiki.org/wiki/Extension:Replace_Text v.g64f54a # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/ReplaceText/ReplaceText.php"; $wgGroupPermissions['sysop']['replacetext'] = true; # https://www.mediawiki.org/wiki/Extension:Scribunto v.b5015a2 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # WikiMedia has taken this path for their string functions, so I follow them. # https://bugzilla.wikimedia.org/show_bug.cgi?id=6455 # https://bugzilla.wikimedia.org/show_bug.cgi?id=26092 # require_once "$IP/extensions/Scribunto/Scribunto.php"; $wgScribuntoDefaultEngine = 'luastandalone'; # OPT speed by using sandbox instead # $wgScribuntoEngineConf['luastandalone']['errorFile'] = '/var/log/MediaWiki-Scribunto.txt'; ### too noisy, at least in script debug console; uncomment when troubleshooting installation # $wgScribuntoEngineConf['luastandalone']['luaPath'] = "$IP/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua"; ### that seems to be the default # http://semantic-mediawiki.org/ v.1.8.0.5 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # http://www.mediawiki.org/wiki/Extension:Validator (bundled with Semantic MediaWiki) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/Validator/Validator.php"; include_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php"; # extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php # patched where marked MCA enableSemantics( 'reluk.ca' ); # $smwgPDefaultType = '_txt'; # instead of factory default '_wpg', meaning 'page' ## wanted ad hoc (pageless) properties to appear as text, but queries fail silently # $smwgQEnabled = false; # the default value is true # temporarily set to false when an SMW bug prevents a maintenance script from running # http://wikimedia.7.x6.nabble.com/Embedding-an-ask-query-td563478.html $smwgQMaxSize = 14; # 12 is default | 14 for Stuff:Designs for broad-based decision guidance # $smwgShowFactbox = SMW_FACTBOX_NONEMPTY; ### unreliable owing to bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=38809 ### and this is nuisance: /home/vdev/votorola/web/wiki/._/factboxPopper/pollwiki.js $smwgShowFactboxEdit = SMW_FACTBOX_NONEMPTY; $smwStrictComparators = true; $smwgNamespacesWithSemanticLinks = array ( NS_MAIN => true, NS_TALK => false, NS_USER => true, NS_USER_TALK => false, NS_PROJECT => true, NS_PROJECT_TALK => false, NS_IMAGE => true, NS_IMAGE_TALK => false, NS_MEDIAWIKI => false, NS_MEDIAWIKI_TALK => false, NS_TEMPLATE => false, NS_TEMPLATE_TALK => false, NS_HELP => true, NS_HELP_TALK => false, NS_CATEGORY => true, NS_CATEGORY_TALK => false, SMW_NS_PROPERTY => true, SMW_NS_PROPERTY_TALK => false, SMW_NS_TYPE => true, SMW_NS_TYPE_TALK => false, SMW_NS_CONCEPT => true, SMW_NS_CONCEPT_TALK => false, NS_STUFF => true, NS_STUFF_TALK => false, ); # http://www.mediawiki.org/wiki/Extension:SimpleAntiSpam (removed) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # require_once "$IP/extensions/SimpleAntiSpam/SimpleAntiSpam.php"; # http://www.mediawiki.org/wiki/Extension:SpamBlacklist (removed) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # See "spam protections" above. List is MediaWiki:Spam-blacklist; # may use blanket '.' rule (top) to disallow all external URLs period. # require_once "$IP/extensions/SpamBlacklist/SpamBlacklist.php"; # $wgSpamBlacklistFiles = array # ( # # 'http://havoc.reluk.ca/w/MediaWiki:Spam-blacklist', # local (implicit) # 'http://en.wikipedia.org/wiki/MediaWiki:Spam-blacklist', # well maintained list # 'http://meta.wikimedia.org/wiki/Spam_blacklist', # default list # # 'http://metagovernment.org/wiki/MediaWiki:Spam-blacklist' # neighbouring wiki # ### has temporarily disallowed all external URLs # ); # http://www.mediawiki.org/wiki/Extension:TitleBlacklist (removed) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # require_once "$IP/extensions/TitleBlacklist/TitleBlacklist.php"; # $wgTitleBlacklistSources = array # ( # array # ( # 'type' => TBLSRC_LOCALPAGE, # 'src' => 'MediaWiki:Titleblacklist' # ), # ); ## was testing for Metagov # http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete v.3db22fd # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/UserMerge/UserMerge.php"; $wgGroupPermissions['bureaucrat']['usermerge'] = true; # http://www.mediawiki.org/wiki/Extension:VariablesExtension v.8a5e73f # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - require_once "$IP/extensions/Variables/Variables.php"; ########################################################################################## require_once "$IP/LocalSettingsPrivate2.php";