Template talk:Bibleverse
Template:Bibleverse is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Bibleverse template. |
|
Archives: 1, 2Auto-archiving period: 6 months |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
This template was considered for deletion on 2006 June 18. The result of the discussion was "withdrawn by nominator". |
Vulgata Clementina
[edit]Noting this is at Wikisource:la:Vulgata Clementina but not yet supported here; does LA WS need to do anything to make this possible? Jim Killock (talk) 19:56, 24 March 2024 (UTC)
- I suppose my first question would be whether anyone is actually going to link to a Latin bible edition on enWiki (especially when we have five versions in English to link to). Primefac (talk) 20:21, 24 March 2024 (UTC)
First parameter as book number
[edit]Although it is no longer documented, for backwards compatibility, this template can use the first parameter as a book number, eg.:
Markup | Renders as |
---|---|
{{Bibleverse|1|Samuel|3:16-4:18}} |
|
{{Bibleverse|1 Samuel|3:16-4:18}} |
|
Because of this, some transclusions of this template leave the first parameter blank. This feature is deprecated and may be removed in the future. Daask (talk) 23:41, 26 June 2024 (UTC)
- Just because something is optional doesn't necessarily mean that it's deprecated; usually when something is deprecated there is a note saying as such, tracking categories set up, and an active push made to eliminate those uses. That does not seem to be the case here. If it works both ways, I see no reason to change it. Primefac (talk) 01:14, 27 June 2024 (UTC)
- If you look at the code (see the section with the comment "first argument is a numeric prefix and second is book name"), you can see that it is by design. Wikilinking the book name even works: 1 Samuel 1:15–16. – Jonesey95 (talk) 20:37, 27 June 2024 (UTC)
Displaying the translation in the citation?
[edit]It may not be obvious to the reader that a given citation of a Bible verse is from a particular translation. It certainly wasn't immediately obvious to me at The Bible and homosexuality. I had to inspect the URL and take a guess.
I think it would be a good idea to include the name of the translation in the citation, with a wikilink to the translation's article if available. EnronEvolvedMy Talk Page 11:40, 25 December 2024 (UTC)
- I just noticed that User:GraemeLeggett mentioned that the citations generated by this template lack this rather pertinent information. I'm a little surprised that nobody noticed. EnronEvolvedMy Talk Page 11:45, 25 December 2024 (UTC)
- I suppose this template needs to decide on what it is. If we're talking about using it as a reference for quoting the Bible, then I agree; it should absolutely be in some form of {{cite book}} format. According to Bible citation, though, all that is needed is the book name and verse; however, this is antithetical to the stated purpose of this template to specifically not be an in-line reference. I'm happy to code up whatever is decided, but I don't necessarily want to be making a ton of changes that then need to be reverted because a local consensus says one thing and broader consensus after the change is made says another. Primefac (talk) 12:44, 25 December 2024 (UTC)
- To be honest, I took a look at the code earlier today, to see if I implement it myself, and I found the code really hard to understand. All the information about sites, books, and versions broken up into separate tables, and the common logic is mixed in with special cases for each source. I'm not sure that putting another pair of tables in the code (one for whether to wikilink, another to specify the title or link text) is a wise idea. Is there a particular reason for the individual tables, rather than having one table each for versions, sites, etc., or is it just the way the code has grown over the years?
- If the latter, I'd be sorely tempted to rewrite the module. EnronEvolvedMy Talk Page 13:19, 25 December 2024 (UTC)
- I didn't build the module, so I can't really speak to its structure; this and subsequent discussions are about the module conversion. If you think you can do a better/cleaner job than what's already there, by all means go for it; the merger with the other Bible verse templates was a pain in the arse trying to plug all of the extras in there. Primefac (talk) 13:32, 25 December 2024 (UTC)
- I suppose this template needs to decide on what it is. If we're talking about using it as a reference for quoting the Bible, then I agree; it should absolutely be in some form of {{cite book}} format. According to Bible citation, though, all that is needed is the book name and verse; however, this is antithetical to the stated purpose of this template to specifically not be an in-line reference. I'm happy to code up whatever is decided, but I don't necessarily want to be making a ton of changes that then need to be reverted because a local consensus says one thing and broader consensus after the change is made says another. Primefac (talk) 12:44, 25 December 2024 (UTC)
Biblica issues
[edit]Just noting here for future reference that Biblica has changed formats; NLT is now the "New Luo Translation" in Dholuo (see e.g. Genesis 1:15–16). If all of these codes for NIV are supposed to link to the NIV, methinks the module should be changed to point to the NIV version if any of the relevant Biblica codes are entered.
Note that I have yet to check if the other codes for the other sites still work as intended. Primefac (talk) 12:48, 25 December 2024 (UTC)
Rewriting and extending Module:Bibleverse
[edit]I'm currently rewriting the module that backs this template so that it is (hopefully) easier to extend and maintain.
The key change is the consolidation of most of the separate tables in the module into three: one for books, one for versions, one for hosting sites. These tables then become a convenient place to put all of the special-case data and functionality. I hope to add some new functionality to the module in doing so:
- The ability to indicate the version of the Bible in the template output.
- A more flexible "multi" mode: the NRSV is currently hardcoded as the version to use when querying BibleGateway.
- The ability to override the site to link to (if desired, it seems to be a current use case – see below).
- The option to provide a link to alternative translations (as used in an ad-hoc manner here, at least).
Still, I've discovered that the documentation on versions IDs is rather sparse. It's unclear why certain abbreviations correspond to certain versions (look at all of them that point to the NIV), and I've found code for handling undocumented version abbreviations:
bb
,bbc
,bbl
, andopb
: these co-opt the version field to select Bible Hub specifically. It's unclear to me which version of the Bible this site uses by default, so I'm not quite sure how to handle them.
jpr
, andjp
: these two are only seen in an if statement, which overrides them withhe
should they be the given version. A code comment appears to provide context:chabad doesn't work so reroute
, but I'm not knowledgeable enough to know what these codes were originally referring to.
Feedback on these suggestions and advice on the meanings of the abbreviations are both very much welcome. EnronEvolvedMy Talk Page 13:18, 27 December 2024 (UTC)