:en:User:Cacycle/wikEd international
{{INDEX}}{{User:Cacycle/wikEd announcements}}
{{User:Cacycle/wikEd_template}}
This page explains how to install and to create translations for the MediaWiki editor wikEd.
__TOC__
List of existing translations
The following existing translations are automatically loaded, following the default language of the respective wiki. Please see below for how to continue a no longer maintained translation.
Installation
In general, it is not required to explicitly install a translation. wikEd automatically detects the language settings by checking the variables wgUserLanguage
(user preferences) and wgContentLanguage
(wiki default language) and loads one of the above existing translations.
It is possible to force another translation by adding the following line to your User:YourUsername/common.js page:
var wikEdConfig = {};
wikEdConfig.languageDefault = 'en';
Replace 'en' for English with the respective language code and click Shift-Reload to update after saving your edit. This also works to explicitly define the language for older MediaWiki installations which do not send their language settings.
On wikis that have no connection to the internet you have to install the following code on your User:YourUsername/common.js page:
Replace 'en' with the respective default language of the wiki (check the source of a wiki page for wgContentLanguage
) replace the translation address. Click Shift-Reload to update after saving your edit.
Alternatively, you can add a translation the old fashioned way as follows:
On older non-Wikipedia wiki installations please use instead:
:: Replace User:YourUsername/wikEd_international_xx.js by the actual page name of the translation (or replace the whole web address if your translation is not on Wikipedia)
: 4. Update your installation by pressing Shift-Reload
: 5. Check for JavaScript errors in your browser's error console (under Tools). Commonly, errors are caused by missing or wrong commas, semicolons, or parentheses.
: 6. Optionally: You can check for missing translations by temporarily adding the following code to your User:YourUsername/common.js page:
: 7. Please post a note to the wikEd discussion page in order to add the translation link into the program code and to update this page
Updates and changes
Usually Cacycle will add changes directly to the translation pages in English so that you can update your translation. Please check into your English Wikipedia account from time to time for updates to be translated.
Language-specific settings
The following language-specific settings can be added to your User:YourUsername/common.js page. Click Shift-Reload to update after saving your edit.
- Use French rules for the punctuation fixing button Image:WikEd_fix_punct.png:
var wikEdConfig = {};
wikEdConfig.fixPunctFrench = true;
AutoWikiBrowser RegExTypoFixer
Common typos can be fixed using AutoWikiBrowser RegExTypoFix rules. wikEd uses the English RegExTypoFix rules by default. To enable the feature and to switch to a different translation add the following lines to your User:YourUsername/common.js page: