Page MenuHomePhabricator

Add functionality to render a single position using <fen> tags
Open, Needs TriagePublic

Description

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

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald TranscriptMar 22 2020, 9:28 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 moved this task from Unsorted to Next on the User-DannyS712 board.

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

https://gerrit.wikimedia.org/r/582609

DannyS712 moved this task from Planned Features to In Progress on the ChessBrowser board.
DannyS712 added a subscriber: Wugapodes.

@Wugapodes can you take a look?

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.

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