Skip to content

Commit

Permalink
Performane tweaks
Browse files Browse the repository at this point in the history
Some performance tweaks temorary applied to
the portal during the investigation of the bad edit performance
https://phabricator.wikimedia.org/T378762
  • Loading branch information
physikerwelt authored Nov 1, 2024
1 parent a5402fd commit 2df81a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mediawiki/LocalSettings.d/LocalSettings.override.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@
// speed up speed for anonymous users https://www.mediawiki.org/wiki/Manual:$wgUseFileCache
$wgUseFileCache=true;

// speed up article count, by reducing the number of queries to the (giant) pagelink tables
$wgArticleCountMethod='any';
// some performance for large wikis optimization (used by WMF) https://www.mediawiki.org/wiki/Manual:$wgMiserMode
$wgMiserMode=true;
$wgCaptchaTriggers['addurl'] = false;

# MaRDI profile types items
$wgMathProfileQueries['dataset']='?item wdt:P1460 wd:Q5984635';
$wgMathProfileQIdMap['dataset']='Q5984635';
Expand Down

0 comments on commit 2df81a3

Please sign in to comment.