Project:Support desk/Sections/System

__NEWSECTIONLINK__ = MediaWiki System Support =

TOC not redirecting properly
I'm getting a wrong redirect for the TOC. IF there's an heading called "Story" the link should be http://www.domainsite.ext/article#STORY but the links redirect on http://www.domainsite.ext/#STORY, without "article" so the browser is redirected to the home page!!!

I think it's an hosting problem, How can I fix this? Thanks in advance! --Lorenzone92


 * I'd be nice if you gave your url and your wiki information so we can help you. -PatPeter, MediaWiki Support Team  16:03, 22 December 2007 (UTC)


 * The wiki is on www.rockciclopedia.com. For istance if you go here and you click on "Origini" you'll be redirected to the home page... --Lorenzone92 21:54, 22 December 2007 (UTC)


 * Someone on your wiki edited a page wrong, it is either a system file or a MediaWiki file that defines how the ToC displays. Do you have access to your wiki's system files and MediaWiki files? Ask all your admins who have the same permissions if they did anything. -PatPeter, MediaWiki Support Team  23:27, 22 December 2007 (UTC)


 * I'm the only admin and I've edited nothing... I think I have to replace relative links with absolute links in the PHP file that pertain to contents table... --Lorenzone92 13:52, 23 December 2007 (UTC)


 * Yes they need to be absolute. -PatPeter, MediaWiki Support Team  19:52, 24 December 2007 (UTC)


 * OK but I've edited nothing... So I don't know where the problem could be! What do you think? Which is the PHP file that "manage" the ToC? --Lorenzone92 22:38, 24 December 2007 (UTC)
 * MMh... no one can help me? --Lorenzone92 15:44, 26 December 2007 (UTC)
 * Pleaseeeeeeeeeeee!! :P --Lorenzone92 11:36, 30 December 2007 (UTC)


 * Ouch sort of forgot about you here, sorry. Anyway it might have been edited when you installed MediaWiki (i.e. random bad default edit or loss of info in file transfer). I can't find any help information on the Table of Contents on MediaWiki, stay posted. -PatPeter, MediaWiki Support Team  17:48, 7 January 2008 (UTC)


 * So what do you think I can do? Which files can i reupload? Which PHP file create the ToC? P.S.: Thx for your help! ;) --Lorenzone92 17:51, 9 January 2008 (UTC)


 * I'd start with re-uploading the /includes/ directory, along with its sub-directories. Tuvok[Talk/en.wp] 06:38, 10 January 2008 (UTC)


 * And re-uploading that dir I won't lose my pages? --Lorenzone92 18:27, 10 January 2008 (UTC)


 * Yes you won't lose your pages, includes aren't attached to your database. You would lose a Special page if you forgot to re-upload it though. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:32, 10 January 2008 (UTC)


 * I've reuploaded all the directory with also subdirs but the redirections don't work anyway (for example here look at the ToC.. :( I tried to set all my files/dirs CHMOD to 777 but it's the same... --Lorenzone92 18:42, 10 January 2008 (UTC)


 * Don't forget me! :P --Lorenzone92 14:24, 14 January 2008 (UTC)


 * Don't worry, as long as you continue repling to the questions and whatnot your thread will remain here until it is resolved, see the policy up above, this is just one heak of a problem. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:25, 14 January 2008 (UTC)

This is what the source of your TOC is:

So I am going to have to put this up for another MST member, I am pretty sure there is an option somewhere for enabling "fullURL" for ToC or something. -PatPeter,  MediaWiki Support Team  00:30, 17 January 2008 (UTC)


 * mmh... so what should i do? --Lorenzone92 17:46, 17 January 2008 (UTC)
 * mmmhh? :P --Lorenzone92 22:01, 22 January 2008 (UTC)

Good job, keep bumping, I know someone here must know the config setting to enable full URL. -PatPeter,  MediaWiki Support Team  02:28, 23 January 2008 (UTC)


 * Bump, bump, bump... :D --Lorenzone92 17:07, 25 January 2008 (UTC)


 * I'm still here....... --Lorenzone92 21:33, 5 February 2008 (UTC) :P


 * I need help..... --Lorenzone92 18:26, 11 February 2008 (UTC)


 * May someone help me? --Lorenzone92 14:07, 28 February 2008 (UTC)

Adding an additional Sidebar

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * Database:
 * URL:

Hi there I try to develop a little MediaWiki for some friends. They requested an additional Sidebar on the right side. General question: - is this possible? - I guess so... If it is possible, which file do I have to edit? I searched for Extensions but haven't found one, anyone knows about this? Ben

—212.184.19.70 10:17, 10 January 2008 (UTC)


 * You can create many sidebars as is done on this wiki, edit the MediaWiki:Sidebar article. See also Manual:Interface/Sidebar --Nad 19:41, 10 January 2008 (UTC)


 * Putting one on the right side will require some trivial CSS changes though. — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 19:48, 10 January 2008 (UTC)


 * Great. Thanks for your help.Can you tell me in which file I have to add some css code?
 * CSS code can be put in the wiki article Mediawiki:Common.css --Zven 01:40, 11 January 2008 (UTC)


 * Thanks for your hint. Actually my skills writing CSS are low (sorry for that). So can you please give me more help concerning the code?
 * I read some CSS help :). Is it right, that I have to add in common.css some lines starting #rightcolumn {float:right etc} If this first thought is ok, then how to tell the code that there should be some Information in it (the right column)? Normally there is some html code e.g. text but even if I add this div tag to monobook.php I don't know how to add a WikiText into it... Hope you can understand my problems. Have a nice weekend.
 * Ok I found a possibility to insert a Wikitext into a div tag. Now the (last) problem is the Position. I added my div Container in monobook.php at several places. None of them was ok. Someone knows where exactly (after/before which lines) I have to add my code?. Or is it the wrong way? As color probe wrote I have to do the placement with "trivial" css?


 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Locking Down MediaWiki
Just installed v1.11.1 on Windows 2003, PHP 5.2 and MySQL at www.theearthwitch.com as a personal knowledge dump. Trying to lock it down so only myself and wife can view/add pages. Added the following statements to the LocalSettings.php file and restarted IIS. These lines are not preventing editting or creating of new accounts. What does work?

$wgWhitelistEdit = true;
 * 1) Specify who can edit: true means only logged in users may edit pages

