Update the links, to use <<Anchor(foo)>> instead of #head-1234567, anchors auto-generated by moinmoin's <TableOfContents> feature. moin-1.9 create meaningful anchor name based on the header name, moin-1.7 used to create random ID.

page_header1 = """<table width='100%'><tr><td style="background:#ffd0d0; text-align: center;padding:15pt">wiki.debian.org is in read-only mode for a maintenance operation. We will be back in 60 minutes. </td></tr></table>"""acl_rights_default = 'Known:read All:read'

# This alias needs to be updated on wiki upgrade, according to "release_short" in
# /usr/share/pyshared/MoinMoin/version.py
Alias /moin_static191 /usr/share/moin/htdocs/
ExpiresActive On
<Directory /usr/share/moin/htdocs>
Order allow,deny
Allow from all
# Moinmoin use file-versioning, so we can cache agressively.
ExpiresDefault "access plus 1 week"
</Directory>
<Directory /srv/wiki.debian.org/usr/htdocs>
Order allow,deny
Allow from all
ExpiresDefault "access plus 1 day"
</Directory>

We can get rid of the old symlinks in /srv/wiki.debian.org/usr/htdocs/: