Asset 1

Skip to content

Sign in Sign up

Holek/cite-gen

Join GitHub today

GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.

Sign up Citation templates generator used in Wikipedia editing [toolserver.org]
  1. PHP 100.0%
PHP Switch branches/tags master Nothing to show Nothing to show Find file Clone or download

Clone with HTTPS

Use Git or checkout with SVN using the web URL.

Download ZIP

Launching GitHub Desktop...

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop...

If nothing happens, download GitHub Desktop and try again.

Launching Xcode...

If nothing happens, download Xcode and try again.

Launching Visual Studio...

If nothing happens, download the GitHub extension for Visual Studio and try again.

Fetching latest commit… Cannot retrieve the latest commit at this time. Permalink Failed to load latest commit information. gui includes messages parsers .gitignore .htaccess README database.php index.php redirect.php

README

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 [toolserver.org]

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 [svn.wikimedia.org] .

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] [github.com]
[2] [svn.wikimedia.org]
[3] [translatewiki.net]

  
You can’t perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. Press h to open a hovercard with more details.