Project:Support desk/Archive 14

[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)

[RESOLVED] 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)


 * MediaWiki isn't compatible with mysqli. -PatPeter 00:56, 16 December 2007 (UTC)

[RESOLVED] 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)


 * Did you try looking for the Image Label extension? Or did you look at en:Template:Image label? PatPeter 17:43, 13 December 2007 (UTC)


 * You are going to have to define the div classes in en:Template:Image label begin, en:Template:Image label, and en:Template:Image label end, in your CSS. PatPeter 17:46, 13 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)

[RESOLVED] 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)

So index.php and the php5 are both in /config/ ? Something wrong must have happened and the format of thoes files isn't correct. -PatPeter 01:02, 16 December 2007 (UTC)

It's actually something weird with 1and1. You need to COPY your config folder to something else (say config2) and run the script from there. Make sure you leave the existing config folder though, as that's where the LocalSettings.php file gets created during the config script.

See this blog: http://www.cyprich.com/2007/08/17/installing-mediawiki-on-11/

[RESOLVED] 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


 * For the updated version of Apache check if your version is compatible with your version of MediaWiki, yes you have to install MySGL and PHP. -PatPeter 00:59, 16 December 2007 (UTC)

[RESOLVED] 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...

[RESOLVED] 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)

Just as it says. PatPeter 00:18, 12 December 2007 (UTC)
 * Where are the database files?!?!?!

This no longer presents as a problem so I will leave it alone. PatPeter 04:39, 13 December 2007 (UTC)

[RESOLVED] 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  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)

[RESOLVED] 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)


 * You don't need to edit the server files. You can edit Common.css by typing  in your wiki's search bar. Tito xd (?!?) 04:32, 12 December 2007 (UTC)


 * I didn't realize that, thank you! PatPeter 04:46, 13 December 2007 (UTC)

[RESOLVED] 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)

[RESOLVED] 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.


 * Please do not post un-wiki-related material. -PatPeter, MediaWiki Support Team  15:40, 22 December 2007 (UTC)

[RESOLVED] 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
 * Already tried manual:preventing access? --Flominator 18:44, 11 December 2007 (UTC)


 * many thanks for your advance! i will try it! but could you help me, how to remove the ip adress in header? i cant find it in the manual you showed me! --chris
 * You may want to change the value of $wgShowIPinHeader. Tito xd (?!?) 04:35, 12 December 2007 (UTC)
 * how can i do this? in which file i have to do it? please help! many thanks! best regards --chris
 * maybe you also could tell me how to do it with the discussion site for this ip? many thanks --chris
 * I'm not sure whether I understood the last question, but as for the first one, you need to modify the LocalSettings.php file on your server. It should be in the folder where MediaWiki is installed (the file is also the place where you set the database username and password, among other things). As for the modifications themselves, look for a line with  in it. If you find it, set it equal to  . If you can't find one, type the following:


 * Tito xd (?!?) 23:10, 12 December 2007 (UTC)

[RESOLVED] 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)
 * You may want to see Manual:Preventing access. However, bear in mind that there's always idiots who like to write nonsense like that, so aside from preventing unregistered users to edit, there's not much to do about that. Tito xd (?!?) 04:37, 12 December 2007 (UTC)

[RESOLVED] 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—220.225.147.89 13:31, 10 December 2007 (UTC)
 * Are you sure, that this one is no chemical formula? Please ask you question at Talk:Triethylamine --Flominator 18:41, 11 December 2007 (UTC)

[RESOLVED] 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)
 * Edit the actual category and save it. A possibility would be to edit MediaWiki:monobook.js and to remove the &action=edit from these links via javascript.--Flominator 18:37, 11 December 2007 (UTC)


 * Thanks for the reply. If I do edit the category pages and save them, they turn into regular blue links.  The wiki still creates edit links for new categories by default, and this is SO ANNOYING.  Thanks for the advice, though, it did help.  66.162.87.252 16:09, 14 December 2007 (UTC)

[RESOLVED] 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)


 * I figured out that by setting the $wgDefaultSettings = array for a few variables, it erased a lot of important variables the Wiki needs in order to function normally. I commented out this change in LocalSettings.php and had to recreate all user accounts which I had created while this change was in place.  The problem was then resolved. 66.162.87.252 21:51, 13 December 2007 (UTC)

[RESOLVED] 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)
 * Maybe Manual:Spam helps. --Flominator 18:36, 11 December 2007 (UTC)

[RESOLVED] 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)

Magic words would never be in that format, they would either be __TEXT__ or but not both. You mean Special:Userlist? No user should be allowed to edit that, that section is disabled from edited always the only way to edit Special and Media pages is from the system files. Why would you need magic words to lock pages? You mean protect right? Then ANYONE could protect pages, make the wiki only editable by admins.

Basically what you are saying is pointless, if you elaborate more we might be able to help, but discussion closed for now. -PatPeter 00:46, 16 December 2007 (UTC)

[RESOLVED] 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

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)


 * Man, I had a similar problem uploading .rom files (map files for video games), I will try this. -PatPeter

[RESOLVED] 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)


 * Well that is actually myself, who has access to the server. Is it enough to just create this folder, or do I have to change some more general things, like the writing permissions? Thank you very much for your help so far, Pat! I really appreciate your work! --Gollum 22:23, 12 December 2007 (UTC)


 * I do my best. Create all those folders and see what happens when you try to delete it again. PatPeter 02:45, 13 December 2007 (UTC)


 * This did not work. what I did now, was to change the writing permissions for the folder ".../images/deleted" to allowing owner AND group to write. I hope this does not make our wiki insecure. However I could delete the images afterwards... Thanks for the advice! My best, --Gollum 01:06, 16 December 2007 (UTC)


 * If you have access to the system files you could even just go and delete the file, then the page should let you delete itself, but I am going to mark this as RESOLVED. -PatPeter 02:41, 16 December 2007 (UTC)

[RESOLVED] Odd Internal Error
================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)


 * So you got this while installing MediaWiki? Assuming you don't yet have a database or images, delete your entire server and reinstall the software. -PatPeter 00:49, 16 December 2007 (UTC)

[RESOLVED] 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


 * Move it back, install a clean new version of MediaWiki and replace the images-folder and copy the database. --Flominator 18:43, 11 December 2007 (UTC)

[RESOLVED] How to create special page
Hi, I have a dictionary section and I would like to have a special page with a search box at the top and the search results displayed below it as in this format or similar. Presently, I use the standard search box on the left and type it to access a new page each time. &mdash; 60.53.26.80 17:56, 11 December 2007 (UTC)


 * You have to create a file called SpecialPAGENAME.php and add it to the /includes/ section of your wiki system files contained the code of the website you gave. -PatPeter 00:54, 16 December 2007 (UTC)

[RESOLVED] 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)


 * You have to re-upload the /includes/EditPage.php from the .tar.gz file you for with 1.6.10 into your system files, also why go to 1.6.10 when you can go to 11? Seeing that you posted this on 12/11. -PatPeter 02:43, 16 December 2007 (UTC)

[RESOLVED] Missing texts in MessagesEs.php
Not sure if this is the right place. But I had to add the following lines to the MessagesEs.php because they were missing. 'filehist'                 => 'Historial del archivo', 'filehist-current'         => 'act', 'filehist-datetime'        => 'Fecha/Hora', 'filehist-user'            => 'Usuario', 'filehist-dimensions'      => 'Dimesiones', 'filehist-filesize'        => 'TamaÃ±o', 'filehist-comment'         => 'Comentario', 'filehist-help'            => 'Haga clic sobre una fecha/hora para ver el archivo a esa fecha.',

—193.27.9.131 12:24, 12 December 2007 (UTC)
 * Ideally, you should make these submissions to BugZilla, but I've done that for you. I've reported it as Bug 12287. Tito xd (?!?) 23:18, 12 December 2007 (UTC)

[RESOLVED] Internal error
MediaWiki: 1.11.0

PHP: 5.1.4 (cgi-fcgi)

MySQL: 5.0.45-log

Database: Unknown

URL: http://www.maporchestra.com/wiki/index.php?title=Special:Upload

I get a message that says this anytime I try to upload an image:

