Extension:WikibaseInWikitext
WikibaseInWikitext Release status: beta |
|
---|---|
Implementation | ContentHandler , Tag |
Description | Adds the "sparql" tag for rendering SPARQL with some helpful things around it such as list of entities referenced and a link to try it in a SPARQL UI. |
Author(s) | Adam Shorland (Addshoretalk) |
MediaWiki | 1.32+ |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: README CHANGELOG |
$wgWikibaseInWikitextSparqlDefaultUi |
|
<sparql> |
|
The WikibaseInWikitext extension adds the "sparql" tag for rendering SPARQL with some helpful things around it such as list of entities referenced and a link to try it in a SPARQL UI. It also hooks in with extension Syntaxhighlight if provided to make it look pretty.
Installation
edit- Download and place the file(s) in a directory called
WikibaseInWikitext
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WikibaseInWikitext' );
- Configure as required.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
edit$wgWikibaseInWikitextSparqlDefaultUi
- Location of the SPARQL UI to link to. Example: https://addshore-alpha.wiki.opencura.com/query