r81664 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81663‎ | r81664 | r81665 >
Date:00:34, 8 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
minor fix
Modified paths:
  • /trunk/extensions/LiveTranslate/INSTALL (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/INSTALL
@@ -29,19 +29,15 @@
3030 To be able to actually use Google Translate, you need to [https://code.google.com/apis/console get an API key] and
3131 add it to your [[LocalSettings.php]] file AFTER the inclusion of the extension.
3232
33 -<source lang="php">
3433 # Google API key
3534 $egGoogleApiKey = 'INSERT-YOUR-KEY-HERE';
36 -</source>
3735
3836 === Available languages ===
3937
4038 You have to specify which languages users should be able to translate to. This is done by adding language codes to <code>$egLiveTranslateLanguages</code>.
4139 By default it contains only your wikis main language (as specified by <code>$wgLanguageCode</code> in [[LocalSettings.php]]). You add languages as follows:
4240
43 -<source lang="php">
4441 $egLiveTranslateLanguages[] = 'nl';
4542 $egLiveTranslateLanguages[] = 'de';
46 -</source>
4743
4844 If there are no languages available other then the current language of the page, then the translation control will not show up.

Status & tagging log