Mediawiki Customizations

From RARFORGE
Jump to: navigation, search

Contents

Common CSS

MediaWiki:Common.css

File Uploads

No Extension

  • .../includes/upload/UploadBase.php
if ( $this->mFinalExtension ==  ) {
                //$this->mTitleError = self::FILETYPE_MISSING;                                                                                                                                                   
                //    return $this->mTitle = null;           

LocalSettings.php

$wgLogo =  "{$wgScriptPath}/images/rarforge_logo.png";
$wgStrictFileExtensions = false;
$wgCheckFileExtensions = false;
$wgFileBlacklist = array();
//$wgMainCacheType    = CACHE_NONE;
$wgUseFileCache = true;
$wgFileCacheDirectory = "/var/www/rarforge/mediawiki/cache";
$wgShowIPinHeader = false;
$wgDisableCounters = true;

Extensions

CategoryTree

Syntax Highlight GeSHi

http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SyntaxHighlight_GeSHi.git

require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");

CSS

MediaWiki:Geshi.css

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox