Jump to content

Project:Support desk/Flow/2011/01

Add topic
From mediawiki.org
This page is an archive.
Please ask questions on the current support desk.

Old questions

These questions were posted before the switch to the new discussion system. Click here to view.

Current questions

LocalSettings.php permission

Hi! I'm sorry if this was asked before, but I couldn't find the answer anywhere.

The problem I have is that I'm not quite sure which permission I should assign to LocalSettings.php to make it unreadable. Currently it's 666. What is safest?

Thanks! Mark 80.57.175.55 (talk) 20:41, 1 January 2011 (UTC)

The web server has to be able to read LocalSettings.php. If you can put it in the web server's group, you can give it 640. Otherwise, you'll have to use 644. —Emufarmers(T|C) 22:44, 1 January 2011 (UTC)
Allright, thanks for you help :). 80.57.175.55 14:44, 2 January 2011 (UTC)

Mediaplayer

Hi I am using:

  • Mediawiki 1.15.4
  • PHP/5.3.0
  • MySQL5.1.36

I am trying to download mediaplayer onto my wiki which is on my computer. I have downloaded the player to

Wamp>www>mediawiki>extensions Mediaplayer-5.4

I pasted in local settings:

require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");

Which returns the error below.

I can see I need to do more from http://www.mediawiki.org/wiki/Extension:MediawikiPlayer#Installation

But I do nort know what. I can also see that I am not very good at this!

Cheers

Ron Barker 00:15, 2 January 2011 (UTC)

