User talk:Burgutex

From mediawiki.org

Hi, I've deleted your page because that's not the way to ask questions here, such questions should go to Project:Support desk/Sections/Installation. I haven't moved your question to that page since it lacked the most important part: what went wrong. Please post more details there. And you generally don't need to post your LocalSettings unless you've been specifically asked to do so or the problem obviously lies within it. Thanks! Max Semenik 09:56, 17 December 2009 (UTC)Reply

I have a new project with Mediawiki..But I need some helps.[edit]

Hi! I have a new project with Mediawiki..But I need some helps.

How can I change internface like your homepage?

How can I include advanced content editor like your content editor?


Please check my child project: http://www.islamvebiz.net/saadetepedia

Thank you.

Bulent Turgut

See Extension:UsabilityInitiative and follow the steps to install it, then you will be able to setup the 'advanced content editor'. To set up the Vector skin, you must update your MediaWiki installation to the last trunk version of the software. Cheers, Diego Grez ¡hablemos! 22:35, 14 July 2010 (UTC)Reply

Thanks Diego. But where will I put this codes in? In localsettings.php? I tried somethings, but site gone away!

Please advise me somethings..

OK. I suggest to download the packages that appear there. Don't forget to backup! Then, extract the files of MediaWiki 1.16alpha on the path of your current installation of MediaWiki. After that, if you have shell access, go to "maintenance/" and run "php update.php". After you have successfully updated MediaWiki, extract the MediaWiki extensions in "extensions/". Add to your LocalSettings.php:

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually

Also, to set up Vector (Wikipedia's skin) as the main skin of your wiki (be sure to have updated the wiki as I explained before), change:

$wgDefaultSkin = "monobook";

...that is located in your LocalSettings.php. If you don't understand, don't bother to ask again! Cheers, Diego Grez ¡hablemos! 01:58, 15 July 2010 (UTC)Reply



Dear Diego,

Thank you for your support.

I donwloaded: Alpha 1.6v + All MediaWiki extensions

I upload Mediawiki to my host and installed it. Also I uploaded extensions to my host, and is opened it in extensions directory.

Added lines below to Localsettings.php in root for editor:

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone

$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually

Checked line below to Localsettings.php in root for skin:

$wgDefaultSkin = "monobook";

Result as:

http://www.islamvebiz.net/saadetepedia/index.php/Ana_sayfa

Same it.. Nothings are changed!

What must I do?

Thanks

I want these:


[IMG]http://i31.tinypic.com/syxwty.jpg[/IMG]

[IMG]http://i31.tinypic.com/5tuduc.jpg[/IMG]

[IMG]http://i29.tinypic.com/2i94e2s.jpg[/IMG]

Need to run update.php for finishing? If it is necessary, how can I finish to setup?

I changed skin as Vector.

But I couldn't change editor.. I installed wiki in subdirectory. I have tried to change this line:

require_once("$IP/saadetepedia/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

But nothing..


It isn't working because you are using "/saadetepedia". Please remove that and use:

require_once("extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

This time will work, unless your "extensions" directory is located somewhere else. --Diego Grez ¡hablemos! 21:10, 15 July 2010 (UTC)Reply



I tried both of 2 ways: with /ssadetepedia and non.. it is not working..

Now it is included under all codes of localsettings.php:



<?php

# 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.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings

# 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 ) . PATH_SEPARATOR . get_include_path() );

require_once( "$IP/includes/DefaultSettings.php" );

if ( $wgCommandLineMode ) {
	if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
		die( "This script must be run from the command line\n" );
	}
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename         = "Saadetepedia";

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath       = "/saadetepedia";
$wgScriptExtension  = ".php";

## The relative URL path to the skins directory
$wgStylePath        = "$wgScriptPath/skins";

## The relative URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo             = "$wgStylePath/common/images/wiki.png";

## UPO means: this is also a user preference option

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

$wgEmergencyContact = "saadetbuca@gmail.com";
$wgPasswordSender = "saadetbuca@gmail.com";

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

## Database settings
$wgDBtype           = "mysql";
$wgDBserver         = "localhost";
$wgDBname           = "mydb";
$wgDBuser           = "myuser";
$wgDBpassword       = "mypass";

# MySQL specific settings
$wgDBprefix         = "";

# MySQL table options to use during installation or update
$wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";

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

## 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;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";

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

## 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           = false;

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

$wgLocalInterwiki   = strtolower( $wgSitename );

$wgLanguageCode = "tr";

$wgSecretKey = "3bca36241c60cceb5f94617a8318ade5f0ebbe85d0bd28c582caa5350170152";

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

## 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 = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";

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



require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually


Need any permissions?

No it doesn't. Diego Grez ¡hablemos! 22:06, 15 July 2010 (UTC)Reply
Try without the $IP thing. Diego Grez ¡hablemos! 22:09, 15 July 2010 (UTC)Reply
require_once("extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

No any new action.. Same it.. I don't understand why is shown editor?

Also my admin login is rejected. There is an error:

"Login error: There is an error with login attempt.. Please go bak, refresh your page, and try again later"

(I traslated from Turkish)

"Oturum açma hatası. Giriş oturumunuzla ilgili bir sorun var gibi görünüyor; bu eylem, oturum gaspına karşı önlem olarak iptal edildi. Lütfen "geri" gidin ve geldiğiniz sayfayı yeniden yükleyin, sonra tekrar deneyin. "




Also I have tried to crate a new user.. It gave me same message like above..



Diego,

I have reinstalled MediaWiki to my system.. Also I have included codes, but result is same again.. What do you advide me? Could you interest to install it with my admin and FTP account? Or could you advise me what must I do?

Thanks..

Hi Burgutex, I don't really know what's the issue here. I'm gonna move this thread to the support desk for comments of developers and more experienced users than me, perhaps they can help you solve this problem. Do you want that? Diego Grez ¡hablemos! 01:49, 16 July 2010 (UTC)Reply

It may be.. Cause anybody can help me for these problem. I want to contact with them.. Thanks..

Yes Done Your help request is now located at the Support Desk. Sorry for not being much helpful there >:( Diego Grez ¡hablemos! 01:58, 16 July 2010 (UTC)Reply