= Internal error =

The upload directory (public) is not writable by the webserver.

Obviously the title bars (=) are for show.

—PatPeter 05:02, 13 December 2007 (UTC)


 * Help! -PatPeter 23:19, 15 December 2007 (UTC)


 * Anyone? -PatPeter, MedaiWiki Support Team  18:34, 17 December 2007 (UTC)


 * It looks like the permissions for the directory need to be changed. You can do the with the CHMOD command in FTP or SSH. -Barista 13:58, 19 December 2007 (UTC)


 * Found it, I upgraded the wiki and still had "uploads" instead of "images: Manual:LocalSettings.php. -PatPeter, MediaWiki Support Team  06:05, 20 December 2007 (UTC)

[RESOLVED] Ignorance bordering on stupidity when trying to offer information alternative interpretations of tests for diseases
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Hi,

I cannot believe how ignorant I am about blogging etc, but I am honestly brain-dead. I wrote a long comment about different results using alternative tests to discover the beginning of kidney failure in dogs and "liver shunt" (paraphrasing here). Then, I have no idea what i did, but all disappeared and I can't find it. Is there a step-by-step instruction section for those of us who are struggling with using these type of programs? Thanks.

—76.192.68.217 05:04, 13 December 2007 (UTC)


 * I'm going to take a guess that you are not talking about Wiki software... PatPeter 05:36, 13 December 2007 (UTC)

I agree with PatPeter. Mediawiki software is not a blog where you add comments to a page... unless you are adding a comment to the talk page and you did not actually save. Some people set Mediawiki automatically to preview mode when you press the Save button if you have not yet preview your edit. If so, you have to press the Save button once again after you review your changes. This is to prevent too many edited versions from being created due to careless mistakes. &mdash; PM Poon 10:00, 13 December 2007 (UTC)


 * I think it may be possible that the user doesn't know the difference between a blog and a wiki. In any case, for posts that will take me a long time to write, I sometimes write them out in a word processor or text editor first, then copy the text and paste it into the wiki or blog software. If the user has a laptop running on battery or is on dialup, the connection may timeout, even if the browser is still open. -Barista 14:28, 17 December 2007 (UTC)

[RESOLVED] Fail in configuring uploads
MediaWiki: 1.11.0

PHP: 5.1.4 (apache2handler)

MySQL: 5.0.21-community-nt

Apache 2.2 on Win 2003

Hello. I have read the Manual:Configuring file uploads, but still stuck. I have set file_uploads=on in PHP.ini, changed the $wgEnableUploads = true; $wgUploadDirectory = "{$IP}/wikifiles" and $wgUploadPath = "{$wgScriptPath}/wikifiles" in LocalSettings.php ("/wikifiles" or "wikifiles" makes no difference; of cource, I defined the alias /wikifiles in httpd.conf), set OS permissions on wikifils to full access for everyone (just for testing), but still could not upload any file: "The upload directory (public) is not writable by the webserver." In Apache log I see the following: (20024)The given path misformatted or contained invalid characters: Cannot map POST /wiki/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:Upload HTTP/1.1 to file

What I missed ?

—89.175.73.253 15:58, 13 December 2007 (UTC)
 * FUF, finally I understand: $wgUploadPath must be relative URL path, like "/wikifiles" (wikifiles must be defined in httpd.conf, if it is not subdirectory of already defined path), and $wgUploadDirectory must be FULL filesystem path, like (for Windows) "D:/MyWiki/wikifiles". Zzzz... --89.175.73.253 15:02, 14 December 2007 (UTC)

[RESOLVED] index.php
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)
 * Add the following in httpd.conf:
 * 
 * DirectoryIndex index.html index.php index.htm
 * 
 * and remove your changes in mime.conf

--89.175.73.253 17:53, 13 December 2007 (UTC)


 * It asks me if I want to download or open  when I try to upload a file. -PatPeter 02:35, 16 December 2007 (UTC)


 * Go in Mozilla Firefox into Tools => Options => File Types, and delete whatever config you have for php files. -PatPeter, MediaWiki Support Team  03:56, 23 December 2007 (UTC)

[RESOLVED] Manual:$wgNamespacesToBeSearchedDefault
MediaWiki: 1.11.0

PHP:

MySQL:

Database:

URL: Red Orchestra Wiki

I have tried using this extension as both: $wgNamespacesToBeSearchedDefault  = array(       NS_MAIN                     => true,       NS_PORTAL                   => true,       NS_TECHNICAL                => true,       NS_WIKIPROJECT              => true,             NS_HISTORY                  => true,       NS_MANUAL                   => true,       NS_EXTENSION                => true,       NS_MAP                      => true,       NS_SERVER                   => true,       NS_MODIFICATION             => true,       NS_MUTATOR                  => true,       NS_UNIT                     => true,       NS_CLAN                     => true,       NS_TERM                     => true,       NS_TACTIC                   => true,       NS_WEAPON                   => true,       NS_TANK                     => true,       NS_ROLE                     => true,       NS_PLAYER                   => true );

and

$wgNamespacesToBeSearchedDefault  = array(NS_MAIN => true, NS_PORTAL => true, NS_TECHNICAL => true, NS_WIKIPROJECT => true, NS_HISTORY => true, NS_MANUAL => true, NS_EXTENSION => true, NS_MAP => true, NS_SERVER => true, NS_MODIFICATION => true, NS_MUTATOR => true, NS_UNIT => true, NS_CLAN => true, NS_TERM => true, NS_TACTIC => true, NS_WEAPON => true, NS_TANK => true, NS_ROLE => true, NS_PLAYER => true);

And neither of them work, what am I doing wrong?

—-PatPeter 19:35, 13 December 2007 (UTC)


 * Well, probably the NS_xxx constants don't exist for custom namespaces. You could probably define them, or just use the namespace number. —99.236.141.81 20:16, 13 December 2007 (UTC)


 * Nope, as I posted in the post directly above:

$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");

-PatPeter 23:28, 13 December 2007 (UTC)

Cut 1
I have a solution for you, I had the same problem. Go to your DefaultSettings.php and copy the enitre array $wgDefaultUserOptions into your LocalSettings.php. It is important that you copy the entire thing because if you set only a few of the variables, the others are cleared. Then add your namespaces like this: $wgDefaultUserOptions = array( 'searchNs110' => 1, 'searchNs120' => 1, etc... ); 66.162.87.252 16:33, 14 December 2007 (UTC)
 * 1) Leave all those default settings alone


 * I would try this but I can't figure it out.
 * Alright I will try your way. -PatPeter 00:01, 16 December 2007 (UTC)

The only info I have in my :

-PatPeter 00:10, 16 December 2007 (UTC)

Cut 2
Oops that is, here:

According to Manual:Namespace, this would include my custom along with the main namespace. So:

Like this? -PatPeter 00:24, 16 December 2007 (UTC)

And would this still work:

? -PatPeter, MedaiWiki Support Team  18:51, 17 December 2007 (UTC)

[RESOLVED] Email TimeZone Error
MediaWiki: 1.11

PHP: 5.2.5

MySQL: 5

Server: Windows/IIS

Anytime a user requests a confirmation email from my Wiki they get the following error:

Could not send confirmation email. Check address for invalid characters. Mailer returned: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable for the date_default_timezone_set function. In case you used any of those methods and you are still getting this warnig, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for '-6.0/no DST' instead

I have the following settings in my LocalSettings.php:

$wgLocaltimezone = 'America/Chicago'; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z")/60; putenv("TZ=$oldtz");
 * 1) Set Default Timezone

Even though this error displays, the email is sent successfully. I have the latest PEAR Mail installed but I am using the php.ini SMTP and smtp_port settings, because if I use $wgSMTP in localsettings.php I get internal server errors.

—66.162.87.252 16:19, 14 December 2007 (UTC)


 * I had the same problem as you describe! After that error message i have put the following Code into the LocalSettings.php:

$wgLocaltimezone = "Europe/Vienna"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone");
 * Then I didnt get any error anymore and it works fine! I dont know if this solve your problem but I hope it for you! It could be that you have to use " instead of ' at America/Chicago. The other difference is, that i dont use a offset.

