Extension:Bible

From MediaWiki.org
Jump to: navigation, search




MediaWiki extensions manual - list
Crystal Clear action run.png
Bible

Release status: stable

Implementation User interface
Description Provide a new tag <bible> to reference or search bible and generate a link to the bible study sites.
Author(s) HUO, Michael (Michaelhuotalk)
Latest version 1.0 (Nov 2012)
MediaWiki 1.16 or later (others not tested)
License GPL
Download http://godwithus.cn/d/bible.tgz
Hooks used
GetLocalURL

Translate the Bible extension if possible

Check usage and version matrix; code metrics

Credits[edit | edit source]

This article was inspired by extension on which idea and code all of this is based. I found it is helpful if a Bible verse link is provided.

What can this extension do?[edit | edit source]

It provides a new tag <bible> to reference or search bible and generate a link to the bible study sites.

Usage Scenarios[edit | edit source]

When Editing wiki pages, just add <bible>John 3:16</bible> or <bible>Jesus Christ</bible>, then a link to the Bible Study tool is automatically generated.

Download instructions[edit | edit source]

To install Bible Extension, please download the http://godwithus.cn/d/bible.tgz and extract to your extensions directory. The default folder name is Bible.

Cut and paste the code found below and place it in $IP/extensions/Bible/Bible.php. $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation[edit | edit source]

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

require_once("$IP/extensions/Bible/Bible.php");




The default Bible engine is Geshandi Bible Engine and default value of $wgBibleURL is

$wgBibleURL="http://bible.geshandi.com/?q=";

You can added a new line in your LocalSettings.php file eg:

$wgBibleURL="http://shengjing.geshandi.com/?q=";