-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
31 lines (18 loc) · 1.58 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a README file for a Citation templates generator.
This generator has been designed to ease creation of Citation templates on various Wikipedias.
It still is in a rather early stage of development, yet it is usable. Try it out at http://toolserver.org/~holek/cite-gen/
If you want to help, have a look at Issues tab above to see current development problems that need to be resolved. By all means, you are encouraged to fork this project and work on it, as I don't have that much time to do so myself :(
Deploying the generator
-----------------------
The generator has two sources. Main code is hosted on Github[1], and translation messages are hosted in MediaWiki's SVN[2]. The reason behind this is internationalization. Translations are done via TranlateWiki[3] and updated daily in the SVN.
I18N file can be obtained from MediaWiki's SVN by checking out /mediawiki/trunk/extensions/ToolserverTools/HolekCiteGen folder. Assuming you are in Citation generator's root folder, use these commands to quickly set it up:
cd messages
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ToolserverTools/HolekCiteGen/ .
You can also create a cron job to update allMessages.php:
@daily cd $HOME/public_html/cite-gen/messages && svn up
If you forget to checkout the translation file, you will be reminded upon loading the citation generator with instructions how to proceed.
References
----------
[1] https://github.com/Holek/cite-gen/
[2] http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ToolserverTools/HolekCiteGen/allMessages.php
[3] http://translatewiki.net