Background
The game of chess is an important part of human culture. Wikipedia documents chess. English Wikipedia's WikiProject Chess has 8887 articles as of May 2025. https://templatecount.toolforge.org/index.php?lang=en&namespace=10&name=WikiProject_Chess
By way of rough comparison, this is about 29% of the size of WikiProject Mathematics. https://templatecount.toolforge.org/index.php?lang=en&namespace=10&name=WikiProject_Mathematics
Current situation
At present, the display for chess is less than optimal.
One way is a straight image. PGN (https://en.wikipedia.org/wiki/Portable_Game_Notation) is given, but takes some learning, and casual players might not understand it very well.
Alternatively, people are using animated gifs:
https://en.wikipedia.org/wiki/Immortal_Game#/media/File:Immortal_Game,_1851.gif
This is not how chess sites like lichess, chess.com, etc operate. People expect to be able to see the moves played, and scroll backwards and forwards through any games.
Proposal
There are two chess-based extensions currently available:
- ChessBrowser https://www.mediawiki.org/wiki/Extension:ChessBrowser by @Wugapodes and @Kipod
- PgnJS https://www.mediawiki.org/wiki/Extension:PgnJS by @Xeyownt
Of these, ChessBrowser seems to be the more promising.
Its release status is beta, but there is a strong case for deploying it to Wikipedias because its functionality, although beta, is better than current functionality. Once deployed, its prominence should mean that the geeks can be pushed to improve its functionality.
- If the functionality offered by this extension might be achieved in another way, i.e. via Lua, then that might count against its deployment. But, if it is achievable that way, no-one's done it yet.
- There needs to be a security review, especially after all of what happened with Extension:Graph.
You can see it working here:
https://en.wikipedia.beta.wmcloud.org/wiki/User:Ori.livneh/Chess

