Skip to content
Snippets Groups Projects

Finish migration to HTML5-style link fragments

Closed Christian Heusel requested to merge github/fork/lahwaacz/master into master
1 file
+ 2
6
Compare changes
  • Side-by-side
  • Inline
@@ -86,12 +86,8 @@ $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' ];
# Section anchors: use HTML5-style anchors as primary, legacy as fallbback
$wgFragmentMode = [ 'html5', 'legacy' ];
##
Loading