TingWiki/Sandbox

From S23Wiki

[edit] Ting considered harmful

[edit] MediaWiki configuration


# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.

# If you customize your file layout, set $IP to the directory that contains
# the other MediaWiki files. It will be used as a base to locate files.
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;
} else {
$IP = dirname( __FILE__ );
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) );

require_once( "includes/DefaultSettings.php" );

# DEBUG
# $wgShowExceptionDetails = true;

# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '128M' );

if ( $wgCommandLineMode ) {
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
die( "This script must be run from the command line\n" );
}
} elseif ( empty( $wgNoOutputBuffer ) ) {
## Compress output if the browser supports it
if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
}

$wgSitename = "S23Wiki";

$wgScriptPath = "/w";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";

## For more information on customizing the URLs please see:
## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
## If using PHP as a CGI module, the ?title= style usually must be used.
$wgArticlePath = "/wiki/$1";
# $wgArticlePath = "$wgScript?title=$1";

$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/common/images/wiki.png";

$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";

$wgEnableEmail = true;
$wgEnableUserEmail = false;

$wgEmergencyContact = "mutante@s23.org";
$wgPasswordSender = 'S23Wiki ';

$wgEnableAPI = false;

/** Show watching users in recent changes, watchlist and page history views */
$wgRCShowWatchingUsers = true; # UPO
/** Show watching users in Page views */
$wgPageShowWatchingUsers = true;
/**
* Show "Updated (since my last visit)" marker in RC view, watchlist and history
* view for watched pages with new changes */
$wgShowUpdatedMarker = true;

## Enable userpage subpages with user style CSS
$wgAllowUserJs = true;
$wgAllowUserCss = true;

## Enable pages starting with minor letters
$wgCapitalLinks = false;


## http://www.mediawiki.org/wiki/Manual:%24wgAllowCategorizedRecentChanges
$wgAllowCategorizedRecentChanges = true;

## Debug Log
$wgDebugLogFile = '$wgScriptPath/debug/debug.log';

## File Cache

$wgUseFileCache = true;
$wgFileCacheDirectory = "/tmp/wikicache";
$wgShowIPinHeader = false;
$wgUseGzip = false;

# Custom namespaces
$wgExtraNamespaces[100] = "LaTeX";

## For a detailed description of the following switches see
## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = false;

$wgDBserver = "localhost";
$wgDBname = "wikidb";
$wgDBuser = "wikiuser";
$wgDBpassword = "mono1599xx";
$wgDBprefix = "";
$wgDBtype = "mysql";

# Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = false;

## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg', 'pdf', 'ogg', 'mid', 'blm', 'txt', 'c', 'x3d', 'bmp');
$wgUploadSizeWarning = 4096 * 1024;

$wgSysopRangeBans = true;

# Broken!? Not anymore!
$wgGoogleMapsKey = "ABQIAAAAXVbwOhuGLXxhcwCxxkbtMhSjiBO_kLbywRuwIcXf-wLnYGr_QhT_EtZZKwYMRMNUWZUTo2izqH0Ugw";
require_once( "extensions/GoogleMaps/GoogleMaps.php" );


$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";

# TrackBacks
$wgUseTrackbacks = false;

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
# $wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX = true;
# $wgMathPath = "$wgScriptPath/math";
# $wgMathDirectory = "$wgScriptPath/math";
# $wgTmpDirectory = "$wgScriptPath/tmp";

$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";

$wgLocalInterwiki = $wgSitename;

$wgLanguageCode = "en";

$wgProxyKey = "9682b40ff2e70f65a0bcc07af7de91b97d3140d519841cf69ef5485f0661daca";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'monobook';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/2.5/";
$wgRightsText = "Attribution-NonCommercial-ShareAlike 2.5 ";
$wgRightsIcon = "http://creativecommons.org/images/public/somerights20.png";
# $wgRightsCode = "by-nc-sa"; # Not yet used

$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
array( 'text'=>'forum', 'href'=>'forum-url' ),
array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
array( 'text'=>'randompage', 'href'=>'randompage-url' ),
array( 'text'=>'wikinode', 'href'=>'wikinode-url' ),
array( 'text'=>'help', 'href'=>'helppage' ),
array( 'text'=>'categories', 'href'=>'categories-url' ),
);


