Difference between revisions of "Template:LocalSettings.php-Tweaks"

From SemanticOrganization
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
# Use Tweeki as default skin
 +
$wgDefaultSkin = 'tweeki';
 +
 
  # Show Tweeki's advanced features by default
 
  # Show Tweeki's advanced features by default
 
  $wgDefaultUserOptions['tweeki-advanced'] = 1;
 
  $wgDefaultUserOptions['tweeki-advanced'] = 1;
 +
 +
# Use Bootstrap Tooltips
 
  $wgTweekiSkinUseTooltips = true;
 
  $wgTweekiSkinUseTooltips = true;
 
   
 
   
Line 10: Line 15:
 
  $smwgEnabledEditPageHelp = false;
 
  $smwgEnabledEditPageHelp = false;
 
  $smwgLinksInValues = true;
 
  $smwgLinksInValues = true;
 +
$smwgPageSpecialProperties[] = '_CDAT';
 
   
 
   
 
  # Settings for Page Forms
 
  # Settings for Page Forms
 
  $wgPageFormsAutocompleteOnAllChars = true;
 
  $wgPageFormsAutocompleteOnAllChars = true;
 
# Disable caching
 
$wgEnableParserCache = false;
 
$wgCachePages = false;
 
 
   
 
   
 
  # Allow display titles for automatically created page names
 
  # Allow display titles for automatically created page names
 
  $wgRestrictDisplayTitle = false;
 
  $wgRestrictDisplayTitle = false;
 +
 +
# Encode section IDs with modern html5 style so Scrollspy works with special chars
 +
# becomes obsolete with MW 1.37
 +
$wgFragmentMode = [ 'html5', 'legacy' ];
 +
 +
# Use full screen width when no sidebar is shown
 +
$wgTweekiSkinGridNone = [
 +
  "mainoffset" => 0,
 +
  "mainwidth" => 12
 +
];

Latest revision as of 18:18, 18 May 2022

# Use Tweeki as default skin
$wgDefaultSkin = 'tweeki';

# Show Tweeki's advanced features by default
$wgDefaultUserOptions['tweeki-advanced'] = 1;

# Use Bootstrap Tooltips
$wgTweekiSkinUseTooltips = true;

# Enable String Functions
$wgPFEnableStringFunctions = true;

# Enable Semantic MediaWiki
enableSemantics('YOURDOMAIN.TLD');
$smwgEnabledEditPageHelp = false;
$smwgLinksInValues = true;
$smwgPageSpecialProperties[] = '_CDAT';

# Settings for Page Forms
$wgPageFormsAutocompleteOnAllChars = true;

# Allow display titles for automatically created page names
$wgRestrictDisplayTitle = false;

# Encode section IDs with modern html5 style so Scrollspy works with special chars
# becomes obsolete with MW 1.37
$wgFragmentMode = [ 'html5', 'legacy' ];

# Use full screen width when no sidebar is shown
$wgTweekiSkinGridNone = [ 
  "mainoffset" => 0, 
  "mainwidth" => 12
];