Project:Support desk/old

= Active Topics =

problems with GIF after upgrade to MediaWiki 1.11.0

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (cgi-fcgi)
 * MySQL: 5.0.27

Hi, I upgraded from MediaWiki 1.6 to 1.11.0 and all went well except: Images in GIF format don't show anymore on the pages. PNG and JPG images are OK, but when I put, it will give me only this text as a hyperlink, w/o showing the image.. Any help appreciated! —Theo s 10:03, 24 December 2007 (UTC)


 * Found an answer at, but unfortunately this script maintenance/rebuildImages.php is not at my server... :( Theo s 10:16, 24 December 2007 (UTC)
 * Well, found the script, but it contains errors...

code-snippet as of line 82:

printf( "%s: %6.2f%% done on %s; ETA %s [%d/%d] %.2f/sec <%.2f%% updated>\n",                       wfTimestamp( TS_DB, intval( $now ) ),                        $portion * 100.0,                        $this->table,                        wfTimestamp( TS_DB, intval( $eta ) ),                        $completed,   // $completed does not appear to be defined.                        $this->count,                        $rate,        // $rate does not appear to be defined.                        $updateRate * 100.0 ); flush; }

The comments state that 2 variables ($completed and $rate) are not defined, and that's the case.. Theo s 11:55, 24 December 2007 (UTC)

Anybody any suggestions please...?? Theo s 11:11, 27 December 2007 (UTC)


 * Unzip the rebuildimages script from the .zip file of MediaWiki and put it in its respective folder. -PatPeter, MediaWiki Support Team  23:30, 2 January 2008 (UTC)
 * Well, that's what I did before... See the code-snippet above. Output from the script:

test1-wiki 2008-01-04 22:29:49: Processing image... PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 14.81% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 29.63% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 44.44% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 59.26% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 74.07% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> PHP Notice: Undefined variable: completed in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 87 PHP Notice: Undefined variable: rate in /var/www/vhosts/www.test.arbace.nl/HTML/arbace/maintenance/rebuildImages.php on line 89 2008-01-04 22:29:49: 88.89% done on image; ETA 2008-01-04 22:29:49 [0/675] 0.00/sec <0.00% updated> test1-wiki 2008-01-04 22:29:49: Finished image... 0 of 675 rows updated test1-wiki 2008-01-04 22:29:49: Processing oldimage... test1-wiki 2008-01-04 22:29:49: Finished oldimage... 0 of 1 rows updated

Thanks in advance for any help. Theo s 22:32, 4 January 2008 (UTC)


 * Bump. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:27, 10 January 2008 (UTC)


 * Are you still having this problem? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  19:15, 13 January 2008 (UTC)


 * Unfortunately yes, I do. I tried uploading existing images again, and even tried to upload converted images (from GIF to JPG or the other way around)... nothing seems to help... :( Theo s 21:53, 16 January 2008 (UTC)


 * What does your  read? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:26, 17 January 2008 (UTC)

$ cat LocalSettings.php | grep -i wgfileextensions $wgFileExtensions = array( 'gif', 'png', 'jpg', 'jpeg', 'ogg', 'rtf', 'doc', 'xls', 'ppt', 'pdf', 'zip', 'wzmul' );
 * Thanks, Theo s 10:57, 17 January 2008 (UTC)


 * Where did the

$ cat LocalSettings.php | grep -i wgfileextensions come from? I haven't seen that before, also try changing your file extensions to: $wgFileExtensions = array('jpg','png','ogg','gif','jpeg','rtf','doc','xls','ppt','pdf','zip','wzmul'); Also may I ask are you able to upload your .zip files? I am trying to upload similar files on. -PatPeter,  MediaWiki Support Team  15:41, 18 January 2008 (UTC)


 * The "cat" command is used on our Linux server to display the content of the LocalSettings.php file, grep -i to filter only the wgfileextensions setting. I accidently included the command when I posted my message, the cat is not in de LocalSettings.php file...
 * I will change the $wgFileExtensions setting according to your advice, but don't see much difference... I will post any change in behaviour here after I'm done.
 * Yes, I can upload .zip files, no problem... I will take a look at your trouble there.
 * thanks again, Theo s 12:22, 22 January 2008 (UTC)
 * update: changed to $wgFileExtensions but that makes no difference at all... :( Theo s 12:33, 22 January 2008 (UTC)

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

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

This is what the source of your TOC is:

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


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

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


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

Background image on pages?
I'm designing a page layout template for members of a wiki I admin to use for their user page and other pages that they create. I'd like to be able to use an image for backgrounds in this template. How can I accomplish this?


 * What versions of MediaWiki, PHP, etc. are you running along with a URL of your wiki? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:06, 12 January 2008 (UTC)

Thank you! Let's see. This is needed for two separate wiki's really. The first is as follows: MediaWiki version: 1.6.8 PHP version: 	5.2.4 MySQL version: 	5.0.45-community URL: http://evolution-rpg.com/wiki/index.php/Main_Page The second is as follows: MediaWiki version: 1.11.0 PHP version: 	5.2.5 MySQL version: 	5.0.45-community URL: http://shroud-of-darkness.com/wiki/index.php/Main_Page


 * You would have to upload the image to your wiki whether it be manually (using FileZilla or whatnot), or using the upload function. Then you would have to write out the code as to where the image is supposed to go in for instance MediaWiki:Monobook.css, if that is what you want to guide off of. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:29, 15 January 2008 (UTC)

I guess I should rephrase the question as this: How can I tell the wiki to accept the html coding for using an image for a background that the text would be placed on? Example coding: 


 * Please sign your posts with ~ . As for the body tags I don't know I will leave this to another member of MST. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:15, 16 January 2008 (UTC)


 * I hope this is solved too because I really want to do this too. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:39, 17 January 2008 (UTC)

Me too! I'm anxious to be able to do this ^_^ 75.167.199.197 01:27, 18 January 2008 (UTC)

Rendering of too-complex pages breaks: How to fix?
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

(How does one find out the MediaWiki/PHP/MySQL/Database versions?)

On the French Wiktionary, we make heavy use of sometimes fairly complex templates. The rendering of some pages currently breaks (e.g. : in the "Traductions" box), the key symptom being that templates suddenly stop being resolved (in the example, this shows as "Modèle:trad" strings). We know this has someething to do with the complexity or size of the page, but in order to fix this, we need to know exactly what is the cause. Is it the gross size of the page (number of bytes "sucked in", excluding the &lt;noinclude> bits?), the number of template calls (counting recursions, if any), or something else?

—Urhixidur 18:00, 16 December 2007 (UTC)


 * You can find out your MediaWiki, PHP, and MySQL from Special:Version, as to your type of database I don't know. -PatPeter, MedaiWiki Support Team  02:50, 17 December 2007 (UTC)


 * I don't read French that well, but it looks like the templates -verb-|fr, -drv- and -trad- are each being called twice. My guess is that one of the templates is calling something it shouldn't. one or more of the templates is broken. -Barista 14:31, 19 December 2007 (UTC)


 * Actually, the templates are all fine, it's just that there are either too many raw template calls (including sub-calls), or too many bytes of page to process once all the calls are resolved. The page just stops processing template calls midway through. We need to know which of these two cases (number of calls or total number of bytes invoked) matters before we can correct the situation. Is the mediawiki limitation expressed in terms of number of template calls and sub-calls, or in terms of total bytes to process?
 * The key culprit is the trad template, which is called repeatedly within the translation tables. As for -verb-, -drv-, and -trad-, they do appear twice, because there are two major meanings for the word. Multiple calls of this sort work just fine in other contexts. Urhixidur 20:53, 20 December 2007 (UTC)


 * Is it possible to place parts of the pages in subpages to minimize the limit? You would probably have to bring it up at your village pump though. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:46, 18 January 2008 (UTC)

Thumbnails Not Working
I get an error for thumbnails: "Error creating thumbnail: sh: convert: command not found". My LocalSettings.php includes the line '$wgImageMagickConvertCommand = "/usr/local/bin/convert";' and this is the correct path for the convert executable. And it has execute privileges for all users. Any idea what could be wrong? (Reinstalling ImageMagick did not help either.)—99.236.141.81 04:16, 4 December 2007 (UTC)


 * Hi, I encountered the same problems like you before. Are you using a webhost to host your site? If so, this thing requires your webhost to do something as it involves some server security features. &mdash; PM Poon 12:26, 4 December 2007 (UTC)


 * No, I am not using a webhost. I'm using MediaWiki 1.11, Apache 2, PHP 5, and MySQL 5. —99.236.141.81 19:17, 4 December 2007 (UTC)


 * Perhaps I should have mentioned that the files involved were SVG files. —99.236.141.81 19:28, 4 December 2007 (UTC)


 * Try setting $wgSVGConverterPath to /usr/local/bin --Nad 20:25, 4 December 2007 (UTC)


 * Well, it works now. Thanks! —99.236.141.81 21:48, 4 December 2007 (UTC)

I had this same problem before I upgraded to 11, I haven't uploaded any images yet, I am still trying to restore my database. PatPeter 01:56, 8 December 2007 (UTC)

I have a problem that is like this: Error message: Error creating thumbnail: The system cannot find the path specified. I have a line in my Localsettings.php: $wgImageMagickConvertCommand = "/usr/bin/convert", but in that folder there are no commands, just files like svnstat and ulimit*. What command do I need to convert? How can I solve this problem? -194.138.26.89 11:52, 10 December 2007 (UTC)

Yes when I try to upload a file it asks me if I want to open or save, how can I fix this? I am using Mozilla Firefox. -PatPeter 02:33, 16 December 2007 (UTC)


 * Look here: Image. -PatPeter, MediaWiki Support Team
 * Do you have a recent version of ImageMagick installed? find where it's put the convert command and set $wgImageMagickConvertCommand to its full pathname. --Nad 05:48, 4 January 2008 (UTC)


 * I have this for my image settings in LocalSettings.php:

$wgEnableUploads		= true;
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:

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

How do I find the full URL? -PatPeter, MediaWiki Support Team  05:20, 6 January 2008 (UTC)
 * Not sure if this was addressed, but  from the command line should give you the correct path to convert for your OS if it (and which) is installed --Zven 08:06, 6 January 2008 (UTC)


 * So where can I find "which convert"? -PatPeter, MediaWiki Support Team  23:02, 6 January 2008 (UTC)


 * You don't find it, just type which convert in to your shell and it will tell you the full pathname of the convert utility which you should then set your $wgImageMagickConvertCommand to (or create a symlink to it in /usr/bin since that's the normal location for it). If it doesn't find any, then you shuld install ImageMagick or set $wgUseImageMagick to false so it uses PHP's GD lib instead --Nad 23:18, 6 January 2008 (UTC)


 * Forgive me for being a noob, but where can I type it, like where is the shell? -PatPeter, MediaWiki Support Team  04:04, 7 January 2008 (UTC)


 * The shell is just the command line of the computer your wiki is running on, if you've never accessed the shell, then I guess you must be running your wiki on a shared web host who offer restricted access to the system in which case you'll need to ask them whether they have ImageMagick installed and where it is located etc. --Nad 04:41, 7 January 2008 (UTC)


 * I have full access to the database along with the image files, the includes, extensions, LocalSettings.php, etc. but I don't have access to the computer the Wiki is running on, correct. In /usr/bin is the default location for that, do you mean that those are folders on the computer server? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  22:17, 9 January 2008 (UTC)
 * Secure Shell would be useful to give you a Shell console. Then you can check if the file convert is in the filesystem path by typing  in the console--Zven 03:57, 16 January 2008 (UTC)


 * Any particular client you would suggest? FileZilla is listed here, but I don't think that is SSH... the wikipedia page is somewhat confusing. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:22, 16 January 2008 (UTC)
 * Looks like your on a windows machine connecting to a *unix server. Putty will do the job. All those applications are using the SSL protocol, some provide secure copy functionality, some provide an interactive SSH window console. One that does both is best. --Zven 19:36, 16 January 2008 (UTC)

Cannot upload images

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Whenever I try to upload an image on Mozilla Firefox it asks me if I want to open or download, how do I stop it from doing this so I can upload images?

—-PatPeter 02:59, 16 December 2007 (UTC)


 * Worked fine for me on Mozilla Firefox version 2.0.0.11: http://www.maporchestra.com/wiki/index.php?title=Image:Test.jpg — color probe (talk | contribs) 13:52, 4 January 2008 (UTC)


 * I should have been more specific, I didn't make my full report here but rather in another thread in Archive 14 about what is not uploading. For instance anything that is not a jpg, png, or ogg causes an error like this, my file extensions:

$wgFileExtensions  = array('png','jpg','jpeg','ico','bmp','ogg','doc','xls','ppt','docx','xlsx','pps','mp3','sxc','pdf','nse','rom','ukx','uc','uax','usx','utx','u');


 * I actually don't need pdfs and docs so I will take those out:

$wgFileExtensions  = array('png','jpg','jpeg','ico','bmp','ogg','rom','ukx','uc','uax','usx','utx','u');


 * -PatPeter, MediaWiki Support Team  20:30, 4 January 2008 (UTC)


 * Also somehow FileExtensions got deleted from LocalSettings, probably when I upgraded the wiki, so let me put that back in and check. -PatPeter, MediaWiki Support Team  20:32, 4 January 2008 (UTC)


 * BUMP. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:45, 10 January 2008 (UTC)


 * Anyone? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:30, 21 January 2008 (UTC)


 * I've seen this behaviour in my previous installation (MediaWiki 1.6). Sometimes it went wrong (downloaded the index.php) and most times it went right... So whenever this occured, I just tried again. I never found out what the problem was, sorry. Theo s 12:26, 22 January 2008 (UTC)


 * Update, it is PHP (the program) asking you if you want to download index.php, so that problem is fixed, now the newer problem is that now it displays a blank page when I try to upload. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:28, 27 January 2008 (UTC)

Broken redirect

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

So if you look at my Special:Listredirects page then you will see that this text it displayed:

1. :Lyes Krovy (edit) (delete) → Talk:Lyes Krovy

I think this happened when I changed my Extranamespaces from:

$wgExtraNamespaces = array(110 => "Portal", 120 => "Portal_talk", 130 => "Technical", 140 => "Technical_talk", 150 => "WikiProject", 160 => "WikiProject_talk", 170 => "History", 180 => "History_talk", 190 => "Manual", 200 => "Manual_talk", 210 => "Extension", 220 => "Extension_talk", 230 => "Map", 240 => "Map_talk", 250 => "Server", 260 => "Server_talk", 270 => "Modification", 280 => "Modification_talk", 290 => "Mutator", 300 => "Mutator_talk", 310 => "Unit", 320 => "Unit_talk", 330 => "Clan", 340 => "Clan_talk", 350 => "Term", 360 => "Term_talk", 370 => "Tactic", 380 => "Tactic_talk", 390 => "Weapon", 400 => "Weapon_talk", 410 => "Tank", 420 => "Tank_talk", 430 => "Role", 440 => "Role_talk", 450 => "Player", 460 => "Player_talk");

to

$wgExtraNamespaces = array(100 => "Portal", 101 => "Portal_talk", 102 => "WikiProject", 103 => "WikiProject_talk", 104 => "Technical", 105 => "Technical_talk", 106 => "History", 107 => "History_talk", 108 => "Manual", 109 => "Manual_talk", 110 => "Extension", 111 => "Extension_talk", 112 => "Map", 113 => "Map_talk", 114 => "Server", 115 => "Server_talk", 116 => "Modification", 117 => "Modification_talk", 118 => "Mutator", 119 => "Mutator_talk", 120 => "Unit", 121 => "Unit_talk", 122 => "Clan", 123 => "Clan_talk", 124 => "Term", 125 => "Term_talk", 126 => "Tactic", 127 => "Tactic_talk", 128 => "Weapon", 129 => "Weapon_talk", 130 => "Tank", 131 => "Tank_talk", 132 => "Role", 133 => "Role_talk", 134 => "Player", 135 => "Player_talk");

and moved Lyes Krovy from one namespace to another. Help appreciated.

—-PatPeter, MediaWiki Support Team  23:22, 2 January 2008 (UTC)


 * Hmm... If possible, you might have to run the  command line script on your server. I'm not sure if this will work, though. Otherwise, you may have to hack into the MySQL server (for example, using phpMyAdmin) and delete everything about ":Lyes_Krovy", although you should check that very carefully. — color probe  (talk | contribs) 13:59, 4 January 2008 (UTC)


 * What programs can I use to run the command line? -PatPeter, MediaWiki Support Team  15:53, 4 January 2008 (UTC)


 * You could try phpShell. — color probe (talk | contribs) 18:01, 5 January 2008 (UTC)


 * Also how do I start phpMyAdmin? -PatPeter, MediaWiki Support Team  03:29, 6 January 2008 (UTC)


 * To start phpMyAdmin and phpShell do I need to have access to the entire server computer? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:30, 21 January 2008 (UTC)

Image for section edit links from within MediaWiki (no extension)

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (apache2handler)
 * MySQL: 5.0.45-community-nt
 * Database: Er... Is this not the same as MySQL?
 * URL: Home intranet. You can try http://gateway-86558bc/wiki/, but I don't think it'll work. :D

I have a question about using an image or imagemap for the edit links. Can I do that without hacking together an extension? I tried putting an image in MediaWiki:Editsection and it showed up as instead of an image. Am I trying to do the impossible? Tuvok[Talk/en.wp] 19:50, 4 January 2008 (UTC)
 * If you have image hotlinking enabled (aka $wgAllowExternalImages is true), try putting the full url of the image in the page and see if that works. If not, there IS an extension available that does this, just can't remember what it's called and I'm too lazy atm to search for it :) --Skizzerz talk 21:30, 4 January 2008 (UTC)
 * Good idea on the $wgAllowExternalImages thing, but it didn't work. I'll go search for the extension, I guess. Thanks! Tuvok[Talk/en.wp] 22:11, 4 January 2008 (UTC)
 * Found it; the extension is Edit Section Link Transform. Tuvok[Talk/en.wp] 22:14, 4 January 2008 (UTC)
 * The EditSectionLink hook was introduced in MW1.11 which allows you to change the URL that it links to. Also, there's a system message called editsection-brackets which allows you to customise the format of the edit links further to make them into images etc. The final result is wrapped in a span with class attribute set to "editsection" so that further CSS styles can be applied. Using the official hooks is more efficient than Edit Section Link Transform which does regular expression replacement of the rendered page content. --Nad 22:14, 5 January 2008 (UTC)
 * Ah, thanks, Nad! I'll have to look into the documentation for that hook and see if I can't write my own extension to fuss with the links. Regex replacements are a little bit of overkill, and I notice it has [square brackets] hard-coded into the regex. Hmm... *Goes off to think * Tuvok[Talk/en.wp] 00:42, 6 January 2008 (UTC)

Static images
Hi, how does one make an image that is non-clickable? &mdash; PM Poon 06:30, 7 January 2008 (UTC)
 * A few of us have had problems with that - not only non-clickable, but also needing them to link somewhere else instead of the image page. OrganicDesign:User:Rob was going to make a quick extension for that, so maybe ask him about it - he may have already done it and be using it on his work's wikis --Nad 10:25, 8 January 2008 (UTC)


 * You could also install Extension:ImageMap and add a default link to the page name itself. — color probe (talk | contribs) 18:44, 10 January 2008 (UTC)

Extension:Google Custom Search Engine

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Alright so how do I get this extension to work? I made the page as said here, but any search returns to the main page, I actually wanted it to look like Wikipedia, where you can choose between Google search and MediaWiki search on the SpecialSearch.php.

—-PatPeter, MediaWiki Support Team  20:05, 7 January 2008 (UTC)


 * Anyone else use this extension? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:34, 21 January 2008 (UTC)

Adding an additional Sidebar

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

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

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


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


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


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

Directory permission

 * MediaWiki: 1.11.0
 * PHP: 5.1.2 (cgi-fcgi)
 * MySQL: 5.0.22-Debian_0ubuntu6.06.2-log
 * Database: MySQL 5.0
 * URL: Wiki of it.comp.console

Hi

I have problems with file upload. When I upload a file, a new dir is created (ie. /images/4/4e/), this dir has 700 CHMOD and the file whitin has 644, so it can not be read from www. Why ? Check this url http://www.ventublog.it/wikicc/images/a/af/EQ2.gif, I get this error: Forbidden

You don't have permission to access /wikicc/images/a/af/EQ2.gif on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. This is a server issue or a MediaWiki misconfiguration ? —82.51.143.78 21:32, 11 January 2008 (UTC)


 * The images directory and all subdirectories must be CHMOD 777 in order for it to work. --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  23:51, 11 January 2008 (UTC)

I try to CHMOD 777 all /images tree but any new dir create by mediawiki script get CHMOD 700 and the files within take 644. —82.51.143.217 12:30, 12 January 2008 (UTC)


 * The files being 644 is fine, but you need to set up the /images directory so that all subdirectories automatically take on the permissions of the /images directory when they are created (can't remember the command for that offhand). --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:17, 12 January 2008 (UTC)

I have no shell access to Apache webserver, have to ask sysadmin to do this ? —87.17.195.53 22:23, 13 January 2008 (UTC)


 * You don't need shell access, just access to the filesystem. For example, most FTP clients allow you to change the permissions of a folder by right-clicking on it, and cPanel has an option for changing directory permissions as well. --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  21:45, 13 January 2008 (UTC)

I have only FTP access, I try to assign 777 to /images tree but any new dir created into this tree by MediaWiki gets 700. There's a FTP command that all subdirectories automatically take on the permissions of parent dir ? —85.44.144.202 22:23, 13 January 2008 (UTC)

Search completely dead

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 4.1.20
 * URL: Botdom Wiki

Hey all,

Search seems to have died completely on my wiki, and no matter what I search for, no results are returned. Search results page is always a page with only a sentence at the top and search field at the bottom, with only a space inbetween. I've been working with MediaWiki for almost one and a half year now, and customize it a lot on code level, but I just can't seem to get out of this problem. I tried running  and it succeeded, I tried clearing my cache and then searching again, yet the search still acts the same way. Any ideas? Thanks! —87.61.161.59 12:12, 13 January 2008 (UTC)
 * I should perhaps add, not even MediaWiki:Nonefound is being displayed -- it's completely blank except the search form at the bottom and the "For more information about searching on ..." introduction header. --87.61.161.59 12:14, 13 January 2008 (UTC)


 * Reupload SpecialSearch.php to your /includes/ directory. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  19:23, 13 January 2008 (UTC)


 * Heh, not even that works. I assume that it's something I've done when editing parts of the code (even though I only recall editing MonoBook.php and main.css). Unless you have any other suggestions, I can understand how it's a bit hard to find out what's happening. I think I'll just wait until the next MediaWiki update by replacing all files with those versions to start fresh. Thanks for your help nevertheless! --87.61.161.59 06:13, 17 January 2008 (UTC)


 * This is probably a shot in the dark, but you didn't set  did you? If not, why not try backing up the files you changed and overwriting them with the ones from the 1.11 release? That might work... Could be you took something out of MonoBook.php that was necessary for the search results to display. Just guessing here! :) Tuvok[Talk/en.wp] 09:13, 17 January 2008 (UTC)

How can I change the location of the database?

 * MediaWiki: 1.10.0
 * PHP: 5.2.5
 * MySQL: 5.0.51
 * Database:
 * URL:

Hello,

I want to build a mediawiki on a intranet system. On each PC apache is still running.

I've installed the mediawiki on one pc (for testing resons). What I want to do - and that's my problem - I want to store the database (the brain of the wiki, so to say) on a USB - device, which is plugged on a fritz!box.

Why do I want so? In this intranet is no PC running all the time, and I don't want to install a special server for the wiki only. So I thought, I can run the mediawiki on each PC and store the database centraly on the usb-device.

Is there a possibility to solve this problem?

—84.171.172.226 21:32, 13 January 2008 (UTC)


 * Have you taken a look at Manual:Wiki on a stick or (better for Windows PCs) Wiki on a stick yet? That could prove workable, perhaps better than having Apache always running on every computer. Just bring the USB stick to one of the computers that's running. Tuvok[Talk/en.wp] 23:08, 13 January 2008 (UTC)

Thanks for your answer. I read this article after I'd installed the wiki on the test PC. The problem is, that there is none of the computeres running the hole time... The apache is needed for a chemical database, based on php, which is running on each of this PC. This small network is installed in a fire department, so I can't say, which PC is the first who is running. Another advantage over plugging the usb-device directly on one of the pc is, that I can make maintainence from extranet (I hope so ;-)). Unfortunately is there no support of the fritz!box for a server running on the usb-device.
 * this doesn't solve any of your issues really, but is worth checking out http://www.mediawikilite.org/, Extension:MediaWikiLite extends the Database class to provide SQLLite support allowing MediaWiki installs independent of MySQL. It is likely to go Beta soon --Zven 00:44, 16 January 2008 (UTC)
 * Extension:MediaWikiLite has gone from unstable to Beta --Zven 02:58, 16 January 2008 (UTC)

Cannot delete pdf files

 * MediaWiki: 1.11.0
 * PHP: 5.2.0 (apache2handler)
 * PostgreSQL 8.1.5 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)


 * URL: Private net, so you cannot do anything

when trying do delete uploaded file I get this response: A database error has occurred Query: INSERT INTO filearchive (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp)  SELECT 'deleted',IF(img_sha1=, , CONCAT(img_sha1,'.pdf')),'1','2008-01-14  10:27:08  GMT','',0,img_name,NULL,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_description,img_user,img_user_text,img_timestamp  FROM image WHERE img_name = 'Helpdesk.pdf' Function:  LocalFileDeleteBatch::doDBInserts Error: 1 ERROR: function concat(text,  "unknown") does not exist HINT: No function matches the given name and argument  types. You may need to add explicit type casts. Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'INSERT INTO fi...', 'LocalFileDelete...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1845): Database->query('INSERT INTO fi...', 'LocalFileDelete...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1216): Database->insertSelect('filearchive', 'image', Array, Array, 'LocalFileDelete...')
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1297): LocalFileDeleteBatch->doDBInserts
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(873): LocalFileDeleteBatch->execute
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/includes/FileDeleteForm.php(75): LocalFile->delete('')
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/includes/ImagePage.php(491): FileDeleteForm->execute
 * 8) 7 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(397): ImagePage->delete
 * 9) 8 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /srv/www/ipwiki.ip.tdk.dk/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 /srv/www/ipwiki.ip.tdk.dk/index.php5(1): require('/srv/www/ipwiki...')
 * 12) 11 {main}

I have tried to delete with nukePage.php and the response is: php maintenance/nukePage.php Image:Helpdesk.pdf Erase Page Record Searching for "Image:Helpdesk.pdf"...PHP Warning: pg_query: Query failed: ERROR:  relation "page" does not exist in /srv/www/ipwiki.ip.tdk.dk/includes/DatabasePostgres.php on line 506 A database error has occurred Query: SELECT page_id  FROM page  WHERE page_namespace = '6' AND page_title = 'Helpdesk.pdf'  LIMIT 1 Function: LinkCache::addLinkObj Error: 1 ERROR: relation "page" does not exist Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: relatio...', 1, 'SELECT  page_id...', 'LinkCache::addL...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1224): Database->query('SELECT page_id...', 'LinkCache::addL...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1104): Database->select('page', 'page_id', Array, 'LinkCache::addL...', Array)
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/LinkCache.php(146): Database->selectField('page', 'page_id', Array, 'LinkCache::addL...', Array)
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/Title.php(1655): LinkCache->addLinkObj(Object(Title))
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/maintenance/nukePage.inc(25): Title->getArticleID
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/maintenance/nukePage.php(17): NukePage('Image:Helpdesk....', true)
 * 8) 7 {main}

Can I delete it by hand or what?

Regards Tomas Jensen tcj(at)tdc.dk --Tomas 07:30, 16 January 2008 (UTC)


 * Yes just go into the system files of your Wiki using FileZilla or a similar program, find the PDF in your /images/ folder and delete it, then go into your wiki and delete the blank page. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:51, 15 January 2008 (UTC)

Still cannot delete the page. Wiki returned: A database error has occurred Query: INSERT INTO filearchive (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp) SELECT 'deleted',IF(img_sha1=, , CONCAT(img_sha1,'.pdf')),'1','2008-01-16 07:13:32 GMT','teeest',0,img_name,NULL,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_description,img_user,img_user_text,img_timestamp FROM image WHERE img_name = 'Helpdesk.pdf' Function: LocalFileDeleteBatch::doDBInserts Error: 1 ERROR: function concat(text, "unknown") does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts. Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'INSERT INTO fi...', 'LocalFileDelete...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1845): Database->query('INSERT INTO fi...', 'LocalFileDelete...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1216): Database->insertSelect('filearchive', 'image', Array, Array, 'LocalFileDelete...')
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1297): LocalFileDeleteBatch->doDBInserts
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(873): LocalFileDeleteBatch->execute
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/includes/FileDeleteForm.php(75): LocalFile->delete('teeest')
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/includes/ImagePage.php(491): FileDeleteForm->execute
 * 8) 7 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(397): ImagePage->delete
 * 9) 8 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /srv/www/ipwiki.ip.tdk.dk/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 /srv/www/ipwiki.ip.tdk.dk/index.php5(1): require('/srv/www/ipwiki...')
 * 12) 11 {main}

Regards --TomasJensen 07:30, 16 January 2008 (UTC)


 * But did you succeed in deleting the main file using FileZilla? If you use FileZilla it is impossible to get messages like that. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:22, 17 January 2008 (UTC)

I did it from a shell

Regards --TomasJensen 09:58, 17 January 2008 (UTC)


 * You deleted the file from a shell? Download and try to delete it with FileZilla. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:46, 21 January 2008 (UTC)

What is the difference. ought to do the same. It seems that the page is not being deleted from the database. How do i do that by hand? --Tomas 13:05, 21 January 2008 (UTC)


 * The difference is that FileZilla is best for this operation, download it, install it, and use it to delete that file. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:35, 21 January 2008 (UTC)

DONE... - But still - The page has not been deleted from the database. Now what??? FileZilla only deletes the file from the filesystem not the database.

--Tomas 08:34, 23 January 2008 (UTC)
 * The way that the deletion of images/media/etc. works is that it moves it from one folder (the /images folder) to another folder, it doesn't delete it entirely. Modifying the database by hand to remove the page on-wiki would work, but it is very risky and I have no idea how to do it :) --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:29, 23 January 2008 (UTC)

To which folder should my file be moved to then ? And when i use FileZilla how would the wiki "know" that the file has been moved. I dont think FileZilla reports to the wiki, that the file has been moved. The database must know what happens otherwise it still point to a removed file.

--Tomas 11:06, 25 January 2008 (UTC)

I'm guessing installation errors (section inserted without heading; Tuvok guesses ;-)

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 3.01
 * MySQL: 5.0
 * Database: 1
 * URL: password protected, sorry

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 "Article::insertOn". MySQL returned error "1062: Duplicate entry '0-Main' for key 2 (localhost)".

—128.138.224.216 02:48, 15 January 2008 (UTC)


 * Can you be more specific as to your problem? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:48, 21 January 2008 (UTC)

Need to leave the user names as they are typed to integrate mediawiki into logging using CAS.

 * MediaWiki: 1.11
 * PHP: 5.2.3
 * MySQL: 5.0.41
 * Database:
 * URL:

Hello there! I noticed thta wikimedia uses the php funcion ucfirst to convert the first character in the username to capitals. I am trying to integrate the mediawiki into my faculty site using CAS authentication, so i would need to leave the names as they appear. So far i've noticed that in user.php at line 413 and also at line 532 it uses the function ucfirst. I changed it to ignore it yet it keeps doing this, and it shouldn't. Am I missing somewhere else where this function gets called? I know it's against the usual way mediawiki works, but can this problem be solved? Thanks - Juanan —147.83.181.16 18:33, 15 January 2008 (UTC)


 * The LocalSettings.php configuration global Manual:$wgCapitalLinks may be useful here without having to modify the codebase --Zven 20:50, 15 January 2008 (UTC)


 * The thing is that this seems to apply only in the 1st letter of links (including included pages, images and categories). Not to usernames, (wich i need) - Juanan

how do I add a network link?
I might be using the wrong term, but I could not find any reference to adding an internal network link. We use the wiki internally, but have pdf docs that we need to maintain for distribution to customers. I would like to add a link to the internal documentation that points to the collateral. it is a shared drive, so all users would have access to the file in the same location.

is this possible?

Thanks!
 * It is possible, but there are some security issues you need to address - see M:MediaWiki FAQ for details --Nad 20:13, 15 January 2008 (UTC)


 * I guess, you are talking about file:///-protocol. If you want to use this kind of protocol you have to do just a small change in code: MediaWiki FAQ. If you like, you can also change the css-definitions to mark links to your file-system with an icon. I'll post this in a minute. Last you might want to use the Extension:FileLink. --WIKImaniac 20:22, 15 January 2008 (UTC)


 * You can also achieve this by adding a value to the $wgUrlProtocols variable in you LocalSettings.php. You probably have to add something like the following, somewhere before the end of LocalSettings.php:

$wgUrlProtocols[] = "file:";
 * — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 16:14, 16 January 2008 (UTC)

Empty transfered mediawiki after disk crash
- Hi, I got a hard disk crash one year ago and I just realized that some important information from my wiki was on that disk. I managed to mount the disk, got the whole mediawiki directory, got the databases files (not a dump but direct .frm, .MYI and .MYD) I put all the files on a new server, changed the settings and my wiki appears back, but empty :-( (the new server maybe have newer versions of servers)
 * MediaWiki: 1.5.7
 * PHP: 5.1.6-1~bpo.1 (apache2handler)
 * MySQL: 4.0.24_Debian-10sarge2-log
 * URL: http://elearning.itinet.fr/wikibibi/index.php/

I made a dump of the searchindex table in the database and it all contains my important text but in a non easyly readable view.

I try to find information on but it didn't help.

The only error I get is when I try to see the tables directly in mysql. I log in mysql, use my database, but most of the tables are empty. When I try to see the tables I got this error: Didn't find any fields in table 'validate' And when I try to select * in the table I get: mysql> select * from validate; ERROR 1016: Can't open file: 'validate.InnoDB'. (errno: 1) I restarted mysql server but got the same error.

I can see the information in searchindex table, but not in the wiki. Any idea would be appreciated :-)

—82.239.166.248 22:27, 15 January 2008 (UTC)
 * I assume your .MYI and .MYD files are all the correct filesize, if so you probably need to match all the software dependancies of the version you had a year ago, including an old version of MediaWiki, PHP and the MySQL version. Once it is going you can upgrade MediaWiki using the maintenance script Update.php . --Zven 22:44, 15 January 2008 (UTC)
 * I think that the files have a correct filesize, mysql don't moan. But is it normal that most of them are empty when I try to select * in mysql ?
 * I'm going to put a vmware on and try to get the same software versions. Thanks.
 * 82.239.166.248 07:11, 16 January 2008 (UTC)

Special char Box
How do i turn this on? Picture On my Wiki this isnt ther.

And why are there ? on my page behind non existing artikels? EDIT// here is a screenshot, what you see is my links to some articels witch are not writen yet. Picture


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

—NaTaS 01:39, 16 January 2008 (UTC)
 * The box is made via the CharInsert extension plus some CSS, as for the non-existant articles, I cannot reproduce that problem? Could you get a screenshot? --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:14, 16 January 2008 (UTC)


 * The ? is a display preference. Check Special:Preferences' Misc tab for an option to "Format broken links like this (alternative: like this?)." Check that box. Tuvok[Talk/en.wp] 05:25, 18 January 2008 (UTC)

Help searching INSIDE Wiki pages for IP addresses referenced in the actual page

 * MediaWiki: 1.11.0
 * PHP: 5.2.1
 * MySQL: 5.0.38

Hello, I have an internal Wiki setup for documenting corporate LAN WAN information. This information contains IP addresses that appear within a page.

How can we Search for IPs in WikiPages? Typing an IP address in the search box yields a search for IPs of contributors. Also the text we will be searching appears in a PRE box.

Here is an example, I would like to be able to search on what is in the below box. I would like to be able to search on 192.168. for example or the full 192.168.0.1 and get results for pages containing the documented IPs.

WorkstationA = 192.168.0.1 WorkstationB = 10.1.1.1

—198.133.105.247 02:40, 16 January 2008 (UTC)

Search

 * MediaWiki (1.11.0)
 * PHP 5.2.0
 * MySQL 5.0.27

Hi,

How do I hide search namespaces with checkbox (in Special:Search page) for example talk, or image_talk, discussion..., and in user page (Special:Preferences - search options)?

Thanks, 84.3.164.136 12:50, 16 January 2008 (UTC)

Uncyclopedia is the worst thing ever created in this world. I do not want to create Uncyclopedia. I want to hide certain search options, that not needed for the web page. 84.3.164.136 15:14, 16 January 2008 (UTC)


 * Trust me, there are much worse things. But anyway if you want to take off those checkboxes I don't think that is possible. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  03:32, 21 January 2008 (UTC)

Images not appearing as thumbnails

 * MediaWiki: 1.11.0
 * PHP: 5.0.5 (cgi)
 * MySQL: 5.0.45-community-log
 * Database: Not sure

I'm having problems getting certain images to appear as thumbnails, when using both the Image:Name.jpg|thumb feature and the gallery tag. While some images will look fine, others will simply display as the alternate text in articles and an empty box in the gallery.

From what I can tell, there doesn't seem to be any predictable pattern to guess which images will do this. All are JPGs, but other JPGs have worked fine. Size does not appear to make a difference. All read the MIME type as "image/jpeg", but others with the same MIME type have worked out okay. The closest thing I could find in the FAQ was this, but it doesn't appear to be the same thing. I could ask an administrator at my web host to run the rebuildImages.php script, I suppose, but I wanted to ask here first. Besides, The software hasn't been updated recently as far as I know, and the problem is happening on images uploaded just now... and I'd rather not have to ask them to run the script every time I add some new stuff.

Thanks in advance for the help. I appreciate it.

—66.68.143.7 12:33, 18 January 2008 (UTC)

[RESOLVED] How to remove the password change boxes under special:preferences

 * MediaWiki: 1.11
 * PHP: 5.2.3
 * MySQL: 5.0.41
 * Database:
 * URL:

Hi, my fellow companions. I have a question. I am trying to integrate the mediawiki to another site, so that when you log into that site you have a link to enter the mediawiki. That site uses CAS authentication so that when i click to the mediawiki link, it automatically logs in the user to mediawiki (and if the user does not exist it gets created and then logged)

The thing is that under the Special:preferences link, there's an option wich allows me to change the password. It has 3 boxes ( Old password, New password, New password again) and a clicker box (remind the password between sessions)

I wish to delete this content. How do i do it?

I have also another question. How do i make that the register/login link on the top rightmost corner of the main page directs me to another site?

Thanks in advance. You are the best community. - Juanan

—147.83.181.16 19:34, 18 January 2008 (UTC)


 * I found a way to do this. I noticed that the key must be in the function allowPasswordChange, called in specialpreferences.php.

So I just redefined the function allowPasswordChange to return false in the custom authplugin extension named authplugin_CAS that i use to login to the wiki. Not sure if it's the best way to do this hackery but it works.. or so it seems. - Juanan -147.83.181.17 18:56, 22 January 2008 (UTC)

Edit toolbar does not appear

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (cgi-fcgi)
 * MySQL: 5.0.27
 * Database:
 * URL:

Hi there. I'm missing the edit toolbar on my wiki. I posted also on MW-Users but they couldn't help me there yet. The toolbar is missing on Firefox and IE, on my user account as well as on unregistered accounts. I see the toolbar here on mediawiki.org (also on Wikipedia and other wikis), though. So it has to be a problem at the config of my wiki, I guess.

—89.245.83.140 21:10, 18 January 2008 (UTC)
 * The page source shows that the toolbar js is being loaded but is not being added to the edit form. The most likely reason for this is that another extension is disabling the showtoolbar preference, so maybe try commenting out the extensions from LocalSettings one by one checking the presence of the toolbar for each. --Nad 23:21, 18 January 2008 (UTC)


 * Alright, I deactivated all of the extensions to check if the toolbar does appear, unfortunatly it did not. Of course I refreshed the page after that. I still think that there must be an extremly simple solution for it, but I cannot point my finger there. But thanks for the hint --89.245.102.34 00:44, 20 January 2008 (UTC)

Redirected
Try it usrself. goto wiki.usersquad.net > get started > and i am redirected to configtools.de/xxxxxxxxxxxx !!!!!!!!
 * MediaWiki: (huh)
 * PHP: 5
 * MySQL: 5
 * Database: latest
 * URL: wiki.usersquad.net

HELP contact at deep (at) usersquad (dot) net
 * It appears that you are missing the /config/index.php file. Download this file (click the download link next to the "Links to HEAD" part) and upload it to /config/index.php, then revisit that page. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:53, 19 January 2008 (UTC)


 * Just for reference, you have MediaWiki 1.11.0; it says right on the page (and on Special:Version once you've gotten it working). Tuvok[Talk/en.wp] 04:03, 19 January 2008 (UTC)

BUG: no processing of link markup while embedding

 * MediaWiki: 11 alpha
 * PHP: 5

Hello,

I want to create a template which generates unique links in order to create new unique pages. Therefore I tried to include a template containing following code (without the nowiki tags ;), but it is not processing the link markup after its embedding with, it works only with.

|link to create new random article

Is there a workaround? Sorry I'm a Wikimedia newb.

—Alienal 15:22, 19 January 2008 (UTC)


 * Try this:

|link to create new random article


 * -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:44, 27 January 2008 (UTC)

Log Trouble

 * MediaWiki: 1.11.0
 * PHP: 5.2.3 (apache)
 * MySQL: 4.1.22-standard
 * Database:
 * URL: http://www.vibe-ent.com/w/index.php

I have tried to install 2 extensions onto my wiki but for some reason they both are having the same problem. The extensions in question are Makebot & Newuserlog. Whats happening is that the Page Title and the filter are not parsing the language strings resulting in code appearing in the page title and drop down menu. Is there another setting I have to change to fix this issue

—210.1.216.73 12:15, 20 January 2008 (UTC)

smaler RSS Feed from Mediawiki
Hi, i get an RSS Feed from my Mediawiki per: URL/wiki/index.php?title=Spezial:Neue_Seiten&feed=rss and it´s 2MB BIG, so if i have 200 Readers i habe 400 MB Traffic. How can i get a smaler RSS Feed with only Topic-Titels as Link and "no Content"?
 * MediaWiki: newest
 * PHP: 5.X
 * MySQL: 5.X

Thanks

—91.17.120.4 15:26, 20 January 2008 (UTC)


 * Can you give the actual link? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:33, 27 January 2008 (UTC)

Log messages of extensions are lost
All messages of extensions (not of core) are not shown in Special:Log, but things like
 * MediaWiki: 1.11.0
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 5.0.41-community-nt
 * URL: not public

16:58, 20. Dec. 2007 WikiSysop (Talk | Contributions | block) 

or "" and so on. When I created the MediaWiki:giverollback-logentrygrant page with the content of the normal message, it worked as before. But in the i18n files in the extensions/ directory there are still the messages. I update the extensions every day from SVN.

—84.139.119.64 16:35, 20 January 2008 (UTC)

"but things like {this} or "" and so on" this clause is a fragment, please correct your grammar and try asking the question again. -PatPeter,  MediaWiki Support Team  01:35, 27 January 2008 (UTC)
 * A fragment?? I thought it was clear. In Special:Log instead of the normal messages of extensions just the names of the messages are shown, like  instead of "granted rollback status to $1" or something like this. --84.139.75.193 15:29, 27 January 2008 (UTC)

Restrict new user accounts by domain of email address

 * MediaWiki 1.11 (latest)
 * PHP 5.2.0
 * MySQL 5.0.27
 * Database:
 * URL: (under construction)

I need to find a practical way to only allow .mil email addresses to be accepted when registering a new user. If it's too much trouble to properly sort this out, any quick and dirty solution would be greatly appreciated. This is the only thing that's stopping my wiki from going live. I'm not a php programmer (but have taken 3 java classes and am skilled in unix) so I'd rather leave this task to people who know what they're doing. If there is some php code I could insert into a config file that would look cause emails to only be sent to a .mil address, that would be fine. Even if the default confirmation message still appears that states that an email has been sent to a (non .mil) address, again that's fine. I can fine tune everything later. The site is only in english so there's no need to edit any of the alternate language files.

—Akira128 23:46, 20 January 2008 (UTC)


 * Hmm I think there is a way to do this, I will leave it up to another member of the MST. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:38, 27 January 2008 (UTC)

I've been able to solve this myself, after taking a crash course in php and using some unix scripts to locate where the mail function was located. I simply edited includes/User.php I changed the function isValidEmailAddr to read: return (eregi('^[A-Z0-9._%-]+@[A-Z0-9.-]+\.mil$', $addr)) !== false ; Now it only identifies .mil addresses as being a valid email address. I also did some minor edits to includes/templates/Userlogin.php and languages/messages/MessagesEn.php -- to inform users that only .mil addresses will be accepted. If someone has a better solution, please post it.

Help! searchengine needed for media wiki to improve the search results!

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

Hi there i made a wiki and i dont like the default search engine i cant search phrases like "it" "re..." or sth, i find only artikels when i search for the correct name. I red alot of atricels and extensions stuff but im not a php/mysql master, i had my first contact with these things when i started my wiki. My server is working under Windows and i use the XAMPP package. So the problem is how can i replace the old search engine with a good one? So the Questions/needs i have is/are: - how can i do to provide a good search with mediawiki (simpel)? - what do i need for it? - is it running under windows? - a short install guide when its not on the search engine page

—62.225.191.42 07:29, 21 January 2008 (UTC)


 * You could try Extension:LuceneSearch, that is what Wikipedia uses. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:40, 27 January 2008 (UTC)

Edit Toolbar not shown...

 * MediaWiki: newest
 * PHP: 5.X
 * MySQL: 5.X
 * URL: http://iwenzo.de/wiki/

I Could not see Edittoolbar! Whats wrong?

User: test34

PW: gerald

PS: Please don´t post URL correctly, i want no index into google "thanks"

PS2: On Firefox is see on Sourcecode:

 /*<![CDATA[*/ addButton('/wiki/skins/common/images/button_bold.png','Fetter Text','\'\'\,'\'\'\,'Fetter Text','mw-editbutton-bold'); addButton('/wiki/skins/common/images/button_italic.png','Kursiver Text','\'\,'\'\,'Kursiver Text','mw-editbutton-italic'); addButton('/wiki/skins/common/images/button_link.png','Interner Link',,,'Link-Text','mw-editbutton-link'); addButton('/wiki/skins/common/images/button_extlink.png','Externer Link (http:// beachten)','[',']','http://www.beispiel.de Link-Text','mw-editbutton-extlink'); addButton('/wiki/skins/common/images/button_headline.png','Ebene 2 Überschrift','\n== ',' ==\n','Ebene 2 Überschrift','mw-editbutton-headline'); addButton('/wiki/skins/common/images/button_image.png','Bildlink','Bild:','','Beispiel.jpg','mw-editbutton-image'); addButton('/wiki/skins/common/images/button_media.png','Mediendatei-Link','[[Media:',']]','Beispiel.ogg','mw-editbutton-media'); addButton('/wiki/skins/common/images/button_math.png','Mathematische Formel (LaTeX)','','<\/math>','Formel hier einfügen','mw-editbutton-math'); addButton('/wiki/skins/common/images/button_nowiki.png','Unformatierter Text',' ','<\/nowiki>','Unformatierten Text hier einfügen','mw-editbutton-nowiki'); addButton('/wiki/skins/common/images/button_sig.png','Deine Signatur mit Zeitstempel','--~',,,'mw-editbutton-signature'); addButton('/wiki/skins/common/images/button_hr.png','Horizontale Linie (sparsam verwenden)','\n\n',,,'mw-editbutton-hr'); /*]]>*/

So whats wrong!?!? (The Imagefiles are in the folder!) —91.17.107.104 08:16, 21 January 2008 (UTC)

Mediawiki as a Weblog: Preview of Articles with "more"-Link
—193.154.229.55 09:42, 21 January 2008 (UTC)
 * MediaWiki: 1.11.0 (r30009)
 * PHP: 5.2.0-8+etch9 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch4-log
 * Database: InnoDB

I want to migrate my Weblog (Wordpress) to Mediawiki. I know that these are different concepts but I feel much more confortable editing Mediawiki pages.

My question is: Is there an automatic way to link a page and provide a "preview", i.e. the first part of an article followed by a "more..." link?

For example, in a weblog there is a list with all articles but not only the title with link but also some content of the article itself followed by a "more"-link.

I've found a similar thing in Wikipedia "Article of the day".

Thank you very much!
 * We use a template for that on our wiki which is at OrganicDesign:Template:More, the functional part of the template is the following wikitext:

|(more...)
 * It takes two parameters, the first is the article title to embed, and the second is the number of characters to render before the "more" link. It requires both Extension:ParserFunctions and Extension:StringFunctions --Nad 10:36, 21 January 2008 (UTC)


 * Hi Nad, thank you very much for your answer, I tried it out but it would be great if I could add a separator or something in my articles directly (as in Wordpress) so that I can include images.
 * Another great thing would be to just mark articles (i.e. give them a category like "Weblog") and they are all displayed that way... --193.154.229.55
 * You can use the DPL extension to select items from a category and render each result through a template. I'm not sure what you mean about including separator and image though... --Nad 20:29, 21 January 2008 (UTC)

Making a page with special character in its name available for anonymous users
Wiki pages can be made available to anonymous readers via the following statment in LocalSettings.php $wgWhitelistRead = array( 'Special:Recentchanges' )

How can I make sites available, if the name contains, e.g., German umlauts. The following has no impact. $wgWhitelistRead = array( 'Spezial:Letzte_Änderungen' ) --212.183.10.146 11:43, 22 January 2008 (UTC)


 * Are you using the right encoding for the LocalSettings.php file? And have you actually set $wgGroupPermissions['*']['read']=false;? :--MF-Warburg 14:31, 21 January 2008 (UTC)


 * Yes, GroupPermissions are correct, I tried
 * $wgWhitelistRead = array( 'Hauptseite', utf8_decode('Spezial:Letzte_Änderungen'), utf8_encode('Spezial:Letzte_Änderungen'), 'Spezial:Letzte_%C3%84nderungen' );
 * --212.183.10.146 11:43, 22 January 2008 (UTC)

dif MediaWiki:Copyrightwarning2 per namespacea and more

 * MediaWiki: 1.11.0

I have two questions:

You know how MediaWiki:Copyrightwarning or MediaWiki:Copyrightwarning2 appears on the edit-page below the editing box?


 * 1) Is it possible to add a second chunk of text above the editing box?
 * 2) Is it possible to have a different MediaWiki:Copyrightwarning type of message appear depending on the namespace (i.e. for namespace specific copyrights)?  Do I have to hack the code?  If I do, should I try to write an extension instead?

Thanks. Smaug 23:40, 21 January 2008 (UTC)
 * For the first question, the only message which you can officially manipulate which appears above an edit form is the site notice, so you could add the following code to your LocalSettings which would allow a MediaWiki:EditMessage to render by transclusing it after the other messages:


 * I found time today to try out the above, and it does add it to the edit page, but there are two problems I am encountering.
 * 1. The message appears above the title of the edit page, so if the page is "Main Page" it appears above the words "Main Page." Is there a way to get it to appear between the title words and the text box, like where, if one is not logged in, the text "Warning: You are not logged in." appears?  This is not really a problem, and if it cannot be done it is okay.
 * 2. There is a legit problem though, and that is that the message repeats itself three times. I do not know why this occurs.  I put the code into my LocalSettings.php just as you wrote it, though changing "MediaWiki:EditMessage" to the name of a new message I had already created.  Any ideas on what could be causing this?
 * Thanks Smaug 04:48, 24 January 2008 (UTC)


 * In answer to the second question, the message content is wikitext, so you can do a normal parser function condition on the namespace such as:


 * --Nad 01:32, 22 January 2008 (UTC)
 * Thank you for the thorough response! Smaug 03:11, 22 January 2008 (UTC)
 * This second item, the parser functions, work great and are very useful. Smaug 04:48, 24 January 2008 (UTC)

[RESOLVED] How can i get a sysop status on MediaWiki?

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

—Ahmed-Najib-Biabani-Ibrahimkhel 03:17, 22 January 2008 (UTC)
 * Ask a bureaucrat to give it to you via Special:Userrights. Depending on the wiki, there may or may not be a process you have to undergo beforehand. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:28, 22 January 2008 (UTC)

Permissions limited as Bureaucrat...cannot create new users

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.45-community-log
 * Database:
 * URL:

I am receiving this message when I am logged in as bureaucrat and try to use the special:userrights page: "The action you have requested is limited to users in the group Bureaucrats." I also cannot create new users and if I look at the special:userlist and limit the search to sysops (or bureaucrats) no sysops (or bureaucrats) are shown in the return display even though I have 3 sysops including myself. I have looked at the buglist and support pages but cannot find anything like this. Here is my LocalSettings.php :

//Disable account creation by anonymous visitors $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop ']['createaccount'] = true; //Must be logged in to edit $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; $wgShowIPinHeader = false; $wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['user']['read'] = true;

—75.45.216.205 03:27, 22 January 2008 (UTC)
 * If the special:userlist doesn't show any sysops, then on what basis are you saying that you have 3 sysops? It seems to me there are no sysops if none are showing in the list, and therefore you'll need to add sysop rights to at least one with a database query and then use that one to set the userrights of the others --Nad 05:53, 22 January 2008 (UTC)

Thank you for asking this. There is a Group box on special:userlist to limit the list to a specific group. Here is the list that shows if I don't limit the Group list on special:userlist * xonlixxert ‎(sysop ) * Lpaxx * Xfitz ‎(sysop ) * WikiSysop ‎(bureaucrat, sysop ) Here is the list that shows if I do special:userlist and limit the Group list to sysops: "No user found." Additionally here is the list in the dropdown for the Groups: (all), Bots, Sysops, Bureaucrats, sysops The last sysops is not capitalized and has an extra space at the end????Seems like I made an error, but I don't know how to correct it? And I'm logged in as bureaucrat WikiSysop but am not listed when the Group is Bureaucrats...still get the 'No user found' message.
 * You can see the typo in your LocalSettings above where the sysop with extra space is coming from. Maybe fix that and also try adding $wgGroupPermissions['*']['userrights'] = true temporarily, so that you can then adjust the user rights without being a proper sysop first. --Nad 15:29, 22 January 2008 (UTC)

I tried removing the space and no change. Then tried the userrights true in the LocalSettings and I was able to add the groups from the dropdown but now here is what the results look like for user WikiSysop (me): (bureaucrat, bureaucrat������, sysop , sysop�����������)

I did a hex transaltion of the user table and the invalid characters are nulls? '00000000'. They are supposed to be spaces '20202020'?

One more note: The user_group field is defined as varbinary(16). Does anyone know if this was a change since 1.9? All the documentation indicates its supposed to be a varchar(16) but the last version reference is 1.9.

This is now fixed...(still not sure how it happened in the first place) but (in phpmyadmin) I renamed the field ug_group to ug_group_bakup and added a new ug_group with the definition of varchar(16). Then updated the values to bureaucrat and sysop. Things seem fine now. Thanks for your help!
 * I'm glad it's fixed, but it's a bit of a worry which could cause further issues if you don't know what went wrong - the ug_group field is supposed to be a varbinary (since 1.10) so the problem is not the column type, but how the values got munged. --Nad 20:43, 22 January 2008 (UTC)

search results Relevance config parameter?

 * MediaWiki: 1.9.1
 * PHP: 5.2.0 (cgi-fcgi)
 * MySQL: 5.0.27-community-nt
 * Database:
 * URL: inranet only

Been going round and round trying to find out how the "Relevance" ranking is turned on. Our mediawiki does not have it displaying. Just basically trying to get our mediawiki search results to look similar/same to wikipedia and all other wikimedia projects. Please help

—203.202.43.48 04:44, 22 January 2008 (UTC)


 * Wikimedia projects use the Lucene search software, implemented using the LuceneSearch extension. Even more installing help is at Installing lucene search. — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 11:46, 22 January 2008 (UTC)

Thank you very much indeed. 23 January 2008

MediaWiki Search mechanism - how does it work?
—86.142.45.46 07:56, 22 January 2008 (UTC)

Hi there,

I am a postgraduate student (and advocate of Wikipedia) doing research for a project at the Centre for Digital Library Research at Strathclyde University on Wikipedia/Web 2.0. With no technical expertise I am having trouble finding out the answer to the following question, so if anyone could help me it would be much appreciated!

Why, if I search for the string "gdl.cdlr" does this article:

http://en.wikipedia.org/wiki/Daldowie

show up in the search results, but not this one:

http://en.wikipedia.org/wiki/James_Maxton

?

As far as I can see, "gdl.cdlr" is part of what I call 'hidden text' behind the clickable link, and looking at the source code I see little difference; gdl.cdlr is not tagged as metadata; nor is it given as a keyword.

How does the MediaWiki search software work, and why am I am observing this effect?

Yours, Kathleen Menzies (kmenzies@cis.strath.ac.uk)

Can't find the LocalSettings.php file in the config folder

 * MediaWiki: 1.11
 * PHP: 5

—81.123.131.92 12:16, 22 January 2008 (UTC)

I can't find the LocalSettings.php file in the config folder. So, I can't move it in the parent directory. What can I do? I received many warnings during the installation but, at the end, a green sentence saying "Installation successful" appeared.
 * Maybe retry the installation, and post the warning messages here. That will give us something to work with. Theo s 12:35, 22 January 2008 (UTC)

Here they are...
Notice: umask has been disabled for security reasons in /membri2/ponchdeleon/php5/mediawiki-1.11.0/install-utils.inc on line 32
 * 1) PHP 5.2.5-dev installed
 * 2) Found database drivers for: MySQL
 * 3) PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
 * 4) Have XML / Latin1-UTF-8 conversion support.

Warning: is_dir [function.is-dir]: open_basedir restriction in effect. File(/tmp_r) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 424
 * 1) Warning: Your session.save_path value (/tmp_r) appears to be invalid or is not writable. PHP needs to be able to save data to this location for correct session operation.
 * 2) PHP's memory_limit is 64M.
 * 3) Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/sbin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/sbin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/sbin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gdiff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3.exe) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 1793
 * 1) GNU diff3 not found.

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 517

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/convert) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 517

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 517

Warning: file_exists [function.file-exists]: open_basedir restriction in effect. File(/opt/local/bin/convert) is not within the allowed path(s): (/membri) in /membri2/ponchdeleon/php5/mediawiki-1.11.0/config/index.php on line 517
 * 1) Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * 2) Installation directory: /membri2/ponchdeleon/php5/mediawiki-1.11.0
 * 3) Script URI path: /php5/mediawiki-1.11.0
 * 4) Installing MediaWiki with php file extensions
 * 5) Environment checked. You can install MediaWiki.
 * Your host has locked down a lot of your server's capabilities which is likely something to do with the LocalSettings not being created - it should have given an error message specific to that tho which is odd... --Nad 23:23, 22 January 2008 (UTC)

Database error
Hi,

I'm using an (unsupported! I know! :) PostgreSQL 8.x backend and Semantic MediaWiki 1.0 with my MediaWiki 1.11.

I've patched MediaWiki so that it runs perfectly fine with my PostgreSQL DB.

Just a couple of minutes ago I tried to create a new Semantic MediaWiki Property, which caused the following error message:

Warning: pg_query [function.pg-query]: Query failed: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list in /Volumes/Data/www/MediaWiki/includes/DatabasePostgres.php on line 506 Internal error

A database error has occurred Query: SELECT DISTINCT subject_id FROM smw_relations WHERE relation_title='SmwStr' ORDER BY subject_title LIMIT 26 Function: SMW::getAllPropertySubjects Error: 1 ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list

Backtrace:


 * 1) 0 /Volumes/Data/www/MediaWiki/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: for SEL...', 1, 'SELECT DISTINC...', 'SMW::getAllProp...', false)
 * 2) 1 /Volumes/Data/www/MediaWiki/includes/Database.php(1224): Database->query('SELECT DISTINC...', 'SMW::getAllProp...')
 * 3) 2 /Volumes/Data/www/MediaWiki/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php(446): Database->select('smw_relations', 'DISTINCT subjec...', 'relation_title=...', 'SMW::getAllProp...', Array)
 * 4) 3 /Volumes/Data/www/MediaWiki/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php(56): SMWSQLStore->getAllPropertySubjects(Object(Title), Object(SMWRequestOptions))
 * 5) 4 /Volumes/Data/www/MediaWiki/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php(82): SMWPropertyPage->doQuery
 * 6) 5 /Volumes/Data/www/MediaWiki/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php(60): SMWOrderedListPage->getHTML
 * 7) 6 /Volumes/Data/www/MediaWiki/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php(48): SMWOrderedListPage->showList
 * 8) 7 /Volumes/Data/www/MediaWiki/includes/Wiki.php(383): SMWOrderedListPage->view
 * 9) 8 /Volumes/Data/www/MediaWiki/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(SMWPropertyPage), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /Volumes/Data/www/MediaWiki/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 {main}

Any ideas how I could fix this?

Cheers, Martin

[RESOLVED] No "Main page"
Whoa holy crap I was just trying to get Manual:Short url to work for my wiki and in a strange side effect I was able to stop "Main Page" from displaying on the Main Page, so I must ask, how did I do this? I want to make sure this doesn't happen to like Special Pages or something, you know.
 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

—-PatPeter,  MediaWiki Support Team  05:35, 23 January 2008 (UTC)


 * Oh and I forgot to mention that I prefer the Main Page like this, but as I said I don't want anything bad to come of it. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  05:36, 23 January 2008 (UTC)
 * It is that lines in your MediaWiki:Monobook.css :


 * i Alex  15:44, 23 January 2008 (UTC)


 * Ahhhh I didn't notice I had done that until after I started screwing around with Manual:Short URL, forgetting that a couple days before I copied Wikipedia's monobook.css. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:22, 25 January 2008 (UTC)

code question/ how to change the code for a wiki page?

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

—62.225.191.42 07:22, 23 January 2008 (UTC)

hi there i want to add some meta informations to the code of some wiki pages



i can view the code but cant work with it and since i dont have a html data to work with cuz its stored in the db how can i work with it?
 * You can add the following code snippet to your LocalSettings which should do the trick --Nad 20:56, 23 January 2008 (UTC)