--Bpczi 16:44, 14 December 2007 (UTC)

I figured out that I needed to fill in information for default.timezone in php.ini. Problem solved! 66.162.87.252 19:21, 14 December 2007 (UTC)

[RESOLVED] No search results
MediaWiki: 1.11.0

PHP: 5.1

MySQL: 4.1.22

Database: 4.1.22

URL: http://www.linuxmintusers.de/wiki/index.php5 (test)

The search dont go. I find nothing, no pages and no forum topics.

Help?

Thanks! Juergen

—83.171.164.96 17:44, 14 December 2007 (UTC)


 * Works for me. The search isn't as intuitive as the google search, if your search term dosn't match something (title or text) exactly it won't return anything. Extension:Google Custom Search Engine might be of use for you. J.smith 18:41, 15 December 2007 (UTC)


 * Yes what did you search for and what pages were you looking for? Since this is basically resolved I will mark it as so. -PatPeter, MedaiWiki Support Team  03:27, 16 December 2007 (UTC)

[RESOLVED] (Wiki) Offensive Webpage
http://wiki.rmrk.net/index.php/The_Legacy_Of_Naphe

I recently came across this after some topic about "Naphe" on CC Corp. I'm unaware who this member is, but I would assume this is an extremely offensive page. I thought I would report it.


 * Thanks for reporting it, however that wiki is not part of the wikimedia foundation and hence we have no control over it. You're best chance to get it deleted is to talk to a sysop on that wiki. Mønobi 20:01, 15 December 2007 (UTC)


 * Yes, I mean wow this is not the right place to ask this at ALL. -PatPeter, MedaiWiki Support Team  03:30, 16 December 2007 (UTC)

[RESOLVED] Changing logo...
MediaWiki: (Latest)

PHP: (IDK)

MySQL: (IDK)

Database: (IDK)

URL:

Ok, I can not at all change the top left picture if my life depended on it. I looked through the LocalSettings file, but found ABSOLUTELY nothing about the logo. Please help. Maybe theres sumthing im missing.

—71.62.185.141 03:27, 16 December 2007 (UTC)

Find the section that looks like this in :

And change  to the URL of your logo. -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

Hell man you should have just looked at Manual:LocalSettings.php, do you read? -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

[RESOLVED] What is this function called?
What is it called when you do this: :

-PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)

On templates? -PatPeter, MedaiWiki Support Team  04:31, 16 December 2007 (UTC)


 * "Parameters"? -- Duesentrieb ⇌ 15:06, 17 December 2007 (UTC)


 * Sounds like it. I had nothing to describe it by when editing templates, now I can call them parameters, thanks! -PatPeter, MedaiWiki Support Team  17:56, 17 December 2007 (UTC)

[RESOLVED] How to update the mediawiki software on our wiki...
MediaWiki: 1.11.0

PHP: 5.2.0-8+etch5~pu1 (cgi-fcgi)

MySQL: 5.0.32-Debian_7etch1-log

Database: (No idea sorry)

URL: Tribalwars Wiki

Hello all, sorry about the lack of information on the database, but its not a database problem ;) . My question is easy, and simple.  I am one of the admin at the TribalWars wiki.  Its a nice small community wiki.  We require an update to the mediawiki software so the wiki can evolve, for example i wish to present certain trusted users with the rollback right, but because i do not have an up-todate wiki... I cannot, and i do not want to give out sysop to them just yet.  So basically where can i go to ask for an update to the wiki?

Also, if i have to post somewhere, can you provide a link.. And if i posted in the wrong area, im deeply sorry, i can also be contacted |Here

Also, i had to apply to get the wiki started. I was simply given a wiki, with a basic design, very few pages and an admin account. How would i go about gaining access to the mediawiki files where i can edit more complex things... for example the Wiki's logo etc.

Thanks alot,

—Oscardog 22:05, 17 December 2007 (UTC)


 * That should deal with the assigning rollback w/o sysop access. Mønobi 01:30, 18 December 2007 (UTC)
 * Unfortunately i do not own the wiki, it was not started by me... So i don't have access to the files at the moment... anyway to update the mediawiki software so that i can indeed assign the rollback right to users. --Oscardog 12:56, 18 December 2007 (UTC)
 * Only someone with database access can do this. Prodego 02:39, 19 December 2007 (UTC)

