Project:Support desk/old

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)

[RESOLVED] Infoboxes
I'm experiencing a small problem with the infoboxes I created for my site, as they do not remain stuck to the right hand side of the screen when I minimize the window and, instead, they remain at the position defined in the code (so I have to scroll right in order to see them. Here is the code I edited for the infobox template header I am talking about: class="infobox vcard" style="border:1px solid #ccd2d9; width:25em; background-color:#fffccc; text-align:left; padding-left:0.5em; padding-right:0.5em; font-size:90%; margin:0 0 1em 68em;" cellspacing="5" cellpadding="1" Am I doing anything wrong? -SupervladiTM 07:59, 4 December 2007 (UTC)
 * You have a 68em left margin, you'd probably be best doing a float:right instead --Nad 20:15, 4 December 2007 (UTC)
 * Thank you. -SupervladiTM 11:26, 5 December 2007 (UTC)

[RESOLVED] Install on SQL Server?
Can I install the latest release of MediaWiki using SQL Server instead of MySql? If so what (if any) changes do I need to make to the install script(s)?

We are running Windows Server 2003, IIS, SQL Server, and PHP5.

Thanks in advance.

Joe Mayo —63.117.221.135 15:55, 4 December 2007 (UTC)


 * Nope, there is no support for MSSQL at the time, and I don't think there will be in the near future. — color probe — Talk  — Contribs 19:05, 4 December 2007 (UTC)

Installing on php compiled with mysqli instead of mysql
My server is compiled using --with-mysqli instead of --with-mysql. When I try to run the setup, I get this message:

* PHP 5.2.4 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

Version of MediaWiki: 1.11.0

Todd —159.116.208.109 20:52, 4 December 2007 (UTC)

Labelled Map Template
Hi, I am trying to use Asia Labelled Map template from Wikipedia but the labels do not overlay exactly when I change the size of the map as in my website. The instruction for doing so is actually very simple, ie. all widths must be set to the same number, which I have already done accordingly. What could be the possible reason? Could be due to some Common.css scripts? &mdash; PM Poon 21:06, 4 December 2007 (UTC)

Running:
 * MediaWiki: 1.11.0
 * PHP: 5.2.3-1ubuntu6.2 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3-log

Works fine with Firefox on the local machine, or IE on a remote machine. However, Firefox on a remote machine asks me what I want to do with the PHP file when I ask for the index page, which it thinks is of the type application-xhttpd-php. I've added:

AddType text/html .php

AddType text/html .php5

To the mime.conf file of Apache2, it doesn't make any difference. Any suggestions?

James Turner Senior Software Engineer, Kronos Labs Kronos, Inc jamesturner@kronos.com

—158.228.58.31 21:10, 4 December 2007 (UTC)

[RESOLVED] Posible to hide sites from normal users?
—62.225.191.42 07:50, 5 December 2007 (UTC) HI there

I want to creat a wiki for my firm. What i want to do is, that normal users can read all pages like usual but some special sites are only available for Admins or another group that doesnt realy matter. I checked the Help:user rights but its not that what i want to enable read or edit for all of the usergroup i just want to disable it on special sites

thx for help -62.225.191.42 07:54, 5 December 2007 (UTC)


 * See Manual:Preventing access. You will notice that there isn't a good built-in function in MediaWiki for restricting access to specific pages. $wgWhitelistRead might get what you need (restrict access to all but a few pages). You could also try a page specific user rights extension. Note that MediaWiki was not designed to protect sensitive data, and there might be flaws which will still allow users to see pages. Also see security issues with authorization extensions. — color probe — Talk  — Contribs 11:45, 5 December 2007 (UTC)

[RESOLVED] External Links in new tabs/windows?
Hi, how can I say to the mediawiki, that every external link should be opened in a new browser tab/window? Like target="_blank" in html. —213.214.18.64 13:59, 5 December 2007 (UTC)
 * Ah I got it Manual:Opening_external_links_in_a_new_window --213.214.18.64 14:49, 5 December 2007 (UTC)

Multiple Choice - 1and1
I am using a 1and1 hosting server and tried to install MediaWiki 1.11.0. I copied the files to the host, and when i try to run the installer, it says: Multiple Choices The document name you requested (/config/index.php) could not be found on this server. However, we found documents with names similar to the one you requested. Available documents: * /config/index.html (common basename) Please consider informing the owner of the referring page about the broken link.

I looked, and both the index.php and index.php5 are in the right folder? —66.16.229.16 23:05, 5 December 2007 (UTC)

MediaWiki & Apache
Hello, am looking at installing MediaWiki on two Windows Server 2003 Web Edition platforms, using the second as a fallover server. Will don't have PHP or MYSQL on the servers, so will have to install PHP & MYSQL, but we do have a version of Apache (2.0.4) running already. Can we install MediaWiki with this existing Apache version ?? Or will I need to upgrade to Apache 2.2.6 ?? Cheers, Cameron--125.254.4.28 05:36, 6 December 2007 (UTC)


 * I'm running an older version of Mediawiki with Apache v.2.0.55 so it shouldn't be a problem. Mazi

Different Syle - HowTo "install" on the server
I know, that MediaWiki is not responsible for the different styles, which you can get from: http://meta.wikimedia.org/wiki/Gallery_of_user_styles

But anyway it yould be good, to get an explaination, how to install it on the server, so everybody uses this style. This would make the Wikimedia fit more the personal/ company belongings.

So does anybody could explain, who to integrate for example the: Grey lady look

Thanks fr your help!

—193.16.48.5 15:08, 6 December 2007 (UTC)

Upload new version not working
I am using MediaWiki for an internal intranet wiki at work, but we have discovered that attempting to upload a new version of a file does not seem to be working - MediaWiki reports that it uploaded the file successfully, but the copy on the server is still the old one; MediaWiki does not replace the file with the new version. Does anyone know why this is happening? Is there a way to fix this?

Thanks! —82.68.75.38 17:09, 6 December 2007 (UTC)

all messages
um my problem is that the allmessages special page won't appear up after my migration see l3ga.tk —86.90.194.103 17:59, 6 December 2007 (UTC)

You mean this link: ? PatPeter 02:00, 8 December 2007 (UTC)

Right! It's that link, however I mean that site, the http://l3ga.ferrywijsman.nl/Special:Allmessages doesn't work! Please help me. 86.90.194.103 10:09, 8 December 2007 (UTC)

Oh well then thats obvious, its because the Wiki is set in German (or at least I think it is German), so that Special page doesn't exist. PatPeter 23:38, 10 December 2007 (UTC)

It's Dutch, and in Dutch the page is called http://l3ga.ferrywijsman.nl/Speciaal:AlleBerichten, but still it doesn't work... though it worked on the earlier (l3ga.freehostia.com) site it. 86.90.194.103 16:07, 11 December 2007 (UTC)

DschosCalendar
Hello All. I recently installed MediaWiki on a SME server I have running. The installation went smoothly, and we already have users starting to play with it. However, I attempted to install the Dschos Calendar, I was unsuccessful. I created the DschosCalendar.php and calendar_template.html files using touch and pico as requested in the documentation below.

>Copy DschosCalendar.php and calendar_template.html into the extensions/ directory. Then, I attempted to follow the directions below. The first request went fine. When attempting to edit the "MediaWiki:Calendar-url" I found it did not exist. Do I just create it? That is what I tried, and the calendar still does not show up.

''>You might want to edit the sidebar: just edit the page MediaWiki:Sidebar, add a line '** calendar-url|calendar', then edit >the page MediaWiki:Calendar-url to contain just the string Special:Calendar, and the page MediaWiki:Calendar to contain just >the string Calendar. This will add the calendar to your navigation menu on the left side.''

Lastly, I attempted to follow the instructions below:

''>Changes to LocalSettings.php >require_once("$IP/extensions/DschosCalendar.php");''

Putting the line at the top of the script caused MW to crash. Puttin it under the existing "require_once" line also did not correct the problem.

If someonw would lead me in the correct direction, I'd gladly edit the install page to better assist non PHP programmers (like myself) to get this working.

Chris Curtis

Labelled Map Template
Hi, I am trying to use Asia Labelled Map template from Wikipedia but the labels do not overlay exactly when I change the size of the map in my website. However when I tested the same text in Wikipedia, it worked perfectly. What scripts am I missing in my installation? — PM Poon 20:02, 6 December 2007 (UTC)

Copyright Icons
How do I change the copyright shown in the bottom left? And can it be done on a per-namespace basis? There doesn't seem to be a MediaWiki page that handles this. —99.236.141.81 21:24, 6 December 2007 (UTC)

Hi, the copyright information is in your LocalSettings.php. As for per namespace basis, I am not knowledgeable enough to give an answer. Hope Nad or someone else will come to your rescue. &mdash; PM Poon 14:31, 7 December 2007 (UTC)
 * Set $wgUseDatabaseMessages to true in your LocalSettings, then you can change any of the interface text messages directly from the wiki articles listed in your Special:Allmessages page. You can do this on a per-namespace basis by adding appropriate conditions into the wikitext of the message, eg


 * Note that you need the ParserFunctions extension installed to use #if --Nad 22:08, 8 December 2007 (UTC)
 * Sorry I only just noticed you said "icons" not "text" - use $wgCopyrightIcon and change on a per namespace basis by cheking $wgTitle->namespace --Nad 22:13, 8 December 2007 (UTC)

toolbox and titles of pages
I have several questions because I didn’t find a solution for my problems in this website:
 * First question: I am administrator of a mediawiki and I would like to render the toolbox invisible for not registered users.
 * Second question is about the titles of pages: I would like to change their style for instance, center the title of the article, change the colour of the title,....

I thank you for your help.
 * 1.) Nad should be able to help you with this. I remember having read about this before but I can't find it. Try searching the mediawiki helppages or search with google for "mediawiki", "toolbox" etc
 * 2.) This can be set in your css-file which should be monobook.css.


 * -Mazi

Link to a file or folder does not work
Hi,

I tried to link to an folder or file with html and wiki syntax. Both does not work. Here is what i tried:

txt datei im Windows Ordner



With http all links are recognized but file seems not to be supported ?

Or is it somewhere hidden in the configuration?

Hi, to use html code, you need to enable your Rawhtml in your LocalSettings.php, but this will compromise security considerations. I have read somewhere that you can actually enable specific html codes by listing it one by one without enabling rawhtml. However, I cannot find the source now. Should you find it, please let me know. I also want to add html codes to my pages but am worried about hackers and vandals. &mdash; PM Poon 14:36, 7 December 2007 (UTC)

templates, buttons and editor
3 questions: 1. how do I insert this template on my wiki? http://en.wikipedia.org/wiki/Template:Infobox_VG like this too: http://www.mediawiki.org/wiki/Extension:Polyglot (the box in the right of the page)

2. how do i insert buttons like in this wiki: http://www.wikia.com/wiki/MediaWiki if you look in the footer you will see: Rate this article, Share this acrticle -> digg, del.icio.us, stumbleupon, etc

(last one) 3. i can't remember where, but in a wiki a saw some extra buttons in the editor bar... is there any reference about this? sorry for too many questions, is just that i want to learn more :p thanks btw —foxfirediego 10:56, 7 December 2007 (UTC)

displaying flash files in navigation/ as logo
hi i created a small flash animation that should be placed as the logo in the topleft, or somewhere in my navigation in order to do this i installed a flash extension. with tags i can display flash files. when i edit my navigation and add a line with the swf tags the animation is shown in my wiki text but not in my navigation. when i add my animation as the logo in the top left this place stays empty... who knows how to display swf files at these places? ben —130.60.53.185 13:05, 7 December 2007 (UTC)
 * SOLVED
 * I had to change the normal sidebar text in my monobook.php into wikitext. Now i can do with the sidebar everything i can do with normal wikitexts...

How to Create a New Log?
--Abercrombie 19:19, 7 December 2007 (UTC)
 * 1) Is there a way to log visits to a specifc page?
 * 2) Is there a way to log opening (downloading) of a specific image?
 * You're probably best using your webserver access log for that kind of logging - or a program which generates reports from the access logs such as webalyser etc --Nad 22:01, 8 December 2007 (UTC)

Manual:Backing up a wiki
It tells you how to back up the wiki, but where are the actual database files? Where are the files that contain all the wiki pages? PatPeter 19:44, 7 December 2007 (UTC)


 * You should not back up a wiki from the files because it makes the backup very unportable - ie you may have trouble if you try and restore the backup on a different version of mysql or even the same version with different environment settings. You should always backup from a mysqldump (or another program such as phpmyadmin which uses mysqldump for you). --Nad 21:59, 8 December 2007 (UTC)

Well the page of the link that makes this thread title is very badly written, instead of having step-by-step instructions everything is written pretty randomly.