Warning: require_once(C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mediawiki\LocalSettings.php on line 126

Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php' (include_path='C:\wamp\www\mediawiki;C:\wamp\www\mediawiki/includes;C:\wamp\www\mediawiki/languages;.;C:\php5\pear') in C:\wamp\www\mediawiki\LocalSettings.php on line 126 Ron Barker (talk) 00:15, 2 January 2011 (UTC)

The directory needs to be called "MediawikiPlayer", not "Mediaplayer-5.4". —Emufarmers(T|C) 01:26, 3 January 2011 (UTC)
Many thanks for your reply
I am still having problems though. It may be that I need to add something more in 'local settings' or the 'player' should not be in 'extensions'
After changing the name of the player I get the error below.
Warning: require_once(C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mediawiki\LocalSettings.php on line 126
Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php' (include_path='C:\wamp\www\mediawiki;C:\wamp\www\mediawiki/includes;C:\wamp\www\mediawiki/languages;.;C:\php5\pear') in C:\wamp\www\mediawiki\LocalSettings.php on line 126 Ron Barker 14:41, 3 January 2011 (UTC)
In ‘local settings’ I added:
C:\wamp\www\mediawiki;
Above:
require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");
Which returned the error:
Fatal error: Undefined constant 'wamp\www\mediawiki' in C:\wamp\www\mediawiki\LocalSettings.php on line 126
Regards Ron Barker 14:55, 3 January 2011 (UTC)
I then tried adding:
C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php);
require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");
which returns the error message:
Parse error: parse error in C:\wamp\www\mediawiki\LocalSettings.php on line 126
I then tried:
C:\wamp\www\mediawiki/extensions/MediawikiPlayer Ron Barker 15:04, 3 January 2011 (UTC)
Can nobody point me in the right direction?
Cheers Ron Barker 09:50, 13 January 2011 (UTC)
You need to put the MediawikiPlayer directory you downloaded in C:\wamp\www\mediawiki\extensions. —Emufarmers(T|C) 19:27, 13 January 2011 (UTC)
Thank you for replying. That is where I put it. It's what I need to next. As you can see above I seem to be doing something wrong. I think that I am missing a step before putting: require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php"); in LocalSettings, but that is just a guess.
This is a copy of C:\wamp\www\mediawiki\extensions
Thanks Ron Barker 22:11, 13 January 2011 (UTC)
You haven't put the directory in the right place, or you're missing a file. I'm not sure what else I can tell you. —Emufarmers(T|C) 03:56, 14 January 2011 (UTC)
Thank you sorry for wasting your time. I obviously do not know what I am doing. I did get as far as The media player is loading... but it never loaded. I will just have to do without.
Once again thank you. Ron Barker 09:59, 14 January 2011 (UTC)
Hi all,
I'm using MediawikiPlayer 0.3.0 with JW player 5.7 on Mediawiki 1.16.5.
No issues at all from IE9, Chrome or iOS (4.3) devices.. but the player won't start under IE8 (tried with flash 9 and the most recent 10,3,181,26) and the page would simply say "The media player is loading...".
Does anybody know how to fix this?
Thanks a lot,
Sergio 72.225.222.222 14:31, 25 June 2011 (UTC)
PS: altro tried from Firefox 4.. it works but not like in Chrome, IE and iOS\Safari... instead of starting to play the file immediately it wants to buffer the entire file! It makes it basically unusable for long videos. 72.225.222.222 14:33, 25 June 2011 (UTC)
ok guys here is the solution
step 1. download file from http://www.longtailvideo.com/jw/upload/mediaplayer-viral.zip and extract it.
step 2. download configuration file from http://swiftlytilting.com/files/MediawikiPlayer.0.3.0.zip extract it rename it to mediaplayer.
step 3. paste all the file from step 2 in the mediaplayer folder in step 3
step 4. place the mediaplayer folder in /extension folder
step 5. add in local settings require_once( "$IP/extensions/MediawikiPlayer/MediawikiPlayer.php" );
MediawikiPlayer::useAddOn('PlayerPointer');
step 6. use it using syntax <mediaplayer>File:xyz.mp4</mediaplayer> 117.198.143.192 16:02, 30 November 2011 (UTC)
Thank you but I am sorry to say that it was not a solution for me. The player did load but I have a host of errors on the main page. Kind regards. Ron Barker 21:51, 10 December 2011 (UTC)
check the latest post here:
http://www.mediawiki.org/wiki/Extension_talk:MediawikiPlayer#Shows_only_.22The_media_player_is_loading.22_on_IE8 Frafor (talk) 14:10, 29 April 2012 (UTC)

13 month ongoing bug with the skin display

This problem persists since November 2009, when the vector skin was still IN BETA and NOW — 13 months later, the problem still hasn't been fixed. It's annoying and am unable to perform searches because the search box is inaccessible. Please have mercy, and fix this bug. Thank you. — Ineuw talk 19:35, 2 January 2011 (UTC)

Interface message adding in charaters

MediaWiki - 1.16.0 PHP - 5.2.15 (cgi-fcgi) MySQL - 5.1.52

On the page http://wikimissing.org/wiki/MediaWiki:Readonlytext is says

{{fmbox
| type      = warning
| image     = [[Image:Padlock-black.svg|80px]]
| text      = '''Warning:''' WikiMissing.org's dasebase has been locked by a '''[[User:Sophie|Meta Administrator]]''' or
'''[[user:sophie|Foundation member]]'''.

All users are not able to edits, move pages, change preferances, block users or protect pages while the site is currently locked.

The user who locked the site left the comment: '''$1'''

''For more information, check the WikiMissing Foundations's
'''[http://foundation.wikimissing.org/wiki/Our_projects/status Project Status]''' page.
''
}}

But when I am an administrator and go to protect a page is adds \n before the template above (while the database is locked).

How do i remove the \n ? 78.144.23.18 (talk) 19:59, 2 January 2011 (UTC)

Hi Guys,

does anybody know how to add a TreeView menu style in the navigation box ? i would like to add menu and sub-menu on the main left menu (navigation) but i do not know how to do it. I noticed that the current mediawiki do it, adding node and subnode in the left side .. any thoughs ?

thanks in advance

M. 151.17.57.72 (talk) 11:32, 4 January 2011 (UTC)

I have the same question. MediaWiki has the cool little arrows in the Sidebar Navigation and I have searched how to make this happen with my wiki and can't find how to do it. You would think that there would be some documentation on this. I found this Treeview snippet:
https://www.mediawiki.org/wiki/Snippets/Treeview
But there is no explanation where to put this snippet.
I have read many of the the following pages with no results, except when trying to alter the localsettings.php it crashed my database.
https://www.mediawiki.org/w/index.php?search=treeview&title=Special%3ASearch 98.150.167.248 22:42, 4 June 2013 (UTC)
Finally figured it out in Vector:
http://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2012/03#h-collapsible_menu_1.1.8.1-2012-03-12T00%3A17%3A00.000Z
this was the big help:
http://www.mediawiki.org/wiki/Extension:Vector
Now the cute little arrows work on the side navigation just like they do in the MediaWiki site here (just look over to the side navigation and see the cute little arrows you can click on to open up the submenus). 98.150.167.248 23:41, 4 June 2013 (UTC)

How to use the <img> tag with the different class in the article?

Hello. I want to use a recipes microformat on my cookbook site. I need to use class="photo" in the img HTML tag with the source to the image of the recipe somewhere on the page to show the photo of the recipe. But img tag is parsing as the simple text? for example, this article text

<img src="[[Media:{{{image|}}}]]" class="photo"></img>

will show a full-size image between " symbols. How can I use the "class" parameter with the tag <img>?

MediaWiki	1.16.0
PHP	5.2.14
MySQL	5.0.91 Tarasius.ua (talk) 12:56, 4 January 2011 (UTC)
This is only supported if you enable $wgRawHtml -- Bryan (talk|commons) 14:11, 6 January 2011 (UTC)
It should be possible to do this in 1.17 by enabling $wgAllowImageTag, but it's not yet released. Reach Out to the Truth 20:31, 6 January 2011 (UTC)

Securing Logins

I have recently installed a Wikimedia instance and cannot seem to locate information for securing the login credentials (using SSL). I've scoured install guides, FAQs, forums, and whatever else I could think of but am hitting a wall here. Is there any information or guide to getting this set up? I shudder to think of passwords being sent over in cleartext. Any direction anyone could provide would be much appreciated. 173.55.140.173 (talk) 16:16, 4 January 2011 (UTC)

I don't think there is documentation on this subject yet. The released version of MediaWiki do not support having the login as SSL with normal page views over plain HTTP, but only sending the entire site over SSL. I believe some changes were made in 1.17 or 1.18 but I'm not sure. -- Bryan (talk|commons) 14:08, 6 January 2011 (UTC)
Thank you for the information Bryan. I'd actually LOVE the entire wiki to go over via ssl. Is there a guide for this? Mlevine 16:33, 12 January 2011 (UTC)
If you configure your webserver to go over SSL (for that domain), MediaWiki should play along, as far as I know. —Emufarmers(T|C) 19:14, 12 January 2011 (UTC)

markup to ignore line breaks?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


when using templates, it is often neccesary to format the template with linebreaks to at least get a chance of de-spaghettify the code. But - on the other hand - when encapsulating templates, you soon get unwanted linebreaks…
Is there any way to say:
"<remove-all-linebreaks-yes-i-mean-it>"
<nowiki>{{</nowiki>#if:<nowiki>{{{</nowiki>1<nowiki>}}}|</nowiki>
  <nowiki>{{</nowiki>#if:
    (some ugly stuff here)
  <nowiki>}}</nowiki>
<nowiki>}}</nowiki>
"</remove-all-linebreaks-yes-i-mean-it>"
77.185.1.165 (talk) 08:19, 5 January 2011 (UTC)
I did this by putting the {{ on the previous line, like:
 {{
   #if: ...
 }}{{
   #if...
 }}
114.75.199.182 01:03, 16 January 2011 (UTC)
If you look at the way Wikipedia has their templates, they use HTML comments on break lines so it would look like:
<div><!--
-->{{#if: .. }}<!--
-->{{#if: ..}}
</div>
</nowiki>
Since the line breaks technically happen in the comments, it looks a little prettier than if you left them outside the comments. But, I'll say for certain that it's functional. Unifiedrepublic 21:44, 20 January 2011 (UTC)
You can use the tag to achieve it.
Example:
2A02:188:3600:1:7464:1748:1C77:CC67 (talk) 05:02, 28 September 2017 (UTC)
Well that went horribly.
You can use the tag <includeonly> </includeonly>" to achieve it.
Simply replace your "<remove-all-linebreaks-yes-i-mean-it>" with "<includeonly>" 2A02:188:3600:1:7464:1748:1C77:CC67 (talk) 05:03, 28 September 2017 (UTC)
For the love of christ.
The tag is includeonly encapsulated in <>. 2A02:188:3600:1:7464:1748:1C77:CC67 (talk) 05:04, 28 September 2017 (UTC)
<includeonly>
By-the-way, the above was quite entertaining :) AhmadF.Cheema (talk) 06:01, 28 September 2017 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Email logs

Hello. Is there a MediaWiki version that supports the use of EmailUser logs (i.e. logs in Special:Log/email or similar that detects emails sent from User:Foo to User:Bar dated <date>)? If not, is it possible to enable this as a new feature? It'd be great when it appears in a log to determine whether someone would be abusing the EmailUser function and allows consideration for blocking with email disabled (akin to talkpage-disabled blocks). Contents of the log should generally be restricted to administrators or other trusted users, oversighted if serious. TeleComNasSprVen (talk) 20:40, 5 January 2011 (UTC)

SOLVED: RedHat 6 SELinux blocks MediaWiki from using sendmail

I don't know the best way to share this information to you/the world, but hopefully, if I use enough magic words, then Google will pick it up and everybody who hits this problem will know soon enough.

On a RH6 system, we ran into the problem that the MediaWiki could not send email. MediaWiki fails silently, there is no on screen indication that the sendmail access was refused.

The auth.log has markers for the rejection, however:

type=USER_CMD msg=audit(1293752457.837:246): user pid=4383 uid=0 auid=500 ses=9 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/var/www/mediawiki116" cmd=2F62696E2F7669204C6F63616C53657474696E67732E706870 terminal=pts/4 res=success' type=AVC msg=audit(1293752692.348:247): avc: denied { search } for pid=4583 comm="sendmail" name="postfix" dev=sda2 ino=150564 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:postfix_spool_t:s0 tclass=dir type=SYSCALL msg=audit(1293752692.348:247): arch=c000003e syscall=80 success=no exit=-13 a0=7f44c0011cc0 a1=7f44c0013a00 a2=7f44c001827d a3=7fff104b7710 items=0 ppid=4410 pid=4583 auid=500 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=9 comm="sendmail" exe="/usr/sbin/sendmail.postfix" subj=unconfined_u:system_r:httpd_t:s0 key=(null)

In the Centos user group, I complained/whined about this and Daniel Walsh, the RedHat author of SELinux policy packages, was kind enough to give the fix as follows:

Turn on the httpd_can_sendmail boolean. We do not want all apache servers to be able to send mail by default.

  1. setsebool -P httpd_can_sendmail 1

man httpd_selinux ... SELinux policy for httpd can be configured to turn on sending email. This is a security feature, since it would prevent a vulnerabiltiy in http from causing a spam attack. In certain situations, you may want http modules to send mail. You can turn on the httpd_send_mail....

After that fix, then SELinux does not block MediaWiki's use of sendmail any more.

If I had more time, I'd look into these issues:

  1. Can MediaWiki be made to warn the user that sendmail access was refused? (RedCap, another PHP/CGI program we use, does give a warning, that's how I first realized the SELinux problem).
  2. Can the SELinux system be adjusted so that only specific CGI programs can access sendmail? If it really is a security issue, I would like to not issue the blanket permission to PHP/CGI programs for sendmail. 129.237.46.162 (talk) 16:54, 6 January 2011 (UTC)

Copying to localhost

Personally, I created my wiki on the web and everything is working perfectly. I now want to make a copy of it and install it on my "localhost", that is, in my personal home machine. I use MySql Server 5.1.49, PHP 5.3.3, Apache 2.2.16 Operating System Ubuntu Server 9. How do I make copies of my Wiki site to install the "localhost"? I'll have to configure anything to work on my computer (localhost)? I await response.

Thanks! 200.160.194.44 (talk) 18:06, 6 January 2011 (UTC)

Manual:Moving a wiki, Manual:Backing up a wiki. Max Semenik 18:35, 6 January 2011 (UTC)

Need to migrate a mediawiki MySql database from a server to an other...

I need to migrate a mediawiki MySql database from a server to an other.

Everything I tried to yet didn't go well... What do you recommend to make this migration done at the most efficiency possible?

Bouzzi bouzzi@gmail.com 142.83.197.58 (talk) 15:34, 7 January 2011 (UTC)

Have you seen Manual:Moving a wiki? Max Semenik 15:38, 7 January 2011 (UTC)
Thanks, I'm gonna read all about it ! 142.83.197.58 15:53, 7 January 2011 (UTC)
I followed every steps and I get this error...
MediaWiki internal error.
Exception caught inside exception handler
what should I do? 142.83.197.58 17:17, 7 January 2011 (UTC)
Add
$wgShowExceptionDetails = true;
to the end of LocalSettings.php. —Emufarmers(T|C) 18:05, 7 January 2011 (UTC)
After my host migrated our wiki to a new server I started getting that error message. Nothing was changed to my knowledge - except that slightly newer version of PHP was on the new server. I've browsed through the databases and don't see any missing tables.
I added the ShowException script above, and the following is shown. Is there anything below that gives a clue to the problem?
MediaWiki internal error.
Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: SELECT * FROM `jcreatio_live`.`user` WHERE user_id = '2' LIMIT 1
Function: User::loadFromDatabase
Error: 1142 SELECT command denied to user 'jcreatio_live'@'localhost' for table 'user' (localhost)
' in /home/jcreatio/public_html/includes/db/Database.php:576
Stack trace:
  1. 0 /home/jcreatio/public_html/includes/db/Database.php(538): DatabaseBase->reportQueryError('SELECT command ...', 1142, 'SELECT * FROM...', 'User::loadFromD...', false)
  2. 1 /home/jcreatio/public_html/includes/db/Database.php(874): DatabaseBase->query('SELECT * FROM...', 'User::loadFromD...')
  3. 2 /home/jcreatio/public_html/includes/db/Database.php(954): DatabaseBase->select('user', '*', Array, 'User::loadFromD...', Array, Array)
  4. 3 /home/jcreatio/public_html/includes/User.php(955): DatabaseBase->selectRow('user', '*', Array, 'User::loadFromD...')
  5. 4 /home/jcreatio/public_html/includes/User.php(297): User->loadFromDatabase()
  6. 5 /home/jcreatio/public_html/includes/User.php(901): User->loadFromId()
  7. 6 /home/jcreatio/public_html/includes/User.php(265): User->loadFromSession()
  8. 7 /home/jcreatio/public_html/includes/User.php(1505): User->load()
  9. 8 [internal function]: User->getId()
  10. 9 /home/jcreatio/public_html/includes/StubObject.php(58): call_user_func_array(Array, Array)
  11. 10 /home/jcreatio/public_html/includes/StubObject.php(182): StubObject->_call('getId', Array)
  12. 11 /home/jcreatio/public_html/extensions/ConfirmAccount/SpecialConfirmAccount.php(131): StubUser->__call('getId', Array)
  13. 12 /home/jcreatio/public_html/extensions/ConfirmAccount/SpecialConfirmAccount.php(131): StubUser->getId()
  14. 13 [internal function]: efLoadConfirmAccount()
  15. 14 /home/jcreatio/public_html/includes/Setup.php(370): call_user_func('efLoadConfirmAc...')
  16. 15 /home/jcreatio/public_html/includes/WebStart.php(132): require_once('/home/jcreatio/...')
  17. 16 /home/jcreatio/public_html/index.php(42): require_once('/home/jcreatio/...')
  18. 17 {main}
Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject(): SELECT command denied to user 'jcreatio_live'@'localhost' for table 'user_properties' (localhost)' in /home/jcreatio/public_html/includes/db/DatabaseMysql.php:159
Stack trace:
  1. 0 /home/jcreatio/public_html/includes/User.php(3637): DatabaseMysql->fetchObject(false)
  2. 1 /home/jcreatio/public_html/includes/User.php(1968): User->loadOptions()
  3. 2 /home/jcreatio/public_html/includes/StubObject.php(150): User->getOption('language')
  4. 3 /home/jcreatio/public_html/includes/StubObject.php(103): StubUserLang->_newObject()
  5. 4 /home/jcreatio/public_html/includes/StubObject.php(57): StubObject->_unstub('getCode', 5)
  6. 5 /home/jcreatio/public_html/includes/StubObject.php(145): StubObject->_call('getCode', Array)
  7. 6 /home/jcreatio/public_html/includes/GlobalFunctions.php(582): StubUserLang->__call('getCode', Array)
  8. 7 /home/jcreatio/public_html/includes/GlobalFunctions.php(582): StubUserLang->getCode()
  9. 8 /home/jcreatio/public_html/includes/MessageCache.php(506): wfGetLangObj(false)
  10. 9 [internal function]: MessageCache->get('databaseerror', true, false)
  11. 10 /home/jcreatio/public_html/includes/StubObject.php(58): call_user_func_array(Array, Array)
  12. 11 /home/jcreatio/public_html/includes/StubObject.php(76): StubObject->_call('get', Array)
  13. 12 /home/jcreatio/public_html/includes/GlobalFunctions.php(742): StubObject->__call('get', Array)
  14. 13 /home/jcreatio/public_html/includes/GlobalFunctions.php(742): StubObject->get('databaseerror', true, false)
  15. 14 /home/jcreatio/public_html/includes/GlobalFunctions.php(707): wfMsgGetKey('databaseerror', true, false, true)
  16. 15 /home/jcreatio/public_html/includes/Exception.php(75): wfMsgReal('databaseerror', Array)
  17. 16 /home/jcreatio/public_html/includes/db/Database.php(2731): MWException->msg('databaseerror', 'Database error')
  18. 17 /home/jcreatio/public_html/includes/Exception.php(209): DBQueryError->getPageTitle()
  19. 18 /home/jcreatio/public_html/includes/Exception.php(172): MWException->htmlHeader()
  20. 19 /home/jcreatio/public_html/includes/Exception.php(191): MWException->reportHTML()
  21. 20 /home/jcreatio/public_html/includes/Exception.php(289): MWException->report()
  22. 21 /home/jcreatio/public_html/includes/Exception.php(348): wfReportException(Object(DBQueryError))
  23. 22 [internal function]: wfExceptionHandler(Object(DBQueryError))
  24. 23 {main} Ashcraft (talk) 17:57, 18 May 2013 (UTC)
Say thanks to your host; they broke your MySQL setup.
The MySQL user 'jcreatio_live'@'localhost' does no longer have permission to do a SELECT for table 'user'. And most probable other permissions will be missing as well. 88.130.104.212 18:35, 18 May 2013 (UTC)

MediaWiki uses too much RAM and CPU

Hi,

i have a Wiki. It works for about 2 jears just fine. It has 2500 unique/day. After 31.1 the users increased to 4700 a day.

Now the wiki uses 99% RAM (512) and so much CPU that ftp/email and other services dont work too. Visitors are ~40 at a time.

I have a good server (not a v-server). For 100€/Month.

Since i upgraded to 1.16 this error message comes when 40 users are online.

Code:

Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading.

(Can't contact the database server: User d008d639 already has more than 'max_user_connections' active connections (localhost))

When i am alone on the Wiki and i open the Mainpage it lasts 3-4 Seconds for the site to load. Other sites load in 0,5 secs. When 4 users are in that wiki each site takes 6 seconts to load.

Can anyone help me?

Regards 89.12.248.148 89.12.248.148 (talk) 16:58, 7 January 2011 (UTC)

Manual:Performance tuningEmufarmers(T|C) 17:11, 7 January 2011 (UTC)
http://www.mediawiki.org/wiki/Manual:File_cache Doesn't work for me.
In /cache/ are no files created. 89.12.248.148 18:15, 7 January 2011 (UTC)
ok works now. but it doesn't change anything. every site load is still very slow. 89.12.248.148 18:23, 7 January 2011 (UTC)
The file cache only works for users who aren't logged in (try logging out). That's only one layer of caching, though: you should implement as many of the suggestions on the performance tuning page as you can. A PHP cache is particularly important. —Emufarmers(T|C) 01:21, 8 January 2011 (UTC)
now i know what my problem is exactly.
the media wiki creates 40-50 idle mysql connections. the ram (now 1GB) increases until 999mb is reached. than the mysql service freezes. 77.1.92.8 20:04, 10 January 2011 (UTC)
There shouldn't be "idle" connections (although I guess there could be if you have persistent connections enabled). The various caching layers will reduce the number of MySQL threads that are needed. You should also configure MySQL's max_connections setting and Apache's MaxClients setting so that it won't use more memory than you have. —Emufarmers(T|C) 03:52, 12 January 2011 (UTC)
Did you ever get this figured out? I'm having RAM issues and I get less hits than you! 220.75.218.27 02:05, 31 March 2013 (UTC)
What have you tried to do to resolve the issue? MarkAHershberger(talk) 02:20, 31 March 2013 (UTC)

trouble creating new pages

So for some reason the only way that I can create a new page on my wiki is by searching for it and then clicking on the red link that appears. Whenever I try to type in the desired address into the address bar and it just tells me that the page doesn't exist. The same thing happens when I create a link to the new page and click on it. I am thinking that it might be an issue with the files not being directly in the root directory, they are in a file called mediawiki-1.16.0 which is inside the root directory. When I do put the file directly in the root directory though I am given error saying that certain files don't exist when they actually do. If anyone has any advice at all it would be appreciated. Thanks 67.172.244.238 (talk) 20:18, 7 January 2011 (UTC)

Have you read Help:Starting a new page? Along with the message saying that the page doesn't exist, you should see the create tab at the top of the page, for example here. Max Semenik 20:28, 7 January 2011 (UTC)
I get that page when I use the search function to create the page, but when I don't I get:
'HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)' 67.172.244.238 20:47, 7 January 2011 (UTC)
Manual:Installing_MediaWiki_on_Windows_Server_2003#h._IIS_returns_a_404_error_page_instead_of_MediaWiki_default_error_page. Max Semenik 21:00, 7 January 2011 (UTC)
I went to the the 404 error setting at it was already set at the default. 67.172.244.238 22:16, 7 January 2011 (UTC)
I'm able to create new pages, but I am not able to do so without entering a strange URL: http://bnleez.com/wiki/index.php?title=Test
I would rather create this URL instead: http://bnleez.com/wiki/test
Is this possible? Bnleez 10:26, 10 February 2011 (UTC)
See Manual:Short URL] Reach Out to the Truth 12:14, 10 February 2011 (UTC)

Parserfunction error during documentation migration

Hi all, I am migrating to a new wiki and the parser function is now displaying HTML tags in and around text within the parser function tags.

Example:

(Warning icon) Warning: </td><td valign="top">  THIS PAGE IS UNDER CONSTRUCTION. THESE ARE NOT FINALIZED STANDARDS</td></tr></table><noinclude>

Does anybody have any thoughts?

New Wiki Details

  • MediaWiki 1.11.0
  • PHP 5.2.9 (apache2handler)
  • MySQ 5.0.51a-log

Old Wiki Details

  • MediaWiki 1.12.0
  • PHP 5.2.5 (apache2handler)
  • MySQL 5.1.36-community

Many Thanks, Jeremy 12.47.107.4 (talk) 21:08, 7 January 2011 (UTC)

Moving from a newer version to an older version is bound to cause problems. You should upgrade to the latest version and then download the 1.16 version of ParserFunctions. —Emufarmers(T|C) 01:16, 8 January 2011 (UTC)
I will try this. Are newer versions backward-compatable? We are currently running Praserfucntions v1.1.1. Should I expect to see any changes? 65.91.151.194 18:53, 9 January 2011 (UTC)

Will WikiMedia meet my need? Some questions before installing.

Hello I have download MediaWiki 1.16.1 I have paid unlimited hosting from Doteasy Hosting Details: Operating system : Linux My SQL version: 5.0.91-community Apache version: 2.2.16 PHP version: 5.2.14 Architecture: i686

Is it possible to install WikiMedia on a subdomain of my existing website? I have a large amount of data in spreadsheet format, it would create around 40,000 wiki pages, is it possible to 'export' that data so the pages were automatically populated from the excel data. I have done extensive searches and can not find and answer specific to my query. I have managed to manually install MyBB, Wordpress and Joomla before, but I am a total noob to WikiMedia Many thanks for any help 90.201.49.253 (talk) 02:38, 8 January 2011 (UTC)

How diffs could be visible again in the RSS or Atom feeds ?

In Manual:Preventing access#Restrict viewing of all pages it is said that :

In addition to the main page of such a private site, you could give access to the Recentchanges page (if you think that its content isn't private) for feed readers by adding "Special:Recentchanges" to $wgWhitelistRead.

But the problem is that since MediaWiki 1.12, as soon as "Disable reading by anonymous users" is set, the diffs aren't shown anymore in the feeds.

Why ? Since it remains possible to choose whether or not to let the feeds be visible ?

How diffs could be visible again in the RSS or Atom feeds even-though restricting viewing of pages has been set ? Dieudo (talk) 00:30, 10 January 2011 (UTC)

Hi. I'm facing the same problem; is there any solution? 213.232.243.233 07:55, 18 May 2011 (UTC)
Today I committed an experimental extension: Extension:FeedsFromPrivateWikis Raymond 12:50, 18 May 2011 (UTC)
Just tested it : it works fine for me ! Thank you Raymond :-)
I've been waiting for it since MW 1.12 !
It's related to this bug reported in 2008 ! : https://bugzilla.wikimedia.org/show_bug.cgi?id=15472
Recently an answer about it by Mark A. Hershberger 2011-04-06 18:43:07 UTC :

(In reply to comment #4)

> Does anyone have an idea of the evolution of this bug ?

I'll bring it up in our next bug triage.
Good news too ! Dieudo 14:43, 18 May 2011 (UTC)

SVG Thumbnails

I use the latest version of MediaWiki with MySQL. I used inkscape for the converter, however when I go to an SVG file it displays fileicon-svg.png instead of a thumbnail. I don't know what I'm doing wrong. Please someone help! Nickyp88 (talk) 16:11, 10 January 2011 (UTC)

Same me too..
I try to increase maximum upload, but still not work.
( By Sephirothindra 06:17, 25 June 2013 (UTC)

trying to install mediawiki

Hello,

sorry for my bad english, but i try my best!!

I installed mediawiki on my webspace and connected it with an sql-Database. so for so good!

To complete the installation, move config/LocalSettings.php to the parent directory, evrey time i try the following failure accrues:

Warning: require_once(/kunden/272386_44628/webseiten/rsw/mediawiki/config/includes/DefaultSettings.php) [function.require-once]: failed to open stream: No such file or directory in /kunden/272386_44628/webseiten/rsw/mediawiki/config/LocalSettings.php on line 25

Fatal error: require_once() [function.require]: Failed opening required '/kunden/272386_44628/webseiten/rsw/mediawiki/config/includes/DefaultSettings.php' (include_path='/kunden/272386_44628/webseiten/rsw/mediawiki/config:/kunden/272386_44628/webseiten/rsw/mediawiki/config/includes:/kunden/272386_44628/webseiten/rsw/mediawiki/config/languages:.:/usr/local/lib/php') in /kunden/272386_44628/webseiten/rsw/mediawiki/config/LocalSettings.php on line 25


Mediawiki version : 1.16.1 MySql: 5.1.51

i tried it several times, but no time there was a directory "mediawiki/config/includes/" created!!

you can see it here: http://www.ruhrstadtwiki.de/mediawiki/index.php

what do i have to do to solve the problem?? Can anybody help me???

Thx for helping me!! i would prefer answers in german but english is also good ;-)

greetz MM 84.189.235.2 (talk) 13:25, 11 January 2011 (UTC)

It's /config/LocalSettings.php that you need to move into the parent directory. I'm not sure why it's looking for /config/includes/ (/includes is a directory in the parent directory). Maybe you have a rewrite rule messing things up? —Emufarmers(T|C) 03:56, 12 January 2011 (UTC)

Where do I set my mediawiki to use my SMTP server?

Tell me where do I have to write down my SMTP server name?
file .... variable ... parameters 142.83.197.58 (talk) 15:37, 11 January 2011 (UTC)
$wgSMTPEmufarmers(T|C) 03:19, 12 January 2011 (UTC)
Missing file- where does wgSMTP get set? 173.89.74.93 (talk) 13:27, 2 October 2019 (UTC)
In LocalSettings.php. AhmadF.Cheema (talk) 13:37, 2 October 2019 (UTC)

Email function gone from toolbox after upgrade

Upon upgrading several wiki's to MediaWiki 1.16.0 some time ago, in each case the e-mail link disappeared from the toolbox on he left. Attempting the function manually by typing into the address bar gives error messages:

  • attempts in the local language give: "There is currently no text in this page"
  • attempts in English give: "You must be logged in and have a valid e-mail address in your preferences to send e-mail to other users."

'My preferences', however, says that the e-mail address was in fact authenticated; the link was there and working flawlessly before the upgrade.

I have not found a solution. Confirming the e-mail address anew does not help.

Any ideas? Guido den Broeder (talk) 21:33, 11 January 2011 (UTC)

I can't reproduce this. —Emufarmers(T|C) 03:40, 12 January 2011 (UTC)
Try upgrading from version 1.14 or 1.13. Guido den Broeder 13:20, 15 January 2011 (UTC)
I don't see why that would make a difference. Do you have a link to your wiki? —Emufarmers(T|C) 06:34, 16 January 2011 (UTC)
The most active one: http://nl.wikisage.org
Could it be a problem with one of the extensions?
We have: CategoryTree, CheckUser, Cite, ConfirmEdit, Interwiki, Mibbit, Newuserlog, ParserFunctions, RenameUser, UserMerge, UsernameBlacklist.
Regards, Guido den Broeder 14:12, 16 January 2011 (UTC)
It looks like none of the groups on your wiki have the sendemail right. Perhaps you've been overwriting your groups' permissions arrays, rather than adding to them?
The error message you were getting is rather misleading; that appears to have been fixed in trunk.
As a side note, you can get rid of the Newuserlog extension—it was integrated into the core. —Emufarmers(T|C) 07:09, 17 January 2011 (UTC)
Ah, nice.
Could it be that since 1.16 (or 1.15) the sendemail right must be made explicit in localsettings, while before it was the default? I have created a virgin wiki where no groups have been created and there the option to send email is in the toolbox. Guido den Broeder 12:28, 17 January 2011 (UTC)
It seems to work now again, with the line
$wgGroupPermissions['user']['sendemail'] = true;
added to LocalSettings.php.
Thanks! Guido den Broeder 12:54, 17 January 2011 (UTC)
I think the sendemail right was added in 1.16. It should have automatically been granted: that's why I asked whether you're overwriting the permissions in some way you shouldn't. You might want to go through your rights settings and clean them up. —Emufarmers(T|C) 21:21, 17 January 2011 (UTC)
Done that, thanks again for your help. Guido den Broeder 19:14, 19 January 2011 (UTC)

File extension does not match MIME type when uploading Adobe Illustrator (.ai) files

Whenever trying to upload an .ai file to a mediawiki site I get the "File extension does not match MIME type" error. Extracts from files:


mime.types:

application/postscript ai eps ps

mime.info:

application/postscript [DRAWING]

ai filetype is also included in $wgFileExtensions array in LocalSettings.php and mime.types and mime.info had .ai definitines included by default and haven't been modified,

Any ideas?


MediaWiki 1.16.0

PHP 5.3.3 (cgi-fcgi)

MySQL 5.1.49-community

IIS 7.0 194.100.25.40 (talk) 11:48, 12 January 2011 (UTC)

For me the solution was
Just checking the mime-type
benny@web:/var/www/wiki.open-laboratory.de/htdocs/includes# file Image.ai -i
Image.ai: application/pdf; charset=binary
So the mime type is application/pdf
Just added in the mime.types
application/pdf pdf ai
and done ;) 62.224.170.105 14:35, 14 March 2012 (UTC)

Images not working correctly after update

Hello,

I have just updated from version 1.6.1 to version 1.16.1. All was working before the update, but now images are not being handled correctly. When some of the small images are clicked, the returning page receives this error message:

"Error creating thumbnail: libgomp: Thread creation failed: Cannot allocate memory"

As shown on this page:

http://www.miniatures-workshop.com/lostminiswiki/index.php?title=File:BlkBaron-fantasy-012.jpg

In addition to this, the empty clickable image slots, which members would normally use to upload their images, no longer links to the upload page, instead there is just some text showing the image filename. Like this:

http://www.miniatures-workshop.com/lostminiswiki/index.php?title=Fantasy

I ran the update via browser as I don't have command line access with my server, I used the exact same procedure as detailed in the UPDATE readme file.

This is a well used wiki that I must keep running for our community, so any help given would be greatly appreciated.

Thanks, Colin ColinPD (talk) 13:13, 12 January 2011 (UTC)

I'm still having no luck working this one out.
I tried transferring all the files from version 1.6.10 back to the wiki directory, I didn't need to run any update this time... not sure why. After that, version 1.6.10 worked perfectly. So I tried the same method in reverse, transferring all the version 1.16.1 files back without updating as before, and I'm back to the original problem of images not working properly.
I tried reverting to the GD library, by setting "$wgUseImageMagick = false;" but no images worked then.
So I tried setting "$wgMaxShellMemory = 524288;" again no change.
I don't think anything could be wrong with the database since it works with version 1.6.10.
When I first installed mediawiki it was on a different server, I had the same problem then, so at the time I stuck with version 1.6.10 thinking it was just a limitation of the old server. Now I have moved the wiki over to a much improved server with handson-webhosting, I assumed the update would work now, but perhaps the old server has set something incorrectly and the update can't correct it.
Can anyone think of a way around this, any ideas please?
Many thanks, Colin ColinPD 09:18, 13 January 2011 (UTC)
Oops, looks like the link I gave before doesn't always show up with the error message, this new link shows the problem better:
http://www.miniatures-workshop.com/lostminiswiki/index.php?title=File:BlkBaron-fantasy-011.jpg
Thanks, Colin ColinPD 10:40, 13 January 2011 (UTC)
Try setting $wgMaxShellMemory to 0 temporarily. —Emufarmers(T|C) 19:21, 13 January 2011 (UTC)
Thanks Emufarmers, that sorted out the memory problem just fine, though I still have the problem of the image upload links not working, any ideas what could be causing that to happen?
Thanks, Colin ColinPD 20:39, 13 January 2011 (UTC)
That seems to be the standard behavior for gallery links. I'm not sure when or why it changed, but I get the same thing on my test wiki. —Emufarmers(T|C) 10:25, 14 January 2011 (UTC)
Thanks Emufarmers,
I just messed around with different versions and was able to get 1.10.0 working as I need. I'll just have to keep a close eye on updates to see if they reintroduce the file handling format that I need. Or maybe in future they could release an alternative update for wikis that use the gallery as mine does, I know of other wikis that do.
Anyway, thanks again. You're a star!
Colin ColinPD 14:14, 14 January 2011 (UTC)

Extra User Permission

Hello,

I am thinking about using MediaWiki on my own webpage and so my question is: Can I define Pages in the Wiki, which are only readable for logged in users and not for people that just came to the wiki?

Thanks, Dominik 87.170.246.192 (talk) 17:13, 12 January 2011 (UTC)

Sorry, I found the anwer.. 87.170.246.192 17:21, 12 January 2011 (UTC)

A simple question that I cannot seem to find the answer for: there are dropdown "close-able" menus on mediawiki.org's sidebar. Is this inherent functionality, or is this an extension? I'd like to get the same functionality running on my wiki. Thanks! GuJiaXian (talk) 19:08, 13 January 2011 (UTC)

extension:UsabilityInitiative or Extension:Vector#CollapsibleLeftNav depending on your version of mediawiki. Bawolff 20:35, 13 January 2011 (UTC)
I'm running 1.16.1 with Vector as my skin. I think I should be using Extension:Vector#CollapsibleLeftNav; this that correct? GuJiaXian 20:49, 13 January 2011 (UTC)
No, you need the other one. Bawolff 03:21, 14 January 2011 (UTC)
Can this be used with 1.15.1? 98.204.107.119 04:54, 17 January 2011 (UTC)
No. It requires the vector skin, which is in 1.16 Bawolff 05:38, 17 January 2011 (UTC)
I'm trying to do the same thing...any luck on figuring this out? 98.189.165.213 21:24, 17 January 2011 (UTC)
What problems do you run into. 1.16 is the minimum version that this extension will work with. People using 1.15 need to upgrade to a newer mediawiki version in order to get collapsible sidebars. Bawolff 21:51, 17 January 2011 (UTC)
I don't see how to get the categories to collapse...is there something special you're supposed to do when adding the links? I would think that anything with the ** in front of it would be collapsable to the first one above it that has a * in front of it.
Thanks 98.189.165.213 17:29, 18 January 2011 (UTC)
No it has nothing to do with adding the links to mediawiki:Sidebar. You install the extension, the extension makes things collapsible. The only thing you have to do is install/enable extension in LocalSettings.php. Bawolff 00:07, 21 January 2011 (UTC)
Just in case someone else is still struggling with this (as i did), the bellow needs to be added under $wgVectorModules section in the LocalSettings.php file in order to activate the collapsible Menus:
'collapsiblenav' => array( 'global' => true, 'user' => false ),
Example LocalSettings.php section:
  1. Shown values are defaults
$wgVectorModules = array(
'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
'editwarning' => array( 'global' => false, 'user' => true ),
'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
'collapsiblenav' => array( 'global' => true, 'user' => false ), 180.94.118.12 07:28, 8 April 2011 (UTC)
Thanks, that last tip is what I was looking for. Struggled for a while till I saw your post. thanks a lot 24.152.180.23 00:15, 23 April 2011 (UTC)
Trying to get the Monobook drop downs working with the code snippet from
http://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Make_expanding.2Fcollapsing_sidebar_for_all_users_.28Monobook_skin_only.29
Cant seem to get it working. Help please? 24.235.146.86 03:10, 11 November 2014 (UTC)

Change category page number from 200 to 250

Wikipedia has a large number of categories by country. If the allowable number of pages in a category was changed from 200 to 250 all countries can be included in one category page. This is makes navigation a little easier for readers (and editors). Anyway, why was the 200 page limitation chosen when the categories were initially set up? Alan Liefting 21:55, 13 January 2011 (UTC)

It was probably mostly arbitrary. If you want to change this, you'll have to get consensus on the English Wikipedia (assuming that's where you want it). —Emufarmers(T|C) 03:49, 14 January 2011 (UTC)

How to replace the underscore in Short URL with dashes?

I just changed my new wiki site's URL to short URL that makes it look like .../Wiki/Main_Page.

How can I make it look like .../Wiki/Main-Page?

Thanks 174.253.89.187 (talk) 22:32, 13 January 2011 (UTC)

You can't. Max Semenik 06:18, 14 January 2011 (UTC)
Thanks :) 174.253.91.255 23:33, 14 January 2011 (UTC)

pages blank after upgrade 1-15.5 to 1-16.1 and remain so after restoring 1-15.1

mediawiki 1-15.5 upgrade problem to 1-16.1
mysql 5.1.37 on Ubuntu 9.04
PHP 5.2.10

On Ubuntu 9.04, with MW 1-15.5 in successful use for two years, I updated PHP to 5.2.10.dfsg.1-2ubuntu6.6 and all seemed well. After backing up the wiki directory and the mysql, I installed 1-16.1 from the tarball. All pages were blank. I restored the wiki directory and the mysql, and reran maintenance/update.php. The pages remained blank.

I repeated the 1-16.1 tarball expansion, I added error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); at the top of LocalSettings.php and reran update.php. Nothing is displayed after running update.php.

Nothing about PHP is in the apache2 logs nor syslog. The apache2 access log correctly reflects the client requests to the mediawiki installation, but nothing associated with it is in the apache2 error log, nor do I see any evidence in the mysql logs that any query was launched against the database (Perhaps that is a mysql configuration issue).

I have been unsuccessful in enabling PHP logging to files. I've specified /var/log/php.log in php.ini in both /etc/php5/apache2 and /etc/php5/cli/php.ini and set log_errors=On in both.

I haven't tried to back out the PHP security update, especially since I'd have to figure out where the older one is in ubuntu repositories, and since the whole thing seemed to work ok after I updated the php anyway.

What should I try next?

Thanks Bob Ramorrismorris (talk) 04:09, 14 January 2011 (UTC)

Error message on main page

Oh dear, I thought I'd got it working but now I have a nice new warning message sat at the top of the main page.

Warning: fopen(/messages-lostminiswiki)[function.open]: failed to open stream: Permission denied in /path/public_html/includes/MessageCache.php on line 101

I set the file's CHMOD to 777 but with no change.

Line 101 in MessageCache.php reads:

94 } 95 96 $filename = "$wgLocalMessageCache/messages-" . wfWikiID(); 07 $oldUmask = umask( 0 ); 98 wfMkdirParents( $wgLocalMessageCache, 0777 ); 99 umask( $oldUmask ); 100 101 $file = fopen( $filename, 'w' ); 102 if ( !$file ) { 103 wfDebug( "Unable to open local cache file for writing\n" ); 104 return; 105 }

Does this means a cache file has moved? If so where should it be located? (I'm using version 1.10.0)

Can anyone decipher this one please?

Many thanks, Colin ColinPD (talk) 19:33, 14 January 2011 (UTC)

Let's try that code again, looks like it all got squashed together first time.
94 }
95
96 $filename = "$wgLocalMessageCache/messages-" . wfWikiID();
97 $oldUmask = umask( 0 );
98 wfMkdirParents( $wgLocalMessageCache, 0777 );
99 umask( $oldUmask );
100
101 $file = fopen( $filename, 'w' );
102 if ( !$file ) {
103 wfDebug( "Unable to open local cache file for writing\n" );
104 return;
105 }
Many thanks, Colin ColinPD 19:39, 14 January 2011 (UTC)

How to Customize the Main_Page to show latest 5 pages added?

I want to show links (and possibly short text) of the latest 5 pages added to our wiki on the Main_Page. Is that possible?

Thanks 174.253.91.255 (talk) 01:46, 15 January 2011 (UTC)

You could do {{Special:newpages|5}} Bawolff 21:53, 17 January 2011 (UTC)
Great. That worked. How do I clean it up though? For example to just show the title.
Thanks 174.253.112.225 21:26, 18 January 2011 (UTC)
Its kind of difficult to just show the title, without resorting to ugly JS hacks. You can fairly easily not show the edit summary and user info, using CSS though. (That's something that maybe should be improved with special:newpages).
Another approach is to use an extension. extension:DynamicPageList (Wikimedia) can be used to display a simple list of new articles for example. Bawolff 15:13, 19 January 2011 (UTC)
I couldn't make it look pretty and didn't want to spend the time writing my own extension to access the API so I just AJAXed it using the API feeds. It works pretty nicely though it renders about a second after the rest of the page. But if that doesn't bother you, here's the code I used.
Basically, I just had a ul that I gave the id "newestPages".
jQuery(window).load(function() {
  jQuery.getJSON('<?php $this->text('scriptpath'); ?>/api.php?action=query&format=json&list=recentchanges&rctype=new&rclimit=5&rcnamespace=0', function(data) {
        var container = jQuery('#newestPages');
        container.empty();
        var results = data['query']['recentchanges'];
        var resultlen = results.length;
        for (i = 0; i < resultlen; i++) {
                var result = results[i];
                var timestamp = result['timestamp'];
                var title = result["title"];
                var encodedTitle = encodeURI(title);
                var year = timestamp.substring(2,4);
                var month = timestamp.substring(5,7);
                var day = timestamp.substring(8,10);
                var formatdate = month + "." + day + "." + year;
                //alert(result['title']);
                container.append('<li>' + formatdate + ' - <a href="<?php $this->text('scriptpath'); ?>/index.php/' + encodedTitle + '">' + title + '</a></li>');
        }
  });
});
</nowiki>
Unifiedrepublic 22:07, 20 January 2011 (UTC)

Password on single Pages

Hi!

Is it possible to install an password on some single Media-Wiki-Sites, so that you have to insert an password bevor you can see the site?! (for all Users, registerd or not) But the password-field have to be IN the Wiki-Site, not only an .httaccess-forwarding to an extra site out of the wiki.

thx 95.223.105.221 (talk) 19:33, 15 January 2011 (UTC)

Survey for Enterprise Wiki Users

This post by MaxSem was moved on 2011-01-15. You can find it at Project:Village Pump/Archive 2#Survey for Enterprise Wiki Users. Max Semenik (talk) 19:48, 15 January 2011 (UTC)

500 Internal Server Error

Okay I keep getting a 500 error and I don't even have mediawiki installed yet, I am very much looking forward to using mediawiki but this is putting a rut into my plans.

Mediawiki version: latest stable version Php version: 5.2.16 with a patch in it Link to site: http://96.30.9.173/~revo/

Can somebody please help me out with this, I really want to get started with the site. .RevO (talk) 06:27, 17 January 2011 (UTC)

manual:How to debug. But your error is probably caused by apache being misconfigured. Check for syntax errors in your apache config files, and look at what your error_log says. Bawolff 06:36, 17 January 2011 (UTC)
Here is what I am getting.
http://pastebin.com/aw7WjvSH .RevO 07:06, 17 January 2011 (UTC)
try using chown command to make the php files owned by the apache user (probably www-data ). Bawolff 14:40, 17 January 2011 (UTC)
How would I do that? I know the chown command but how do I give ownership to apache? .RevO 18:26, 17 January 2011 (UTC)
The error makes it almost sound like its just complaining about the file owned by root (It looks like you have php configured to execute the script as whatever user owns it). Apache is run under a specific user account, commonly www-data or apache, so you could make it owned by that account. It would probably also work to change the owner of those files to be your user account. Bawolff 21:50, 17 January 2011 (UTC)
I guess I have to find out what my apace user is called :P, apache and www-data are not the users :(. .RevO 21:54, 17 January 2011 (UTC)
Okay doing that did not work. .RevO 23:02, 17 January 2011 (UTC)

poll/rating extension that produces an average number

I want to have a poll/rating extension that allows a user to input any number and the poll spits out the average of all user inputs. This is for deciding on how much people think an item is worth, and a number of stars or a percentage rating as with all the extensions I have found, wont cut it. Especially as the values rage from a few dollars to possibly a few thousand.

I found math extensions that give you an average numbers, and various form extensions that create forms... I imagine these things could be put together somehow. But I'm not figuring it out... 98.204.107.119 (talk) 06:40, 17 January 2011 (UTC)

Theme and images problems

Hello,

I installed MediaWiki in my company for internal support, but I have some problems.

The first: when I select a theme, it is seen by the administrator (connected) and not by users (not connected, anonymous).

The second: All pictures posted in the Wiki are not visible to users (not connected, anonymous).

What might be the problem?

Thank you for your reply.

David Beiner 46.126.189.145 (talk) 13:16, 17 January 2011 (UTC)

Is there a way to list all pages(articles)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have recently inherited an instance of mediawiki and I am finding the organization to be, in a word, non-existent. Is there a way to generate a list of all the articles or is there an index that I can view/print that is automagiclally generated as a special page? 64.22.160.1 (talk) 17:29, 17 January 2011 (UTC)
Special:Allpages Reach Out to the Truth 17:38, 17 January 2011 (UTC)
Thank you 64.22.160.1 18:50, 17 January 2011 (UTC)
I cant access this page it says " Access Forbidden - you dont have permission to see the requested page" 206.172.0.205 15:07, 29 May 2013 (UTC)
The error message seems pretty clear here. The server admin may have forbidden the access to that URL. Ciencia Al Poder (talk) 09:22, 30 May 2013 (UTC)
Hi
I'm trying to show a list of all pages in the main page of a custom namespace. Is that possible?
Thanks. M palacios (talk) 19:42, 3 January 2017 (UTC)
mediawiki.org/wiki/Special:SpecialPages is good too 46.224.230.104 21:10, 12 December 2014 (UTC)
I got the same Error "Access Forbidden", funny thing is that I'm the owner (I run mediawiki on localhost)... any clue? 195.168.255.140 (talk) 16:58, 16 September 2015 (UTC)
Check your server's error log to diagnose why that's forbidden. The error is not thrown by MediaWiki Ciencia Al Poder (talk) 09:39, 17 September 2015 (UTC)
Try http://localhost/mediawiki/index.php/Special:AllPages 207.219.3.250 (talk) 19:31, 23 September 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Are sysop and administrator the same thing? Permissions problems...

I've recently set up MediaWiki and am having a few issues with user permissions - when logged in as the initial user created by the installer, I don't seem to be able to delete pages (there is no delete tab showing up), and I've read that there is supposed to be some kind of admin menu at the top (hidden under an arrow in some skins), but I don't seem to have one (an admin menu or an arrow that might be hiding one), though I do have the Special Pages menu item at the side, which gives me access to at least some administrative functions.

From what I've read here, deleting pages should be available to anyone with sysop permissions, but I don't see that listed among the user groups I can set a user to when I go to the User rights management page via the Special Pages section. I just have bot, administrator, bureaucrat and confirmed. But I checked the database, and user 1 shows up in the user groups table as being bureaucrat, confirmed and... sysop! So are sysop and administrator the same thing? If so, why don't I have a delete tab or admin menu?

BTW, I'm using the Vector skin, if that helps. I did add some code to my LocalSettings.php file from the FAQ to restrict non-confirmed users, but it shouldn't be causing this as far as I can see, because confirmed users are allowed to delete pages. And yes, I did make sure my admin user was confirmed. Spidersilk (talk) 22:26, 17 January 2011 (UTC)

Sysop and administrator are indeed the same. It's referred internally as "sysop", while "administrator" is the display name. It can be renamed from administrator to anything else, but it will continue to be referred to as sysop in the software.
There should be a down arrow after the history tab. Hover over it to see more options. The admin functions should be in there. Reach Out to the Truth 02:50, 18 January 2011 (UTC)
Finally! I found the DELETE button. Thanks.Dedwarmo 20:46, 10 November 2011 (UTC)

Customizing/Adding Edit box Toolbars and Menus

Hi there,

I just want to know what to do to have the same edit box that I am using right now and more because if you try to edit the Help:Fomatting page you get even better toolbar options. I want the | Advanced | Special characters | Help | drop down menu at top and the bottom toolbar with all the [] [[]] {{}} – — “ ‘ « ‹ „ ‚ … ~ ‘“›»’” etc.

Is it just a switch in the LocalSettings.php file or an extention for the edit box if so can I download it somewhere ?

Thank you, Bye. PYB~mediawikiwiki (talk) 15:20, 18 January 2011 (UTC)

Preferences aren't being saved

Mediawiki: 1.16.0

PHP: 5.2.15

Database: MySQL 5.1.53-log

Link to Wiki: http://www.markedrp.com/w

Test Login: Username - Wikitest, Password - test


I currently have Extension:SMF_Auth_Integration installed, so upon logging in you will be redirected back to my SMF forum to verify the account information. Then use the link above to go back (the wiki link on the forum goes to the old wiki).

I'm currently having a problem where any changes to user preferences are not being saved. I will log into the wiki with both regular and admin accounts and if I try to change any user preference, the page reloads, and the change is apparently still there. But no "User Preferences Changed" message appears at the top of the screen. If I leave the preferences area and then go back to it, the original preferences are there again.

This bug only happens when Extension:SMF_Auth_Integration is installed (which is my only installed extension). I have spoken with other people using the same extension and wiki version, but they have not experienced the same bug.

Any help would be greatly appreciated. Ranimara (talk) 15:47, 18 January 2011 (UTC)

dynamic tables in mediawiki

  • english version*
  • german version below*

hello community,

i haven't found something that helped me out. so that is the reason to create an account and poste this thread. what i want to do is a template with a dynamic table inside. this should be my infobox which i want to use in some article of my mediawiki (the mediawiki of the firm i work, because i am an employee).

i imagine this should work in this way:

- in the article i bind the template by these "commands":

{{my_server_template | intel xeon 4x 3.07 GHz | 12 GB DDR1333 | Debian Lenny}}

- with an "if-expression" i can make some cells in the table empty if the condition is false. the template looks like this:

<onlyinclude> {| class="infobox wikitable float-right" ! Category  !! Description |- | CPU || {{#if:{{{1|}}}|{{{1}}}|}} |- | RAM || {{#if:{{{2|}}}|{{{2}}}|}} |- | OS || {{#if:{{{3|}}}|{{{3}}}|}} |} </onlyinclude>


so i have read in w:de:Hilfe:Vorlagenprogrammierung that i can make a dynamic table and have to look like this:

{{#if: {{{foo|}}} | {{!}} Name {{!!}} Value }}

the problem is now, that my mediawiki-interpreter can't see, that i want to draw a dynamic table. normally {{!}} should be like | but the interpreter see's it like a new template with the name "!".

what's wrong? is it the interpreter? or exist another way to solve my problem. i need a dynamic table, that could have till 17 values inside.



  • deutsche version*

hallo community,

da ich zu meiner problemstellung bisher leider keine lösung finden konnte (weder de.wikipedia.org/wiki/Hilfe noch google oder forenbeiträge) habe ich mich nun frisch registriert und falle mit der tür ins haus:

ich möchte ein template (infobox) basteln, welches eine dynamische tabelle aufbaut. das heißt soviel, dass das template in einem artikel verwendet werden soll und bereits dem template parameter übergeben werden, z.b.: {{mein_server_template | intel xeon 4x 3.07 GHz | 12 GB DDR1333 | Debian Lenny}}

das template selbst möchte ich so dynamisch haben, dass wenn ein parameter nicht angegeben wird, z.b. das betriebsystem am ende, dann soll im artikel die infobox nur noch 2 zeilen enthalten, nämlich den prozessor "intel xeon 4x 3.07 GHz" und den arbeitsspeicher "12 GB DDR1333".


bisher hab ich es geschafft eine if-abfrage einzubauen, damit wenn ein parameter nicht gesetzt wird, die zelle in der tabelle leer ist. das template selbst sieht dann etwa so aus:

<onlyinclude> {| class="infobox wikitable float-right" ! Kategorie  !! Beschreibung |- | CPU || {{#if:{{{1|}}}|{{{1}}}|}} |- | RAM || {{#if:{{{2|}}}|{{{2}}}|}} |- | OS || {{#if:{{{3|}}}|{{{3}}}|}} |} </onlyinclude>

weiterhin habe ich in vielen quellen gelesen, dass mit if-abfragen sogar dynamische tabellen geschaffen werden können. JETZT ist das problem von sonderzeichen in der if-abfrage!

laut wiki-hilfe, diversen google-search-results und mediaWiki O'REILLY by daniel j. barrett soll das so funktionieren

{{#if:{{{variable}}} | {{!}} Betriebssystem {{!!}} Debian Lenny }}

theoretisch und laut anleitung sollte jetzt eine einzige zeile in einer tabelle dynamisch "gezeichnet" werden, wenn diese variable die bedingung erfüllt. ansonsten wird keine neue zeile in der tabelle gezeichnet.

stattdessen will der mediawiki-interpreter {{!}} und {{!!}} als neue templates interpretieren. in der anleitung, z.b. von mediawiki-hilfe (quelle: w:de:Hilfe:Vorlagenprogrammierung ):

{{!}} = | {{!!}} = ||

ist das ein fehler vom interpreter? wie lässt sich das lösen? oder gibt es bereits einen anderen lösungsansatz für mein problem, um eine dynamische tabelle als template nutzen zu können? die tabelle aus meinem beispiel ist nur zu veranschaulichung. die infobox soll tatsächlich bis zu 17 variablen tabillarisch darstellen können! Xplace.drozdowski (talk) 16:23, 18 January 2011 (UTC)

Create a new template with name ! and content |. It should then work. Hamilton Abreu 02:01, 19 January 2011 (UTC)

Putting an image in a table

I finally got my image working and showing up...now when I put it in a table, it's gone again.

Is there something special about tables that the <img> tags don't work...and there's another way to embed images in tables?

Thanks much 98.189.165.213 (talk) 18:42, 18 January 2011 (UTC)

LocalSettings.php Not in config folder after installation

After getting a successful install I get the following message "To complete the installation, move config/LocalSettings.php to the parent directory. " I navigated to the config folder using my chosen FTP app but there is no LocalSettings.php file in there. I deleted everything and tried a reinstall this time with all permissions on the config file but still no luck. I am wondering if there is a basic script in the file that I can just put in a document save it as LocalSettings.php then place the file there myself. Any suggestions would be highly appreciated. Thanks guys. 74.75.229.118 (talk) 05:14, 19 January 2011 (UTC)

What happens when you run the installer and then go to the config directory in your browser? —Emufarmers(T|C) 05:53, 19 January 2011 (UTC)
Also, some FTP clients won't show new files unless you explicitly refresh them. Check whether that's the case here. —Emufarmers(T|C) 05:55, 19 January 2011 (UTC)
Wow.. sitting here with my head down. Just closed and reopened my FTP app and whatda know. It was in there. Thank you for the time I really appreciate it. 74.75.229.118 06:58, 19 January 2011 (UTC)

[SOLVED] Posting Images: Just shows file:urlhere

Sorry.. im really new to this. I am trying to post an image on a wiki I just setup and when using the following syntax [ [ File:http://www.google.com/logos/2011/cezanne11-hp.jpg%7Chttp://www.google.com/logos/2011/cezanne11-hp.jpg ] ] It just outputs File:http://www.google.com/logos/2011/cezanne11-hp.jpg and doesnt show the image. I am wondering what a solution to this is. Any help would be highly appreciated.

You're mixing the syntax for internal images with the one for external images. See Help:Images, particularly Help:Images#Files at other websites. —Emufarmers(T|C) 19:41, 19 January 2011 (UTC)

category article count

Is there a way to get an articlecount from a specific category? i need this for a few special pages i'm creating. Eagle00789~mediawikiwiki (talk) 08:25, 19 January 2011 (UTC)

{{PAGESINCAT:<cat name>}} See help:Magic words for details. Bawolff 14:45, 19 January 2011 (UTC)

Watch all pages

I wish all of my wiki pages to be automatically added to the watchlist for all existing users. And that all users set up and watched all the wiki pages automatically. How can I do this? RicardoMelo (talk) 13:42, 19 January 2011 (UTC)

Can't they just use Special:RecentChanges then? Reach Out to the Truth 14:16, 19 January 2011 (UTC)

Hello everyone,

my name is Thomas from Germany. I'm currently setting up a company internal test Wiki with which I would like to replace some Lotus Notes databases. To have a smooth transition from Notes to Wiki I would like to insert links to Notes databases into Wiki pages. All this is done just company internally and not via Internet.

The link notes://servername/filesname.nsf works fine when I enter it in the IE address bar, but I can't find a way to get to work from a wiki page ( like a http://xxx.yyy/zzz or mailto://xxxx@yyy.com.

Any help is highly appreciated 213.61.164.152 (talk) 15:32, 19 January 2011 (UTC)

$wgUrlProtocols Max Semenik 16:44, 19 January 2011 (UTC)
Hi Max. Thank you so much. This works great! Best regards from Germany, Thomas 213.61.164.152 18:05, 19 January 2011 (UTC)

Totally Moderated Wiki

Hello everyone.

Just did a basic install of Wikimedia on a web server I bought.

I've spent a lot of hours reading the documentation and configuration files, but couldn't find.

1) I want to do a totally moderated Wiki for starters, meaning someone makes an entry, I get an e-mail, and it does not become public until I approve it, same for suggested revisions.

2) I want to set up a bit of a template for entries (I call them entries because they are not meant to be articles). How do I do that?

3) Is there a mailing list of good contributors I can obtain for free to advertise my site to?

3) I'd like to know how to tag entries by categories I assign for searchability, etc. How do I do that? Dlen345 (talk) 02:01, 20 January 2011 (UTC)

1) MediaWiki cannot do this. Flagged Revisions can provide some moderation capabilities, but it can't really all the stuff you're asking for. If you need this, a content management system will likely do a better job than MediaWiki.
2) You can use an extension like Preloader to automatically add boilerplate text on page creation.
3) What would this site be about? You have to consider that if you're going to go looking for potential contributors.
4) See Help:Categories for information on how to use categories. You can also copy that page into your wiki to provide category help for your users. Reach Out to the Truth 02:38, 20 January 2011 (UTC)
Thank you.
Let me investigate this. Dlen345 02:59, 20 January 2011 (UTC)
I was looking for a similar modification too. Couldn't find any solutions so ended up putting every page on Watch List (which can get crazy) and check new pages on the Wiki often to find possible spam pages. 76.249.229.200 02:50, 26 January 2011 (UTC)

Hard drive Crashed - have to restore wiki

The hard disk that I had the wiki installation on crashed. Now all I have is the backup of the Apache program files folder.

It was installed on Windows XP. Now I have windows 7. I do not remember what version of php, mysql and wiki I had.

Is there a way I can do a fresh installation of php/mysql and mediawiki and somehow get the old data back? I have backup of the entire Apache folder including htdocs.

Please guide me. Thanks for your help. 59.161.6.102 (talk) 05:35, 20 January 2011 (UTC)

The main problem here is to get your database back. Refer to MySQL docs for that. If your Apache directory in Program Files contained htdocs and you have the previous MediaWiki files, it should pick up your database. If not, just reinstall it, providing the previous database settings. Of course, if you can't get your database back, everything is hopeless. Max Semenik 06:14, 20 January 2011 (UTC)
Since you have htdocs, you should be able to retrieve any files that were uploaded on the wiki, but unless you have a backup of the database, your wiki's data is lost. —Emufarmers(T|C) 06:14, 20 January 2011 (UTC)

Search suggest order

The order of search suggest items at Wikipedia used to be alphabetical, now it seems based on number of hits. Is that correct? How can I change my own MediaWiki wiki to do this as well? We have MW 1.15.4 and Lucene 2.1 installed. Robinson weijman (talk) 09:14, 20 January 2011 (UTC)

Default Value "Search" in Search Box (Vector)

Hello,

in Mediawiki and Wikipedia Website using Vector skin there ist a default value "Search" in Search Box. How I can add this default text in mi Wiki (MW 1.16, Vector)? My Searchbox is empty, but with Search Text inside it would be more easy for users.

Sorry for my poor English.

MediaWiki 1.16.0 PHP 5.2.14 (cgi-fcgi) MySQL 5.1.53-community Its a private Wiki, so I cant provide an URL.

Thanks Pdcemulator (talk) 06:26, 21 January 2011 (UTC)

Same question!
I want to know, too! 晒太阳的冰 08:59, 17 May 2011 (UTC)
It looks like it's only coded to display the search terms for something already searched on. However, using the Special:SystemMessages tool, you could define your own message and replace the value to be:
<?php $this->msg( 'CUSTOM_MESSAGE' ) ?>
where CUSTOM_MESSAGE is your own defined message on line 750 where it's currently:
<?php $this->text( 'search' ) ?>
Though in actuality, it might be better, rather than hardcoding the changes in the template, to use jQuery to populate that value with whatever you want and use an onClick handler to blank it so they can enter what they want rather than having to backspace it. It might be a better UI. And you can update the skin with the latest releases with just this one bit of JavaScript rather than have to merge PHP changes. Unifiedrepublic 06:30, 19 May 2011 (UTC)
This enhancement, among other nice features, is part of the Extension written for the Vector-skin (Extension:Vector). It is written recently and requires MediaWiki 1.17. Although 1.17 isn't officially stable yet, Wikipedia is currently running it on all wikis.
If you decide to upgrade to 1.17, be sure to keep up with updates and make sure you make backups before every update.
Upgrading to 1.17 is not yet recommended for large/production sites. Krinkle 23:51, 19 May 2011 (UTC)
Probably the better idea, rather than branching your own version of Vector and having to maintain it if you can wait until the 1.17 version is stable. Unifiedrepublic 03:11, 20 May 2011 (UTC)

Database Error When Uploading New Files

hello there, I've been running mediawiki for about 6 months.. suddenly I'm unable to upload new files. When uploading files, this error appears:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

   (SQL query hidden)

from within function "IndexPager::reallyDoQuery (ImageListPager)". Database returned error "1: Can't create/write to file '/tmp/#sql_dc3_0.MYI' (Errcode: 13) (localhost)".

Help! 67.19.6.146 (talk) 07:19, 21 January 2011 (UTC)

actually, just to clarify, when I upload files NOTHING happens, the upload just doesn't happen. This error appears when I try to access the file list. 67.19.6.146 07:21, 21 January 2011 (UTC)
This has nothing to do with MediaWiki. Refer to MySQL docs at http://dev.mysql.com/doc/ Max Semenik 13:43, 21 January 2011 (UTC)

[RESOLVED] Having an issue with database driver not installed.

Ok, I've spent two days searching and I have not made any progress, and now I am being told that I NEED to get this fixed ASAP.

Error I get when trying to install Mediawiki: Please include all of the lines below when reporting installation problems. PHP 5.3.5 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module

MediaWiki version (1.16.1) PHP version(5.3.5) MySQL version (5.5.8 Enterprise Commercial Advanced Server) 64.89.105.226 (talk) 20:19, 21 January 2011 (UTC)

The obvious question, did you install php with mysql support. You can find out by creating a file like the following:
<?php
phpinfo();
Name the file something.php, and then browse to the file using your webbrowser. It should list config information, including if mysql is enabled with php. Bawolff 23:19, 21 January 2011 (UTC)
I'm having this issue as well. PHP info says:
mysqlnd
mysqlnd enabled
Version mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $
Compression supported
SSL not supported
Command buffer size 4096
Read buffer size 32768
Read timeout 31536000
Collecting statistics Yes
Collecting memory statistics No
Tracing n/a 208.65.149.245 18:55, 9 February 2011 (UTC)
Ah ha. I figured it out. The mysqlnd section is not the same as the mysql plugin. So here's what I had to do:
In php.ini
extension_dir = "c:\php\ext"
extension=php_mysql.dll
The PHP manual was just flat out wrong where it said:
"The extensions mysql, mysqli, and PHP_PDO_MYSQL are all enabled by default in PHP 5.3.0+, and all use the MySQL Native Driver by default. In each case no further installation steps are required in order to use these extensions, although you may want to set some preferences in php.ini depending on your requirements."
This simply wasn't true for the zipfile php download. I guessed this and tried to enable the modules in the ini file, but the extensions dir is not set in the supplied php.ini-production file either so it wasn't until I checked the apache error log that I discovered it wasn't loading the modules even after I disbelieved the php manual
I *HATE* php. Every time I touch it I have a problem with it. I was using the zip file because the MSI installer version caused apache to die and windows to offer to send a report to microsoft... I didn't really want to do work today anyway. Gus.heck 20:16, 9 February 2011 (UTC)
It works! Thanks for your sharing! I have also searched and googled for two days but can't fix it. 202.40.139.164 14:00, 23 January 2013 (UTC)
Thank you for sharing your solution -- much appreciated! 199.4.160.10 18:49, 7 February 2013 (UTC)
It works! Thanks for your sharing! Too bad mediawiki didn't fix is message for windows users. 204.239.90.41 15:04, 5 May 2014 (UTC)
thank you 2A00:EE2:2D03:E800:5915:D6B1:6F31:8486 (talk) 08:14, 5 May 2020 (UTC)

(RESOLVED) URL on Pages with more than two Modules

Dear Support Desk,

we have a problem with our Media Wiki.

If we use several Modules in vertical alignment, the URL of the Page appears on the site. There is no reference to the URL in the Source Code of the Pages, and we don't have a clue where this URL is due to.

The Link to our Main Page is: http://wiki.faszination-nordkurve.de/index.php/Hauptseite

Thank you for your help! 77.0.72.26 (talk) 11:51, 22 January 2011 (UTC)

The bottom end of your page looks like the skin was changed from default. The line of text you mention "Von: (url)" (in english, "from:") is a system message (from the Mediawiki: namespace) that usually appears on a printout, not on the screen. So you seem to know about skinning. The easiest way to identify why a page looks like what it looks like is to view the HTML source (CTRL-U in Firefox), identify the CSS directives that surround the offending element, and correct them in either /skinname/main.css or in Mediawiki:Common.css.
--BRFR 16:48, 22 January 2011 (UTC)
The skin looks normal to me, and the CSS rule that's supposed to hide the message is also still there. The problem is that there's some sort of problem with the page's markup, causing divs to close where they shouldn't. The CSS rule that's supposed to be applied is:
#content .printfooter {
display:none
}
But because of the incorrect markup, the .printfooter div is not longer located in the #content div.
In edit view, I can see that a div has been opened but never closed. Try closing the div in the appropriate spot, and hopefully that will resolve the problem. Reach Out to the Truth 22:10, 22 January 2011 (UTC)
Oh thanks! of course the div needs to be closed.
How easy was that? Thank you, sometimes I just can't see the forest for the trees. 217.110.99.238 14:42, 1 February 2011 (UTC)

WARNING: This page is 32 kilobytes long ...

How can this warning be switched off? In my case this limit is too low. http://www.activethanet.com Pgr94 (talk) 13:25, 22 January 2011 (UTC)

It appears to be hard-coded. In includes/EditPage.php:
if ( $this->tooBig || $this->kblength > $wgMaxArticleSize ) {
$wgOut->addWikiMsg( 'longpageerror', $wgLang->formatNum( $this->kblength ), $wgMaxArticleSize );
} elseif( $this->kblength > 29 ) {
$wgOut->addWikiMsg( 'longpagewarning', $wgLang->formatNum( $this->kblength ) );
}
Changing the constant 29 to a larger number makes the warning go away. Shouldn't this be a parameter like $wgMaxArticleSize? Pgr94 16:28, 22 January 2011 (UTC)
Maybe. You could ask on Bugzilla. —Emufarmers(T|C) 23:16, 22 January 2011 (UTC)
Thanks for your reply Emufarmers. At the top of this page it says: "Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask questions about the MediaWiki software!" Perhaps the text should be changed if it's not true. :-) Pgr94 20:23, 23 January 2011 (UTC)
This is the appropriate spot for asking questions, but Bugzilla is where you'd go to ask for changes to the MediaWiki software. Reach Out to the Truth 22:13, 23 January 2011 (UTC)

Configuring Main Page of Wiki to Look More Like Wikipedia

Can anybody help with this or link?

I'm finishign setup of my web server now.

Goin good so far :) Dlen345 (talk) 20:44, 22 January 2011 (UTC)

Upload Images Enabled

Hi, can't figure out how to enable image uploads for users on my Wiki.

When I got to the page Special:Upload as Administrator, it states "file uploads disabled". Dlen345 (talk) 23:57, 24 January 2011 (UTC)

You need to enable $wgEnableUploads in LocalSettings.php first. Reach Out to the Truth 02:22, 25 January 2011 (UTC)
Thank you.
All done. Dlen345 23:45, 27 January 2011 (UTC)

show mediawiki in a frame

Hello guys,

I want to show my mediawiki in a frame like:

top frame with links

content of linked sites (mediawiki)

But when I do this I can't edit sites or switch to special sites, because of security reasons. Is there an option to disable this?

Have a nice day,

Patrick 131.169.185.65 (talk) 08:06, 25 January 2011 (UTC)

Hello everyone, I'm willing to do the exact same thing !
I tried this and this.
I'm able to see "normal" pages, but no special pages like login or edit...
Could you please give us/me some directions before I get my hands dirty in the 57536 lines of code here ?
Thanks in advance ! TOXIC, 83.137.242.17 16:30, 3 February 2011 (UTC)
I got the solution :
taken from the DefaultSettings.php :
/**
* The X-Frame-Options header to send on pages sensitive to clickjacking
* attacks, such as edit pages. This prevents those pages from being displayed
* in a frame or iframe. The options are:
*
* - 'DENY': Do not allow framing. This is recommended for most wikis.
*
* - 'SAMEORIGIN': Allow framing by pages on the same domain. This can be used
* to allow framing within a trusted domain. This is insecure if there
* is a page on the same domain which allows framing of arbitrary URLs.
*
* - false: Allow all framing. This opens up the wiki to XSS attacks and thus
* full compromise of local user accounts. Private wikis behind a
* corporate firewall are especially vulnerable. This is not
* recommended.
*
* For extra safety, set $wgBreakFrames = true, to prevent framing on all pages,
* not just edit pages.
*/
$wgEditPageFrameOptions = 'DENY';
I've set this to $wgEditPageFrameOptions = 'SAMEORIGIN'; since my wiki and the top frame with links is on the same domain, but you might have to set it to false (careful, anyone can then show your wiki inside any frame...) TOXIC, 149.6.164.150 17:09, 3 February 2011 (UTC)

Omitting maintenance categories in sql query

Hello, I am retrieving a list of categories for a given page_title, but the results include categories such as "All_articles_to_be_split" and "Articles_with_unsourced_statements_from_July_2008" ...etc...I wish to omit these types of categories that are for maintenance.

Here is an example sql call I am making:

select categorylinks.cl_to from categorylinks join page on categorylinks.cl_from = page.page_id and page.page_namespace = 0 and page.page_title = "Ice_hockey";

What am I missing in my query to omit the maintenance categories?

Thanks. 216.15.41.243 (talk) 18:53, 25 January 2011 (UTC)

You need to exclude hidden categories. They have page properties (from page_props table) with pp_propname='hiddencat'; Max Semenik 19:33, 25 January 2011 (UTC)
Thanks, it only lists out 55 categories that have the hiddencat attribute, but each of these 55 categories have a large number of subcategories which I also need to omit. 216.15.41.243 20:58, 25 January 2011 (UTC)
There are much more hidden categories so shere's something wrong with your SQL, or your import didn't include some templates that include __HIDDENCAT__. Max Semenik 05:19, 26 January 2011 (UTC)

generatesitemap.php

When I executed this command, I got this:

> php generateSitemap.php communityoflaw.com Could not open input file: generateSitemap.php

I have no clue why this happened, and I have looked but not found anyone with similar issues. Any assistance will be greatly appreciated.

I have MW 1.16.1, php 5.3.4 (even though I explicitly asked for 5.3.5 - but that's another issue) and MySql 4.1 running on Centos. My domain is http://www.CommunityofLaw.com, but as I write this the dns has not propagated. Natcolley (talk) 22:16, 25 January 2011 (UTC)

If you're using that relative path, you need to cd to the maintenance directory before you run the command. —Emufarmers(T|C) 01:19, 26 January 2011 (UTC)
Thank you for your help. This is what happened when I changed directory:
(note, I also changed the name of my site)
> cd /var/www/html/mediawiki/maintenance
> php generateSitemap.php SemanticLaw.net
This script must be run from the command line
Since I thought I was at the command line, this just confused me. I asked tech support at my host. Here is what they said:
Nick D: When I run it I get other errors.
Nick D: php generateSitemap.php
PHP Warning: include_once(extensions/GoogleAdSense.php): failed to open stream: No such file or directory in /var/www/html/mediawiki/LocalSettings.php on line 136
PHP Warning: include_once(): Failed opening 'extensions/GoogleAdSense.php' for inclusion (include_path='/var/www/html/mediawiki:/var/www/html/mediawiki/includes:/var/www/html/mediawiki/languages:.:/usr/share/pear:/usr/share/php') in /var/www/html/mediawiki/LocalSettings.php on line 136
PHP Warning: require_once($IP/extensions/googleAnalytics/googleAnalytics.php): failed to open stream: No such file or directory in /var/www/html/mediawiki/LocalSettings.php on line 138
PHP Fatal error: require_once(): Failed opening required '$IP/extensions/googleAnalytics/googleAnalytics.php' (include_path='/var/www/html/mediawiki:/var/www/html/mediawiki/includes:/var/www/html/mediawiki/languages:.:/usr/share/pear:/usr/share/php') in /var/www/html/mediawiki/LocalSettings.php on line 138
Nick D: The inclusion paths seem to be wrong within the code.
-
So,two questions:
1. Why do all these extensions come up when all I'm trying to do is get a sitemap?
2. How do I fix this?
thx Natcolley 19:10, 24 February 2011 (UTC)
It's because the extensions aren't initializing $IP correctly.
Generally, I find that, whatever directory you have MW installed in, the scripts run fine from a shell if run with:
./maintenance/generateSitemap.php --conf ./LocalSettings.php
</nowiki>
Otherwise, you'll need to go through all your extensions and add something like this to the top:
$IP_relpath=realpath($IP.'/..');
</nowiki>
Replacing every instance of $IP with $IP_relpath. This will then ensure that the path of the individual PHP extensions are safe from a script environment as well as an web execution environment. Unifiedrepublic 07:32, 1 March 2011 (UTC)

SPAM

MediaWiki 1.13.0 PHP 5.2.12 (cgi) MySQL 5.0.91-log

URL http://awqa.org/networkwiki/index.php?title=Main_Page

My wiki has been inundated by thousands of automated users that are editing and creating pages non-stop and overloading the system. I've restricted editing privileges only to registered users, but the 'bot is auto-generating users. How do I delete all of the existing illegitimate users and prevent future spam? 128.114.102.102 (talk) 23:47, 25 January 2011 (UTC)

Manual:Combating spamEmufarmers(T|C) 01:20, 26 January 2011 (UTC)
I and other MW ops are getting nailed by spam. I've been through the Combating Spam manual, to no effect. ConfirmEdit, captcha/reCaptcha, .htaccess, ip-(range) blocking, etc are all failing. We've all had to fall back on restricting new users. I've updated to 1.16.1--any help would be great aside from RTFM.
Thanks! 74.73.186.115 02:07, 31 January 2011 (UTC)
  1. Have you tried SpamBlacklist?
  2. Have you checked if your configuration changes actually work, i.e. do people actually see captchas on registering/editing?
  3. Have you tried AbuseFilter? Max Semenik 06:09, 31 January 2011 (UTC)

DISPLAYTITLE in Tagline

Is it possible to include a {DISPLAYTITLE} inside the Mediawiki:Tagline in order to change the title display of all pages? Yair rand (talk) 00:25, 26 January 2011 (UTC)

No, because that message is not parsed as part of page text. Max Semenik 05:14, 26 January 2011 (UTC)
Is there any way that to get a DISPLAYTITLE to function on all pages without putting it on every page individually? Yair rand 20:55, 26 January 2011 (UTC)
One more question: Does {PAGENAME} display the correct name when placed in the Tagline? Yair rand 01:07, 1 February 2011 (UTC)

Error: File extension does not match MIME type

Hi,
i downloaded last week Mediawiki, all seems to work perfectly except the Upload. I got the error:
"File extension does not match MIME type"
I already tried to google it, and also I try to change differeten parameter on php.ini and LocalSettings.php.
The symptoms are:
1) The error: "File extension does not match MIME type"
2) the file is not created in tmp directory (neither windows/temp neither other tmp dir)
3) none extension work
4) changing:
$wgVerifyMimeType = false;
$wgStrictFileExtensions = false;
$wgCheckFileExtensions = false;
I got "The file has no extension (es. jpg)"
Help
I don't have an online version
Federico
mediawiki: 1.16.1
PHP: 5.2.14
Mysql: 5.0.51a
Apache: 2.2.8 on Windows 7 64bit Arg0n4th (talk) 07:29, 26 January 2011 (UTC)
Make sure that when you upload a file, the file name in MediaWiki has an extension also. There are two file names. The name of the file being uploaded and the one MW will reference it by. It's this second one, the one that can be defined in the text box, that must have an extension. Unifiedrepublic 06:38, 27 January 2011 (UTC)
Wow, you solved my problem..
Ty
Federico Arg0n4th 18:45, 8 February 2011 (UTC)
Hi folks, I'm running into the same issue trying to upload a .doc file. Same error even though the destination filename has a .doc extension and doc is one of the allowed upload types. Ideas? 71.237.71.114 04:59, 25 February 2011 (UTC)
I don't think .doc is an inherently supported type. Wish I had more information for you. Unifiedrepublic 06:58, 1 March 2011 (UTC)
I have the same problem trying to upload some .png files. Please help! 175.137.86.207 03:10, 15 April 2011 (UTC)
I have detailed a work around for uploading .doc and .docx files under mediawiki 1.16.x at Manual_talk:Mime_type_detection John Bentley 09:09, 10 June 2011 (UTC)
John - that work-around worked for us... thank you!!!
David - Seattle, WA, U.S.A. 163.231.6.65 19:44, 13 January 2012 (UTC)
I had a jpg and then i wanted to replace it with a png What do i do??? 87.214.82.181 13:48, 23 February 2012 (UTC)
Upload the PNG separately, update links to point to the new new image, then delete or otherwise deprecate the JPEG version. Reach Out to the Truth (talk) 16:23, 23 February 2012 (UTC)
You may also want to look at the include/mime.types file if the above fixes haven't worked.
My issue was the delta between the default apache mime.types and this file, specifically:
# From Apache
text/plain					txt text conf def list log in
# From include/mime.types
text/plain txt
jdpond (talk) 13:19, 20 July 2012 (UTC)
For reference: Manual:MIME type detection#Improve MIME type detection Simon Stier (talk) 02:57, 5 September 2023 (UTC)

changing $wgDefaultSkin in LocalSettings.php mediawiki 1.16.1

Hi all

Sorry for my English. It's not my native language. I've change value $wgDefaultSkin in LocalSettings.php, from monoblock to vector. And I've run "php userOptions.php skin --old "monobook" --new "vector"". This mades does not affect to anonymous user, and to all users, having "skin=" in the user_options field in the nmusers table. I'd like to change skin to all registered users and anonymous. Please, can anybody say me how to fix it? 217.195.91.5 (talk) 14:16, 27 January 2011 (UTC)

Database returned error "1054:

I have upgraded my installation of Mediawiki and now get the following error when ever a user attempts to edit a page unless they have sysops user rights. Can you advise how to resolve this please?

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

   (SQL query hidden)

from within function "Block::loadRange". Database returned error "1054: Unknown column 'ipb_anon_only' in 'where clause' (guilfordlandtrust.ipowermysql.com)".

The site is http://guilfordlandtrust.org/wiki Mrbimble (talk) 16:47, 27 January 2011 (UTC)

Have you run update.php? Reach Out to the Truth 17:41, 27 January 2011 (UTC)

Making a 5-Column Main Page

Sorry for the nub question.

1) Could someone point me in the right direction?

I got the http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List installed (still have to test it).

I want to enable all of its features for the 5 columns (Recent Articles, Most Popular, and whatever else is in there). I have 5 links for the main headers (main categories). Dlen345 (talk) 23:49, 27 January 2011 (UTC)

Editing which skin styles can appear in preferences for all users

I'm modifying the default skin which I like, but when I saw how many other options other users have and that each skin would have to be configured as well, I found that a bit daunting.

Is there a way to global delete the other skin options for all users and just leave the default one? Dlen345 (talk) 00:38, 28 January 2011 (UTC)

Solved. Ignore. Dlen345 00:58, 28 January 2011 (UTC)

Issues with my main page

My wiki site is www.asylumprojects.org

MediaWiki 1.15.1 PHP 5.2.14 (cgi-fcgi) MySQL 5.1.47-community-log Special:Version

My site has been seeing recently a lot of spammers essentially attacking my wiki trying to add spam page after spam page. We had ran various anti spam extensions in the past and even employed the blacklist on localsettings.php. However, these recent attacks were easily getting past those extensions. I then added the confirmedit extension and finally last night we decided to change our registering system over to the confirmaccount extension. Yet, once the extension was running properly, we noticed a problem with the main page in that it is completely blank for anyone who is not logged in, but is viewable to those who are logged in. None of my other pages like this one: [1] are effected and can be viewed by anyone even those logged off. Plus, I also noticed that the preview edit button doesn't work either only on the main page. Every time I try to preview an edit on the main page I just get a blank page. Some of the things I noticed is that when I changed the protection level of the main page, it did not do anything about the page being blank and also when I turned off the confirmaccount extension by removing the line out of the localsettings.php file the main page became visible again to those not logged in. Yet, when I put that line back in, the main page became blank again. Any help you can give would be greatly appreciated. Thanks Brothejr 15:11, 28 January 2011 (UTC)

I've had to turn off the confirm account extension to get my main page back, but I still notice a problem with the main page's preview edit button/function. Brothejr 10:44, 29 January 2011 (UTC)
Update: as soon as I turned off the extension my wiki was inundated by more spammers. Within thirty minutes I had ten spam sign ups each one creating a spam page. They're ignoring my catchpa and are blowing past my other spam blockers. We need the account confirmation extension, but I also need my main page working too. Any help would be greatly appreciated. Brothejr 13:12, 29 January 2011 (UTC)
Hi, I've been getting similar symptoms and have tried numerous things to stop them. How are they doing it? Here is what my recent changes page looks like:
http://www.votewrap.com/index.php?title=Special:RecentChanges
I'm really pissed off at the !@#$%^&!!!!.
Are they doing this to generate traffic for the other sites that link to these spam pages?
Surely somebody out must know how it is being done! 211.27.181.138 15:32, 3 February 2011 (UTC)

First of all, my main language ist german, so I make most use of german WP, so please don't be confused.

Short problem description: when looking for a search term, it might have no article in the WP of the own main language - but there might be articles in other languages for that search term.

The behaviour of the german WP is different than the english WP: when on german WP you enter a search term that nothing is found - not only no article, but also nothing in other articles, there is a proposition for searching in other languages. In english, that proposition does not appear. But - this proposition only comes when nothing is found. If the ther mis found in other articles, the proposition does not appear.

I would like that it ALWAYS appears when there is no existing article - also when the search term is found in other articles. Even better would be, if there would directly appear a list with all languages in which there is an article for that search term.

Examples: let the search-term be "thisismydummysearchterm"; there is not only no article in any language, that search term is not mentioned in any article. So, in the english WP, you get: "There were no results matching the query.". In the german WP, you get additionally a clickable link "would you like to search in other languages for ..." that leads to http://www.wikipedia.org/?search=thisismydummysearchterm

My proposition now is to implement that such a proposition for a search in other languages always appears when there is no article for that search term, not only when there is absolutely no search result for that term. And of course I propose that functionality also for other languages, not only german.

Here is a discussion about it (in german). --ProloSozz 16:55, 28 January 2011 (UTC)

(Resolved) Allowing those on my Home Network access to my Wiki

My wiki is mediawiki.

My wiki does not have a domain name.

How do I go about giving those on my home network the ability to access my wiki? Pathos~mediawikiwiki (talk) 21:49, 28 January 2011 (UTC)

Hiding files

I'm running Mediawiki on my laptop. I saw somewhere that the /maintenance/ directory should be kept hidden. How should I do this, and which other folders should I keep hidden? I am using MW 16 on PHP 5 on Apache with MySql. Manishearth 11:47, 29 January 2011 (UTC)

I edited the Apache httpd.conf file and made AllowOverride to "All". It seemed to fix the problem. Should this be all? Manishearth 14:15, 29 January 2011 (UTC)

Need Help Setting Up Main Wiki Page

Hi, all.

I'm trying to set-up a simple 5 column main page. I'm a bit familiar with CSS and Dreamweaver, but setting this up for my Wiki is proving beyond me, mostly as I don't know which code to modify and where.

I'm modifying the default Monobook skin and I have the latest version of MediaWiki just installed.

I know where the Main.css file and the Monobook.php files are for the skin. Could somebody post the example code and where I need to insert it just to have 5 editable columns on the main page?

If this is the wrong forum could you direct me where I need to post this?

Thanks. Dlen345 (talk) 15:42, 29 January 2011 (UTC)

The information can be found at Help:Tables, it is self explanatory once you have a read. AshleyJames 03:15, 16 February 2011 (UTC)

Google bot is causing high CPU load

Using: php 5.2 Mediawiki: 1.16

I've enabled mod_status on apache and notice that Google is always requesting the following URL:

/w/index.php?title=Special:RecentChangesLinked&from=2011012

This request is using a continuous amount of 30% CPU load! Does anyone know how this is is possible?

I've already enabled database caching and output caching but it doesn't seem to make a difference.

Thanks in advance,

Merijn Schering Intermesh 84.31.62.23 (talk) 16:59, 30 January 2011 (UTC)

Use the following robots.txt rules to disable indexing of dynamically-generated pages:
User-agent: *
Disallow: /w/
Just like we do. Max Semenik 17:47, 30 January 2011 (UTC)
Thanks, a simple solution. I'll do that. 83.161.133.205 12:11, 31 January 2011 (UTC)

Can't get Cite extension and DnamicArticleExtensions to work

I have mediawiki 1.1.16 I believe, the latest version installed.

I did everything described several times.

There is an alternative I believe to DynamicArticleList but not sure whey Cite wouldnt work. Dlen345 (talk) 01:04, 31 January 2011 (UTC)

Installed software
Product Version
MediaWiki 1.16.1
PHP 5.2.17 (cgi-fcgi)
MySQL 5.1.54
That's what I have. But the ConfirmEdit simple captcha is not working either so something really weird is going on. Dlen345 02:23, 31 January 2011 (UTC)
Elaborate on "installed" and "doesn't work". How exactly? And do you use the version of this extension for 1.16.x? Max Semenik 06:06, 31 January 2011 (UTC)
Well the Mediawiki software is running perfectly. Image uploads are nabled.
But having trouble with just about every extension we try to add even though we're adding the proper lines to LocalSettings.php and doing the right directory structure, etc.
I tested this code on the test page I created.
[1]
And the software just displays it like that, not as a footnote like it's supposed to be.
I have Networksolutions hosting this, so they have Plesk for regular directory structure and Virtuosso software for root access. We've been adding the extensions to the httpdocs folder, but I seem to remember there's an extensions folder on root somewhere as well. Of course, that may not be it at all.
  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. Dlen345 15:37, 31 January 2011 (UTC)

    Ok your software converted
    //[1]
    to a footnote.
    1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
    2. Dlen345 15:38, 31 January 2011 (UTC)

      Alright as far as version, it does state it's for Mediawiki 1.11 (I didn't notice that before).
      http://www.mediawiki.org/wiki/Extension:Cite/Cite.php
      But in the chart it says "Configure Supported from latest".
      Where would the extension be for my version? I was under the impression all the extensions were written and updated for the newest version of Mediawiki, which is what I installed. Dlen345 15:41, 31 January 2011 (UTC)
      This is getting to be a nightmare btw because if most of the popular extensions haven't even been updated for the newest version of Mediawiki and it's not backwards compatible, then that significantly reduces the functionality of the software. Dlen345 15:43, 31 January 2011 (UTC)
      Is Cite listed on Special:Version on your wiki? Reach Out to the Truth 16:28, 31 January 2011 (UTC)
      No. Dlen345 18:18, 31 January 2011 (UTC)
      Then it's not installed. In the same directory as LocalSettings.php, there should be a directory named "extensions". Put the Cite directory inside that extensions directory and make sure to install the extension as specified on the extension's page.
      All the extensions you're using should be placed in that extensions directory, unless explicitly stated otherwise in the installation instructions. Reach Out to the Truth 18:29, 31 January 2011 (UTC)
      We've done it.
      And not a single extension is working.
      this is what I have in LocalSettings.php to get Cite to work:
      require_once("$IP/extensions/Cite/Cite.php");
      other changes in LocaSettings.php work flawlessly though like disabling anonymous users from being able to edit. Dlen345 00:06, 1 February 2011 (UTC)
      $IP is the directory that LocalSettings.php is in, the root of your MediaWiki install. If you're not putting the extensions in $IP/extensions, you need to change the require_once statement to point to the path that it is located in. Reach Out to the Truth 00:15, 1 February 2011 (UTC)
      What is the process involved in installing?
      For example, I had the IT people from Network Solutions try installing the DynamicArticleList extension and it did not work.
      For the Cite.php extension I thought all you had to do was create the Cite directory in the extensions directory and add the line to the LocalSettings.php.
      Is there something else involved in installing these extensions? Dlen345 03:18, 1 February 2011 (UTC)
      No, as unbelievable as it sounds I think most of the common extensions still have not been re-written to work with the newest version of Mediawiki which is a nightmare.
      I've been told by Networksolutions the extensions directory is the correct one that I'm using and most of the extensions just don't work. Dlen345 18:28, 31 January 2011 (UTC)
      If they're having you use a different directory than the one MediaWiki normally uses, then we're probably not going to be able to help you. Try the standard MediaWiki extensions directory, and if that doesn't work go back to Networksolutions for help. Reach Out to the Truth 18:32, 31 January 2011 (UTC)
      No, it's the right one I believe.
      /httpdocs/extensions
      is the path we have for extensions.
      The other directory is somewhere on the root where I was browsing. I was told by their (Network Solution's) IT people that's the wrong one.
      What is the default directory supposed to be btw?
      Maybe I have to modify the path in LocalSettings.php somehow because of the way they installed it?
      It's a virtual private server. Dlen345 00:09, 1 February 2011 (UTC)
      Where is LocalSettings.php? Is it in /httpdocs? If it's anywhere else, the provided include statement will not find the extension unless you modify the include statement. Reach Out to the Truth 00:16, 1 February 2011 (UTC)
      Yes, LocalSettings.php is in httpdocs.
      Cite for example I have in httpdocs/extensions/Cite directory. Dlen345 00:25, 1 February 2011 (UTC)
      require_once("$IP/extensions/Cite/Cite.php");
      and this in LocalSettings.php to enable it.
      It's not converting the tags into footnotes. Dlen345 00:27, 1 February 2011 (UTC)
      It looks like I may also need the file ExtensionFunctions.php but the links to download it (SVN and mirrors) are busted?
      Hello? Dlen345 03:42, 1 February 2011 (UTC)
      If you're using MediaWiki 1.16 you don't need it. It's only needed for particularly old versions of MediaWiki.
      I don't know what the problem is, but it's not ExtensionFunctions. Reach Out to the Truth 04:50, 1 February 2011 (UTC)
      It's extremely bizarre. Literally none of the extensions work even the ones for the proper version of Mediawiki I have, not Flagged Revisions, not FancyCaptcha, not ConfirmEdit.
      Is there anyway these people (Network Solutions) could have botched the installation?
      Maybe they edited LocaSettings.php with Notepad? I told them not to do it even before as it leaves byte marks.
      Do you want to look at the installation/site?
      I'd rather send you the link privately (how?) as the site is not ready for the public. Dlen345 20:13, 1 February 2011 (UTC)
      Does this mean anything to you?
      I'm pretty sure they did a Linux install for me.
      Please note that under POSIX systems (Linux...), parent of a symbolic path
      refers to the link source, NOT to the target! You should check the env
      variable MW_INSTALL_PATH in case the extension is not in the default location.
      The following code snippet let you override the default path:
      $IP = getenv( 'MW_INSTALL_PATH' );
      if( $IP === false ) {
      $IP = dirname( __FILE__ ) . '/../..';
      }
      require( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file Dlen345 00:01, 2 February 2011 (UTC)
      That's from the README in the extensions folder, right? I've never paid much attention to that part of the README, and I'm not sure you need to either. Reach Out to the Truth 00:28, 2 February 2011 (UTC)
      how would I hard code the MW_INSTALL_PATH though?
      the extensions are in the folder httpdocs/extensions
      I'm thinking maybe the Network Solutions guys messed up the default path during install or didn't set the environment variable right?
      That would explain why not a single properly installed extension is picked up. Dlen345 00:59, 2 February 2011 (UTC)
      Can I hire someone to help me check out my install and see why no extensions are being detected?
      I don't feel I'm getting any help here. I only found one other wikitech forum but there seems to be a cooling off period before I can make new posts.
      Who else can I email or where else can I post for help? Dlen345 01:19, 2 February 2011 (UTC)

      разграничение доступа

      Я хочу разграничить доступ к различным разделам моего wiki для разных пользователей в локальной сети. Кто знает как это сделать? 178.176.196.211 (talk) 07:21, 31 January 2011 (UTC)

      Manual:Preventing access Max Semenik 07:27, 31 January 2011 (UTC)

      Citizendium extension

      Hi, I had like to install on my personal wikimedia an extension similar to the extension installed on citizendium that allows every user to edit a page but that require approval of an "expert" to be published. Here is the description of the extension created for citizendium:

      Citizendium (Version 0.1) Encapsulates most of the Citizendium modifications to a standard MW release. Organized as several sub-extensions. Chris Key, Dan Nessett http://en.citizendium.org/wiki/Special:Version

      I have checked the list of extension but this one is not available. Any idea on how to program this ? ths1104 Ths1104 (talk) 12:48, 31 January 2011 (UTC)

      "Organized as several sub-extensions" suggests that it may just be a bundle of existing extensions, like how Semantic Bundle works. The other extensions listed are what you'll want.
      The only one that might be difficult to get is MetadataForm. It doesn't appear to be available. I can't even tell what it does, so I don't know how necessary it is. Reach Out to the Truth 14:21, 31 January 2011 (UTC)
      FlaggedRevs should do a lot of the "anyone can edit, but only trusted users can publish" aspect of it. ^demon 15:25, 31 January 2011 (UTC)
      Thank you for pointing this out. I will have a try. Ths1104 01:44, 1 February 2011 (UTC)

      Editing or Customizing "Create an Account" Page

      Hi, I am wondering how we can customize Create an Account Page. I need to add few fields in the page. I looked for the info everywhere without a lack. Thank you. 96.21.36.32 (talk) 19:36, 31 January 2011 (UTC)