Index: trunk/extensions/Babel/Babel.php |
— | — | @@ -52,8 +52,22 @@ |
53 | 53 | $wgAutoloadClasses[ 'BabelAutoCreate' ] = $dir . '/BabelAutoCreate.class.php'; |
54 | 54 | |
55 | 55 | // 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. |
56 | 57 | $wgBabelUseLevelZeroCategory = false; |
| 58 | +// A boolean (true or false) indicating whether categories for abilities should be used; defaults to false. |
57 | 59 | $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. |
58 | 61 | $wgBabelUseMainCategories = true; |
| 62 | +// Space seperated file to parse for language codes, the default should suffice. |
59 | 63 | $wgBabelLanguageCodesFile = $dir . '/codes.txt'; |
| 64 | +// Prefix to entries added to the object cache, defaults to babel. |
60 | 65 | $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 | +*/ |