
There’s a good reason why I included the phrase “thank goodness...” in that post.
I built wdlite two years ago. Yet breaking changes could happen at any point, and sooner or later, something was bound to stop working.
As of 10 October 2026, the app was still working as expected. However, when I tried it again last night, on 17 October, I finally encountered a problem.
Well, it wasn’t entirely broken. It still worked on desktop, but not on mobile.
After some investigation, I discovered that the Wikidata API was returning different HTML output depending on whether the request came from a desktop or mobile device.
On mobile, Wikidata serves its mobile view, which includes new, mobile-specific CSS classes such as wbui2025. My old wdlite implementation didn’t know how to handle these classes, so the app failed to process the page correctly.
The fix was to update wdlite to account for this special case and handle the new CSS classes appropriately.
Done. wdlite is working on mobile again.
I’m also considering a new feature: analysing the 50 most recent edits to a Wikidata item and ranking contributors by how many of those edits they made.
This would offer a quick way to identify which contributors have been actively maintaining a particular item. It’s a small feature, but it could help reveal who has been paying attention to an item’s development.
wdlite v26.10.18 has been deployed to Wikimedia Toolforge. You can access it through the usual URL : https://wdlite.toolforge.org/
Update: Following the recent global PHP catastrophe, Toolforge appears to be broken.


My app does not actually need PHP, but I had to convert this tiny HTML app to index.php just to deploy it on Toolforge. That decision has now become collateral damage.
At the time of writing, both toolforge.org and wdlite.toolforge.org remain inaccessible. However, you can still access the newly updated app through GitHub.
https://altilunium.github.io/Wikidatalite/
Emergency update
tools.wdlite@tools-bastion-15:~$ toolforge webservice --mount=none buildservice start
Traceback (most recent call last):
File "/usr/bin/toolforge-webservice", line 33, in <module>
sys.exit(load_entry_point('toolforge-webservice==0.103.27', 'console_scripts', 'toolforge-webservice')())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/toolsws/cli/webservice.py", line 579, in main
start(job, "Starting webservice")
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/toolsws/cli/webservice.py", line 105, in start
job.request_start()
~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 758, in request_start
_handle_api_error(e, self.tool.name)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 127, in _handle_api_error
raise error
File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 754, in request_start
self.api.create_object(
~~~~~~~~~~~~~~~~~~~~~~^
"deployments", self._get_deployment(started_at)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/toolforge_weld/kubernetes.py", line 250, in create_object
return self.post(
~~~~~~~~~^
kind,
^^^^^
...<2 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/toolforge_weld/api_client.py", line 190, in post
response = self._make_request("POST", url, **kwargs).json()
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/toolforge_weld/api_client.py", line 157, in _make_request
raise e
File "/usr/lib/python3/dist-packages/toolforge_weld/api_client.py", line 136, in _make_request
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://k8s.tools.eqiad1.wikimedia.cloud:6443/apis/apps/v1/namespaces/tool-wdlite/deploymentstools.wdlite@tools-bastion-15:~$ mkdir -p ~/www/static
tools.wdlite@tools-bastion-15:~$ cd ~/www/static
tools.wdlite@tools-bastion-15:~/www/static$ git clone https://gitlab.wikimedia.org/toolforge-repos/wdlite
tools.wdlite@tools-bastion-15:~/www/static$ cp wdlite/index.html ~/www/static
tools.wdlite@tools-bastion-15:~/www/static$ cp wdlite/noto.woff2 ~/www/static





