Extension:WikibaseInWikitext
From Linux Web Expert
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:
<translate> Note:</translate> README CHANGELOG |
$wgWikibaseInWikitextSparqlDefaultUi |
|
<sparql> |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- <translate> Download and place the file(s) in a directory called <tvar name=name>
WikibaseInWikitext
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'WikibaseInWikitext' );
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
$wgWikibaseInWikitextSparqlDefaultUi
- Location of the SPARQL UI to link to. Example: https://addshore-alpha.wiki.opencura.com/query
Categories:
- Pages with script errors
- Pages with broken file links
- Beta status extensions
- Extensions without an image
- ContentHandler extensions
- Tag extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in GitHub version control
- ParserFirstCallInit extensions
- All extensions
- Extensions not in ExtensionJson
- Wikibase extensions