Extension:SacredText

What can this extension do?
Can be used to quote sacred texts, without any links to external websites.

One verse
The code


 * Gen 1:5

will result in:


 * Gen 1:5 And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.

The following also has the same result:


 * Gen 1:5

Multiple verses
The code


 * 1 Corinthians 4:21-5:1

will result in:


 * 1 Corinthians 4:21-5:1 What will ye? shall I come unto you with a rod, or in love, and in the spirit of meekness? It is reported commonly that there is fornication among you, and such fornication as is not so much as named among the Gentiles, that one should have his father's wife.

Get the Scripture data
Due to the size of the SQL scripts that add the scriptures to the database, they are kept on a different SVN repository. To download, please execute the following command while inside the SacredText directory:

svn checkout http://sacredtext.googlecode.com/svn/trunk/data data

Or, since there's only one file, just get it from here.

Edit LocalSettings.php
To install this extension, add the following to LocalSettings.php:

Create the database table
Then run "maintenance/update.php". This will create the database table to hold the verses and add the entries for the King James Version of the Bible.

Configuration parameters

 * $wgSacredChapterAlias - if you want to additional abbreviations for chapters. The first index indicates the religious text where you want to use the abbreviation (ex. "Christian Bible", "Hebrew Bible", "Quran").
 * $wgSacredUseBibleTag - set this to false if you want another extension to be able to use the ... tags.

Example for $wgSacredChapterAlias:

Sacred texts and translations
Currently, only the King James Version translation of the Christian Bible is added to the database; however other religious texts and translations can be added. I am looking to add more sacred texts and other translations (that are in public domain or have lenient licenses). Please contact me if you are interested in helping.