Develop a proper Mediawiki extension #37
JohnRDOrazio
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the Semina Verbi wiki project implements a
Bible quote
template and a project wide javascript (see also MediaWiki:Global.js ) to load Bible quotes retrieved from the BibleGet API and saved locally in html files, to load the Bible quotes into wiki pages that use theBible quote
template. There is also a PHP helper script that answers ajax requests from the javascript, and checks if there is a local html file: if so it will load data from the local html file, if not it will retrieve data from the BibleGet API and save it to a local html file.It would be nice to have a proper mediawiki extension, that would save bible quotes retrieved from the API into the wiki database rather than in html files, and transform the json into proper html using parser hooks rather than modifying the wiki page with javascript.
Using a php extension would also allow to implement a number of typical BibleGet validity checks on the template, before a request is sent to the BibleGet API, similarly to the other existing extensions for Word, OpenOffice, LibreOffice, and WordPress.
Beta Was this translation helpful? Give feedback.
All reactions