User:Cacycle/wikEd international: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<pre><nowiki> |
<pre><nowiki> |
||
install [[User:Cacycle/wikEd international]] |
install a [[User:Cacycle/wikEd international]] translation |
||
document.write('<script type="text/javascript" src="' |
document.write('<script type="text/javascript" src="' |
||
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js' |
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js' |
Revision as of 22:47, 18 November 2006
This page explains how to translate and install the MediaWiki editing page extension wikEd.
Installation
1. Add the following code to your User:YourUsername/monobook.js (or whatever skin used) page:
install a [[User:Cacycle/wikEd international]] translation document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
2. Replace http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js with the address of your translation page, see below for a list of existing ones.
3. Click Shift-Reload or press Shift-Ctrl-R to update.
List of existing translations
- English: en:User:Cacycle/wikEd_international_en.js, example and starting point for translations (address: http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js)
Translation instructions
Copy the English example translation from en:User:Cacycle/wikEd_international_en.js.
- 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 your translation as a subpage in your personal name space and add it to the list of existing translations above.