Skip to content
Snippets Groups Projects
Commit a415db17 authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Pierre Schmitz
Browse files

archwiki: Start migration towards HTML5-style link fragments

parent 565c89ee
No related branches found
No related tags found
1 merge request!516archwiki: merge LocalSettings.archlinux.org.php from the archwiki git repo into LocalSettings.php.j2
......@@ -86,6 +86,13 @@ $wgNamespacesWithSubpages[NS_MAIN] = true;
$wgAllowUserJs = true;
$wgAllowUserCss = true;
# add secondary HTML5-style anchors for sections
$wgFragmentMode = [ 'legacy', 'html5' ];
# TODO: migrate to HTML5-style primary anchors
# (can be done in about a week when the HTML cache is naturally renewed,
# (at least most of the cachced pages) or we can manually purge all pages)
//$wgFragmentMode = [ 'html5', 'legacy' ];
##
## Database settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment