On Sun, 22 Mar 2026 at 15:21, sebb <[email protected]> wrote:
>
> On Sun, 22 Mar 2026 at 14:32, Niall Pemberton <[email protected]> 
> wrote:
> >
> > I've generated the YAML for the ServiceMix retirement - they have 6
> > CWIKI sites and 5 of them carry the retirement banner, but for some
> > reason I don't see it for SMX4NMR - any ideas?
> >
> > The following CWIKI sites HAVE the banner:
> >     https://cwiki.apache.org/confluence/display/SM/
> >     https://cwiki.apache.org/confluence/display/SMX3/
> >     https://cwiki.apache.org/confluence/display/SMX4/
> >     https://cwiki.apache.org/confluence/display/SMX4KNL/
> >     https://cwiki.apache.org/confluence/display/SMXCOMP/
> >
> > But its MISSING from this one:
> >     https://cwiki.apache.org/confluence/display/SMX4NMR/
> >
> > I can see that the smx4nmr.txt file has been created in the
> > cwiki-retired GitHub branch:
> >     https://github.com/apache/attic/tree/cwiki-retired
> >     https://github.com/apache/attic/blob/cwiki-retired/smx4nmr.txt
>
> The banner filter expects to find the following HTML:
>
> <div id="page">
>
> However, for some reason that is not present on the page; instead it uses
>
> <div id="PageContent">
>
> So the banner is never inserted.
>
> The generated page looks substantially different from the usual.
> I hope there aren't any other different output formats ...
>
> The Lua banner filter (in Puppet) will need to be updated to take
> account of the difference.
>
> I've pushed a change to Puppet which will hopefully fix the issue when
> the next update runs.

The main page is fixed, but some of the sub-pages are not.
Not sure it's possible to do so, as their URLs don't contain the wiki name.

> > Niall

Reply via email to