User:Cacycle/wikEd international: Difference between revisions
Ilovesabbath (talk | contribs) |
Ilovesabbath (talk | contribs) →Installation: korea |
||
Line 117: | Line 117: | ||
<nowiki>document.write('<script type="text/javascript" src="'</nowiki> |
<nowiki>document.write('<script type="text/javascript" src="'</nowiki> |
||
<nowiki> + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Hatukanezumi/wikEd_international_ja.js'</nowiki> |
<nowiki> + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Hatukanezumi/wikEd_international_ja.js'</nowiki> |
||
<nowiki> + '&action=raw&ctype=text/javascript"></script>');</nowiki> |
|||
=== Korean === |
|||
Korean Wikipedia ''monobook.js'' page: [[:ko:특수기능:MyPage/monobook.js|사용자:자기아이디/monobook.js]] |
|||
<nowiki>// install the Korean translation for [[:en:User:Cacycle/wikEd]]</nowiki> |
|||
<nowiki>document.write('<script type="text/javascript" src="'</nowiki> |
|||
<nowiki> + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Ilovesabbath/wikEd_international_ko.js'</nowiki> |
|||
<nowiki> + '&action=raw&ctype=text/javascript"></script>');</nowiki> |
<nowiki> + '&action=raw&ctype=text/javascript"></script>');</nowiki> |
||
Revision as of 17:20, 8 January 2009
Please support wikEd
Please support wikEd by helping to fix the following browser and MediaWiki issues.
- Firefox:
- 579763, 579760 Cursor/caret disappears (07-2010)
- 1016372 Space lost when deleting text (05-2014)
- 926230 Space at end of line not styled (10-2013)
- 543204 Focus after search (01-2010)
- 926164 Editor deletes blank before inserted block element when converting to text (10-2013)
- 458524 Automatic syntax highlighting would interfere with undo/redo. The only reason why wikEd does not have automatic syntax highlighting. (10-2008)
- Webkit/Chrome:
- None.
wikEd |
---|
Installation |
wikEd diff |
Program code |
Project |
Gadgets |
|
Translations |
|
This page explains how to translate and install the MediaWiki editing page extension wikEd.
List of existing translations
- English: User:Cacycle/wikEd_international_en.js, example and starting point for translations
- Arabic: User:ترجمان05/wikEd_international_ar.js, translated by ترجمان05 (en: ترجمان05)
- Chinese: User:Shibo77/wikEd_international_zh.js, translated by Shibo77 (en: Shibo77)
- Czech: User:Sevela.p/wikEd_international_cs.js, translated by Sevela.p (en: Sevela.p)
- Esperanto: User:ArnoLagrange/wikEd-eo.js, translated by Tlustulimu (en: User:Tlustulimu) and Arno Lagrange
- French: User:Leag/wikEd-fr.js, main page, help page, translated by Leag (en: Leag)
- German: User:Matthias_M./wikEd_international_de.js, translated by Matthias_M. (en: Matthias_M.)
(Previous translation, no longer maintained: User:Olliminatore/wikEd international de.js, translated by Olliminatore (en: Olliminatore)) - Hungarian: User:Csörföly D/wikEd-hu.js, translated by Csörföly D (en: Csörföly D)
- Italian: User:Jalo/wikEd_international_it.js, main page, help page, translated by Jalo (en: Jalo)
- Japanese: User:Hatukanezumi/wikEd_international_ja.js, help page, translated by Hatukanezumi (en: Hatukanezumi)
- Korean: User:Ilovesabbath/wikEd_international_ko.js, translated by Ilovesabbath (en: Ilovesabbath)
- Malay: User:Aviator/wikEd_international_ms.js, translated by ms:Pengguna:Aviator (en: Aviator)
- Norwegian: User:Dvyjones/wikEd_international_no.js, translated by Dvyjones (en: Dvyjones)
- New Norwegian: User:Frokor/wikEd_international_nn.js, translated by Froko (en: Frokor)
- Polish: User:Konradek/wikEd_international_pl.js, translated by konradek (en: konradek)
- Portuguese: User:Mosca/wikEd_international_pt.js, translated by Mosca (en: Mosca)
- Romanian: User:Roamataa/wikEd_international_ro.js, translated by Roamataa (en: User:Roamataa)
- Sicilian: User:Meloscn/wikEd_international_scn.js, translated by Melos (en: Meloscn)
- Slovak: User:Helix84/wikEd_international_sk.js, translated by Helix84 (en: Helix84)
- Slovenian: User:Eleassar/wikEd_international_sl.js, translated by Eleassar (en: Eleassar)
- Spanish: User:Axelei/wikEd_international_es.js, translated by Krusher (en: Axelei)
- Swedish: User:Where next Columbus?/wikEd_international_sv.js, translated by Where next Columbus? (en: Where next Columbus?)
- Vietnamese: User:Vinhtantran/wikEd_international_vi.js, translated by Trần Vĩnh Tân (en: Vinhtantran)
Installation
- Add one of the following code fragments to your User:YourUsername/monobook.js (English Wikipedia) or the respective language-specific page name. If you use another skin then you have to replace monobook.js — e.g. by classic.js if you use the Classic skin. The code must be placed before the wikEd installation block.
- Click Shift-Reload or press Shift-Ctrl-R to update.
Arabic
ِArabic Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Arabic translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:ترجمان05/wikEd international ar.js' + '&action=raw&ctype=text/javascript"></script>');
Chinese
Chinese Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Chinese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Shibo77/wikEd_international_zh.js' + '&action=raw&ctype=text/javascript"></script>');
Czech
Czech Wikipedia monobook.js page: Wikipedista:YourUsername/monobook.js
// install the Czech translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Sevela.p/wikEd_international_cs.js' + '&action=raw&ctype=text/javascript"></script>');
Esperanto
Esperanto Wikipedia monobook.js page: Vikipediisto:YourUsername/monobook.js
// install the Esperanto translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:ArnoLagrange/wikEd-eo.js' + '&action=raw&ctype=text/javascript"></script>');
French
French Wikipedia monobook.js page: Utilisateur:YourUsername/monobook.js
// install the French translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Leag/wikEd-fr.js' + '&action=raw&ctype=text/javascript"></script>');
German
In the German Wikipedia go to your preferences at de:Spezial:Einstellungen, switch to the "Gadgets" tab, activate in the "Bearbeitungswerkzeuge" section the "wikEd" entry and press "Einstellungen speichern". This and other tools are provided in the German Wikipedia by the gadgets extension.
As long as the gadgets extension is not installed in other Wikimedia wikis add the following code to your Benutzer:YourUsername/monobook.js page for the German wikEd interface:
// install the German translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Matthias M./wikEd_international_de.js' + '&action=raw&ctype=text/javascript"><\/script>');
Hungarian
Hungarian Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Hungarian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cs%C3%B6rf%C3%B6ly_D/wikEd-hu.js' + '&action=raw&ctype=text/javascript"></script>');
Italian
Italian Wikipedia monobook.js page: Utente:YourUsername/monobook.js
// install the Italian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Jalo/wikEd international_it.js' + '&action=raw&ctype=text/javascript"></script>');
Japanese
Japanese Wikipedia monobook.js page: 利用者:自分のユーザ名/monobook.js
// install the Japanese translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Hatukanezumi/wikEd_international_ja.js' + '&action=raw&ctype=text/javascript"></script>');
Korean
Korean Wikipedia monobook.js page: 사용자:자기아이디/monobook.js
// install the Korean translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Ilovesabbath/wikEd_international_ko.js' + '&action=raw&ctype=text/javascript"></script>');
Malay
Malay Wikipedia monobook.js page: Pengguna:YourUsername/monobook.js
// install the Malay translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Aviator/wikEd_international_ms.js' + '&action=raw&ctype=text/javascript"></script>');
Norwegian
Norwegian Wikipedia monobook.js page: Bruker:YourUsername/monobook.js
// install the Norwegian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Dvyjones/wikEd_international_no.js' + '&action=raw&ctype=text/javascript"></script>');
New Norwegian
New Norwegian Wikipedia monobook.js page: Brukar:Brukarnamnetditt/monobook.js
// install the New Norwegian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Frokor/wikEd international nn.js. ' + '&action=raw&ctype=text/javascript"></script>');
Polish
Polish Wikipedia monobook.js page: Wikipedysta:YourUsername/monobook.js
// install the Polish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Konradek/wikEd_international_pl.js' + '&action=raw&ctype=text/javascript"></script>');
Portuguese
Portuguese Wikipedia monobook.js page: Usuário:YourUsername/monobook.js
// install the Portuguese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Mosca/wikEd_international_pt.js' + '&action=raw&ctype=text/javascript"></script>');
Romanian
Romanian Wikipedia monobook.js page: Utilizator:YourUsername/monobook.js
// install the Romanian translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Roamataa/wikEd international ro.js' + '&action=raw&ctype=text/javascript"></script>');
Sicilian
Sicilian Wikipedia monobook.js page: Utenti:YourUsername/monobook.js
// install the Sicilian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Meloscn/wikEd_international_scn.js' + '&action=raw&ctype=text/javascript"></script>');
Slovak
Slovak Wikipedia monobook.js page: Redaktor:YourUsername/monobook.js
// install the Slovak translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Helix84/wikEd_international_sk.js' + '&action=raw&ctype=text/javascript"></script>');
Slovenian
Slovenian Wikipedia monobook.js page: Uporabniški pogovor:YourUsername/monobook.js
// install the Slovenian translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Eleassar/wikEd_international_sl.js' + '&action=raw&ctype=text/javascript"></script>');
Spanish
Spanish Wikipedia monobook.js page: Usuario:YourUsername/monobook.js
// install the Spanish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Axelei/wikEd_international_es.js' + '&action=raw&ctype=text/javascript"></script>');
Swedish
Swedish Wikipedia monobook.js page: Användare:YourUsername/monobook.js
// install the Swedish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Where_next_Columbus%3F/wikEd_international_sv.js' + '&action=raw&ctype=text/javascript"></script>');
Vietnamese
Vietnamese Wikipedia monobook.js page: Thành viên:YourUsername/monobook.js
// install the Vietnamese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Vinhtantran/wikEd_international_vi.js' + '&action=raw&ctype=text/javascript"></script>');
Translation guide
- Copy the English example translation from User:Cacycle/wikEd_international_en.js.
- Please do not translate the comment lines starting with "//" in order to make maintenance easier.
- The first string is the internal text name and must not be changed.
- The second string after the colon is the text to be translated.
- The button alt text is displayed only when the button images are not available, it should be as short as possible.
- The button title text is the popup tooltip text hat appears upon hovering over a button.
- Every line beside the last one ends with a comma.
- Every ' character has to be written as \'.
- Do not change the {wikEd...} parts as these are dynamically replaced.
- Missing translations are displayed in their English built-in version.
- Save the translation under the following link: User:YourUsername/wikEd_international_xx.js (replace xx by the language code of your translation). If you do not already have a user account on the English Wikipedia please create one. It is essential that the translation page name is in your personal userspace and ends in .js for security reasons so that only you and administrators can edit it. For the same reason you must use a strong password for your account.
- Load your translation into wikEd by adding the following code to your User:YourUsername/monobook.js (or whatever skin used) page:
// install the (Language) translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:YourUsername/wikEd_international_xx.js' + '&action=raw&ctype=text/javascript"></script>');
- 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.
Updates and changes
Usually Cacycle will add changes directly to the translation in English so that you can update your translation.
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 monobook.js page before the wikEd installation code and change the address:
var wikEdRegExTypoFix = true; var wikEdRegExTypoFixURL = 'http://en.wikipedia.org/enwiki/w/index.php?title=Wikipedia:AutoWikiBrowser/Typos&action=raw';