Project:Support desk/old

Global word replacement
Hi, the Malay language is still evolving with changes in spelling or terminology. How do I do a global word replacement? PM Poon 10:51, 22 September 2007 (UTC)
 * See the question above --Nad 12:04, 22 September 2007 (UTC)

Two Pressing Issues - Image Processing and URL Rewriting
Hello - I'm the owner of ZeldaWiki.org, and we're having some pretty troubling issues at the moment. They are twofold:
 * Selected thumbnails will not generate. This is displayed on our "Link" page. Many of Link's images give the error "Cannot create thumbnail:", but do not specify any further error message. I use ImageMagick to generate images, and this problem has persisted ever since we moved servers.
 * Do you know whether or not ImageMagick is installed on the new server and what path it is located at?
 * Yes. ImageMagick is installed and the convert command is located at /usr/bin/convert/. Also, ImageMagick is working properly on another site of mine, Zelda Universe.net - I've tried reinstalling ImageMagick, but that didn't seem to do anything. Upping the PHP mem limit also didn't help. --Jason 14:32, 22 September 2007 (UTC)
 * I can't see why it wouldn't be working... the thumb script is reading the proper image, because this test shows that it knows the original size and gives a proper error saying it won't make it bigger. You could try adding some additional output into thumb.php to tell you exactly what command it's attempting to do and then seeing what happens when you replicate that command from the shell? You could also try replacing thumb.php with the 1.10 version and see if that one works. --Nad 21:51, 22 September 2007 (UTC)
 * I wanted to use a file from 1.10.1, but was unable to find that release for download (nor 1.10.0). I tried 1.10.2, but because the problem began with 1.10.2, it was expected that it would not work. --Jason 11:43, 23 September 2007 (UTC)
 * When you updated the DB did you move the images folder from the old installation to the new one?--Gregorcy 21:44, 25 September 2007 (UTC)
 * Yes, and I checked and made sure all images were uploaded properly. --Jason 18:28, 26 September 2007 (UTC)
 * I know this might seem as though I'm pestering, but does anybody have any clue as to how to fix this issue? It really is of the utmost importance.--Jason 23:38, 28 September 2007 (UTC)


 * Since upgrading to 1.11.0, URL rewriting has ceased to work properly. I checked the .htaccess, and rewriting is on. In fact, to go to a URL manually or to search for a page will take you to the correct page with the correct URL. It is only with special functions (such as editing, uploading, viewing history, etc) that the user is taken to the wrong URL.

My previous URL schema was /pagename. I have changed it to /index.php?title=pagename in order to fix this URL issue - clicking on any of the tabs at the top of the page brings you to an odd index.php page when the URL schema is the former. It is, however, crucial that the short URL's are working. --Jason 11:30, 22 September 2007 (UTC)
 * I'm having this trouble since upgrading to MW1.11 as well, I've found that it's not the rewriting itself, but rather seems to be a problem with having $wgArticlePath set to "/$1", it stops it from being broken by setting it to "/wiki/index.php/$1" (or whatever path your is at), but of course this means that some URL's won't be friendly. I'll let you know when I figure out the problem and get the URL's working properly again. --Nad 12:10, 22 September 2007 (UTC)
 * I'm narrowing the problem down (see MediaWiki 1.11 title extraction bug), and have found the the issue only occurs when $wgUsePathInfo is set to true. The $wgUsePathInfo global is used to allow URL's to specify the article title using a slash after index.php (eg. /wiki/index.php/myArticle). If you ensure that your rewrite rule translates friendly URL's to the full long-form using the title query-string item, then setting $wgUsePathInfo to false will get your friendly URL's working properly again. The only drawback of this is that you won't be able to have titles with un-encoded ampersands in them, but this is far less of a problem than friendly URL's not working at all. --Nad 04:39, 23 September 2007 (UTC)
 * I narrowed the problem down to a new WebRequest method called extractTitle, but I'm not sure what they're trying to do with it, so until they come up with a proper solution I've just replaced the WebRequest constructor method with the one from MediaWiki 1.10, and made the interpolateTitle method (which makes the calls to the problematic extractTitle method) return without doing anything. This allows $wgUsePathInfo to be set to true allowing /wiki/index.php/foo style requests. See MediaWiki 1.11 title extraction bug for details. --Nad 07:08, 23 September 2007 (UTC)
 * Thank you, this solution has fixed the problem. Let's hope they do something with that extra code, else get rid of it altogether. --Jason 11:43, 23 September 2007 (UTC)

CommonSettings.php
How do I get this to work properly?? Just installed MediaWiki 1.11 on WAMP, Windows XP Home Edition. I'm using this so all my wikis which run MW 1.11 have the same settings. Thanks, —82.42.237.84 22:32, 22 September 2007 (UTC)

Adding link entries into the footer section
Hi Im trying to add links into the footer section and just wondering how to do this through MonoBook.php. Ive found the section: // Generate additional footer links ?>			 data[$aLink] ) && $this->data[$aLink] ) { ?>				">html($aLink) ?> <?php 		} And wish to add page links in here. For example, Id like to have a link in here called: Change Log That goes to page http:// /mediawiki/index.php/Change_Log I cant hard code the full url path, because my server is accessed via 2 different urls, so I need to somehow put the new entry in without hardcoding the server name. Thank you. —58.175.32.115 23:51, 22 September 2007 (UTC)
 * There is a global variable called $wgServer which is the domain that the current request is dealing with. Have a look at all the path variables as others may also be of interest. Also if you want to create a link to a title which uses the proper URL format and is independent of the current domain or wiki installation specifics, use the following method:


 * --Nad 03:41, 23 September 2007 (UTC)

Hi Nad! Thank you heaps! You really do know your stuff!!! :>) Thank you.

Config subdirectory unwritable by webserver.
When i go to my wiki, it comes up with a message saying

"In order to configure the wiki you have to make the config subdirectory writable by the web server. Once configuration is done you'll move the created LocalSettings.php to the parent directory, and for added safety you can then remove the config subdirectory entirely."

I do not have access to the server, what should i do? —75.17.17.185 15:41, 23 September 2007 (UTC)
 * You must have had sufficient access to be able to get the MediaWiki installation there, whatever you used for that (eg. an FTP program?) should give you the ability to set permissions on the files. --Nad 21:31, 23 September 2007 (UTC)
 * I used an FTP client, i dont know which permissions to set to make the directory writable.
 * You'll need to read the documentation for you ftp client to find out how you go about setting file permissions with it, when you've done that just make the config directory world-writable during install then move the generated LocalSettings.php file into the parent directory and lock the config directory down again or delete it. --Nad 03:50, 24 September 2007 (UTC)

Thanks for your help =)

Can I call a Command Line Tool (in maintenance directory) without command line access?
Is it possible to call the command-line tool (dumpBackup.php for example), located in the maintenance directory, without having access to the command line? I mean - php code should be able to call other php code...

Thanks for help, -PMay 16:54, 23 September 2007 (UTC)


 * There is a browser-based command line script thingy at phpShell. — color probe — Talk  — Contribs 18:11, 23 September 2007 (UTC)

nofollow tags
I'm aware that this probably sounds noobish, but I would like some basic information on how to add the  attribute to the   tags for a specific interwiki link prefix. The wiki that I aid in administrating is trying to avoid boosting this one site's rankings as much as possible, which is difficult, seeing as we frequently link to them. I'm very inexperienced at PHP coding, and any assistance would be much appreciated. —Linus M. 17:44, 23 September 2007 (UTC)

__NEWSECTIONLINK__ on every page in Main Namespace
Hi guys! Id like to include the NEWSECTIONLINK on every page/and every newly-created page, by default in the Main Namespace. Appreciate if someone could give me some pointers. Thanks —58.175.32.115 02:44, 24 September 2007 (UTC)
 * Adding the following to your localsettings should do it, no guarantees though ;-) --Nad 04:28, 24 September 2007 (UTC)

Thanks Nad champion. I will give it a try :>) Nad gave it a try and it didnt add. Wondering if there is any way to add this to a template, and the template is called for every page in the Main Namespace.
 * I tested the code and it does as expected, but make sure you edit and save or add action=purge to ensure you're not viewing cached output, because changes to the script do not invalidate parser-cache content. --Nad 07:38, 24 September 2007 (UTC)
 * >) Thanks Nad will do.

Showing older versions until the newer version of an artical ain't released
OK, my English is not so good but I hope you'll understand me anyway.

I want to protect my articles of viewing by anyone except a special group. If anyone else is trying to watch these articel, protected by me, he will be shown an older version that was released earlier. It's a kind of quality management. As long the newer informations are not checked by anybody in that special group, the older version of this articel should be shown. Is there any extension or a possibility of MediaWiki to do that? —213.214.18.64 06:52, 24 September 2007 (UTC)
 * This is a popular request, but currently I don't think there is such an extension. --Nad 07:41, 24 September 2007 (UTC)
 * Actually there is Extension:PageProtectionPlus, and Extension:CrudeProtection that seem to address the issue here. Check these out. 72.149.111.10 12:39, 24 September 2007 (UTC)
 * Neither of those extensions appear to be addressing this requirement. The idea I believe is to limit the default public view of an article to a certain revision until a member of an authorised group releases it to either the current or a more recent revision. None of the current security extensions are dealing with revisions, but rather just deny access completely to certain content of all revisions. --Nad 22:20, 24 September 2007 (UTC)
 * Exactly. Those extensions doesn't accomplish the requirements --213.214.18.64 12:12, 26 September 2007 (UTC)
 * I don't think this is too difficult to achieve and I'm working on a simple extension to do it, your comments about the method would be welcome, see OrganicDesign:Talk:Extension:PublicRevision.php --Nad 11:20, 27 September 2007 (UTC)

Upload files directly into a page
Hi! Just wondering if there is an extension that will allow you to upload files directly into a page instead of using the "Upload File" option, which you then have to reference what file you have uploaded into the page. —58.175.32.115 08:41, 24 September 2007 (UTC)
 * No, sorry. You do have to admit, though, that refrencing it inside an article makes it appear neater when you go to edit it. 72.149.111.10 12:45, 24 September 2007 (UTC)

write a message at the top of the article
I want to display one message at top of any any article that will be decided by administrator. Please have one look at http://en.wikipedia.org/wiki/Honesty and tell me how to implement it in mediawiki Thanks in advance —Bpishere 11:00, 24 September 2007 (UTC)
 * That's just a template, you can see it in the source if you edit the page. Are you meaning that you want a message to appear on all pages without adding a template to the source? --Nad 20:58, 24 September 2007 (UTC)
 * Sounds like the global $wgSiteNotice is what you are after. You can set it in LocalSettings.php. --Rob 21:19, 29 September 2007 (UTC)

posix_uname
Whenever I try to enter my wiki, this error pops up: Warning: posix_uname has been disabled for security reasons in /home/diez2/public_html/wiki/includes/Setup.php on line 80 Also, the function in setup.php on line 80 is: if ( function_exists( 'posix_uname' ) ) { $wguname = posix_uname; $wgNodeName = $wguname['nodename']; } else { $wgNodeName = ''; } What is going on here? 72.149.111.10 12:38, 24 September 2007 (UTC)
 * It's probably that your hosting provider has disabled the uname functionality at the OS level but has not disabled it from PHP. The php.ini needs to be edited to remove the uname function. Alternatvely just hack the code by removing the condition above and setting $wgNodeName to the empty string. --Nad 21:03, 24 September 2007 (UTC)

DynamicPageList2 and MW 1.11
This is a Simple Forms issue so I've moved it to Extension talk:Simple Forms --Nad 21:09, 24 September 2007 (UTC)

Searching for content directly from mySql
I am trying to generate a SQL Query so I can do some custom search's on the database trying to find some information. Can someone please help me with this query? I don't think I have it 100% correct to only pull CURRENT articles that match certain items i will insert into the query string.

SELECT page_id, page_title, old_text FROM wikidb.page, wikidb.revision, wikidb.text WHERE page_title like '%A Title%' AND old_text not like '%#REDIRECT%' AND page_id=rev_page AND page_latest=rev_id AND rev_text_id=old_id ORDER BY	page_title —143.166.226.40 22:27, 24 September 2007 (UTC)

Optimizing for Mobile Phone
Hi

I'd like to optimize my wiki specially for mobile phones. So I have to limit the size of pages and images. How can I manage this, I couldn't find any informations about this topic. THX

—Hfritschi 07:16, 25 September 2007 (UTC)
 * The [ chick] skin which is one of the out-of-the-box skins is considered to be a minimal skin for use with low-resolution devices. --Nad 08:28, 25 September 2007 (UTC)