Also I just need to know where the database files are, just tell me that, I want to copy what pages I can because I didn't back up my wiki and now everything is screwed. PatPeter 21:05, 10 December 2007 (UTC)

Remove display of redirects
Hi, whenever a page is accessed from a redirect, there is a display of it at the top of the page. How do I remove that? &mdash; PM Poon 01:31, 8 December 2007 (UTC)
 * Just go to the page without using the redirect, its that simple. PatPeter 01:47, 8 December 2007 (UTC)
 * Hi, thanks for the reply. The problem with the display of the redirect is that it messes up my page layout and it looks very unsightly because it does not jiffed in with a few other changes that I have made. I believe that there must be a way, just like you can take away the words "From Wikipedia, the free encyclopedia" at the top of each page in Wikipedia. &mdash; PM Poon 10:29, 8 December 2007 (UTC)
 * The redirect is in a div with id="contentSub" so adding a css rule to your MediaWiki:Common.css saying #contentSub { display:none } will get rid of it. But there may also be other things that show up in the contentSub id which won't show up either, but I'm not sure. --Nad 21:55, 8 December 2007 (UTC)

'''Thank you very very much, Nad. That was perfect! How can this site everdo without you!!! &mdash; PM Poon 08:04, 9 December 2007 (UTC)

But then you can't delete your redirects. PatPeter 20:44, 10 December 2007 (UTC)

How do you make it so that redirects are italicized?
When they display in Special:Allpages, like Wikia does? PatPeter 02:08, 8 December 2007 (UTC)
 * Put

.allpagesredirect { font-style: italic; } in your MediaWiki:Common.css. --MF-Warburg 13:30, 8 December 2007 (UTC)

Thank you! PatPeter 20:41, 10 December 2007 (UTC)


 * But what folder is Common.css in? PatPeter 20:43, 10 December 2007 (UTC)

Initial installation problems - error in your SQL syntax
Everything went well until this message came up. I'm learning MySQL, PHP, and installing this Wiki as part of my start [thus a new user]. Running Win2K.

MediaWiki 1.11.0 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems.

PHP 5.2.5 installed Found database drivers for: MySQL PHP server API is isapi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (C:\Spool\TempFolder\Session) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: C:\Inetpub\WWW\Wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to 6.0.3-alpha-community Database wikidb exists Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20 (localhost)".

After my MediaWiki 1.11.0 download, I didn't change anything, and was following the online instructions for install.

Help is appreciated!

— 19:33, 8 December 2007 (UTC)

The layout of main page has problems
The search function should be put at the top. Google did a better job in page layout, and it improved often. Now, it puts all of its options at the very top --76.68.123.15 20:30, 8 December 2007 (UTC)

Automatic replacement of string from more than one page
Hi Nad, refer to your response at [Project:Support_desk/Archive_11#Automatic_replacement_of_string_from_more_than_one_page at Archive 11] on 6 September. I have uploaded Extension:Simple Forms successfully to my server and configure my LocalSettings.php accordingly.

I have also downloaded Yi-bot but am at a loss as to what to do with it so I uploaded it into my Extension folder? How do I activate it? Sounds so silly, hehehe, but I have never used a bot before. &mdash; PM Poon 08:17, 9 December 2007 (UTC)
 * It may not be an appropriate solution for you as you'll need to edit the yibot code with regular expressions to do the replacements you want. There's currently no way to do replacements in multiple articles with a simple interface. I'm working on an extension for this, but its a while away yet. --Nad 21:26, 9 December 2007 (UTC)
 * If you add a section to OrganicDesign:Talk:Yi-bot stating exactly what you need, I'll add a code snippet in there for you. Make sure you back up your database before using a bot to edit many articles because bots can really mess things up when they go wrong! --Nad 21:32, 9 December 2007 (UTC)

Remove buttons
Hello, I need remove math and media buttons from my encyclopedia editing toolbar. How I can do that? Thank you. --88.222.212.231 10:47, 9 December 2007 (UTC)

When editing in sysop mode, the browser downloads an index.php5 file containing no HTML
I'm running the latest version of MediaWiki (1.11.0) and whenever I click on the edit link as a sysop user, or even enter the url directly (http://www.xxx.org/wiki/index.php5?Title=Articles&action=edit), the browser downloads a file named index.php5 containing non HTML text like :

[Process] Type=Edit text Engine=MediaWiki Script=http://www.xxx.org/wiki/index.php5 Server=http://www.xxx.org Path=/wiki Special namespace=Special [File] Extension=wiki URL=http://www.xxx.org/wiki/index.php5?title=Articles&action=edit&internaledit=true

If I use the GET option &internaledit=true, I can view the edit page in the browser instead of downloading that file.

It does this only for my primary user, who's got edit and sysop rights. I bypassed the problem by creating another user with only edit rights, and using the internaledit option in the url when in sysop mode (to be able to edit items like the MediaWiki:Sidebar).

Any idea at how I can edit MediaWiki:Sidebar with the sysop user without having to add manually the internaledit option on the url ?

—87.244.158.8 21:05, 9 December 2007 (UTC)

How do I create the Usergroup:grpname page?
I am trying to create user groups to control page access permissions. It seems that the only way to create a new page is from some existing page. Is this always true?

Thanks! —Justin 22:34, 9 December 2007 (UTC)

Edit: all fixed. Nevermind. Sorry. So Sorry.

—206.45.137.30 23:34, 9 December 2007 (UTC)

Inbox Archiver
Current Mac OSX email constantly archives old Email Message. Email space overloaded due to this. How do I access Archived Messages for deletion, or request that it ceases this activity.

Desktop Enabling
Hello all. I desktop-enabled my site on my computer but my idea is to make all links inside it open inside the same desktop-enabled window. Which they don't. They open in new windows. Any idea on how to fix this? Thank you. -SupervladiTM 07:06, 10 December 2007 (UTC)

How do I remove the "Talk for this IP" link at the top right when $wgDisableAnonTalk is true?
Hi!

I am using Mediawiki 1.11.0

How do I remove the "Talk for this IP" link at the top right when $wgDisableAnonTalk is true? There exists a great guide in the FAQ`s how to realize it, but my code in SkinTemplate.php differs from that one who ist posted there. When I try to change it like it is described in the FAQ`s i get following error message:

Fatal error: Call to a member function getText on a non-object in wiki\includes\SkinTemplate.php on line 529

My next question ist, how to remove the IP in Header?

Maybe you could help me?

Many thanks for your help!

regards

chris

legal problems? What if someone writes e.g. Nazi-stuff in my wiki?
Hi. My question is: what if someone writes Nazi-slogans or other illegal stuff in my WIKI?? How can I be secure? WHERE CAN I FIND MORE INFORMATION ABOUT THIS?? 62.245.147.70 13:21, 10 December 2007 (UTC)

Reference required
Hello sir since you have mentioned in wikipedia Triethylamine regarding the following sentence "Triethylamine is readily alkylated to give the corresponding quaternary ammonium salt" RI + Et3N → Et3NR+I- Hence for this line i required the corresponding reference which will be helpful in my research activity.

thanku regards karthik

Put your question here—BEFORE the signature! And, again, DELETE THIS COMMENT! --> —220.225.147.89 13:31, 10 December 2007 (UTC)

Category Links Defaulting to 'Edit' Mode
In the wiki I have set up for our organization, many (in fact most) of the category links which appear at the bottom of articles default to edit links for those category pages. This is a problem since none of our staff are clicking those links in order to edit them; they simply want to view the other content in that category. It is even a bigger problem for the public viewers of the content since they are not allowed to edit anything and it gives them a message about having to log in to edit a page when all they want to do is view content. Is there a way to fix this? I don't think I would ever need a category link to take me to an edit page.

I have MediaWiki 1.11, PHP 5.2.5, MySQL 5.x running on a Windows server using IIS.

—66.162.87.252 17:10, 10 December 2007 (UTC)

Tiny Edit Boxes/View Source Boxes
In our Wiki, any time a user clicks on a "View Source" tab, the box to display the source code is only about half an inch down the page and you can only read one or two lines at a time. This also happens for some of the Users who are logged in, when they attempt to edit a page. It does not happen for Sysops, though. Any advice?

I have MediaWiki 1.11, PHP 5.2.5, MySQL 5.x and a Windows Server running IIS.

Thanks.

—66.162.87.252 17:14, 10 December 2007 (UTC)

Is there a way to ban words?
Let's say that I don't want people posting the F word, is there a way that I can ban that word all together? Thanks in advance! --Bentendo 18:43, 10 December 2007 (UTC)

Lock Pages
Hi, I am searching for an extension, that makes "magic words" able to lock Pages. For example: I have an Page called Userlist and only selective users should be able to read and modify this site. I want to block this site not over Localsettings.php. The best way should be with magic words like ____ ____ or something else... Do anyone know if there is an extension like this?????? If there is now way with magic words, do anyone have another good Idea for me?

Thanks a lot —87.154.173.36 21:22, 10 December 2007 (UTC)

Error in SpecialUpload.php (version 1.11)
If you want to upload files with extensions (for example: ggb for Geogebra a mathematical program) you have to include the extension in wgFileExtensions, but it does not work in version 1.11. This is because of an error in if( !$this->mStashed ) {

Use instead of the new lines, the old ones:

if( !$this->mStashed ) { $this->checkMacBinary; $veri = $this->verify( $this->mUploadTempName, $finalExt );

if( $veri !== true ) { //it's a wiki error... return $this->uploadError( $veri->toString ); }		}

With this change also the  Extension for FreeMind works again. --A.Burgermeister 22:43, 10 December 2007 (UTC)

Cannot delete images as Admin
Hi, I have the problem that I get an error message when trying to delete images from our wiki. It says: "Error deleting file: Could not create directory "deleted/5/t/w"." And the there is one long line with a message right in my wiki. It says that the permission is denied in a certain directory and ends with "...GlobalFunctions.php online 1670" Can anybody help me with that? My best, —Gollum 23:25, 10 December 2007 (UTC)


 * Can you give a link to your wiki and the page that shows up when you try this?
 * Aside from that the image you are trying to delete is already deleted, you are viewing it as it was before it was deleted. PatPeter 23:27, 10 December 2007 (UTC)


 * http://en.wiki-products.org/Image:Error-message.png this is a link to a screen shot I took of the error message. I uploaded it to our wiki. Wow, this was instant help... Thanks! I appreciate that! But what do you mean with "the image you are trying to delete is already deleted"? My best --Gollum 23:59, 10 December 2007 (UTC)


 * Yes, I have found an interest in helping out at MediaWiki and will try to do so to the best of my ability.
 * At first I thought the error message meant that the image was already deleted and some glitch wanted you to delete a deleted image, but now I see that for some reason it can't access the files, you would have to contact your host, whoever has access to the files, and create the folder: images/deleted/5/t/w . PatPeter 04:35, 11 December 2007 (UTC)

=
===BEGIN ERROR================ Internal error

Detected bug in an extension! Hook quote failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 1) 0 /home/wikichi/public_html/includes/Parser.php(332): wfRunHooks('ParserBeforeTid...', Array)
 * 2) 1 /home/wikichi/public_html/includes/Article.php(3017): Parser->parse('[[Image:Welcome...', Object(Title), Object(ParserOptions), true, true, 48)
 * 3) 2 /home/wikichi/public_html/includes/Article.php(831): Article->outputWikiText('[[Image:Welcome...')
 * 4) 3 /home/wikichi/public_html/includes/Wiki.php(383): Article->view
 * 5) 4 /home/wikichi/public_html/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 6) 5 /home/wikichi/public_html/index.php(88): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 7) 6 {main}

=
===END ERROR==================

Can anyone help me? (oh, and yes, I just used a fresh copy of Mediawiki and got this..)

—74.234.67.247 07:13, 11 December 2007 (UTC)

Help! PLz
After copying my wiki under my docroot folder: I go to localhost/wiki/ When clicking on the "Please set up the wiki first." link I get the following error: Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in C:\Programfiler\ApacheSoftwareFoundation\Apache2.2 \htdocs\InnovitWiki\includes\Namespace.php on line 44 My system is : win XP apache2.2 Mysql 5 php5 wiki 1.11

Sometimes Wiki pages open and sometimes not
Hi,

Can someone please help me with this as sometimes a few pages of my MediaWiki opens and sometimes not. I made a small change in DefaultSettings file but then reversed the change as it was before and since then it is happening like this. Please help me with this. If you want please send me an email reply at bilal336@yahoo.com.

Thanks,

Bilal —67.69.129.106 15:48, 11 December 2007 (UTC)

help with categories
When trying to edit a category, I get this:

Fatal error: Call to undefined method Article::openShowCategory in /var/www/vhosts/kh2.co.uk/httpdocs/wiki/includes/EditPage.php on line 1126

We just recently upgraded to 1.6.10 after using 1.5.5

Please advise —65.7.203.224 16:20, 11 December 2007 (UTC)