Skip to content

Commit

Permalink
Merge pull request #579 from MaRDI4NFDI/T378762
Browse files Browse the repository at this point in the history
Performane tweaks
  • Loading branch information
physikerwelt authored Nov 1, 2024
2 parents a5402fd + 2df81a3 commit b3ed80e
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 b3ed80e

Please sign in to comment.