thx for answer but i want to add some meta informations to like 500+ Pages dont think this trick will work here :(

Problems with editing LocalSettings.php
I have a problem with editing the LocalSettings.php. Everytime when I change something in the LocalSettings.php there is an error, when I try to go to wiki main page. You can see it here: http://test50528.test-account.com/wiki/index.php5?title=Hauptseite Where is the mistake? --212.183.70.91 11:52, 23 January 2008 (UTC)
 * LocalSettings.php seems to not be interpreted by php (note also the error a the end of the output). For me, there is two possibilities, or you removed the  at the beginning of LocalSettings.php, or you added a   inside the comment. i <font color="#9966CC">Alex  15:01, 23 January 2008 (UTC)
 * I've added now "<?php" at the begin, and "?>" at the end of the LocalSettings.php and now I can go to the main site. But now there are some other errors: http://test50528.test-account.com/wiki/index.php5?title=Hauptseite --212.183.70.91 15:10, 23 January 2008 (UTC)
 * Try to remove the ?> (not needed, about all other files don't have it). <font color="#66A7CC">i <font color="#9966CC">Alex  15:13, 23 January 2008 (UTC)
 * Now it works! Thanks alot --212.183.70.91 15:17, 23 January 2008 (UTC)

Internal Use of MediaWiki
Hello, our company would like to introduce an internal wiki for knowledge management and we thought about installing a wiki for this. Unfortunately, we don't have an intranet or own webserver, we are only hosting on a bigger one. So the wiki has to be installed on this webserver, I suppose. The problem is: we would like to restrict the access to the wiki so that only members of our company can visit the site. Could this be realized with wikis in general and mediawiki in particular or do we have to look for a completely different solution?


 * In theory, you could set it up and then configure the server to block access from IP addresses that aren't coming from your company's network. If your company's ISP has given you a dynamic IP address, it will definitely be harder (not to mention even farther out of my knowledge realm), but it should be possible with .htaccess (I'm assuming an Apache server). Tuvok[Talk/en.wp] 15:19, 23 January 2008 (UTC)


 * You can just lock the wiki down so that no pages are accessible at all unless logged in, and accounts can only be created by sysop. See Manual:Preventing access --Nad 20:45, 23 January 2008 (UTC)

Can't get my wiki back after loosing some tables in database
- Hi, I had a hard disk crash an now only certain tables seems to contain information in my database. I tried to put on the wiki back, but it says that it can't find some tables. My important information is most in searchindex table. Is there any way to get this information back in a wiki ? or any other possibility ? I already tried to move only the searchindex table to another wiki but it didn't work. Thanks, Eric.
 * MediaWiki: 1.5.7
 * PHP: 5.1.6-1~bpo.1 (apache2handler)
 * MySQL: 4.0.24_Debian-10sarge2-log
 * URL: http://elearning.itinet.fr/wikibibi/index.php/

—195.25.195.79 16:24, 23 January 2008 (UTC)

Is MediaWiki ADA Section 508 Compliant?
I am looking at MediaWiki as a solution for my University, but we are restricted by State Law from purchasing software that is not ADA Section 508 compliant. Therefore, I am asking the question as to MediaWiki's accessibility features.
 * MediaWiki does not cost any money, so if they used the exact word "purchasing", then you're free to go regardless ^_^. If not... then looking through the requirements of it a lot of them are either upheld or broken by the individual people using the wiki, as all text and textual formatting in the pages themselves are user-input. Users can make use of their userspace CSS and JavaScript (providing $wgAllowUserCss and $wgAllowUserJs are enabled) to change colors, sizes, contrast, etc. of the page as well as using it to define access-keys for things that don't already have them (all the tabs, personal links, etc. already have access keys, so no worries there). But for things like flashing text and making sure all images have alt text, that's up to the individual user when they are editing pages. I hope that answers your concerns :) --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:10, 23 January 2008 (UTC)

Style Locations

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

Hello Everybody, where do I find the CSS for MonoBook Style on my server?

Thanks for help

—91.3.123.25 17:03, 23 January 2008 (UTC)
 * All CSS is in the /skins folder, with monobook-specific being in /skins/monobook. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:10, 23 January 2008 (UTC)

And which one is the css for (e.g.) editing the h1? Thanks for help.
 * Rather than hacking files, it is often better to use the MediaWiki:Common.css article to make css adjustments. That way they're still in effect after upgrading etc without having to keep track of which files were adjusted. --Nad 20:40, 23 January 2008 (UTC)
 * I'm absolute beginner. The page I'd like to change is www.helmstedt-wiki.de. Maybe you can help me a little? ;o) THX! What do i have to do there? Can you give me an Example? Mirko.


 * To, for example, make &lt;h1&gt;s red, you can use the CSS:


 * Note the  part; that's very important, otherwise first-level headings outside the content could be altered.


 * Insert your CSS into MediaWiki:Common.css to enable the changes for all skins (note that some have different document structure, so  may have to be changed). To just alter the default Monobook skin, use MediaWiki:Monobook.css. Other skins also have their own CSS files in the MediaWiki namespace. Tuvok[Talk/en.wp] 08:36, 26 January 2008 (UTC)

Reduce database size - Text table

 * MediaWiki: 1.6.5
 * PHP: 4.4.7 (cgi)
 * MySQL: 4.1.19-log
 * Database:
 * URL:

Hello. On my database I have the TEXT table, but its size is about 45 MB. I wonder if I can delete old records from that table in order to import a lighter version of the database for backup purposes. Thank you

—200.41.118.206


 * You can run the maintenance script deleteOldRevisions.php if you want to remove all non-current revisions from the database. It's nothing I'd do, since I'm kind of a digital pack rat who doesn't like to delete anything that might be useful (like revision histories), but if you're OK with dumping the history of your pages, be my guest. And don't let me discourage you with my personal opinion; it's just that, an opinion. Tuvok[Talk/en.wp] 20:08, 23 January 2008 (UTC)


 * I should mention that purgeOldText.php is a good one to run first, since it removes text records that aren't being used (e.g. aren't referenced from either the revision (history tracking) or archive (deleted stuff) tables). Tuvok[Talk/en.wp] 20:12, 23 January 2008 (UTC)
 * You shouldn't worry too much about old revisions when it comes to backup size because after you compress the backup, all the revisions reduce to an extremely small size since they're mainly repeated information. For example, our OrganicDesign wiki is 584MB, but after compressed with 7zip is only 23MB. --Nad 20:37, 23 January 2008 (UTC)

[RESOLVED] Deleting users

 * MediaWiki: 1.6.10
 * PHP: 4.4.4
 * MySQL: 4.1.22-standard
 * Database:
 * URL: http://imsaw.com/mediawiki/
 * Know how to block users but how do i delete users?
 * By using Extension:User Merge and Delete or running the removedUnusedAccounts maintenance script (think that's what it's called). --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:13, 24 January 2008 (UTC)


 * I have to say, the UserMergeAndDelete extension just saved my butt from some early bogus test-users that were plaguing my wiki. It's a great extension! --Töff 02:49, 27 January 2008 (UTC)

flash player

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

I have been a member for a few months, and never had a problem, but now when I login, it says I need to update my flash player, but I can't seem to find a link to do that.

—151.202.90.92 01:23, 24 January 2008 (UTC)


 * More details please --Zven 01:47, 24 January 2008 (UTC)


 * Yeah sounds like you are reporting an error for YouTube. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  03:14, 24 January 2008 (UTC)

500 Internal Server Error

 * MediaWiki: 1.6.5
 * PHP: 4.0
 * MySQL: Unsure - created by install package on ISP's site.
 * URL: http://wiki.derekspalla.com/

When I first installed MediaWiki at Christmas time, I had no issues and was creating articles. Then recently when trying to get to my Wiki, I started to receive a "500 Internal Server Error" with the following message: The server encountered an unexpected condition which prevented it from fulfilling the request. The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

When I look at the files via FTP, all of the files are exactly the same as they were on the first install. I have uninstalled and reinstalled a couple of times to no effect.

I am using my ISP's InstallCentral application to install MediaWiki. My ISP is PowWeb.

Currently my LocalSettings.php file has a $wgScriptPath	="/home/users/web/b812/pow.derekspalla/htdocs/derekspalla/wiki";

I have also tried setting the $wgScriptPath to "http://wiki.derekspalla.com/"; which is what it was set to before when it worked fine.

Any ideas what might be happening?

Kind Regards,

Derek Spalla

—74.224.209.176 03:17, 24 January 2008 (UTC)
 * The first thing you have to do is find out what the error message is, either check the php error log, or turn on error reporting. --Nad 08:07, 24 January 2008 (UTC)

Here are the messages from the error logs: PHP Fatal error: newfromkey [<a href='function.require'>function.require</a>]: Failed opening required '/hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/skins/.php' (include_path='/hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki:/hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/includes:/hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/languages') in /hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/includes/Skin.php on line 121

PHP Warning: newfromkey(/hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/skins/.php) [<a href='function.newfromkey'>function.newfromkey</a>]: failed to open stream: No such file or directory in /hermes/web05/b812/pow.derekspalla/htdocs/derekspalla/wiki/includes/Skin.php on line 121

Derek--208.115.19.242 14:42, 24 January 2008 (UTC)

ca-nstab-main
How would one change the title of ca-nstab-main on the Main page of a MediaWiki installation (i.e. from "article" to something else) without having to edit server side scripts (adding something to either monobook.css or common.css, perhaps?)? --58.169.232.209 05:17, 24 January 2008 (UTC)
 * Edit the system message MediaWiki:Nstab-main (also you need $wgUseDatabaseMessages set to true for messages in the MediaWiki namespace to take affect). --Nad 08:05, 24 January 2008 (UTC)

Font
This is a very simple question but I haven't been able to find a suitable solution anywhere. How would one change the font of the text within articles (and only the text within articles) for every article? --58.169.232.209 05:36, 24 January 2008 (UTC)
 * Add a CSS rule to your MediaWiki:Common.css which changes the font style such as #bodyContent { font-family:sans } --Nad 07:57, 24 January 2008 (UTC)

Uploaded Files with "Umlauts" won't be found
My Wiki runs in German.

Whenever I upload a file that contains an umlaut in its filename, "schäden.png" for instance, the file will be upload under "sch#%&den.png" (something like that). Renaming that file by hand to "schäden.png" makes it be found again.

How can I get those umlauts to be kept within the filenames?

I just can't find any solutions here.

Thanks a lot! --195.200.70.22 08:33, 24 January 2008 (UTC)

MediaWiki 1.12 download

 * MediaWiki: 1.11
 * PHP:
 * MySQL:
 * URL:

OK, so where do I get MediaWiki 1.12 from as a download?? I'm currently using MW 1.11 now, and want to upgrade to the development version. Thanks,

—82.42.237.84 11:17, 24 January 2008 (UTC)


 * I should add I'm using 1.12alpha from SVN now, hopefully that will work... --82.42.237.84 12:59, 24 January 2008 (UTC)
 * 1.12 hasn't been released yet, if you downloaded it from SVN, you have the latest version. <font color="#66A7CC">i <font color="#9966CC">Alex  15:05, 24 January 2008 (UTC)

Change logo

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

My company has downloaded MediaWiki and I need to know how I can change the logo by finding the LocalSettings.php file (without alerting my IT Dept.- they would take way too long to come back with an answer)

—199.171.110.108 14:57, 24 January 2008 (UTC)
 * LocalSettings.php is created by the configuration script you have to run to create the database, ... It is created in the config/ directory and you have to move it in the parent directory in order that the wiki works. To change the logo edit this file and set the $wgLogo to the url path of the logo. <font color="#66A7CC">i <font color="#9966CC">Alex  15:09, 24 January 2008 (UTC)

[RESOLVED] CrossNamespaceLinks Extension

 * MediaWiki: 1.11.1
 * PHP: 5.2.3
 * MySQL: 4.1.22-standard
 * URL: Vibe Entertainment