$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
 * 1) Pages anonymous (not-logged-in) users may see

$wgWhitelistAccount = array ( 'user' => 0, 'sysop' => 1, 'developer' => 1 );
 * 1) Specify who may create new accounts: 0 means no, 1 means yes

—63.118.221.94 20:04, 28 February 2008 (UTC)


 * MediaWiki: 1.11.1
 * PHP: 5.2.3-1ubuntu6.3 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3.1-log
 * URL: Wiki not pointed at internet.

Footnotes aren't being parsed on my wiki. (minus the spaces) and { { r e f l i s t } } doesn't do anything to generate a reference. I've pasted source code into the wikipedia sandbox and gotten the parsing to work properly, so the issue appears to be localized to my wiki. This appears to be the only thing not working properly.

—208.250.9.25 21:16, 28 February 2008 (UTC)

Some programming help needed

 * MediaWiki: 1.5.8
 * PHP: 4.4.0 (apache2handler)
 * MySQL: 3.23.58

For my wiki I would need some additional functions wich I hope could be possible via adding to the php code. Our users will use the wiki for their own different projects. I want them to have a way to decide if other users but them can edit their pages. We developed a "traffic light"-system for this using templates. "Green" meaning free to edit for anyone, "Yellow" please ask before editing, "Red" No editing. What would we need is the edit page to check if the "Red" template is present on a page, and if yes to not save any changes, unless the user editing is the user who first created the page. If the "Yellow" template is present in a page, the user who first created it (and that user only) should be able to revert that page.

Is this somehow possible?

—217.94.251.162 06:31, 29 February 2008 (UTC)