Thanks for your advice I changed the skin to chick but it's not exactly what I want because the skin is changed when I open the page on my mobile. I'd like to limit the count of characters so the pages won't be to big for downloading on the mobile. --Hfritschi 13:52, 25 September 2007 (UTC)


 * I once submitted something similar as bugzilla:9711; maybe this is something more likely to be done on API. Tizio 14:51, 25 September 2007 (UTC)
 * It would be reasonably easy to modify a copy of an existing skin such as monobook to provide simpler output. If you have some knowlege of php you could, for example, make a function that would truncate the page after the first paragraph (before the table of contents). This usually gives quite a good summary of the page and would probably be small enough to be useful on a phone. --Rob 21:33, 29 September 2007 (UTC)

Problems Installing Wiki on Godaddy Hosting
Hi i am new to mediawiki and have always wanted to install a wiki on my site but for the past few days i've been having quite a bit of errors with different versions of your installs i first downloaded 1.6 and it gave me an error saying the string was to long(1024) when inserting into mysql db then i downloaded 1.11(current version) it gave me the same error so finally i downloaded 1.9.3 then i received error saying incorrect php version(my hosting has 5) so i fixed that now i have the page successfully installed but when i click the link it provides after the install i get a blank white page http://wiki.clanska.net/index.php?title=Main_Page i know the php script is working because if you try just typing wiki.clanska.net it automatically puts in http://wiki.clanska.net/index.php?title=Main_Page has anyone else had this problem with there installing of the wiki on there godaddy hosting? —Idiot nation2000 14:57, 25 September 2007 (UTC)

Delete old Image-version?
Is it possible to delete old Image-Versions permanently?

I've seen that they are stored in the folder "deleted" and were renamed, so I don't know which pic I could delete. Is there any better way to do this?

Thanks for help! —84.60.19.172 21:35, 25 September 2007 (UTC)

Site logo only showing on EDIT pages. Does not appear when viewing page directly
Just did a fresh install. I have $wgLogo configured correctly, but it does not show on my pages when viewing them normally. It does however show when I go to edit a page. I am assuming this is an issue with some script path. Any suggestions? Thanks. --97.100.47.148 21:36, 25 September 2007 (UTC)
 * That's really odd - can you see a difference in the html source around the image in normal view compared to edit? or perhaps it's to do with JS being loaded in edit and not in normal view - the transparency fix in wikibits.js may be affecting it? --Nad 00:16, 26 September 2007 (UTC)

Uploading
The uploading to my site is working great except when its a rather large image. Instead of creating a thumbnail for it, it's taking me to a blank page. I have other images that are smaller that are working fine.

Here is an example of one not working: The direct link here [] where it uploaded is fine..

As you can see from my [Imagelist] it's working fine for the other images.

What am I doing wrong? —Eroc 21:53, 25 September 2007 (UTC)


 * sorry I scewed up and didn't include a headline, hope this fixed it... -Eroc 21:56, 25 September 2007 (UTC)

Links
Hi there,

I'm a newbie with wikimedia. I installed it described in the manual and it works fine. Now I have one problem. We want to use wikimedia in our intranet. For the usage, it is necessary, that we can place links to files on our fileserver. But the only links i can set, are http, ftp, media and picture. I read some faq's, but i didn't found an answer. how can I link e. g. *.doc - files on a intranet - fileserver?

thank you

donhuan78p

—Donhuan78p 08:35, 26 September 2007 (UTC)
 * You can add the file:// protocol to $wgUrlProtocols but your browser will still not allow the links to work. You need to adjust the browser settings or add a plug-in, for example see the LocalLink extension for Firefox. --Nad 08:59, 26 September 2007 (UTC)

Geshi
hello,

i am using mediawiki version 1.11 and now i want to use the geshi extension. i installed it how the manual tells but it doesn't work. please help me.

thx gorac

—194.94.72.252 11:35, 26 September 2007 (UTC) There are many different GeSHi extensions, which one did you use? and what are the details of the problem that's happening?
 * Extension:Geshi
 * Extension:GeSHiCodeTag
 * Extension:SyntaxHighlight GeSHi
 * Extension:SyntaxHighlight GeSHi extension

Adding HTML
Can I add an html. link into the Main page?
 * You have to have  set to   in your LocalSettings.php, see Manual:$wgRawHtml, to be able to use HTML -- Dr DBW  |  talk  22:42, 26 September 2007 (UTC)
 * is very dangerous. Use Extension:HTMLets -- Duesentrieb ⇌ 23:30, 26 September 2007 (UTC)

Question about ifexist
Hi all,

I'm a user at the galician wikipedia. We have some images there in .jpg format that exist in commons in .svg format, and a template that uses the images in .jpg. I tried to use the expression to choose the svg image if it exists in commons and the local jpg if not, but i realized that this can't be done, it just can check wether a local page exists or not. Does anyone know if there is some way to do this check? I hope I have explained myself, if not just let me know. Thanks in advance. —Banjo 20:19, 26 September 2007 (UTC)
 * I don't think you can do a condition on an external item like that, you could try doing an interwiki-transclusion inside a condition, but I don't think it would be a very good idea as it would make the site unresponsive. --Nad 02:23, 27 September 2007 (UTC)

Random page in different namespaces
If you click on Special:Random you go to a page in the main namespace. If you click on Special:Random/Help you go to a page in the help namespace. Is is possible to specify which namespaces will be included if you click on Special:Random? Or does there exist another way for doing this? SPQRobin 21:23, 26 September 2007 (UTC)

BASEPAGENAME problem
Hi,

I'm running MediaWiki 1.11.0, and I am experiencing problems with the variable which does not seem to work correctly for sub-pages. For a Page named Something:Foo/Bar, instead of returning 'Foo', it returns 'Foo/Bar'. Any ideas? —194.112.191.2 23:47, 26 September 2007 (UTC)
 * Solved. Finally found Manual:%24wgNamespacesWithSubpages. --194.112.191.2 23:57, 26 September 2007 (UTC)

image directory permissions
With $wgHashedUploadDirectory set to true, MediaWiki 1.11.0 is creating image subdirectories with permissions=644. That's not good; they need to be 755. Is this a known issue? Is there some configuration option I need to set?

MediaWiki: 1.11.0, PHP: 5.2.4/phpsuexec, MySQL: 4.1.22-standard, Linux 2.6.19.2-grsec &mdash; 71.232.147.135 01:02, 27 September 2007 (UTC)
 * Actually, the subdirectories in images are being set to 744 (not 644 as above). They need to be 755. safe_mode is off, open_base_dir is unset. Help! &mdash; 71.232.147.135 14:40, 30 September 2007 (UTC)

PHP settings for regular expressions
I'm trying to create Belarusian Tarashkevitsa Cyrillic <-> Latin converter based on Crimean-Tatar converter written by AlefZet.

