Bglinks (also known as BIBLE GATEWAY REFERENCE TAGGING TOOL) transforms all plain-text Scripture references on a webpage into hyperlinks to the appropriate Bible passage from BibleGateway.com. When you hover the mouse pointer over the hyperlinked text, the text of the Bible passage appears in a popover window, allowing the visitor to view the passage without leaving the current web page. Inside the pop-over window are links to view the passage on BibleGateway.com as well.
The original version is located here. This is a modified version for Wikians to use, primarily for Bible Wiki.
For site-wide use, an administrator can add the code snippet below to the wiki's MediaWiki:Wikia.js page. Note that Wikia's content review extension must be installed on the wiki. For personal use, add the code snippet below to your global.js page (for use on all wikis) or your common.js page on your wiki (for use on a single wiki).
Note: In this example, pay close attention to the placement of commas and other punctuation. For people who aren't familiar with programming (and even those who are!), a common mistake when writing code is to accidentally delete, forget, or misplace critical symbols like commas or quotation marks. This can cause a syntax error that breaks the code. Carefully follow the convention shown here when using importArticles.
There are also some custom configuration options that you can use if you want to:
Use to find references to books in the Apocrypha (default false):
Use to show the tooltip when clicking the link rather than when hovering over it (default false):
Use to add links to Bible Gateway without any tooltip functionality (default true):
Using configuration options with FANDOM Open Source Library scripts