Skip to content

Commit

Permalink
refactor: Config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
octfx committed May 9, 2024
1 parent dc3a9b6 commit 5187f9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/extensions/config/semanticmediawiki.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
$smwgNamespacesWithSemanticLinks[NS_UPDATE] = true;
$smwgNamespacesWithSemanticLinks[828] = true;

$smwgQMaxInlineLimit = 2500;
# Set unknown attributes to text
$smwgPDefaultType = '_txt';

$smwgQMaxInlineLimit = 2500;
# Experimental Caching
$smwgMainCacheType = 'redis';
$smwgQueryResultCacheType = 'redis';
Expand Down
3 changes: 3 additions & 0 deletions config/skins/citizen.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

$wgCitizenMaxSearchResults = 10;

# Default to dark theme
$wgCitizenThemeDefault = 'dark';

# Add links to footer
$wgHooks['SkinAddFooterLinks'][] = static function ( $sk, $key, &$footerlinks ) {
$rel = 'nofollow noreferrer noopener';
Expand Down

0 comments on commit 5187f9b

Please sign in to comment.