For future use Oscardog, you don't have to put a "|" in external links, a space between the link and what you want the link to be titled is all you need. -PatPeter, MedaiWiki Support Team  23:13, 18 December 2007 (UTC)

[RESOLVED] Untitled
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

(Your error report here... delete this comment beforehand)

—Breinicke 23:50, 17 December 2007 (UTC) Is there a way to create a login to simply view the wiki? The organization I work for is wanting a wiki set up for internal staff, but is accessible anywhere... (many of our higher staff members work abroad) however given the internal nature of some of the info, I am tasked with creating a login to access the wiki. (not just the standard login to edit). I have searched for various questions, but they all relate to logging in to be an editor.
 * Extension:Hidden_pages, Extension:Page_access_restriction, Extension:DisallowAccessOnCategory, or most extensions in Category:Extensions_by_security_risk should be what you're looking for. Mønobi 01:36, 18 December 2007 (UTC)

[RESOLVED] Remove Donations
I remember reading how to remove the ""Donations" link from the Browse area but I can't find it now. Any help would be appreciated.  Thanks.

—151.190.254.108 23:58, 18 December 2007 (UTC)
 * Remove the line  from MediaWiki:Sidebar. That should get rid of the donations link. --Skizzerz talk 00:33, 19 December 2007 (UTC)


 * Thanks. That did the trick. —The preceding unsigned comment was added by 151.190.254.108 (talk • contribs) 02:07, 20 December 2007 (UTC). Please sign your posts!

[RESOLVED] Install Problem / Admin

 * MediaWiki: newest
 * PHP: 5
 * MySQL: 4
 * Database: 4
 * URL: http://wiki.batavie.nl/

When I want to install mediawiki it goes to http://wiki.batavie.nl:2222/ Don't know why..

—82.136.199.233 12:49, 20 December 2007 (UTC)

Had to use an url without subdomain ;-)

82.136.199.233 12:51, 20 December 2007 (UTC)

[RESOLVED] Email problems

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (Likewise)
 * MySQL: (Likewise)
 * Database: (Your version)
 * URL: [LINK Title]

The guy who registered the mediawiki used a different email address than the installer. Now I don't know where to change the email address on the install in order to get it to match so we can register.

—216.136.79.238 14:57, 20 December 2007 (UTC)


 * Go into LocalSettings.php in your system files and change Manual:$wgEmergencyContact and Manual:$wgPasswordSender to the email addresses of your choosing. -PatPeter, MediaWiki Support Team  19:27, 24 December 2007 (UTC)

[RESOLVED] Using slave mysql databases

 * MediaWiki: 1.10.1
 * PHP: 5.2.2 (apache)
 * MySQL: 4.1.14-log
 * URL: jmars.asu.edu

In reading mailing lists and lots of google searches, it appears that Mediawiki can be configured to use multiple mysql slave databases in addition to the master database. It appears that these slave databases are entered into the $wgDBservers array, and then Mediawiki is smart enough to use the master (referenced as $wgDBserver) for writes and either the master and slaves (so $wgDBserver and $wgDBservers) or just the slaves ($wgDBservers) for reads (selects).

First, is there any documentation on this? All the manual pages simply show the syntax for $wgDBservers.

Second, which is it? Do reads/selects use all the available databases ($wgDBserver and $wgDBservers) or just $wgDBservers (if its defined, falling back to $wgDBserver if it isn't)?

—Chk 23:36, 20 December 2007 (UTC)


 * Whether an operations is able to use all databases or just the master depends of whether the code obtains its DB object by passing DB_MASTER or DB_SLAVE to the wfGetDB function. Code should be written to only ask for a slave if it doesn't intend on changing anything in the DB. See Manual:Database access for more detail. --Nad 20:54, 22 December 2007 (UTC)

[RESOLVED] 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)


 * And you shouldn't be able to link to [file:///c:\windows Order Windows] because those are on your computer, not a website. Your a href wouldn't have worked because of that for one, and two because you forgot the " at the end of txt. PatPeter 17:58, 13 December 2007 (UTC)

