Theosophy Wiki:Improvement: Difference between revisions
(+ Gems from the East (multilingual) extension) |
|||
Line 61: | Line 61: | ||
[[Category:TSWiki infrastructure]] | [[Category:TSWiki infrastructure]] | ||
== Gems from the East (multilingual) == | |||
There is an extension '''HPBQuote''' to add quote from ''Gems from the East'' to the page with tag '''<nowiki><hpbquote></hpbquote></nowiki>''', but it is localized for English wiki too tight. As I have learned from code there is no way to optimize it for several languages (with different page structure and names). So I have wrote a new extension '''DailyQuote''' which reads quote from file and places it in article where '''<nowiki><dailyquote></dailyquote></nowiki>''' tag is used. See [[:ru:|Russian]] wiki start page. | |||
So in order to place Gems into other wiki we need to create text file with one quote in line + localized name of the book "Gems from the East" in very first line. It makes 367 lines in file (29 of February should be present as well - it is not originally). Pass this file to [[User:Patrick Layden|Patrick]]. He knows what to do further. After he confirms changes just the place line | |||
<pre> | |||
<dailyquote></dailyquote> | |||
</pre> | |||
at desired place in text. '''Both extensions can work together.''' | |||
--[[User:Pavel Malakhov|Pavel Malakhov]] ([[User talk:Pavel Malakhov|talk]]) 08:43, 13 January 2016 (CST) |
Latest revision as of 14:43, 13 January 2016
This is a supplement to the Community portal's Plans and announcements section, providing a platform for technical matters that are not of interest to the general public. Its purpose is to aid in collaborations of editors and administrators of different language wikis.
Common templates
It is possible to use templates from the other Theosophy wikis. For example to place the table of contents (TOC) to the right side, one can use the template {{TOC right}} from the English wiki. To do that in the English wiki, just add this line:
{{TOC right}}
to use this template in another language, add line:
{{raw:en:TOC right}}
This method works for every interwiki link. See interwiki table for the list.
- Pavel Malakhov (talk) 18:57, 26 December 2015 (CST)
Interwiki
- The Interwiki table holds links to all related and friendly wiki projects. Presence in this table makes possible short links to the pages of other wikis, whether they are the various language editions in the Theosophy Wiki family or unrelated Theosophical wikis. It is good idea to add to this table all Theosophical wikis.
For example if we add the URL for Teopedia Library, we can use this short link:
[[:teopedia-ru-lib:Блаватская_Е.П._-_Тайная_Доктрина_(публикации) |Secret Doctrine publications in Russian]]
to make the link to the Secret Doctrine publications in Russian page in Teopedia which will not depend on a URL. That approach will provide more secure links and will save editor a lot of time if the URL of destination wiki changes (like in case of tswiki.net --> theosophy.wiki)
--Pavel Malakhov (talk) 18:57, 26 December 2015 (CST)
- Interwiki for Theosopedia was added. Now we can use short links to that wiki like this:
See article about [[:theosopedia:Blavatsky, Helena Petrovna | H.P.Blavatsky]] in Theosopedia
to see article about H.P.Blavatsky in Theosopedia.
--Pavel Malakhov (talk) 07:53, 13 January 2016 (CST)
Edittools
The Edittools page holds text which will be placed below the edit window.
This tool is very useful for editors so they can easily cut and paste special characters and symbols. It can be configured for every wiki separately or could be included from another wiki (See Common templates above).
It is configured now for English and Russian wikis.
- Pavel Malakhov (talk) 18:57, 26 December 2015 (CST)
Color scheme used in logos
The following colors are used in the logo, and should be employed in design elements involving blue:
- d8dfe8 - petals
- d0e3e9 - center
- b9c5d6 - base
- Janet Kerschner as SysopJ (talk) 15:14, 27 December 2015 (CST)
Gems from the East (multilingual)
There is an extension HPBQuote to add quote from Gems from the East to the page with tag <hpbquote></hpbquote>, but it is localized for English wiki too tight. As I have learned from code there is no way to optimize it for several languages (with different page structure and names). So I have wrote a new extension DailyQuote which reads quote from file and places it in article where <dailyquote></dailyquote> tag is used. See Russian wiki start page.
So in order to place Gems into other wiki we need to create text file with one quote in line + localized name of the book "Gems from the East" in very first line. It makes 367 lines in file (29 of February should be present as well - it is not originally). Pass this file to Patrick. He knows what to do further. After he confirms changes just the place line
<dailyquote></dailyquote>
at desired place in text. Both extensions can work together.
--Pavel Malakhov (talk) 08:43, 13 January 2016 (CST)