Extension talk:SacredText

Glitches
I'm running into a lot of problems with this extension on MW 1.19, e.g. "Parameter 3 to SacredTextLookup::hookBible expected to be a reference, value given". Also, it's providing content such as "UNIQ7c06aa7f465043c5-bible-00000007-QINU" rather than Bible verses. Leucosticte (talk) 17:58, 15 October 2012 (UTC)

Desired features
Ideally, this should be able to handle ranges of verses and groups of verses like Genesis 1:1-5, 1 Corinthians 4:21-5:1 , 2 Timothy 3:16, 2 Peter 1:21 , Galatians 5:1-2, 6; Ephesians 2:8-9 , etc. That's probably going to be a real bear to implement, though. You'd probably want to use some kind of recursion.

Who knows, though; it might be possible to steal this functionality from an extension that's already been created for a CMS. See, e.g., http://wordpress.org/extend/plugins/wp-bible/ Certainly there are plenty of people who have created religious blogs and such who have probably needed this type of tool, and have found a way to implement it. Leucosticte (talk) 18:20, 15 October 2012 (UTC)

Hacks
I added this to SacredTextLookup::parseInput, right before the Leucosticte (talk) 02:57, 16 October 2012 (UTC)

Koran
How would go about adding the Koran to this extension? --Inops (talk) 15:01, 11 November 2012 (UTC)
 * You need to create (or find, if it's available) a file like bible_kjv_entire.sql, except with sura and ayat from the Quran instead of chapters and verses from the Bible. If it's going to be an English translation/interpretation, I guess you'll need to pick one of these that is in the public domain. I'm not an expert on the Quran; is one of those translations sufficiently influential as to be to the Quran what the King James Version is to the Bible? If you succeed in getting or creating such an SQL file, please let us know; maybe we can post the file to the Internet and put a link to it here for the benefit of other wiki owners. Thanks, Leucosticte (talk) 21:19, 11 November 2012 (UTC)