$wgDiff3 = "/usr/bin/diff3";

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgCacheEpoch = max( $wgCacheEpoch, $configdate );

## UDP notification

$wgRC2UDPAddress = "localhost";
$wgRC2UDPPort = "15232";
$wgRC2UDPPrefix = "";

# Anti-Spam

$wgSpamRegex = "/display:none|shlyapa|obsq.info|businessmtv|powerleveling|freepussy|freewebs.com|toppornclips|hydrocodone|viagra|prilosec|effexor|myflooring|hollywood-casino|phentermine|[^o]cialis[^t]|casino-gambling|casino-game|casino-online|party-poker|play-poker|health-medical|tamiflu|xanax|realdiscounts|Carisoprodol|fioricet|myjhy|aol-chat-room|free-web-cam|newport-cigarette|gap-online-coupon|best-buy-com-coupon|cheap-oem-software|resanium.com|overflow:\s*auto;\s*height:\s*[0-4]px;/i";

# Loading Extensions
require_once('extensions/SpecialInterwiki.php');
$wgGroupPermissions['*']['interwiki'] = false;
$wgGroupPermissions['interwiki']['interwiki'] = true;

require_once("extensions/inputbox.php");
# include("extensions/CustomRCExtension.php");
include("extensions/TingExtension.php");
# include("extensions/SetiExtension.php");
# include("extensions/CryptExtension.php");
include("extensions/RssExtension.php");
include("extensions/FnordExtension.php");
include("extensions/InterwikiExtension.php");
include("extensions/FigletExtension.php");
include("extensions/CowsayExtension.php");
include("extensions/BoincExtension.php");
include("extensions/UserStatsExtension.php");
include("extensions/DonateExtension.php");
include("extensions/DiscoQuotesExtension.php");
# Anti-Spam
# include("includes/SpamBlacklist.php");
# require_once( "includes/SpamBlacklist.php" );

$wgSpamBlacklistFiles = array("DB: wikidb Spam_blacklist");

include("extensions/TopCatExtension.php");
include("extensions/TopPageExtension.php");
include("extensions/ContribExtension.php");
include("extensions/CounterExtension.php");
include("extensions/Graph.php");
include("extensions/Tasks.php");
include("includes/SpecialTasks.php");
include("extensions/Calendar.php");
include("extensions/GoogleSearch.php");
include("extensions/ManExtension.php");
include("extensions/BlinkenExtension.php");
include("extensions/BlinkenMovieExtension.php");
include("extensions/SiteStatsExtension.php");
include("extensions/FlickrExtension.php");
include("extensions/BoxesExtension.php");
include("extensions/WikistatsExtension.php");
include("extensions/poieticExtension.php");

# SyntaxHighlighting
require_once("extensions/syntaxHighlightExtension.php");
require("extensions/Mimetex.php");

# Category Tree using Ajax
$wgUseAjax = true;
require_once( 'extensions/CategoryTree/CategoryTree.php' );

# Ajax Watch / Unwatch
$wgAjaxWatch = true;

# WikiFeeds extended RSS Features
require("$IP/extensions/GenericXmlSyndicationFeed.php");
require("$IP/extensions/SpecialWikiFeeds.php");
$wgWikiFeedsSettings['cacheEnable'] = true;

# FretsOnFire Highscores

include("extensions/FoFExtension.php");

# Dynamic Page List
# http://www.mediawiki.org/wiki/DPL
# require_once("$IP/extensions/DynamicPageList/DynamicPageList2.php");

# SimpleForms
# http://www.mediawiki.org/wiki/Extension:Simple_Forms
include("extensions/SimpleForms.php");
$wgSimpleFormsUseAjax = "/w/extensions/mootools.v1.11.js";
$wgSimpleFormsFormMagic = "form";
$wgSimpleFormsInputMagic = "input";
$wgSimpleFormsRequestMagic = "request";
$wgSimpleFormsRequestPrefix = '';
$wgSimpleFormsAllowCreate = true;
$wgSimpleFormsAllowEdit = true;
$wgSimpleFormsAllowRemoteAddr = "127.0.0.1,84.16.233.231,217.20.122.189";

# Parser Functions
# http://meta.wikimedia.org/wiki/ParserFunctions
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );

