X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=4f170f3da5bc30a46056aeb593d0ebf82112ade1;hb=50144cd02aada09c275637008adebfca41a1363b;hp=5b427509d56780baa700da99613c76771c01203b;hpb=97afe30296d3ee6eed0e3f68c3886ce1685b5ca0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5b427509d5..4f170f3da5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1281,7 +1281,7 @@ $wgDjvuTxt = null; * Path of the djvutoxml executable * This works like djvudump except much, much slower as of version 3.5. * - * For now we recommend you use djvudump instead. The djvuxml output is + * For now we recommend you use djvudump instead. The djvuxml output is * probably more stable, so we'll switch back to it as soon as they fix * the efficiency problem. * http://sourceforge.net/tracker/index.php?func=detail&aid=1704049&group_id=32953&atid=406583 @@ -1295,7 +1295,7 @@ $wgDjvuToXML = null; /** * Shell command for the DJVU post processor - * Default: pnmtopng, since ddjvu generates ppm output + * Default: pnmtojpeg, since ddjvu generates ppm output * Set this to false to output the ppm file directly. */ $wgDjvuPostProcessor = 'pnmtojpeg'; @@ -2504,6 +2504,21 @@ $wgInterwikiMagic = true; */ $wgHideInterlanguageLinks = false; +/** + * List of additional interwiki prefixes that should be treated as + * interlanguage links (i.e. placed in the sidebar). + * Notes: + * - This will not do anything unless the prefixes are defined in the interwiki + * map. + * - The display text for these custom interlanguage links will be fetched from + * the system message "interlanguage-link-xyz" where xyz is the prefix in + * this array. + * - A friendly name for each site, used for tooltip text, may optionally be + * placed in the system message "interlanguage-link-sitename-xyz" where xyz is + * the prefix in this array. + */ +$wgExtraInterlanguageLinkPrefixes = array(); + /** * List of language names or overrides for default names in Names.php */ @@ -4337,6 +4352,7 @@ $wgGroupPermissions['sysop']['noratelimit'] = true; $wgGroupPermissions['sysop']['movefile'] = true; $wgGroupPermissions['sysop']['unblockself'] = true; $wgGroupPermissions['sysop']['suppressredirect'] = true; +#$wgGroupPermissions['sysop']['pagelang'] = true; #$wgGroupPermissions['sysop']['upload_by_url'] = true; #$wgGroupPermissions['sysop']['mergehistory'] = true; @@ -5184,21 +5200,6 @@ $wgParserTestFiles = array( "$IP/tests/parser/extraParserTests.txt" ); -/** - * If configured, specifies target CodeReview installation to send test - * result data from 'parserTests.php --upload' - * - * Something like this: - * $wgParserTestRemote = array( - * 'api-url' => 'https://www.mediawiki.org/w/api.php', - * 'repo' => 'MediaWiki', - * 'suite' => 'ParserTests', - * 'path' => '/trunk/phase3', // not used client-side; for reference - * 'secret' => 'qmoicj3mc4mcklmqw', // Shared secret used in HMAC validation - * ); - */ -$wgParserTestRemote = false; - /** * Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit). */ @@ -5632,13 +5633,6 @@ $wgRCEngines = array( 'udp' => 'UDPRCFeedEngine', ); -/** - * Enable user search in Special:Newpages - * This is really a temporary hack around an index install bug on some Wikipedias. - * Kill it once fixed. - */ -$wgEnableNewpagesUserFilter = true; - /** * Use RC Patrolling to check for vandalism */ @@ -6075,6 +6069,7 @@ $wgAutoloadAttemptLowercase = true; * $wgExtensionCredits[$type][] = array( * 'path' => __FILE__, * 'name' => 'Example extension', + * 'namemsg' => 'exampleextension-name', * 'author' => array( * 'Foo Barstein', * ), @@ -6094,15 +6089,24 @@ $wgAutoloadAttemptLowercase = true; * 'skin', 'api', or 'other', or any additional types as specified through the * ExtensionTypes hook as used in SpecialVersion::getExtensionTypes(). * + * - name: Name of extension as an inline string instead of localizable message. + * Do not omit this even if 'namemsg' is provided, as it is used to override + * the path Special:Version uses to find extension's license info, and is + * required for backwards-compatibility with MediaWiki 1.23 and older. + * + * - namemsg (since MW 1.24): A message key for a message containing the + * extension's name, if the name is localizable. (For example, skin names + * usually are.) + * * - author: A string or an array of strings. Authors can be linked using * the regular wikitext link syntax. To have an internationalized version of * "and others" show, add an element "...". This element can also be linked, * for instance "[http://example ...]". * * - descriptionmsg: A message key or an an array with message key and parameters: - * `'descriptionmsg' => array( 'exampleextension-desc', param1, param2, ... ),` + * `'descriptionmsg' => 'exampleextension-desc',` * - * - description: Description of extension as inline string instead of + * - description: Description of extension as an inline string instead of * localizable message (omit in favour of 'descriptionmsg'). * * - license-name: Short name of the license (used as label for the link), such @@ -7095,6 +7099,14 @@ $wgHttpsPort = 443; $wgHKDFSecret = false; $wgHKDFAlgorithm = 'sha256'; +/** + * Enable page language feature + * Allows setting page language in database + * @var bool + * @since 1.24 + */ +$wgPageLanguageUseDB = false; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker