X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FDefaultSettings.php;h=a05259cc7e48a27666b57d3d074c9f12980744d2;hb=f96c0ddd63759054b4b91d08496c7a7910275363;hp=170fd6c1e91d2b4ac74602c1970ed5d339e61224;hpb=95580b06ed29ae539bf9419a6b44cc3b82f72645;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 170fd6c1e9..a05259cc7e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -26,7 +26,6 @@ if( !defined( 'MEDIAWIKI' ) ) { die( 1 ); } - # Create a site configuration object. Not used for much in a default install if ( !defined( 'MW_PHP4' ) ) { require_once( "$IP/includes/SiteConfiguration.php" ); @@ -35,7 +34,7 @@ if ( !defined( 'MW_PHP4' ) ) { /** @endcond */ /** MediaWiki version number */ -$wgVersion = '1.17alpha'; +$wgVersion = '1.18alpha'; /** Name of the site. It must be changed in LocalSettings.php */ $wgSitename = 'MediaWiki'; @@ -73,7 +72,7 @@ $wgServer = $wgProto.'://' . $serverName; # If the port is a non-standard one, add it to the URL if( isset( $_SERVER['SERVER_PORT'] ) && !strpos( $serverName, ':' ) - && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 ) + && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 ) || ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) { $wgServer .= ":" . $_SERVER['SERVER_PORT']; @@ -140,7 +139,6 @@ $wgScript = false; * Defaults to "{$wgScriptPath}/redirect{$wgScriptExtension}". */ $wgRedirectScript = false; ///< defaults to -/**@}*/ /** * The URL path to load.php. @@ -149,6 +147,8 @@ $wgRedirectScript = false; ///< defaults to */ $wgLoadScript = false; +/**@}*/ + /************************************************************************//** * @name URLs and file paths * @@ -258,6 +258,14 @@ $wgTmpDirectory = false; */ $wgUploadBaseUrl = ""; +/** + * To enable remote on-demand scaling, set this to the thumbnail base URL. + * Full thumbnail URL will be like $wgUploadStashScalerBaseUrl/e/e6/Foo.jpg/123px-Foo.jpg + * where 'e6' are the first two characters of the MD5 hash of the file name. + * If $wgUploadStashScalerBaseUrl is set to false, thumbs are rendered locally as needed. + */ +$wgUploadStashScalerBaseUrl = false; + /** * To set 'pretty' URL paths for actions other than * plain page views, add to this array. For instance: @@ -365,8 +373,12 @@ $wgImgAuthPublicTest = true; * - apibase Use for the foreign API's URL * - apiThumbCacheExpiry How long to locally cache thumbs for * - * The default is to initialise these arrays from the MW<1.11 backwards compatible settings: - * $wgUploadPath, $wgThumbnailScriptPath, $wgSharedUploadDirectory, etc. + * If you leave $wgLocalFileRepo set to false, Setup will fill in appropriate values. + * Otherwise, set $wgLocalFileRepo to a repository structure as described above. + * If you set $wgUseInstantCommons to true, it will add an entry for Commons. + * If you set $wgForeignFileRepos to an array of repostory structures, those will + * be searched after the local file repo. + * Otherwise, you will only have access to local media files. */ $wgLocalFileRepo = false; @@ -426,12 +438,24 @@ $wgCacheSharedUploads = true; $wgAllowCopyUploads = false; /** * Allow asynchronous copy uploads. - * This feature is experimental. + * This feature is experimental is broken as of r81612. */ $wgAllowAsyncCopyUploads = false; /** - * Max size for uploads, in bytes. Applies to all uploads. + * Max size for uploads, in bytes. If not set to an array, applies to all + * uploads. If set to an array, per upload type maximums can be set, using the + * file and url keys. If the * key is set this value will be used as maximum + * for non-specified types. + * + * For example: + * $wgUploadSize = array( + * '*' => 250 * 1024, + * 'url' => 500 * 1024, + * ); + * Sets the maximum for all uploads to 250 kB except for upload-by-url, which + * will have a maximum of 500 kB. + * */ $wgMaxUploadSize = 1024*1024*100; # 100MB @@ -496,9 +520,9 @@ $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/File:"; * This is the list of preferred extensions for uploading files. Uploading files * with extensions not in this list will trigger a warning. * - * WARNING: If you add any OpenOffice or Microsoft Office file formats here, - * such as odt or doc, and untrusted users are allowed to upload files, then - * your wiki will be vulnerable to cross-site request forgery (CSRF). + * WARNING: If you add any OpenOffice or Microsoft Office file formats here, + * such as odt or doc, and untrusted users are allowed to upload files, then + * your wiki will be vulnerable to cross-site request forgery (CSRF). */ $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' ); @@ -531,12 +555,19 @@ $wgMimeTypeBlacklist = array( # A ZIP file may be a valid Java archive containing an applet which exploits the # same-origin policy to steal cookies 'application/zip', + # MS Office OpenXML and other Open Package Conventions files are zip files - # and thus blacklisted just as other zip files + # and thus blacklisted just as other zip files. If you remove these entries + # from the blacklist in your local configuration, a malicious file upload + # will be able to compromise the wiki's user accounts, and the user + # accounts of any other website in the same cookie domain. 'application/x-opc+zip', + 'application/msword', + 'application/vnd.ms-powerpoint', + 'application/vnd.msexcel', ); -/** +/** * This is a flag to determine whether or not to check file extensions on upload. * * WARNING: setting this to false is insecure for public wikis. @@ -547,7 +578,7 @@ $wgCheckFileExtensions = true; * If this is turned off, users may override the warning for files not covered * by $wgFileExtensions. * - * WARNING: setting this to false is insecure for public wikis. + * WARNING: setting this to false is insecure for public wikis. */ $wgStrictFileExtensions = true; @@ -886,7 +917,7 @@ $wgThumbLimits = array( * Default parameters for the tag */ $wgGalleryOptions = array ( - 'imagesPerRow' => 4, // Default number of images per-row in the gallery + 'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize 'imageWidth' => 120, // Width of the cells containing images in galleries (in "px") 'imageHeight' => 120, // Height of the cells containing images in galleries (in "px") 'captionLength' => 20, // Length of caption to truncate (in characters) @@ -1005,7 +1036,7 @@ $wgEnableUserEmail = true; * which can cause problems with SPF validation and leak recipient addressses * when bounces are sent to the sender. */ -$wgUserEmailUseReplyTo = true; +$wgUserEmailUseReplyTo = false; /** * Minimum time, in hours, which must elapse between password reminder @@ -1018,6 +1049,11 @@ $wgPasswordReminderResendTime = 24; */ $wgNewPasswordExpiry = 3600 * 24 * 7; +/** + * The time, in seconds, when an email confirmation email expires + */ +$wgUserEmailConfirmationTokenExpiry = 7 * 24 * 60 * 60; + /** * SMTP Mode * For using a direct (authenticated) SMTP server connection. @@ -1035,6 +1071,7 @@ $wgSMTP = false; /** * Additional email parameters, will be passed as the last argument to mail() call. + * If using safe_mode this has no effect */ $wgAdditionalMailParams = null; @@ -1159,8 +1196,6 @@ $wgSQLMode = ''; /** Mediawiki schema */ $wgDBmwschema = 'mediawiki'; -/** Tsearch2 schema */ -$wgDBts2schema = 'public'; /** To override default SQLite data directory ($docroot/../data) */ $wgSQLiteDataDir = ''; @@ -1444,7 +1479,7 @@ $wgCacheDirectory = false; * - CACHE_ANYTHING: Use anything, as long as it works * - CACHE_NONE: Do not cache * - CACHE_DB: Store cache objects in the DB - * - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCacheServers + * - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCachedServers * - CACHE_ACCEL: eAccelerator, APC, XCache or WinCache * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style * database. This is slow, and is not recommended for @@ -1578,7 +1613,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches do not keep obsolete copies of global * styles. */ -$wgStyleVersion = '301'; +$wgStyleVersion = '303'; /** * This will cache static pages for non-logged-in users to reduce @@ -1593,6 +1628,14 @@ $wgUseFileCache = false; */ $wgFileCacheDirectory = false; +/** + * Depth of the subdirectory hierarchy to be created under + * $wgFileCacheDirectory. The subdirectories will be named based on + * the MD5 hash of the title. A value of 0 means all cache files will + * be put directly into the main file cache directory. + */ +$wgFileCacheDepth = 2; + /** * Keep parsed pages in a cache (objectcache table or memcached) * to speed up output of the same page viewed by another user with the @@ -1636,7 +1679,10 @@ $wgSidebarCacheExpiry = 86400; */ $wgUseGzip = false; -/** Whether MediaWiki should send an ETag header */ +/** + * Whether MediaWiki should send an ETag header. Seems to cause + * broken behavior with Squid 2.6, see bug 7098. + */ $wgUseETag = false; /** Clock skew or the one-second resolution of time() can occasionally cause cache @@ -1647,39 +1693,15 @@ $wgUseETag = false; $wgClockSkewFudge = 5; /** - * Maximum time in seconds to cache resources served by the resource loader - */ -$wgResourceLoaderMaxage = array( - 'versioned' => array( - // Squid/Varnish but also any other public proxy cache between the client and MediaWiki - 'server' => 30 * 24 * 60 * 60, // 30 days - // On the client side (e.g. in the browser cache). - 'client' => 30 * 24 * 60 * 60, // 30 days - ), - 'unversioned' => array( - 'server' => 5 * 60, // 5 minutes - 'client' => 5 * 60, // 5 minutes - ), -); - -/** - * Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against - * $wgUser to prevent unauthorized access to private modules. - */ -$wgResourceLoaderInlinePrivateModules = true; - -/** - * The default debug mode (on/off) for of ResourceLoader requests. This will still - * be overridden when the debug URL parameter is used. - */ -$wgResourceLoaderDebug = false; - -/** - * Enable embedding of certain resources using Edge Side Includes. This will - * improve performance but only works if there is something in front of the - * web server (e..g a Squid or Varnish server) configured to process the ESI. + * Invalidate various caches when LocalSettings.php changes. This is equivalent + * to setting $wgCacheEpoch to the modification time of LocalSettings.php, as + * was previously done in the default LocalSettings.php file. + * + * On high-traffic wikis, this should be set to false, to avoid the need to + * check the file modification time, and to avoid the performance impact of + * unnecessary cache invalidations. */ -$wgResourceLoaderUseESI = false; +$wgInvalidateCacheOnLocalSettingsChange = true; /** @} */ # end of cache settings @@ -2265,11 +2287,32 @@ $wgUseSiteCss = true; $wgEnableTooltipsAndAccesskeys = true; /** - * Break out of framesets. This can be used to prevent external sites from - * framing your site with ads. + * Break out of framesets. This can be used to prevent clickjacking attacks, + * or to prevent external sites from framing your site with ads. */ $wgBreakFrames = false; +/** + * The X-Frame-Options header to send on pages sensitive to clickjacking + * attacks, such as edit pages. This prevents those pages from being displayed + * in a frame or iframe. The options are: + * + * - 'DENY': Do not allow framing. This is recommended for most wikis. + * + * - 'SAMEORIGIN': Allow framing by pages on the same domain. This can be used + * to allow framing within a trusted domain. This is insecure if there + * is a page on the same domain which allows framing of arbitrary URLs. + * + * - false: Allow all framing. This opens up the wiki to XSS attacks and thus + * full compromise of local user accounts. Private wikis behind a + * corporate firewall are especially vulnerable. This is not + * recommended. + * + * For extra safety, set $wgBreakFrames = true, to prevent framing on all pages, + * not just edit pages. + */ +$wgEditPageFrameOptions = 'DENY'; + /** * Disable output compression (enabled by default if zlib is available) */ @@ -2286,6 +2329,53 @@ $wgDisableOutputCompression = false; */ $wgExperimentalHtmlIds = true; +/** + * Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code + * You can add new icons to the built in copyright or poweredby, or you can create + * a new block. Though note that you may need to add some custom css to get good styling + * of new blocks in monobook. vector and modern should work without any special css. + * + * $wgFooterIcons itself is a key/value array. + * The key is the name of a block that the icons will be wrapped in. The final id varies + * by skin; Monobook and Vector will turn poweredby into f-poweredbyico while Modern + * turns it into mw_poweredby. + * The value is either key/value array of icons or a string. + * In the key/value array the key may or may not be used by the skin but it can + * be used to find the icon and unset it or change the icon if needed. + * This is useful for disabling icons that are set by extensions. + * The value should be either a string or an array. If it is a string it will be output + * directly as html, however some skins may choose to ignore it. An array is the preferred format + * for the icon, the following keys are used: + * src: An absolute url to the image to use for the icon, this is recommended + * but not required, however some skins will ignore icons without an image + * url: The url to use in the arround the text or icon, if not set an will not be outputted + * alt: This is the text form of the icon, it will be displayed without an image in + * skins like Modern or if src is not set, and will otherwise be used as + * the alt="" for the image. This key is required. + * width and height: If the icon specified by src is not of the standard size + * you can specify the size of image to use with these keys. + * Otherwise they will default to the standard 88x31. + */ +$wgFooterIcons = array( + "copyright" => array( + "copyright" => array(), // placeholder for the built in copyright icon + ), + "poweredby" => array( + "mediawiki" => array( + "src" => null, // Defaults to "$wgStylePath/common/images/poweredby_mediawiki_88x31.png" + "url" => "http://www.mediawiki.org/", + "alt" => "Powered by MediaWiki", + ) + ), +); + +/** + * Login / create account link behavior when it's possible for anonymous users to create an account + * true = use a combined login / create account link + * false = split login and create account into two separate links + */ +$wgUseCombinedLoginLink = true; + /** * Search form behavior for Vector skin only * true = use an icon search button @@ -2318,6 +2408,71 @@ $wgBetterDirectionality = false; /** @} */ # End of output format settings } +/*************************************************************************//** + * @name Resource loader settings + * @{ + */ + +/** + * Client-side resource modules. Extensions should add their module definitions + * here. + * + * Example: + * $wgResourceModules['ext.myExtension'] = array( + * 'scripts' => 'myExtension.js', + * 'styles' => 'myExtension.css', + * 'dependencies' => array( 'jquery.cookie', 'jquery.tabIndex' ), + * 'localBasePath' => dirname( __FILE__ ), + * 'remoteExtPath' => 'MyExtension', + * ); + */ +$wgResourceModules = array(); + +/** + * Maximum time in seconds to cache resources served by the resource loader + */ +$wgResourceLoaderMaxage = array( + 'versioned' => array( + // Squid/Varnish but also any other public proxy cache between the client and MediaWiki + 'server' => 30 * 24 * 60 * 60, // 30 days + // On the client side (e.g. in the browser cache). + 'client' => 30 * 24 * 60 * 60, // 30 days + ), + 'unversioned' => array( + 'server' => 5 * 60, // 5 minutes + 'client' => 5 * 60, // 5 minutes + ), +); + +/** + * Whether to embed private modules inline with HTML output or to bypass + * caching and check the user parameter against $wgUser to prevent + * unauthorized access to private modules. + */ +$wgResourceLoaderInlinePrivateModules = true; + +/** + * The default debug mode (on/off) for of ResourceLoader requests. This will still + * be overridden when the debug URL parameter is used. + */ +$wgResourceLoaderDebug = false; + +/** + * Enable embedding of certain resources using Edge Side Includes. This will + * improve performance but only works if there is something in front of the + * web server (e..g a Squid or Varnish server) configured to process the ESI. + */ +$wgResourceLoaderUseESI = false; + +/** + * Enable removal of some of the vertical whitespace (like \r and \n) from + * JavaScript code when minifying. + */ +$wgResourceLoaderMinifyJSVerticalSpace = false; + +/** @} */ # End of resource loader settings } + + /*************************************************************************//** * @name Page title and interwiki link settings * @{ @@ -2404,8 +2559,15 @@ $wgNamespaceAliases = array(); */ $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+"; -$wgLocalInterwiki = 'w'; -$wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table +/** + * The interwiki prefix of the current wiki, or false if it doesn't have one. + */ +$wgLocalInterwiki = false; + +/** + * Expiry time for cache of interwiki table + */ +$wgInterwikiExpiry = 10800; /** Interwiki caching settings. $wgInterwikiCache specifies path to constant database file @@ -2775,12 +2937,6 @@ $wgMinimalPasswordLength = 1; */ $wgLivePasswordStrengthChecks = false; -/** - * List of weak passwords which shouldn't be allowed. - * The items should be in lowercase. The check is case insensitive. - */ -$wgWeakPasswords = array( 'password', 'passpass', 'passpass1' ); - /** * Maximum number of Unicode characters in signature */ @@ -2973,11 +3129,6 @@ $wgAllowPrefChange = array(); * @since 1.17 */ $wgSecureLogin = false; -/** - * Default for 'use secure login' checkbox - * @since 1.17 - */ -$wgSecureLoginStickHTTPS = false; /** @} */ # end user accounts } @@ -3146,6 +3297,7 @@ $wgGroupPermissions['sysop']['browsearchive'] = true; $wgGroupPermissions['sysop']['noratelimit'] = true; $wgGroupPermissions['sysop']['movefile'] = true; $wgGroupPermissions['sysop']['unblockself'] = true; +$wgGroupPermissions['sysop']['suppressredirect'] = true; #$wgGroupPermissions['sysop']['mergehistory'] = true; // Permission to change users' group assignments @@ -3164,6 +3316,11 @@ $wgGroupPermissions['bureaucrat']['noratelimit'] = true; // For private suppression log access #$wgGroupPermissions['suppress']['suppressionlog'] = true; +// Permission to disable user accounts +// Note that disabling an account is not reversible without a system administrator +// who has direct access to the database +#$wgGroupPermissions['bureaucrat']['disableaccount'] = true; + /** * The developer group is deprecated, but can be activated if need be * to use the 'lockdb' and 'unlockdb' special pages. Those require @@ -3216,8 +3373,10 @@ $wgGroupsRemoveFromSelf = array(); * Set of available actions that can be restricted via action=protect * You probably shouldn't change this. * Translated through restriction-* messages. + * Title::getRestrictionTypes() will remove restrictions that are not + * applicable to a specific title (upload currently) */ -$wgRestrictionTypes = array( 'edit', 'move' ); +$wgRestrictionTypes = array( 'edit', 'move', 'upload' ); /** * Rights which can be required for each protection level (via action=protect) @@ -3446,8 +3605,6 @@ $wgRateLimitsExcludedGroups = array(); /** * Array of IPs which should be excluded from rate limits. * This may be useful for whitelisting NAT gateways for conferences, etc. - * Wiki administrators can add additional IP addresses via - * [[MediaWiki:Ratelimit-excluded-ips]] */ $wgRateLimitsExcludedIPs = array(); @@ -3506,7 +3663,7 @@ $wgProxyKey = false; $wgCookieExpiration = 30*86400; /** - * Set to set an explicit domain on the login cookies eg, "justthis.domain. org" + * Set to set an explicit domain on the login cookies eg, "justthis.domain.org" * or ".any.subdomain.net" */ $wgCookieDomain = ''; @@ -3766,8 +3923,8 @@ $wgUseTrackbacks = false; * Use full paths. */ $wgParserTestFiles = array( - "$IP/maintenance/tests/parser/parserTests.txt", - "$IP/maintenance/tests/parser/ExtraParserTests.txt" + "$IP/tests/parser/parserTests.txt", + "$IP/tests/parser/extraParserTests.txt" ); /** @@ -4028,8 +4185,13 @@ $wgReadOnly = null; $wgReadOnlyFile = false; /** - * If this is set to some string, this opens up config/index.php for upgrades - * when needed. You will need to provide this key to use it + * When you run the web-based upgrade utility, it will tell you what to set + * this to in order to authorize the upgrade process. It will subsequently be + * used as a password, to authorize further upgrades. + * + * For security, do not set this to a guessable string. Use the value supplied + * by the install/upgrade process. To cause the upgrader to generate a new key, + * delete the old key from LocalSettings.php. */ $wgUpgradeKey = false; @@ -4201,7 +4363,10 @@ $wgRightsIcon = null; */ $wgLicenseTerms = false; -/** Set this to some HTML to override the rights icon with an arbitrary logo */ +/** + * Set this to some HTML to override the rights icon with an arbitrary logo + * @deprecated Use $wgFooterIcons['copyright']['copyright'] + */ $wgCopyrightIcon = null; /** Set this to true if you want detailed copyright information forms on Upload. */ @@ -4344,7 +4509,10 @@ $wgParserOutputHooks = array(); /** * List of valid skin names. - * The key should be the name in all lower case, the value should be a display name. + * The key should be the name in all lower case, the value should be a properly + * cased name for the skin. This value will be prefixed with "Skin" to create the + * class name of the skin to load, and if the skin's class cannot be found through + * the autoloader it will be used to load a .php file by that name in the skins directory. * The default skins will be added later, by Skin::getSkinNames(). Use * Skin::getSkinNames() as an accessor if you wish to have access to the full list. */ @@ -4468,13 +4636,24 @@ $wgCategoryMagicGallery = true; $wgCategoryPagingLimit = 200; /** - * A version indicator for collations that will be stored in cl_collation for - * all new rows. Used when the collation algorithm changes: a script checks - * for all rows where cl_collation != $wgCategoryCollation and regenerates - * cl_sortkey based on the page name and cl_sortkey_prefix. + * Specify how category names should be sorted, when listed on a category page. + * A sorting scheme is also known as a collation. + * + * Available values are: + * + * - uppercase: Converts the category name to upper case, and sorts by that. * - * Currently only supports 'uppercase', which just uppercases the string. This - * is a dummy collation, to be replaced later by real ones. + * - uca-default: Provides access to the Unicode Collation Algorithm with + * the default element table. This is a compromise collation which sorts + * all languages in a mediocre way. However, it is better than "uppercase". + * + * To use the uca-default collation, you must have PHP's intl extension + * installed. See http://php.net/manual/en/intl.setup.php . The details of the + * resulting collation will depend on the version of ICU installed on the + * server. + * + * After you change this, you must run maintenance/updateCollation.php to fix + * the sort keys in the database. */ $wgCategoryCollation = 'uppercase'; @@ -4594,6 +4773,7 @@ $wgLogActions = array( 'protect/unprotect' => 'unprotectedarticle', 'protect/move_prot' => 'movedarticleprotection', 'rights/rights' => 'rightslogentry', + 'rights/disable' => 'disableaccount-logentry', 'delete/delete' => 'deletedarticle', 'delete/restore' => 'undeletedarticle', 'delete/revision' => 'revdelete-logentry', @@ -4893,14 +5073,7 @@ $wgAPIMaxUncachedDiffs = 1; $wgAPIRequestLog = false; /** - * Cache the API help text for up to an hour. Disable this during API - * debugging and development - */ -$wgAPICacheHelp = true; - -/** - * Set the timeout for the API help text cache. Ignored if $wgAPICacheHelp - * is false. + * Set the timeout for the API help text cache. If set to 0, caching disabled */ $wgAPICacheHelpTimeout = 60*60; @@ -4918,7 +5091,6 @@ $wgAjaxExportList = array( 'wfAjaxGetFileUrl' ); /** * Enable watching/unwatching pages using AJAX. * Requires $wgUseAjax to be true too. - * Causes wfAjaxWatch to be added to $wgAjaxExportList */ $wgAjaxWatch = true; @@ -5121,45 +5293,14 @@ $wgPoolCounterConf = null; */ $wgUploadMaintenance = false; -/** - * The location of the MediaWiki package repository to use. - * - * @since 1.17 - * @var string - */ -$wgRepositoryApiLocation = 'http://www.mediawiki.org/w/api.php'; - -/** - * The location of the remote web interface for the selected repository. - * - * @since 1.17 - * @var string - */ -$wgRepositoryLocation = 'http://www.mediawiki.org/wiki/Special:Repository'; - -/** - * List of package states to filter update detection and extension listing on. - * - * @since 1.17 - * @var array - */ -$wgRepositoryPackageStates = array( - //'dev', - //'alpha', - 'beta', - //'rc', - 'stable', - //'deprecated', -); - /** * Allows running of selenium tests via maintenance/tests/RunSeleniumTests.php */ $wgEnableSelenium = false; $wgSeleniumTestConfigs = array(); $wgSeleniumConfigFile = null; - - +$wgDBtestuser = ''; //db user that has permission to create and drop the test databases only +$wgDBtestpassword = ''; /** * For really cool vim folding this needs to be at the end: