# WikibaseInWikitext

> MediaWiki extension, that allows rendering results from SPARQL queries on wiki pages

**Wikidata**: [Q116268372](https://www.wikidata.org/wiki/Q116268372)  
**Source**: https://4ort.xyz/entity/wikibaseinwikitext

## Summary
WikibaseInWikitext is a free software extension for MediaWiki developed by Adam Shorland. Written in PHP and licensed under the GNU General Public License (v2.0 or later), it enables the rendering of results from SPARQL queries directly within wiki pages.

## Key Facts
- **Type:** MediaWiki extension, free software.
- **Primary Function:** Allows rendering results from SPARQL queries on wiki pages.
- **Developer:** Adam Shorland (software developer, computer scientist, Wikimedian).
- **Programming Language:** PHP.
- **License:** GNU General Public License, version 2.0 or later (GPL-2.0+).
- **Dependencies:** Requires MediaWiki version 1.32 or higher and the Wikibase Repository extension.
- **Source Code:** Hosted on GitHub at `https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext`.
- **Issue Tracker:** Available at `https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext/issues`.
- **Official Website:** `https://www.mediawiki.org/wiki/Extension:WikibaseInWikitext`

## FAQs
### Q: What is the primary purpose of WikibaseInWikitext?
A: The extension allows users to render the results of SPARQL queries directly onto a wiki page. This bridges the gap between structured data storage and page presentation.

### Q: Who created WikibaseInWikitext?
A: The extension was created by Adam Shorland, a software developer and computer scientist known for his work as a Wikimedian.

### Q: What software requirements are needed to run WikibaseInWikitext?
A: The extension requires a MediaWiki installation running version 1.32 or higher, as well as the Wikibase Repository extension.

## Why It Matters
WikibaseInWikitext addresses a critical need in the MediaWiki ecosystem: the seamless integration of structured data querying into standard content pages. While MediaWiki is traditionally known for its text-based content and Wikibase for its structured linked data, these two realms often operate separately. By enabling the rendering of SPARQL query results directly in wikitext, this extension empowers wiki administrators and editors to create dynamic, data-driven pages without relying on external tools or complex API calls.

The extension is significant for projects that utilize the Wikibase software stack (such as Wikidata or custom Wikibase installations) but need to display that data on standard wiki pages. It simplifies the process of data visualization and retrieval for end-users. As a free software tool licensed under GPL 2.0+, it encourages community contribution and adaptation, ensuring that the utility remains accessible for various knowledge management and web development contexts. Its dependency on widely used standards like PHP and SPARQL ensures it fits into existing technical infrastructures.

## Notable For
- **SPARQL Integration:** Uniquely bridges the gap between the Wikibase Repository and standard wikitext by enabling direct SPARQL query rendering.
- **Dynamic Content:** Transforms static wiki pages into dynamic interfaces that display live data results.
- **Open Source:** Distributed under the GNU General Public License, allowing for free use, modification, and distribution.
- **Dedicated Development:** Created by a recognized Wikimedian and software developer, ensuring alignment with the MediaWiki community's needs.

## Body
### Technical Overview
WikibaseInWikitext is a software extension designed for the MediaWiki platform. It is classified as both a MediaWiki extension and free software. The primary technical function of the extension is to facilitate the display of data retrieved via SPARQL (SPARQL Protocol and RDF Query Language) directly onto a wiki page.

### Development and Authorship
The extension was developed by Adam Shorland, a software developer, computer scientist, and Wikimedian. The codebase is written in PHP, the scripting language standard for MediaWiki development.

### Requirements and Dependencies
To function correctly, WikibaseInWikitext requires specific software dependencies:
*   **MediaWiki:** The installation must be running version 1.32 or higher.
*   **Wikibase Repository:** The extension relies on the Wikibase Repository software to interact with the structured data.

### Licensing and Distribution
The software is distributed under the **GNU General Public License, version 2.0 or later**. This copyright status ensures that the software remains free for users to run, study, change, and distribute.

### Repository and Resources
The project is actively hosted on GitHub. Key resources include:
*   **Source Code:** `https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext`
*   **Issue Tracker:** `https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext/issues`
*   **Documentation:** Available on MediaWiki.org in multiple languages.

## References

1. [Source](https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext/blob/main/COPYING)
2. MediaWiki.org
3. GitHub
4. [Source](https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext/commit/d0ac236624eeb4cd9e2a2b3c0cc921f65556588b)
5. [Source](https://github.com/wbstack/mediawiki-extensions-WikibaseInWikitext/blob/main/README.md)
6. Wikibase World