# Pdf_Book
# http://www.mediawiki.org/wiki/Extension:Pdf_Book
# http://www.organicdesign.co.nz/Extension:Pdf_Book.php
# include("extensions/Pdf_Book.php");

# Wiki2Latex (W2L)
# http://www.mediawiki.org/wiki/Extension:Wiki2LaTeX
# require_once($IP."/extensions/w2l/w2lExporter.php");
# require_once($IP."/extensions/w2l/w2lLatexUtil.php");

# Wiki3D
# http://www.mediawiki.org/wiki/Extension:Wiki3D
require_once("$IP/extensions/Wiki3D/Wiki3D.php");

# X3D
include("extensions/X3DExtension.php");

# Reverse
include("extensions/ReverseExtension.php");

# ConfirmEdit
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );

# JargonFile
include("extensions/JargonExtension.php");

# MyTubeX video playlists
include("extensions/MyTubeXtension.php");

# AutoLinkExtension
# include("extensions/AutoLinkExtension.php");

# QuizExtension
require_once 'extensions/quiz/Quiz.php';

?>

[edit] System user database

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
Debian-exim:x:102:102::/var/spool/exim4:/bin/false
identd:x:100:65534::/var/run/identd:/bin/false
sshd:x:101:65534::/var/run/sshd:/usr/sbin/nologin
mysql:x:103:104:MySQL Server,,,:/var/lib/mysql:/bin/false
antisect:x:1001:1001:antisect,,,:/home/antisect:/bin/bash
mutante:x:1002:1002:aktion mutante,,,:/home/mutante:/bin/bash
hundfred:x:1003:1003:hund mit mayo,,,:/home/hundfred:/bin/false
cosmea:x:1004:1004:cosmea,,,:/home/cosmea:/bin/false
markus:x:1005:1005:,,,:/home/markus:/bin/false
finn:x:1006:1006:finn,,,:/home/finn:/bin/false
drowl:x:1007:1007:Dr.Owl,,,:/home/drowl:/bin/false
nijusan:x:1008:1008:NiJuSan,,,:/home/nijusan:/bin/false
vaxima:x:1000:1000:Alexander Horn,,,:/home/vaxima:/bin/false
kunda:x:1009:1009:kunda,,,:/home/kunda:/bin/false
padma:x:1010:1010:Padmajai,,,:/home/padma:/bin/bash
wiki:x:1011:1011:S23 Wiki,,,:/home/wiki:/bin/false
zores:x:1012:1012:,,,:/home/zores:/bin/false
mattis:x:1013:1013:Mattis Manzel,,,:/home/mattis:/bin/false
munin:x:105:105::/var/lib/munin:/bin/false
drfalken:x:1014:1014:DrFalken,,,:/home/drfalken:/bin/false
edgar:x:1015:1015:Edgar E.,23,,:/home/edgar:/bin/bash
potrock:x:1016:1016:,,,:/home/potrock:/bin/false
took:x:1017:1017:Guido Pannenbecker,,,:/home/took:/bin/false
talisman:x:1018:1018:,,,:/home/talisman:/bin/false
qoreqyas:x:1019:1019:Sven,,,:/home/qoreqyas:/bin/false
ntop:x:104:107::/var/lib/ntop:/bin/false
xbs:x:1020:1020:XBS,,,:/home/xbs:/bin/false
kdoz:x:1021:1021:kdoz,,,:/home/kdoz:/bin/false
phrack:x:1022:1022:ph,,,,fnord:/home/phrack:/bin/bash
ntp:x:106:108::/home/ntp:/bin/false
moonedit:x:1023:1023:Moon Edit,,,:/home/moonedit:/bin/false
postfix:x:107:109::/var/spool/postfix:/bin/false
fnord:x:1024:1024:shared foobar user,,,,fnord:/home/fnord:/bin/false
tetrinet:x:1025:1025:Tetrinet server,,,:/home/tetrinet:/bin/false
bacula:x:108:111:Bacula:/var/lib/bacula:/bin/false
robih:x:1026:1026:Robi H.,,,:/home/robih:/usr/bin/wikistats_admin.sh
irc:x:1027:1027:,,,:/home/irc:/bin/bash

Personal tools