Difference between revisions of "WikiSetup"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* The goal is ease of use and editing, not perfection. E.g. it is OK if languages are mixed. | * The goal is ease of use and editing, not perfection. E.g. it is OK if languages are mixed. | ||
− | * The convention is that long link lists are maintained on the English version. You can use | + | * The convention is that long link lists are maintained on the English version. You can use [[https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion | Labeled Section Transclusion]] to mark these relatively efficiently for just translating headings / translating relatively efficiently. E.g. there are named section in the source code of source code of the English https://embargo.energy/index.php/Saving , which then are referred to by the German page https://embargo.energy/index.php/Saving/de. |
* The default language is English. To create a new page or language just use "PageName/language" e.g. "Petitions/de" for "Petitions" in German. Then the language links appear automatically. | * The default language is English. To create a new page or language just use "PageName/language" e.g. "Petitions/de" for "Petitions" in German. Then the language links appear automatically. | ||
* To add a new menu bar in a new language, drop mail to hb3141@gmail.com. | * To add a new menu bar in a new language, drop mail to hb3141@gmail.com. |
Revision as of 22:46, 17 June 2022
Wiki use
- The goal is ease of use and editing, not perfection. E.g. it is OK if languages are mixed.
- The convention is that long link lists are maintained on the English version. You can use [| Labeled Section Transclusion] to mark these relatively efficiently for just translating headings / translating relatively efficiently. E.g. there are named section in the source code of source code of the English https://embargo.energy/index.php/Saving , which then are referred to by the German page https://embargo.energy/index.php/Saving/de.
- The default language is English. To create a new page or language just use "PageName/language" e.g. "Petitions/de" for "Petitions" in German. Then the language links appear automatically.
- To add a new menu bar in a new language, drop mail to hb3141@gmail.com.
Wiki setup
- Basics see Special:Version https://embargo.energy/index.php/Special:Version
- Polyglot extension has been installed with fix in Node.js documented in https://www.mediawiki.org/wiki/Extension_talk:Polyglot
- The navigation bar uses customized script https://embargo.energy/index.php/MediaWiki:Common.js