r53568 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53567‎ | r53568 | r53569 >
Date:20:07, 20 July 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Add documentation on settings
Modified paths:
  • /trunk/extensions/Babel/Babel.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.php
@@ -52,8 +52,22 @@
5353 $wgAutoloadClasses[ 'BabelAutoCreate' ] = $dir . '/BabelAutoCreate.class.php';
5454
5555 // Configuration setttings.
 56+// A boolean (true or false) indicating whether users should be entered in to a category if they use xx-0; defaults to false.
5657 $wgBabelUseLevelZeroCategory = false;
 58+// A boolean (true or false) indicating whether categories for abilities should be used; defaults to false.
5759 $wgBabelUseSimpleCategories = false;
 60+// A boolean (true or false) indicating whether main categories featuring all users who specify a level for that language should be added to a xx category; defaults to true.
5861 $wgBabelUseMainCategories = true;
 62+// Space seperated file to parse for language codes, the default should suffice.
5963 $wgBabelLanguageCodesFile = $dir . '/codes.txt';
 64+// Prefix to entries added to the object cache, defaults to babel.
6065 $wgBabelCachePrefix = 'babel';
 66+
 67+/* Other settings, to be made in-wiki:
 68+MediaWiki:Babel-template-prefix and MediaWiki:Babel-template-suffix
 69+ The prefix and suffix to be prepended or appended to the template name when one is being included.
 70+MediaWiki:Babel-portal-prefix and MediaWiki:Babel-portal-suffix
 71+ The prefix and suffix to be prepended or appended to the target of the link from the language code.
 72+MediaWiki:Babel-category-prefix and MediaWiki:Babel-category-suffix
 73+ The prefix and suffix to be prepended or appended to the name of the categories.
 74+*/

Status & tagging log