Skip to content

Commit ce40825

Browse files
authored
Merge pull request #5 from wbstack/InstallInstructions
Add some install instructions to the README
2 parents 0fb2db5 + 24c78d3 commit ce40825

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,22 @@ This is currently intended for use on https://wbstack.com and might change witho
1010

1111
- $wgWikibaseInWikitextSparqlDefaultUi - Location of the SPARQL UI to link to. Example: https://addshore-alpha.wiki.opencura.com/query
1212

13-
**Usage in Wikitext:**
13+
## Installation
1414

15+
Download the extension into your MediaWiki extensions directory.
16+
17+
In your LocalSettings.php
18+
19+
```php
20+
wfLoadExtension('WikibaseInWikitext');
21+
$wgWikibaseInWikitextSparqlDefaultUi = 'URL TO YOUR QUERY UI HERE';
1522
```
23+
24+
## Usage
25+
26+
This extensions functionality can be used in wikitext
27+
28+
```wikitext
1629
<sparql list="1" tryit="1">
1730
#Cats
1831
SELECT ?item ?itemLabel

0 commit comments

Comments
 (0)