I tested it on XAMPP 1.6.3a (Apache HTTPD 2.2.4, MySQL 5.0.45, PHP 5.2.3) for WinXP with MediaWiki 1.11.0, but it's works incorrectly in cases where regular expressions with Cyrillic characters (UTF-8) are involved.

What is correct configuration of PHP (php.ini) must be for work of regular expressions with UTF-8 characters?

Thank you for help.

EugeneZelenko 03:18, 27 September 2007 (UTC)
 * Are you using preg or ereg? preg will usually handle exotic features more robustly and also usually perform faster then the native PHP ones. --Nad 04:48, 27 September 2007 (UTC)
 * Converter uses preg_replace. Regular expressions which works incorrectly are very simple ones like С[Ьь].
 * You could see converter code in be-x-old:Удзельнік:EugeneZelenko/Канвэртар.
 * EugeneZelenko 13:36, 27 September 2007 (UTC)

Wiki- Visitor Count
The OSC practice has the following WIKI http://hpedia.fc.hp.com/index.php/Outsourcing_Solutioning_Methodology. We wanted to know more about he visitor count for this page. The count is provided at the bottom of the page. Is the count set to "0" (Zero) begining of every month or its a cummulative count that is depicted in the page. —15.219.201.69 04:00, 27 September 2007 (UTC)
 * Accumulative. -- Dr DBW  |  talk  00:25, 28 September 2007 (UTC)

Hope someone else can verify this.....(Bug? or not eg.by design)
Hi guys. This is most likely by design, but I thought Id mention it. I want to use the Extension ArticletoCategory, so when I go to a Category page, I can enter the name of a new page in a text box, and it threads in automatically, the Category name. This works fine on its own. However, I also use the Extension Preloader, and i have a 1 liner in the file Template:Boilerplate, which I attach to all pages created in the Main Namespace by default. It is __NEWSECTIONLINK__. It looks like you cant use the Preloader and Template Boilerplate WITH the Extension ArticleToCategory. What happens is that if you try and create a new page FROM a Category page, and input the name of the new page, the Extension ArticleToCategory ceases to work, and the Category name is not automatically inserted into the new page's contents. Only the Preloader text is there. If someone else could verify this, or could tell me that you cant use Preloader with Extension ArticleToCategory, that would be great. I would also be great if you could use both together. Thank you.

—58.175.32.115 07:14, 27 September 2007 (UTC)

allow registration only after confirmation by SYSOP
I wonder if it is possible to allow user registration only after confirmation/approvement by SYSOP. Couldn't find it anywhere. --82.113.113.81 09:32, 27 September 2007 (UTC)


 * There is an extension called ConfirmAccount which you could try. — color probe — Talk  — Contribs 18:05, 27 September 2007 (UTC)

Create own Categories
Is it possible to create own Categories, so I can add pages to this "category"?

Example: I'm planning a wiki about books and want to allocate this book to an author, so I get a complete listing of all books from this author automatically. If I do this with a Category, the page has the name "Category:Name of the Author". My wish is, to get the name "Author:Name of the Author". Is there any way to do this?

Thanks for help -80.141.61.210 10:58, 27 September 2007 (UTC)
 * Categories are a special namespace and there can't be multiple ones that work like that, you could change the textual name of NS_CATEGORY, but that would mean all categories would then be authors. A couple of ways which would work but are a bit of a hack are:

Both methods should have the "Author" namespace added. --Nad 11:16, 27 September 2007 (UTC)
 * Put   in the author category to change its displayed title, then create corresponding article called "Author:xxxx" which redirect to the appropriate category.
 * Create articles of the name Author:xxxxx which contain DPL queries of the form   which would then behave just like the category page would do.

Cannot Upload foto's it gives a Internal error....
I Cannot upload anything on my wiki. If i do that it gives this error.

Internal error

Could not create directory "public/e/ea".

I made the directory public in my wiki dir and chmod 777 on it. But still no succes. Please help me !

Thank you, Bombaci —83.80.25.69 12:22, 27 September 2007 (UTC)
 * Make sure the directory is owned by the same user/group as the webserver, if still no luck you may find that PHP has been given restricted access in which case you can set $wgHashedUploadDirectory to false so that directories do not need to be created when uploading files. --Nad 20:59, 27 September 2007 (UTC)

MediaWiki 1.11.0 - IE7 Bugs with SearchPortlet / wgServer undefined? Need help please!
Hi, i moved with my wiki from keyweb to 1blu.de -> watch-wiki.de redirects now to the new site: http://57495.webhosting22.1blu.de There i got 2 problems with the Internet Explorer 7 (6 not tested). In Firefox i can enter a searchstring in the search-portlet and can press enter to search for. Works fine. But when i enter a string in IE there i got an error from the IE which says: 'wgServer' is undefined....Line 43 but dont know which file.... but i can press the "artikel" button to do the search, that works but the second problem is that the enter button does not work in IE to perform a search!

can anybody help me please? —85.179.216.181 12:23, 27 September 2007 (UTC)

MediaWiki and Oracle???
hi,

we want to build a little troubleshooting database and wanted to realize this with mediawiki and oracle. i saw that in version 1.6 mediawiki had a point oracle (experimental) included. but now i cannot find anything about mediawiki and oracle. can someone tell me if there is a possibility to run mediawiki with an oracle database? or might that feature be implemented in later releases?

thanx for ur ansers so far thomas

—213.61.105.90 14:00, 27 September 2007 (UTC)

Auto Refreshing pages in Mediawiki
Guys! Id like to add the below code to EVERY page of my wiki into the section, which auto refreshes the current page every 60 seconds. Im not sure which php file to add this to, whether its skin.php, index.php etc. Thank you. 

—58.175.32.115 22:43, 27 September 2007 (UTC)
 * Best not to hack scripts in the codebase, add the following to your localsettings.php --Nad 01:49, 28 September 2007 (UTC)

Hi Nad :>) As always a huge thankyou.

UML Class Diagram
Hi, I am a Computer Science Student in BC Canada. I am currently studying your MediaWiki source code and seeing how I can integrate it into my Practicum Project. I am wondering if you have a UML Class Diagram or Flow Charts that you can provide to help me get an overview of the interaction between the modules/classes? You can contact me via my E-Mail address at recyclerx@yahoo.com. —24.82.215.253 01:06, 28 September 2007 (UTC)

Page Title Heading Not Present
Noticed that Wikipedia on the Main Page does not have the page title heading at the top. How do you do that? -- Dr DBW |  talk  02:19, 28 September 2007 (UTC)
 * Found it Help:FAQ -- Dr DBW |  talk  03:17, 28 September 2007 (UTC)
 * Have added  to MediaWiki:common.css, cleared cache of the page, and the page title is still there.  The correct classes are present in the source, so it should work, but it doesn't ;-(  Any suggestions on why / what I have done wrong? -- Dr DBW  |  talk  03:47, 28 September 2007 (UTC)

My tables do not have a border
I have a basic MediaWiki installation. With very few extensions and no URL rewriting stuff. But when I insert a table into an article it doesnt have a border. Wiki URL ist http://wiki.eniak.info

Can anybody maybe give me a hint? Maybe some CSS error? —PMay 11:28, 28 September 2007 (UTC)
 * I can't see any examples of tables on your wiki. Can you create a page with a table that shows this behaviour. --Rob 21:12, 29 September 2007 (UTC)


 * Thanks Rob! Here is the Example: http://wiki.eniak.info/index.php/EniakWiki:TODO#Administration Do you "see" anything that could be wrong? Thanks! - PMay 08:53, 1 October 2007 (UTC)

IFRAMES in Mediawiki? Is this possible?
Hi guys. Im just wondering if mediawiki supports the use of iframes. Im trying to do the following from MonoBook.php....

 Just not sure if this is possible or not. Thank you. —58.175.32.115 12:38, 28 September 2007 (UTC)

Warning: Unknow...
I have this two problems:

