On Sat, Sep 14, 2019 at 3:28 PM Beatrice Torracca <[email protected]> wrote:
> There is a macro in the MoinMoin api to find if a page exist: Thanks for the API pointer, with that and some grepping in the codebase I managed to add a few changes to make my proposal work: https://salsa.debian.org/debian/wiki.debian.org/commit/80ae82957ae6cd4e19bbeae55e68908bb4971683 It is already working on the Italian translation of the DebianReleases page, it/DebianReleases links to it/DebianBuster but contains <<DebianCodenameLink(stable)>>. > I did not find anything on a way to extract the iso-code of the language > (that does not mean it does not exist). I found that macro.formatter.page.pi['language'] contains the language code. -- bye, pabs https://wiki.debian.org/PaulWise