[RESOLVED] What does it cost?
Not for the software, but if I wanted to create a wiki to play with, could I do it for free, if not, how much would it cost? Thank you. 81.154.151.22 14:28, 18 December 2007 (UTC)


 * MediaWiki is free, PHP is free, MySQL might cost money I wasn't the one who installed it for my wiki. I have no idea about the database. If you either have a server of your own you can run the wiki from that or you will have to pay for someone to host your wiki. -PatPeter, MedaiWiki Support Team  23:11, 18 December 2007 (UTC)


 * If you want someone to host your wiki, see Comparison of wiki farms, which includes some free, ad-supported services. --Brian 05:41, 19 December 2007 (UTC)

[RESOLVED] setting to restrict the record of document history to the last 10 changes
Hi, does someone know how and where I can configure the amount of stored document versions? Priorsure1 13:11, 19 December 2007 (UTC)


 * You can delete a page and the restore the revisions you want. You would have to hack your database if you wanted to wipe out a revision history page. -PatPeter, MediaWiki Support Team  19:24, 24 December 2007 (UTC)

[RESOVLED] Account Problems

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: (Likewise)
 * MySQL: (Likewise)
 * Database: (Your version)
 * URL: [LINK Title]

I have a listing on your website that must be edited as soon as possible!! It is the Wilson Firm Architects and Engineers, Ltd. site that has to be changed to avoid a desaster. I am Walter Wilson the person responsible to creating the site and I am not able to edit it. Basically the company address has changed and the email address has changed and the personnel have changed. Quite frankly I forgot that this site was still there. However one of the gentlement on my staff at that time may risk God Knows What All if his name is not removed from this website "immediately." I do not remember the name or password that I used!! However, our email address at the time was wwilson@execpc.com. My new email address is wwilson100@yahoo.com. I desperately need your assistance in this matter, but you have no apparent phone number and other contact information seems to be missing as well.

You can contact me at the following phone number or email respectively: (414) 278-4854 and wwilson@milwcnty.com

THANK YOU FOR YOU PROMPT RESPONSE TO THIS MESSAGE

Walter L. Wilson, AIA, NOMA, NCARB

—204.194.251.3 21:20, 19 December 2007 (UTC)


 * I could not find anything remotely like what you describe, be it on mediawiki.org or on en.wikipedia.org. Please provide a link to the user account you feel we should intervene on. Urhixidur 20:20, 20 December 2007 (UTC)


 * We have had posts similar to this one... it seems A LOT like spam, I am going to close this thread as I assume it has no relation to MediaWiki software. -PatPeter, MediaWiki Support Team  19:24, 24 December 2007 (UTC)

[RESOLVED] Plethera of problems
I have a fresh install of MW 1.11 on a Fedora Core 5 machine, php5, mysql 5. I an having a boat load of issues. One templates are not parsing properly, I have all the parser extensions installed and the show up on Special:Version, but nothing seems to work. ImageMap crashes everytime I add
 * For more, see Manual:Using custom namespaces. — color probe — Talk  — Contribs 13:26, 22 December 2007 (UTC)


 * I guess it was actually because I had a page called "Lyes Krovy" and made the talk page "#REDIRECT 'Map talk:Lyes Krovy'", then I either added the namespace or the move did this but when I moved Lyes Krovy to Map:Lyes Krovy this happened. -PatPeter, MediaWiki Support Team  15:44, 22 December 2007 (UTC)


 * I still have the problem though, look here. -PatPeter, MediaWiki Support Team  15:45, 22 December 2007 (UTC)


 * In case someone looks at this page while I am trying to fix it it looks like this, being on the Special:Brokenredirects page:

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


 * -PatPeter, MediaWiki Support Team  19:55, 23 December 2007 (UTC)


 * I just changed all my Extranamespaces to this:

And that didn't work. -PatPeter, MediaWiki Support Team  02:37, 30 December 2007 (UTC)

This fixed it:

$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");

-PatPeter, MediaWiki Support Team  03:16, 30 December 2007 (UTC)