Thread:Manual talk:Short URL/Blank Page after follow Other how-to mini-guides/reply (2)

Actual LocalSettings.php

<?php
 * 1) This file was automatically generated by the MediaWiki 1.20.2
 * 2) installer. If you make manual changes, please keep track in case you
 * 3) need to recreate them later.
 * 4) See includes/DefaultSettings.php for all configurable settings
 * 5) and their default values, but don't forget to make changes in _this_
 * 6) file, not there.
 * 7) Further documentation for configuration settings may be found at:
 * 8) http://www.mediawiki.org/wiki/Manual:Configuration_settings
 * 1) Further documentation for configuration settings may be found at:
 * 2) http://www.mediawiki.org/wiki/Manual:Configuration_settings

if ( !defined( 'MEDIAWIKI' ) ) { exit; }
 * 1) Protect against web entry


 * 1) Uncomment this to disable output compression
 * 2) $wgDisableOutputCompression = true;

$wgSitename     = "HMIpedia"; $wgMetaNamespace = "HMIpedia";

$wgScriptPath      = ""; $wgScriptExtension = ".php";
 * 1) The URL base path to the directory containing the wiki;
 * 2) defaults for all runtime URL paths are based off of this.
 * 3) For more information on customizing the URLs
 * 4) (like /w/index.php/Page_title to /wiki/Page_title) please see:
 * 5) http://www.mediawiki.org/wiki/Manual:Short_URL
 * 6) $wgArticlePath      = "/$1 #or "{$wgScript}/$1"; or "wiki/$1";
 * 7) $wgUsePathInfo      = true;

$wgServer          = "http://hmipedia.org";
 * 1) The protocol and server name to use in fully-qualified URLs

$wgStylePath       = "$wgScriptPath/skins";
 * 1) The relative URL path to the skins directory

$wgLogo = "{$wgScriptPath}/Lambang_HMI2.jpg";
 * 1) The relative URL path to the logo.  Make sure you change this from the default,
 * 2) or else you'll overwrite your logo when you upgrade!
 * 3) $wgLogo = "$wgScriptPath/resources/assets/wiki.png";


 * 1) UPO means: this is also a user preference option

$wgEnableEmail     = true; $wgEnableUserEmail = true; # UPO

$wgEmergencyContact = "admin@hmipedia.org"; $wgPasswordSender  = "admin@hmipedia.org";

$wgEnotifUserTalk     = true; # UPO $wgEnotifWatchlist    = true; # UPO $wgEmailAuthentication = true;

$wgDBtype          = "mysql"; $wgDBserver        = "localhost"; $wgDBname          = "mydbname"; $wgDBuser          = "mydbuser"; $wgDBpassword      = "mydbpassword";
 * 1) Database settings

$wgDBprefix        = "id"; # id
 * 1) MySQL specific settings

$wgDBTableOptions  = "ENGINE=MyISAM, DEFAULT CHARSET=binary";
 * 1) MySQL table options to use during installation or update

$wgDBmysql5 = false;
 * 1) Experimental charset support for MySQL 5.0.

$wgMainCacheType   = CACHE_NONE; $wgMemCachedServers = array;
 * 1) Shared memory settings

$wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgGenerateThumbnailOnParse = false;
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:

$wgUseInstantCommons = true;
 * 1) InstantCommons allows wiki to use images from http://commons.wikimedia.org

$wgShellLocale = "en_US.utf8";
 * 1) If you use ImageMagick (or any other shell command) on a
 * 2) Linux server, this will need to be set to the name of an
 * 3) available UTF-8 locale


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


 * 1) Set $wgCacheDirectory to a writable directory on the web server
 * 2) to make your wiki go slightly faster. The directory should not
 * 3) be publically accessible from the web.
 * 4) $wgCacheDirectory = "$IP/cache";

$wgLanguageCode = "id";
 * 1) Site language code, should be one of the list in ./languages/Names.php

$wgSecretKey = "xxx";

$wgUpgradeKey = "xxx";
 * 1) Site upgrade key. Must be set to a string (default provided) to turn on the
 * 2) web installer while LocalSettings.php is in place

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = "http://creativecommons.org/licenses/by-sa/3.0/"; $wgRightsText = "Creative Commons Attribution Share Alike"; $wgRightsIcon = "{$wgStylePath}/common/images/cc-by-sa.png";
 * 1) For attaching licensing metadata to pages, and displaying an
 * 2) appropriate copyright notice / icon. GNU Free Documentation
 * 3) License and Creative Commons licenses are supported so far.

$wgDiff3 = "/usr/bin/diff3";
 * 1) Path to the GNU diff3 utility. Used for conflict resolution.

$wgDefaultSkin = "vector";
 * 1) Default skin: you can change the default skin. Use the internal symbolic
 * 2) names, ie 'vector', 'monobook':

require_once "$IP/skins/CologneBlue/CologneBlue.php"; require_once "$IP/skins/Modern/Modern.php"; require_once "$IP/skins/MonoBook/MonoBook.php"; require_once "$IP/skins/Vector/Vector.php";
 * 1) Enabled skins.
 * 2) The following skins were automatically enabled:


 * 1) End of automatically generated settings.
 * 2) Add more configuration options below.

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); require_once( "$IP/extensions/Gadgets/Gadgets.php" ); require_once( "$IP/extensions/Nuke/Nuke.php" ); require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); require_once( "$IP/extensions/Renameuser/Renameuser.php" ); require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
 * 1) Enabled Extensions. Most extensions are enabled by including the base extension file here
 * 2) but check specific extension documentation for more details
 * 3) The following extensions were automatically enabled:

require_once( "$IP/extensions/Cite/Cite.php" ); require_once("$IP/extensions/ImageMap/ImageMap.php"); require_once("$IP/extensions/AbuseFilter/AbuseFilter.php"); require_once "$IP/extensions/SpamBlacklist/SpamBlacklist.php";

$wgAutoConfirmAge = 86400*3; $wgAutoConfirmCount = 5; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['autoconfirmed']['createpage'] = true;
 * 1) AutoConfirm Configuration

require_once("$IP/extensions/ConfirmEdit/QuestyCaptcha.php"); $wgCaptchaClass = 'QuestyCaptcha'; $wgCaptchaQuestions[] = array( 'question' => 'A question?', 'answer' => 'An answer!' ); $wgCaptchaQuestions[] = array( 'question' => 'Siapakah nama pendiri HMI?', 'answer' => 'Lafran Pane' ); $wgCaptchaQuestions[] = array( 'question' => "Apakah nama situs wiki ini?", 'answer' => "$wgSitename" ); $wgCaptchaQuestions[] = array( 'question' => 'Tuliskan kata rahasia, "5 februari", disini:', 'answer' => '5 februari' ); $wgCaptchaQuestions[] = array( 'question' => 'Tahun berapa HMI berdiri?', 'answer' => '1947' ); $wgCaptchaQuestions[] = array( 'question' => 'Siapakah nama ketua umum pbhmi yang juga pernah menjabat ketua umum partai demokrat?', 'answer' => 'Anas Urbaningrum' ); $wgCaptchaQuestions[] = array( 'question' => 'Huruf "I" dalam gambar ini singkatan dari? ', 'answer' => 'Islam' );
 * 1) QuestyCaptcha Configuration

$wgGroupPermissions['*'           ]['skipcaptcha'] = false; $wgGroupPermissions['user'        ]['skipcaptcha'] = false; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false; $wgGroupPermissions['bot'         ]['skipcaptcha'] = true; // registered bots $wgGroupPermissions['sysop'       ]['skipcaptcha'] = true;
 * 1) ConfirmEdit skipcaptcha

$wgGroupPermissions['emailconfirmed']['skipcaptcha'] = true; $ceAllowConfirmedEmail = true;
 * 1) ConfirmEdit confirmed their email

$wgCaptchaTriggers['edit']         = false; $wgCaptchaTriggers['create']       = true; $wgCaptchaTriggers['addurl']       = true; $wgCaptchaTriggers['createaccount'] = true; $wgCaptchaTriggers['badlogin']     = true;

$wgCaptchaTriggersOnNamespace[NS_TALK]['addurl'] = false; $wgCaptchaTriggersOnNamespace[NS_PROJECT]['edit'] = true;

$wgGroupPermissions['user']['skipcaptcha'] = true; $wgCaptchaTriggers['edit'] = true;

$wgGroupPermissions['*']['createaccount'] = false;
 * 1) restrict account creation, cabut larangan ini setelah selesai membersihkan spam.

Deleted .htaccess: RewriteEngine On RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/index.php [L]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^/?images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/thumb.php?f=$1&width=$2 [L,QSA,B]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^/?images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]

Thank you for your reply and help.