Warning: Unknown: open(tcp://172.17.1.38:11211/sess_8f8949d6b957a4dba574215a37b5e656, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (tcp://172.17.1.38:11211) in Unknown on line 0

And I cannot login in.

which is the problem?

Thanks ^^

(Media Wiki 1.11.0)

--89.128.5.80 16:03, 28 September 2007 (UTC)
 * The port 11211 which is referred to in the error is the one usually used by memcached, so you may have a sophisticated memory caching system setup for your session handling which is not supposed to be enabled (in which case the value for session.save_path would be something like  /var/lib/php5 instead of tcp://172.17.1.138:11211), or is not configured properly. --Nad 05:23, 29 September 2007 (UTC)

Editing of sections of multisection articles is impossible in my wiki. why? how to change?
Editing of sections of multisection articles is impossible in my wiki. why? how to change?

When I try to alter a section of a multisection article in my wiki I only get an empty edit window but not with the text of the selected section. Please see the test entry on the link above.

What can I do to correct this?

Thanks a lot for your help!

—JB82 16:17, 28 September 2007 (UTC)
 * If you look at the URL of the secton-edit links you'll see that they're not correct, they have "?section=" instead of "&section=" (question-mark instead of ampersand). I don't know what may be the reason for that, but that's what needs to be fixed to get your section edit links working again. --Nad 05:21, 29 September 2007 (UTC)

Database abstraction for Oracle
Is anyone working on porting Wikimedia to the Oracle database. The last entry I can find is from 2005.

Thanks in advance. —Phogan 21:36, 28 September 2007 (UTC)

Problems with Umlauts (sorry, might be a FAQ)
When submitting a edit page that contains umlauts (äöü), my browser just receives an empty page and the page is not saved to the database. Submitting a page without umlaut characters works. I am grateful for any help, contact me at mw@teuto.net

phpinfo gives: PHP Version 5.0.3 System 	Linux h1306581 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686 Build Date 	Apr 23 2005 06:58:32 Configure Command 	'../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib' '--includedir=/usr/include' '--with-_lib=lib' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' Server API 	Apache 2.0 Handler Virtual Directory Support 	disabled Configuration File (php.ini) Path 	/etc/php5/apache2/php.ini Scan this dir for additional .ini files 	/etc/php5/conf.d additional .ini files parsed 	/etc/php5/conf.d/bcmath.ini, /etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/calendar.ini, /etc/php5/conf.d/ctype.ini, /etc/php5/conf.d/curl.ini, /etc/php5/conf.d/dba.ini, /etc/php5/conf.d/dbase.ini, /etc/php5/conf.d/dbx.ini, /etc/php5/conf.d/dio.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/exif.ini, /etc/php5/conf.d/fam.ini, /etc/php5/conf.d/filepro.ini, /etc/php5/conf.d/ftp.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/gettext.ini, /etc/php5/conf.d/gmp.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/imap.ini, /etc/php5/conf.d/ldap.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mhash.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/ncurses.ini, /etc/php5/conf.d/odbc.ini, /etc/php5/conf.d/openssl.ini, /etc/php5/conf.d/pcntl.ini, /etc/php5/conf.d/pgsql.ini, /etc/php5/conf.d/posix.ini, /etc/php5/conf.d/readline.ini, /etc/php5/conf.d/shmop.ini, /etc/php5/conf.d/snmp.ini, /etc/php5/conf.d/soap.ini, /etc/php5/conf.d/sockets.ini, /etc/php5/conf.d/sqlite.ini, /etc/php5/conf.d/sysvmsg.ini, /etc/php5/conf.d/sysvsem.ini, /etc/php5/conf.d/sysvshm.ini, /etc/php5/conf.d/tokenizer.ini, /etc/php5/conf.d/wddx.ini, /etc/php5/conf.d/xmlrpc.ini, /etc/php5/conf.d/xsl.ini, /etc/php5/conf.d/yp.ini, /etc/php5/conf.d/zlib.ini PHP API 	20031224 PHP Extension 	20041030 Zend Extension 	220040412 Debug Build 	no Thread Safety 	disabled IPv6 Support 	enabled Registered PHP Streams 	php, file, http, ftp, compress.bzip2, https, ftps, compress.zlib Registered Stream Socket Transports 	tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

Configuration PHP Core Directive	Local Value	Master Value allow_call_time_pass_reference	Off	Off allow_url_fopen	On	On always_populate_raw_post_data	Off	Off arg_separator.input	&	& arg_separator.output	&	& asp_tags	Off	Off auto_append_file	no value	no value auto_globals_jit	On	On auto_prepend_file	no value	no value browscap	no value	no value default_charset	no value	no value default_mimetype	text/html	text/html define_syslog_variables	Off	Off disable_classes	no value	no value disable_functions	no value	no value display_errors	Off	Off display_startup_errors	Off	Off doc_root	no value	no value docref_ext	no value	no value docref_root	no value	no value enable_dl	On	On error_append_string	no value	no value error_log	no value	no value error_prepend_string	no value	no value error_reporting	2047	2047 expose_php	On	On extension_dir	/usr/lib/php5/extensions	/usr/lib/php5/extensions file_uploads	On	On highlight.bg	#FFFFFF	#FFFFFF highlight.comment	#FF8000	#FF8000 highlight.default	#0000BB	#0000BB highlight.html	#000000	#000000 highlight.keyword	#007700	#007700 highlight.string	#DD0000	#DD0000 html_errors	On	On ignore_repeated_errors	Off	Off ignore_repeated_source	Off	Off ignore_user_abort	Off	Off implicit_flush	Off	Off include_path	.:	.: log_errors	On	On log_errors_max_len	1024	1024 magic_quotes_gpc	Off	Off magic_quotes_runtime	Off	Off magic_quotes_sybase	Off	Off mail.force_extra_parameters	no value	no value max_execution_time	30	30 max_input_time	60	60 memory_limit	8M	8M output_buffering	4096	4096 output_handler	no value	no value post_max_size	8M	8M precision	14	14 register_argc_argv	Off	Off register_globals	Off	Off register_long_arrays	Off	Off report_memleaks	On	On report_zend_debug	On	On safe_mode	Off	Off safe_mode_exec_dir	no value	no value safe_mode_gid	Off	Off safe_mode_include_dir	no value	no value sendmail_from	no value	no value sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i serialize_precision	100	100 short_open_tag	On	On SMTP	localhost	localhost smtp_port	25	25 sql.safe_mode	Off	Off track_errors	Off	Off unserialize_callback_func	no value	no value upload_max_filesize	2M	2M upload_tmp_dir	no value	no value user_dir	no value	no value variables_order	GPCS	GPCS xmlrpc_error_number	0	0 xmlrpc_errors	Off	Off y2k_compliance	On	On zend.ze1_compatibility_mode	Off	Off

Directive	Local Value	Master Value engine	1	1 last_modified	0	0 xbithack	0	0

bcmath BCMath support 	enabled

bz2 BZip2 Support 	Enabled BZip2 Version 	1.0.2, 30-Dec-2001

calendar Calendar support 	enabled

ctype ctype functions 	enabled

curl CURL support 	enabled CURL Information 	libcurl/7.13.0 OpenSSL/0.9.7e zlib/1.2.2

dba DBA support 	enabled Supported handlers 	gdbm cdb cdb_make db4 inifile flatfile

dbx dbx support 	enabled dbx version 	1.1.0 supported databases 	MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT SQLite

Directive	Local Value	Master Value dbx.colnames_case	lowercase	lowercase

dio dio support 	enabled

dom DOM/XML 	enabled DOM/XML API Version 	20031129 libxml Version 	2.6.17 HTML Support 	enabled XPath Support 	enabled XPointer Support 	enabled Schema Support 	enabled RelaxNG Support 	enabled

exif EXIF Support 	enabled EXIF Version 	1.4 $Id: exif.c,v 1.162.2.2 2004/11/10 01:44:28 iliaa Exp $ Supported EXIF Version 	0220 Supported filetypes 	JPEG,TIFF

fam fam support	enabled

ftp FTP support 	enabled

gd GD Support 	enabled GD Version 	bundled (2.0.28 compatible) FreeType Support 	enabled FreeType Linkage 	with freetype FreeType Version 	2.1.9 GIF Read Support 	enabled GIF Create Support 	enabled JPG Support 	enabled PNG Support 	enabled WBMP Support 	enabled XPM Support 	enabled XBM Support 	enabled

gettext GetText Support 	enabled

gmp gmp support 	enabled

iconv iconv support 	enabled iconv implementation 	glibc iconv library version 	2.3.4

Directive	Local Value	Master Value iconv.input_encoding	ISO-8859-1	ISO-8859-1 iconv.internal_encoding	ISO-8859-1	ISO-8859-1 iconv.output_encoding	ISO-8859-1	ISO-8859-1

imap IMAP c-Client Version 	2000 SSL Support 	enabled Kerberos Support 	enabled

ldap LDAP Support 	enabled RCS Version 	$Id: ldap.c,v 1.154 2004/06/28 22:31:28 iliaa Exp $ Total Links 	0/unlimited API Version 	3001 Vendor Name 	OpenLDAP Vendor Version 	20223

libxml libXML support 	active libXML Version 	2.6.17 libXML streams 	enabled

mbstring Multibyte Support 	enabled Multibyte string engine 	libmbfl Multibyte (japanese) regex support 	enabled Multibyte regex (oniguruma) version 	2.2.4

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive	Local Value	Master Value mbstring.detect_order	no value	no value mbstring.encoding_translation	Off	Off mbstring.func_overload	0	0 mbstring.http_input	pass	pass mbstring.http_output	pass	pass mbstring.internal_encoding	no value	no value mbstring.language	neutral	neutral mbstring.substitute_character	no value	no value

mcrypt mcrypt support	enabled Version 	2.5.7 Api No 	20021217 Supported ciphers 	cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes 	cbc cfb ctr ecb ncfb nofb ofb stream

Directive	Local Value	Master Value mcrypt.algorithms_dir	no value	no value mcrypt.modes_dir	no value	no value

mhash MHASH support 	Enabled MHASH API Version 	20020524

mysql MySQL Support	enabled Active Persistent Links 	0 Active Links 	1 Client API version 	4.1.10a MYSQL_MODULE_TYPE 	external MYSQL_SOCKET 	/var/lib/mysql/mysql.sock MYSQL_INCLUDE 	-I/usr/include/mysql MYSQL_LIBS 	-L/usr/lib -lmysqlclient

Directive	Local Value	Master Value mysql.allow_persistent	Off	Off mysql.connect_timeout	60	60 mysql.default_host	no value	no value mysql.default_password	no value	no value mysql.default_port	no value	no value mysql.default_socket	no value	no value mysql.default_user	no value	no value mysql.max_links	Unlimited	Unlimited mysql.max_persistent	Unlimited	Unlimited mysql.trace_mode	Off	Off

mysqli MysqlI Support	enabled Client API version 	4.1.10a MYSQLI_SOCKET 	/var/lib/mysql/mysql.sock

Directive	Local Value	Master Value mysqli.default_host	no value	no value mysqli.default_port	3306	3306 mysqli.default_pw	no value	no value mysqli.default_socket	no value	no value mysqli.default_user	no value	no value mysqli.max_links	Unlimited	Unlimited mysqli.reconnect	Off	Off

ncurses ncurses support	enabled ncurses library version 	5.4 color support 	yes

odbc ODBC Support	enabled Active Persistent Links 	0 Active Links 	0 ODBC library 	unixODBC ODBC_INCLUDE 	-I/usr/local/include ODBC_LFLAGS 	-L/usr/local/lib ODBC_LIBS 	-lodbc

Directive	Local Value	Master Value odbc.allow_persistent	Off	Off odbc.check_persistent	On	On odbc.default_db	no value	no value odbc.default_pw	no value	no value odbc.default_user	no value	no value odbc.defaultbinmode	return as is	return as is odbc.defaultlrl	return up to 4096 bytes	return up to 4096 bytes odbc.max_links	Unlimited	Unlimited odbc.max_persistent	Unlimited	Unlimited

openssl OpenSSL support 	enabled OpenSSL Version 	OpenSSL 0.9.7e 25 Oct 2004

pcntl pcntl support	enabled

pcre PCRE (Perl Compatible Regular Expressions) Support 	enabled PCRE Library Version 	4.5 01-December-2003

pgsql PostgreSQL Support	enabled PostgreSQL(libpq) Version 	8.0.1 Multibyte character support 	enabled SSL support 	enabled Active Persistent Links 	0 Active Links 	0

Directive	Local Value	Master Value pgsql.allow_persistent	Off	Off pgsql.auto_reset_persistent	Off	Off pgsql.ignore_notice	Off	Off pgsql.log_notice	Off	Off pgsql.max_links	Unlimited	Unlimited pgsql.max_persistent	Unlimited	Unlimited

posix Revision 	$Revision: 1.60 $

session Session Support 	enabled Registered save handlers 	files user sqlite Registered serializer handlers 	php php_binary wddx

Directive	Local Value	Master Value session.auto_start	Off	Off session.bug_compat_42	Off	Off session.bug_compat_warn	On	On session.cache_expire	180	180 session.cache_limiter	nocache	nocache session.cookie_domain	no value	no value session.cookie_lifetime	0	0 session.cookie_path	/	/ session.cookie_secure	Off	Off session.entropy_file	no value	no value session.entropy_length	0	0 session.gc_divisor	1000	1000 session.gc_maxlifetime	1440	1440 session.gc_probability	1	1 session.hash_bits_per_character	5	5 session.hash_function	0	0 session.name	PHPSESSID	PHPSESSID session.referer_check	no value	no value session.save_handler	files	files session.save_path	/var/lib/php5	/var/lib/php5 session.serialize_handler	php	php session.use_cookies	On	On session.use_only_cookies	Off	Off session.use_trans_sid	0	0

shmop shmop support 	enabled

SimpleXML Simplexml support	enabled Revision 	$Revision: 1.139.2.4 $ Schema support 	enabled

snmp NET-SNMP Support 	enabled NET-SNMP Version 	5.2.1

soap Soap Client 	enabled Soap Server 	enabled

Directive	Local Value	Master Value soap.wsdl_cache_dir	/tmp	/tmp soap.wsdl_cache_enabled	1	1 soap.wsdl_cache_ttl	86400	86400

sockets Sockets Support 	enabled

SPL SPL support	enabled Interfaces 	RecursiveIterator, SeekableIterator Classes 	ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator

SQLite SQLite support	enabled PECL Module version 	2.0-dev $Id: sqlite.c,v 1.146.2.3 2004/09/26 01:41:40 wez Exp $ SQLite Library 	2.8.16 SQLite Encoding 	UTF-8

Directive	Local Value	Master Value sqlite.assoc_case	0	0

standard Regex Library 	Bundled library enabled Dynamic Library Support 	enabled Path to sendmail 	/usr/sbin/sendmail -t -i

Directive	Local Value	Master Value assert.active	1	1 assert.bail	0	0 assert.callback	no value	no value assert.quiet_eval	0	0 assert.warning	1	1 auto_detect_line_endings	0	0 date.default_latitude	31.7667	31.7667 date.default_longitude	35.2333	35.2333 date.sunrise_zenith	90.83	90.83 date.sunset_zenith	90.83	90.83 default_socket_timeout	60	60 safe_mode_allowed_env_vars	PHP_	PHP_ safe_mode_protected_env_vars	LD_LIBRARY_PATH	LD_LIBRARY_PATH url_rewriter.tags	a=href,area=href,frame=src,input=src,form=fakeentry	a=href,area=href,frame=src,input=src,form=fakeentry user_agent	no value	no value

sysvmsg sysvmsg support 	enabled Revision 	$Revision: 1.16 $

tokenizer Tokenizer Support 	enabled

wddx WDDX Support	enabled WDDX Session Serializer 	enabled

xml XML Support 	active XML Namespace Support 	active libxml2 Version 	2.6.17

xmlrpc core library version 	xmlrpc-epi v. 0.51 php extension version 	0.51 author 	Dan Libby homepage 	http://xmlrpc-epi.sourceforge.net open sourced by 	Epinions.com

xsl XSL 	enabled libxslt Version 	1.1.12 libxslt compiled against libxml Version 	2.6.17 EXSLT 	enabled libexslt Version 	1.1.12

yp YP Support 	enabled

zlib ZLib Support 	enabled Compiled Version 	1.2.2 Linked Version 	1.2.2

Directive	Local Value	Master Value zlib.output_compression	Off	Off zlib.output_compression_level	-1	-1 zlib.output_handler	no value	no value

Additional Modules Module Name dbase filepro readline sysvsem sysvshm

—85.180.238.114 10:15, 29 September 2007 (UTC)

Problem with uselang
I created an Upload page in Vietnamese Wikipedia using another language, for example, uselang=vi-ownwork, I've changed MediaWiki:Licenses/vi-ownwork to show appropriate Licenses to choose, but as you can see here and here, it doesn't show exactly. Can you help? —Vinhtantran 11:55, 29 September 2007 (UTC)

Unable to access article entitled C++
Hi, I wrote two articles entitled "C" and "C++", being articles relating to the two programming languages. When I tried to access "C++", the website returns "C". How can I access the article, "C++"? &mdash; PM Poon 18:44, 29 September 2007 (UTC)
 * The plus symbol translates to a space in URL encoding so you'll find that you can't type it directly in as a browser address, but if you create a link such as this, C++, you'll see it takes you to a percent-encoded version called "C%2B%2B". --Nad 21:40, 29 September 2007 (UTC)

Problem with InputBox, type=search
Hello, I'm an administrator of an Italian wiki, part of Wikia project. I posted once a few weeks ago. I have a problem with the inputbox tag, but I think it's a kind of compatibility problem, rather that a bug in the extension. Let me explain:

I use inputbox for searching issues, I have to create a tool that searches words inside the Namespace "Forum:". I've read on the "Parameters" chapter of the help-page of Inputbox extension how to do this. On the example included on the page, I put a string ("foo" for example) and checked the "Help" namespace. I clicked, it produced the URL: http://www.mediawiki.org/wiki/Special:Search?search=foo&ns12=1&fulltext=Ricerca+nel+testo And it showed me the occurrences in the namespace "Help:". Everything's ok.

So I put this code on my wiki:

I put the string "prova", I checked "Forum" namespace, I clicked, it produced the correct URL: http://nonciclopedia.wikia.com/wiki/Speciale:Ricerca?search=prova&ns110=1&fulltext=Cerca+nel+forum BUT... it showed me the occurrences in the  global namespace . Why in this wiki the same URL does work fine and in Wikia wikis does not? They have different versions? Some kind of compatibility and/or localization problem? I found that this URL works fine: http://nonciclopedia.wikia.com/wiki/Speciale:Ricerca?search=prova&ns110=1&searchx=Ricerca But I cannot tell this to inputbox... Is there a workaround or I simply have to renounce to my poor searching-tool? —Heavymachinegun 22:35, 29 September 2007 (UTC)

Short URLs with subdomain giving 404 when containing a slash
Hi! I recently installed a MediaWiki 1.11.0 on an Apache 1.3(cgi), PHP 5.2.2 and MySQL 4.1.22 server. I used the Subdomain with no Subdirectory in Article URL method to shorten my URLs. But now, when a page contains a slash, it gives me a 404 error message. What should I do? —85.73.207.115 06:16, 30 September 2007 (UTC)

Uploading+upload log error, possibly missing a table in SQL DB
Our server got hit by some hackers yesterday. They managed to replace every file with "index" in it's filename. I managed to restore all the index pages (dragged and dropped entire directories from a month-old backup), but now I'm having a problem with file uploading and the upload log:

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 "LogReader::getRows". MySQL returned error "1146: Table '.logging' doesn't exist (localhost)".

At first glance, it looks like an entire table got wiped out from the SQL database, yet I was assured these hackers never got to the SQL database server. Is this a glitch in the PHP code somewhere that I created by just dragging and dropping entire directories, or do I need to manually recreate this table and consider our entire upload log lost?

If I need to recreate it, I'll need a walkthrough on what tables/attributes I need to create.

Mediawiki Version: 1.6.9 PHP Version: 4.4.7 SQL Version: 4.1.22-standard —67.40.151.244 14:18, 30 September 2007 (UTC)

Updated my own question
I found the mediawiki page that described the logging table, and managed to stumble my way through recreating it. Looks like we just lost our entire logging table. Oh well, not like anything was under investigation at that time. --67.40.151.244 14:40, 30 September 2007 (UTC)

More problems, lost upload abilities again
Just tried to upload another picture, and apparently it wasn't enough to recreate the table.

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 "LogPage::saveContent". MySQL returned error "1062: Duplicate entry 'upload-1-6' for key 1 (localhost)".

How do I get out of this problem now? --67.40.151.244 15:28, 30 September 2007 (UTC)

Wrong key type, problem fixed
Mistook the key type from the page I got the table info from and had the field wrong. The SQL command DESCRIBE `logging` was telling me that my keys were PRI when they were supposed to be MUL. Got the change made and the upload worked like a charm. The lesson: Let the wiki's installation scripts do all the table creation for you. :) --67.40.151.244 15:55, 30 September 2007 (UTC)

Thumbnail
ImageMagick don't make thumbnails, but the directory is created with good rights. I have ImageMagick 6.3.2 and Fedora 7 with SELinux disabled. My localsettings.php are OK

$wgEnableUploads = true;

$wgUseImageMagick = true; $wgUseImageResize = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

I have this error on my http log : ulimit4.sh: /bin/bash^M: bad interpreter: No such file or directory

I have the shell /bin/bash on my machine

I have remove end of line from this file and now I have bin/ulimit4.sh: line 4: 1 : ambiguous redirect

I have done this file conversion for all files in bin directory of the wiki (from CRLF to LF) Now it works. It would be nice to add this to the Troubleshoot guide about thumbnail creation.

Now, I have restarted SELinux and it works good.

—Pppswing 15:25, 30 September 2007 (UTC)

Installing Google Analytics
I would like to track my MediaWiki stats using Google Analytics.

Can someone point me to resources to help me identify how to do this?

—nkaiser 08:47, 30 September 2007 (UTC)
 * Add the following to your LocalSettings.php,

Change the xxxx-x to your own Google Analytics account number. --Nad 20:31, 30 September 2007 (UTC)

Index page rendering blank
I just upgraded my MediaWiki installation to that latest version. The installation went just fine. However, when I browse to the wiki's root page, nothing renders, I just get a blank page.

For example: www.mydomain.com/wiki/ doesn't render anything But on the other hand: www.mydomain.com/wiki/index.php5?title=Main_Page works as it did before.

What gives?

—198.103.162.158 18:20, 1 October 2007 (UTC)

Special Upload Pages in Malayalam wikipedia
Hello All,

I am from Malayalam Wikipedia. We are having a problem with Special page in Malayalam Wikipedia. I approached English wikipedia and had a discussion regarding this in my talk page. See http://en.wikipedia.org/wiki/User_talk:Shijualex#Special_Pages_in_local_wikis for details.

We are trying to create the special upload pages as in the English Wikipedia (http://en.wikipedia.org/wiki/Wikipedia:Upload). As an experiment we started with the upload page http://en.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork. We have done all possible options to get the page as in English Wikipedia. Everything worked out fine but we have some problem with the License drop down list.

We are able to create the special page for uploading in Malayalam Wikipedia. As an experiment we have created/mofified the special upload page that is avaiable at http://en.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork in English Wikipedia. See the corresponding page in Malayalam Wikipedia at http://ml.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork.

But the license part is still creating problem. The license that is used in English wiki is available at http://en.wikipedia.org/wiki/MediaWiki:Licenses/en-ownwork. We have created the same license in Malayalam Wiki. See that at http://ml.wikipedia.org/wiki/MediaWiki:Licenses/en-ownwork. But still the license drop down list in this special page is showing the licenses that are defined at http://ml.wikipedia.org/wiki/MediaWiki:Licenses. We want this special page to show the same licenses as in English Wikipedia. How can we achieve this? Thanks in advance.

—Shijualex 18:45, 1 October 2007 (UTC)