Tag: PHP

Wikibase Phrase Entity, Viewing

This entry is part 7 of 9 in the series Wikibase ecosystem

In my previous post, we got to the point of being able to create a new Wikibase Entity, it is stored in the MediaWiki database as a page, however we can’t actually view it via any interface currently. In this post, we will work through another set of code changes, tackling each issue as we…

By addshore July 12, 2024 2

Wikibase Phrase Entity, Creation

This entry is part 6 of 9 in the series Wikibase ecosystem

Finally, after a long lead up of discussing what an entity is, looking at some examples of entity extensions, and one extension that chose not to make use of the Wikibase Entity system & EntityDocument. What does it take to create a new type of data entity within Wikibase that implements the EntityDocument interface and…

By addshore July 11, 2024 1

A PHP library for jsonstorage.net

I first heard about jsonstorage.net when searching around for a quick place to persist some data while writing a Twitter bot. jsonstorage.net provides a simple JSON storage, with a free tier that can be very useful for small personal projects. The REST API is super simple, GET POST PUT DELETE etc. You can have either public…

By addshore December 9, 2021 0

addwiki php libraries 3.0.0

Back in 2014 I wrote a small collection of PHP libraries, releasing 2.0.0 of the base library in 2015 for interacting with MediaWiki and Wikibase. My goal back then was to create a stable base that PHP bot frameworks could be built on, while also experimenting with some framework like features in surrounding libraries. And…

By addshore October 23, 2021 0

PHP 7 composer docker image digest

At some point in the last weeks the composer docker image that can be found on docker hub switched from PHP7 to PHP8. Some projects, such as wikibase-docker, still require PHP7 for installation. It looks like the composer image is not going to be providing an additional tag using a pre PHP 8 version, thus…

By addshore January 30, 2021 0

mediawiki-docker-dev v1 rewrite

Back in 2017 at the Wikimedia Hackathon, I played around with Docker and docker-compose in relation to MediaWiki and testing with multiple setups at once while developing, meaning multiple PHP versions, web servers and databases. My original slides can still be found here. Since then mediawiki-docker-dev evolved into less of a testing system and more…

By addshore May 22, 2020 5

sMite

sMite stands for ‘simple Mite’, which to most people still means nothing at all. Mite is a time tracking web service, and depending on how companies make use of it things can become more complicated than they should be. smite is how I tried to tackle this complexity in less than 8 hours!

By addshore May 5, 2016 0

My Joomla Component development workflow

My first and currently only Joomla component development was for the SWA UK website. The component manages memberships, events, tickets, results and more and is a rewrite of a previous component for Joomla 1. But in this post lets ignore what the component does and instead concentrate the development workflow that is used. After lots of…

By addshore January 31, 2016 0

Wikidata references from Microdata

Recently some articles appeared on the English Wikipedia Signpost about Wikidata (1, 2, 3). Reading these articles, especially the second and third, pushed me to try to make a dent in the ‘problem’ of references on Wikidata. It turns out that this is actually not that hard!

By addshore December 29, 2015 8