I am having trouble installing Cross Namespace Links extension as there is no documentation for it. What to I place in my LocalSettings.php to make it work

—210.1.216.73 14:58, 24 January 2008 (UTC)


 * In your LocalSettings.php, you should put the line:


 * That's assuming you've put the extension's files into the extensions/CrossNamespaceLinks folder. Tuvok[Talk/en.wp] 09:33, 25 January 2008 (UTC)


 * I've tried that however when doing it I get a blank page and no wiki 210.1.216.73
 * I manage to fix it I ended up using

210.1.216.73

[RESOLVED] Force Preview in 1.10

 * MediaWiki: 1.10.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.24-community-nt
 * URL: (internal company wiki)

I want to enable Force Preview in MediaWiki 1.10. When I copy the information from MediaWiki:Common.js into my wiki's Common.js, it only appears as text. The parts between the { and } appears as text in div boxes. (UseSiteJS is set to true in DefaultSettings.php)

I tried to locate the EditPage.php code mentioned in the FAQ ( How can I force users to preview before they save  ), but using my Wordpad's Find function doesn't locate the text recommended to be replaced.

Am I missing something from Common.js that isn't showing in the above links?

—Fmmarianicolon 15:41, 24 January 2008 (UTC)
 * see Manual:Force preview for an overview of various ways to implement this. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:21, 24 January 2008 (UTC)

pdf woes

 * MediaWiki: 1.11.0
 * PHP: 5.2.5
 * MySQL: 5.0.45
 * URL: Internal only

I don't have an error; just a problem. Actually, 2 problems. Here's the scenario: I have ~1000 pdf manuals I would like searchable and indexed into my wiki. I have searched though every extension that I could find. Most of the extensions about pdfs are for creating pdfs out of wiki pages. Any help would be appreciated! Thanks!
 * 1) How do I transfer files to a wiki without doing them 1 at a time? I tried just putting 1 into the images dir but it looks like they need a DB entry as well.
 * 2) How do I make pdf files searchable on my wiki? I would love to do it as google has; click here for the file or click here to see it in html format.

—BruceWayne 16:54, 24 January 2008 (UTC)


 * There's the importImages.php maintenance script, but that's just bare-bones, and uploading them as files won't index the text contents as far as I'm aware. Tuvok[Talk/en.wp] 08:28, 26 January 2008 (UTC)

1.6.10 Install problems
I Am trying ti install 1.6.10 as that is the version the install recommended as I am running PHP Version 4.4.7 and can not upgrade at this time.

Here are all the lines of the install page, including the error:


 * 1) PHP 4.4.7 installed
 * 2) PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
 * 3) Have XML / Latin1-UTF-8 conversion support.
 * 4) PHP is configured with no memory_limit.
 * 5) Have zlib support; enabling output compression.
 * 6) Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions
 * 7) Found GNU diff3: /usr/bin/diff3.
 * 8) Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
 * 9) Found GD graphics library built-in.
 * 10) Installation directory: /home/laplante/public_html/wiki
 * 11) Script URI path: /wiki
 * 12) Environment checked. You can install MediaWiki.

Generating configuration file...
 * 1) Database type: mysql

Fatal error: Cannot redeclare initialisemessages (previously declared in /home/laplante/public_html/wiki/config/maintenance/InitialiseMessages.inc:14) in /home/laplante/public_html/wiki/maintenance/InitialiseMessages.inc on line 14

Thank you for any help you may be able to provide! —66.82.9.108 02:41, 25 January 2008 (UTC)

Custom interwiki icons
Hi, is there a simple way to add custom interwiki icons?

Like on http://wiki.splitbrain.org/wiki:dokuwiki

using css. or to be exact how to add interwiki shortcut in from of < a class="XXX_external" Gcardinal 09:14, 25 January 2008 (UTC)


 * Looks like that site is using a different wiki engine. However, you can change the background icon for all external links in MediaWiki:Common.css (or MediaWiki:Monobook.css for just the default Monobook skin). The main declaration from Monobook's main.css is:


 * Get yourself another icon and put that code into Monobook.css (or Common.css, depending on whether you want the change to be global or just to one skin), then modify the  part to point to the relative or absolute URL of the new icon. Adjust the padding as necessary. Tuvok[Talk/en.wp] 09:31, 25 January 2008 (UTC)
 * Yes I know I can do that, but I want different icons for different Interwiki's. Like on DocuWiki if its a Wikipedia link they have a W in front of the link and if its a external link they have a globe. I use many different interwiki link's on my website so I really need a good way to show what link where. Example from DocuWiki http://wiki.splitbrain.org/wiki:syntax#links Gcardinal 09:34, 25 January 2008 (UTC)
 * With other words I need to find function that writes <a class="external" href="http ... ">INTERWIKI: bla bla</a> so I can add interwiki into the class filed Gcardinal 14:06, 25 January 2008 (UTC)
 * Use the following CSS:


 * Obviously replace the site_url with the URL of the site, and the path_to_new_external_image should be the path to the correctly-sized new external icon you wish to use. You can see a few examples here (search for "Styling links"). --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:05, 25 January 2008 (UTC)
 * Thank you for the answer, but I was more interesting into adding Interwiki shortcut as a part of a class="" on <a .. >. Method with CSS is sure a nice solution - but there is a bit of other stuff I want to add like tooltip using javascript on iterwiki links and other stuff. So would be really great if someone could point me where I can "patch"/edit the interwiki"output" function. THank you. Gcardinal 23:44, 25 January 2008 (UTC)

[RESOLVED] mp4 quicktime crashes videolan player

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

—Steven Rude 23:09, 25 January 2008 (UTC) I have a Sanyo Xacti 1000 HD camera. The Quicktimes are mp4. Quicktime 7.1 plays it back but very choppy. Newer quicktime releases do not play the file back, only a green screen. I tried to play the clips back in the Videolan player but it immediately crashes. What vieo editing program will support and be stable. Please help anyone.

The system is xp pro, lots of ram, raid 0 satas, with a g force 7200 512mb card.

steven@rudeanimation.com


 * Does this have something to do with MediaWiki? I don't think anyone here will help you if it's not. Did you mean to post this on the Wikipedia Reference Desk? <font color="#006500">Smaug 02:08, 26 January 2008 (UTC)
 * Not relevant to MediaWiki. Closed. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  03:33, 26 January 2008 (UTC)

Enabling search in my MediaWIki site

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

—131.107.0.73 02:00, 26 January 2008 (UTC) Hi, I created www.LovelyIndia.Org the issue here is I want google and other search engins to crawl and index content. As I understand contents lie inside MySQL, not sure how can a search engin robot will crawl and index so user can find pages from search engins.

Thanks!!
 * I'm under the impression that MW is crawable by default by google. This is supported by the fact that Wikipedia has a robots.txt with some Disallows.  Don't take my word alone for it though. <font color="#006500">Smaug  02:04, 26 January 2008 (UTC)
 * The web robots access the page via normal means, so the page content is displayed for them. Unless you have a global disallow in your robots.txt/.htaccess/whatnot, your site will be eventually indexed. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  03:34, 26 January 2008 (UTC)

Help in installing multiple wikis
Hello,
 * MediaWiki: 1.11.1
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.51
 * URL: local testing
 * More: Using XAMPP 1.6.5

I know this has been mentioned a lot of times but I still haven't found the solution. Most tutorials rely on the fact that your multiple wikis will be under a subdomain (i.e. http://wiki1.domain.com/, http://wiki2.domain.com etc.). This isn't what I'm looking for.

I am currently configuring my wikis in my localhost on my personal machine. I want to upload the same structure and data on my host. What I don't want is use multiple subdomains for each wiki. I am planning to have different DIRECTORIES for each wiki. So, my directory would look something like this:

root root/wikis/wiki1 root/wikis/wiki2 etc.

I still want to use the same database with different prefixes (although the idea to use the same user pages/accounts etc. would be even better).

Any help for the setup? What is the best way to configure this? Should I have a whole MediaWiki installed in each folder or is there a better (cleaner) way?

—Pek 21:34, 26 January 2008 (UTC)
 * A cleaner way would be to have the files in one folder, then have a conditional in the main folder's LocalSettings.php that includes the correct localized "LocalSettings.php" (in quotes because it isn't required to be named that) based off of what virtual directory is being accessed. Of course, you'll need to set up rewrite rules for each virtual directory. Also, making index.php work will be very tricky, and will more than likely require some sort of hack. I'll look into this a bit more deeply in a few days, if you can wait until then. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  21:43, 26 January 2008 (UTC)


 * Yes, I know that. But since some hosting sites cost money to create a sub domain I won't be doing this. Is there any other way? I don't mind waiting. Thank you. --Pek

How can I add an INTERNAL LINK WITH A NAME-VALUE PAIR?
Q. How can I add an INTERNAL LINK WITH A NAME-VALUE PAIR?

I would like to use, for example, Special:Listusers&group=Writer to list only the users within the 'Writer' group, or Special:Userlogin&type=signup to jump directly to the account creation (not login) screen.

I can make an EXTERNAL link with a name-value pair, and use my site's own URL, but that's just kinda silly (and deceptively marks the link with the "external" icon).

The INTERNAL link parser doesn't seem to pick up the name-value pair appended to the link. I just get a "No such special page" error. Grr.

... I tried to come up with a clever #REDIRECT, but redirects use internal links, also, don't they. Dead end.

Thanks in advance, —Töff 02:45, 27 January 2008 (UTC)


 * MediaWiki=1.11.0 / PHP=5.1.6 / MySQL=5.0.37 / URL=Pale Ravens.
 * p.s. I am a new MediaWiki admin and I am loving the software so far! Cheers to all the developers!
 * For Listusers, using Special:Listusers/writers would work (internal link). As for account creation, unfortunately there is no current way to do this. You can use CSS to prevent it from looking like an external link, but that's about it for the moment. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  04:20, 27 January 2008 (UTC)
 * "using Special:Listusers/writers would work (internal link)." -- That's cool! Is that kind of switch documented anywhere? I never saw that before! Too bad there's not one for the login page. --Töff
 * How about using the fullurl parser function e.g. [ Signup] ( [ Signup] ), and use CSS to remove the external icon. One way would be to make a new template with its own span class wrapper and create the CSS rule --Zven 04:37, 27 January 2008 (UTC)
 * "use CSS to remove the external icon" -- I could, but the external link icon is a nice thing, a wiki standard, and I won't want to train my users to expect something different from our MediaWiki than they do from the thousands of other installations. It's just a conformity thing, I guess. I like the wiki system and I want to break it as little as possible, in the name of suiting my needs. --Töff
 * You can remove the icon on a case-by-case basis by wrapping the link in . Ex: [ Support desk page history] . Works like a charm on every (recent - goes without saying) MediaWiki installation I've come across. Tuvok[Talk/en.wp] 07:10, 27 January 2008 (UTC)