See one use case at T223460: datatype for chess (chessboard in FEN notation)
Would also be useful for discussion specific positions where a full game isn't needed
Description
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/ChessBrowser | master | +324 -48 | Add <fen> tags to display a single position with a static board |
Related Objects
Event Timeline
Change 582609 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/ChessBrowser@master] Add <fen> tags to display a single position with a static board
You may want to take a look at the Chess diagram template and its associated lua module (also written by @Kipod). I'm not sure how easy it is to turn lua modules into extensions, but if we want to support static, single position diagrams, it would probably be easier to start there since it already has features such as variable board sizes, fairy chess pieces, and on-board annotations like arrows.
For now I was just implementing a basic <fen> tag for legal positions using the existing code
Change 582609 merged by jenkins-bot:
[mediawiki/extensions/ChessBrowser@master] Add <fen> tags to display a single position with a static board