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)
 * This issue has still not been solved. Nobody has any clue at all? --Jason 01:27, 4 October 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)

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)

Hi, I'm sorry I can't help you with finding the current version because I have only downloaded the dump without the old versions. But one hint: replace "AND old_text not like '%#REDIRECT%'" with "AND page_is_redirect=0". This should improve the performance significantly.

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)
 * I just installed 1.0.11 on GoDaddy Economy/Linux (the cheapest shared hosting) a couple of days ago. It installed flawlessly the first time & everything seems to work fine (so far). So my thoughts are - why you're trying to install older versions, and did you remember to move the config/LocalSettings? 67.77.145.181 19:32, 4 October 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

--82.230.53.160 18:08, 13 October 2007 (UTC) I have the same problem, using "SyntaxHighlight GeSHi" (it works fine before upgrade). Any tips or fix ?

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)


 * Same issue on my server, do you have any clue to correct this problem? It's really driving me crazy :(, thanx a lot. 81.208.83.224 18:05, 13 October 2007 (UTC)
 * Why's it a problem? as long as they're owned by the same user as php runs as it's the 7 that counts not the 44 or 55 or whatever. What's the actual problem that's occuring. It's strange though, all the mediawiki 1.11 code indicates that the image subdirectories are created with mode 777 so it must be some environment issue --Nad 19:54, 13 October 2007 (UTC)
 * Well my directories are created with user: www and group: myusername. Permissions are set to 0755, so I (group: myusername) can't remove any directory manually. I can confirm that wfMkdirParents is called with mode 0777 but each directory is 0755. Is there another way to set permissions at least to 0775? Thanx a lot. 81.208.83.224 02:15, 14 October 2007 (UTC)
 * Any clues for me? :) Thanx. 81.208.83.224 14:20, 16 October 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)
 * Anyone got an idea on why this isn't working? -- Dr DBW |  talk  07:33, 17 October 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)
 * What is you $wgArticlePath setting? if you're using short-url's you'll need to set $wgUsePathInfo to false, or patch the WebRequest.php, see MediaWiki 1.11 title extraction bug --Nad 21:05, 1 October 2007 (UTC)

Nope. That didn't fix it. Does anyone have any other ideas? I'm not using short urls.

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)
 * You need to set $wgUseDatabaseMessages to use modified messages in the MediaWiki namespace. Or you need to run the rebuildMessages.php maintenance script. --Nad 21:15, 1 October 2007 (UTC)

Help in Mediawiki paths
...here's a couple of good links to youtube firebug tutorials at Firefox --Nad 09:12, 2 October 2007 (UTC)

Thanks so much for your help Nad...will get cracking on it now...:>)

Nad, on inspecting it through firebug, the first image isnt part of the galleryarray. It seems like the glob loads all images from the panorama folder in the following format: var galleryarray = new Array;

galleryarray[0]='panorama/Panoramic.jpg'; galleryarray[1]='panorama/namibie_desert.jpg'; galleryarray[2]='panorama/qnljis_weimaraner.jpg'; galleryarray[3]='panorama/roadofnoreturn2.jpg'; galleryarray[4]='panorama/vervet_monkey.jpg'; Excellent progress :-) it must be that same old function that's the problem then because that's where galleryarray gets its values, does the FAKEPATH experiment show up in the galleryarray? The dirname must be correct because it's getting the correct list of images, but the conversion from the internal path to the external one isn't quite working. --Nad 10:24, 2 October 2007 (UTC)
 * I think I know what the problem is - there's two sets of images here, the ones we were originally accessing were in mediawiki/panorama - the same place the script is located, but the others are the ones in the skin directory. I've added some comments to the code above for using one or the other image location. --Nad 10:31, 2 October 2007 (UTC)

Hi Nad :>) Okay....would like to give you a summary: :>)

Correct GuMax.php location     /var/www/html/mediawiki/skins Correct Panorama location      /var/www/html/mediawiki/skins With: $images = glob('$IP/skins/panorama/*.jpg'); No Image displayed --> right click on div > http://fire/mediawiki/skins/gumax/ (This is what its pointing to for some reason) With: $images = glob('/panorama/*.jpg'); First load---> image is displayed --> path still wrong though --> http://fire/mediawiki/skins/gumax/panorama/vervet_monkey.jpg Subsequent images point to http://fire/mediawiki/index.php/panorama/test.jpg

First image loaded ---> http://fire/mediawiki/skins/gumax/panorama/vervet_monkey.jpg with $images = glob('panorama/*.jpg'); Subsequent images fail > http://fire/mediawiki/index.php/panorama/vervet_monkey.jpg with still set at $images = glob('panorama/*.jpg'); Dummy entry for $images = glob('FAKE/*.jpg'); On page load > nothing displayed ---> pointing to: http://fire/mediawiki/skins/gumax/ Subsequent images after first one <Br> ---> http://fire/mediawiki/index.php/undefined If I try: $images = glob('skins/gumax/panorama/*.jpg'); On page load ->http://fire/mediawiki/skins/gumax/skins/gumax/panorama/mono_lake_936x267.jpg Subsequent images ---> http://fire/mediawiki/index.php/skins/gumax/panorama/roadofnoreturn2.jpg If I try: $images = glob(dirname(__FILE__).'panorama/*.jpg'); # or $IP/skins/.....panaroma/*.jpg On page load: http://fire/mediawiki/skins/gumax/  > No picture Subsequent images: http://fire/mediawiki/index.php/undefined
 * Ok I've updated the script above again based on the correct path to panorama (note that it must be double quotes not single otherwise $IP will not expand). Also the slash in the replace was wrong afterall because $IP has no slash on the end... --Nad 11:28, 2 October 2007 (UTC)

Nad! In FireFox, if I put a dummy entry in for $images = glob('FAKE/*.jpg'); The array returned is still ar galleryarray = new Array; galleryarray[0]='panorama/Panoramic.jpg'; galleryarray[1]='panorama/namibie_desert.jpg'; galleryarray[2]='panorama/qnljis_weimaraner.jpg'; galleryarray[3]='panorama/roadofnoreturn2.jpg'; galleryarray[4]='panorama/vervet_monkey.jpg'; The image loads on first load, then the status quo. If I now load up IE, if I keep this same fake entry, no pic and path points to http://fire/mediawiki/skins/gumax/. If I change back the path to $images = glob('panorama/*.jpg');, the image returns on first load.

I feel defeated on this...but ill keep trying.
 * Have you got caching turned off? $wgCachePages and $wgEnableParserCache, the page may not contain the most recent code. --Nad 11:50, 2 October 2007 (UTC)

Nad I tried your updated code... Path I get now is ---> http://skins/panorama/death_valley_flowers_panorama.jpg When the code is: <?php global $IP; $images = glob(dirname(__FILE__).'/panorama/*.jpg'); # or $IP/skins/.....panaroma/*.jpg foreach ($images AS $k=>$v) $images[$k] = ereg_replace("^$IP","/",$v); # note another fix, this needs to be / not empty (I think) $indx = 0; $init_pic = $images[array_rand($images)]; foreach($images AS $pic) {     echo "galleryarray[$indx]='$pic'; "; $indx++; } ?>

Nad I did a test. I wanted to see why skins/gumax was being placed in the path. So I went to my other machine, and copied the code directly into Monobook.php, and loaded this skin. I created a folder called Panorama in skins/panorama. When I loaded the page, I saw the following: http://localhost/mediawiki/skins/monobook/C:/wamp/www/mediawiki/skins/panorama/death_valley_flowers It looks like whatever skin you use, it will automatically put in /skins/<skin_folder> ???? It looks like something is calling the skin folder whatever skin you use. So, on first load: http://fire/mediawiki/skins/gumax/panorama/namibie_desert.jpg ---> picture displayed. where the skins/gumax is loaded, but this isnt part of the array. Then on subsequent loads, the /skins/gumax is not loaded, thus: http://fire/mediawiki/index.php/panorama/vervet_monkey.jpg and no picture.
 * I don't really know what else to suggest, but those array values need their preceeding path, so if they don't have it then that's one problem. Another seems to be that the array values aren't even being used so again focus firebug's watching on the points in the code where the img tags are constructed. Ensure all caching is turned off too. --Nad 21:43, 2 October 2007 (UTC)

Nad, I cant thank you enough for all your help. Im still working on this :>) What I did find is that if, in the div section for the panorama, where I want to echo out the random image files, if I hardcode the path to the panorama folder, then hardcode an image name, this works. It looks like it is just the variable now that I have to sort. I can hardcode the full path to the panorama folder, so I just need a way to return JUST the random image name variable to append to the full path, and then it will work 100%. I dont know how to do this part though. So, I have the following........ <?php  echo '<img src="http://fire/mediawiki/skins/panorama/' . imagename.jpg. '" />'; ?> --> The above works fine What I need to be able to do is to just have the imagename.jpg returned as a variable, instead of hard coding this. I can keep the first part (http://fire/mediawiki/skins/panorama/), but just need to somehow return the imagename as a variable.

Microformats
Is anyone doing any work on the addition of microformat support to MediaWiki, either to facilitate their use by editors, in articles, or as part of MediaWiki itself, such as for user-profiles? I'd be quite happy to advise, having added microformats to many templates on Wikipedia. Pigsonthewing 10:17, 2 October 2007 (UTC)

past special intermediate
Hi! How can I past special intermediate page, while my extension module is working? —81.169.227.104 10:59, 2 October 2007 (UTC)
 * Not sure what you mean, more detail please --Nad 11:30, 2 October 2007 (UTC)

Changing interface messages
After looking under MediaWiki I think there is a way to change names add new names in Navigation under special pages "system message" but since I try to edit it say "This page provides interface text for the software, and is locked to prevent abuse" How can I make an admin account? The one I made during setup, I have login that and no luck. Dean
 * There should be at least one sysop account from which you can set other accounts to sysop. You need to be a sysop to change the system messages, but also for those changes to take effect you have to set $wgUseDatabaseMessages to true in your LocalSettings.php. --Nad 21:38, 2 October 2007 (UTC)

SVG rasterizer produces insufficient result
Hi. Like Wikipedia my wiki uses a software which rasterizes SVG graphics into bitmaps but the results of it are different than the ones you can see on wikipedia. For example, I copied the following file to my wiki: de.wikipedia.org/.../Bild:Nuvola_apps_important.svg which on this wiki looks like on wikipedia:

On my wiki the gradient looks weird. I use ImageMagick to rasterize the SVG. Does anybody know what to use to achieve the same results like on wikipedia or this wiki ?

Thanks in advance. —Sternenfaenger 15:24, 2 October 2007 (UTC)


 * I found the following link meta.wikimedia.org/.../SVG...Current_implementation—81.32.151.198 16:09, 2 October 2007 (UTC)
 * MediaWiki can use a number of utilities to rasterise SVG's which are listed in the $wgSVGConverters variable. The default is ImageMagick but it produces very bad results. The one the Wikimedia projects use is rsvg. You must install the utility you want to use and then set $wgSVGConverter to one of the corresponding item from the $wgSVGConverters list. --Nad 21:11, 2 October 2007 (UTC)

CrossLinking
I have MediaWiki on multiple servers. I make a lot of links from one server to another. I've noticed that when I link encode a page name with a single quote, it turns the quote into ".27" instead of "%27". Why? What do I have to do to fix this? Kainaw 23:04, 2 October 2007 (UTC)

I cant get templates to work on my wiki
I try to post a template when I edit a page and it just links for a place to create a new wiki about whatever the template was titled... —72.198.33.97 23:06, 2 October 2007 (UTC)
 * Can you provide a syntax example you were trying wrapped in &lt;nowiki> tags please. For example;

Make a template Template:Foo, and embed it with, or embed a page from the main namespace Foo with  (note the colon before the article name) --Zven 01:48, 3 October 2007 (UTC)

How to Rename the Wiki
Would someone please advise in simple terms: How do you rename the wiki itself? If it can't renamed, how do I fake it, so that users see the new/correct name? (MW 1.11.0 phpMyAdmin 2.9.1.1 MySQL 5.0 GoDaddy) I apologize if I'm missing the obvious & thank you immensely for your assistance. —67.77.145.181 12:11, 3 October 2007 (UTC)
 * So you wish to actually rename an entire wiki? Wouldn't that involve a complete altering of the url? Other than that, it would just mean a lot of moves and changes in wording around the place, I suppose, considering that a wiki is simply a compilation of pages, I guess. Don't quote me though, I'm just taking semi-educated guesses. -- Anon  Diss  13:57, 3 October 2007 (UTC)
 * The name of the wiki is set in $wgSitename, that name is available in wikitext from     (the meta namespace) unless that is set to something else with $wgMetaNamespace --Nad 19:52, 3 October 2007 (UTC)

Thank you. My original confusion was that Manual:LocalSettings.php says to never edit DefaultSettings.php, but rather copy the line & modify it in LocalSettings.php. But Manual:$wgSitename says it "should always be changed from the DefaultSettings.php". Now I'm even more confused about the MetaNamespace. So would someone please clarify a) where it should be changed (Default or Local), and now b) whether I'm changing the SiteName or the MetaNamespace? I'm not concerned with changing the databasename (we'll only have one wiki), and the install is brand new (no data yet). But I don't want the darned typo in the Wiki Name to be repeated/perpetuated all over the site. Next purchase - a keyboard that can spell ;-) Assistance please. Thank you!
 * See also: Change the name of the wiki -- Anon  Diss  02:09, 6 October 2007 (UTC)
 * You should try to make changes only to the LocalSettings.php file, it's especially bad form to make changes to the main code-base which is in the includes directory. Regarding the metaNamespace, I'd recommend that if there's any confusion at all to leave the metaNamespace alone so it defaults to the same as sitename (which you set from localsettings to the name of the wiki/site). --Nad 02:49, 6 October 2007 (UTC)
 * I looked at the line about "default setting" you were referring to in $wgSitename and changed the wording slightly - it was not referring to the DefaultSettings.php, but rather was saying that $wgSitename should always be set to something and not left with its default value. --Nad 02:52, 6 October 2007 (UTC)

Stopping spoof signups
How do you stop spoofing software from trying to signup on a wiki? Basically, I'm looking to stop the influx of confirmation emails for fake accounts that are bouncing and getting returned to my inbox.

Thanks! —67.34.15.107 19:20, 3 October 2007 (UTC)
 * Extension:ConfirmEdit allows you to prevent robots from using the registration form and/or from editing --Nad 19:56, 3 October 2007 (UTC)

user rights error
hi. if i add the line $wgGroupPermissions['*']['createaccount'] = false;

to local settings then for some reason i get error on the main page and can no longer get to the login page. (commenting it out removes the problem)

the only other settings i have added are:

$wgGroupPermissions['*']['edit']   = false; $wgGroupPermissions['user']['edit'] = true;

$wgGroupPermissions['*']['read']   = false; $wgGroupPermissions['user']['read'] = true;

i am running v1.7.1 on debian etch php 5.2.0 mysql 5.0.32

thanks —90.34.212.65 22:56, 3 October 2007 (UTC)
 * What is the error you're getting? Also you'll need to ensure that at least the login page is in the $wgWhitelistRead list --Nad 23:37, 3 October 2007 (UTC)

(Installation Help)
I follow the installation directions, set the config file permissions to 777 and uploaded the media wiki folder to my server root. But when I type in the URL to configure meidawiki it says there is a misconfiguration error. I also have joomla installed in the root. I am not sure if this is the issue. I am using version 1.6.10.

Can you send some advise?

Thank you for your help, Chris —76.90.134.188 01:38, 4 October 2007 (UTC)
 * There should be no problem having any other php applications running. What steps of the installation process have you completed so far, and what was the exact error. Also unless you're using 1.6 because you require php4, I'd strongly recommend upgrading to the current version as 1.6 is very old and is incompatible with many extensions. --Nad 03:54, 4 October 2007 (UTC)

Strange Redirect Occurring
I have been running my wiki at http://wiki.npost.com and for some reason links are automatically redirecting to http://www.wiki.npost.com which is an incorrect URL... Any suggestions for why this might be happening?

—nkaiser 20:00, 03 October 2007 (UTC)
 * The HTML source of http://wiki.npost.com/index.php?title=Main_Page&redirect=no shows that your $wgServer is set to "http://www.wiki.npost.com" in LocalSettings.php --Nad 03:58, 4 October 2007 (UTC)

Creating a New Article via Extension Code
Hello Community,

I am the administrator of a wiki (soon to be family of wikis) - the first node can be found at eq.knowledgepit.org - it's intended to be an encyclopedic wiki for everything EverQuest. My intention is to do this with all the MMOs out there (eventually, one thing at a time ;)), WoW being the next in my sights. I've already done quite a bit of extension code (and, admittedly, even a couple small hacks modifying MediaWiki core code), and I've been through and through the code just unable to find an answer to my question without bothering you guys ;)

Because of the ever-changing item and spell (and other) databases associated with games like this, I picked up dumps of the community's open-source databases for EQ's items and spells. I wrote up extensions for these (exhibited at Special:ItemSearch and Special:SpellSearch, for reference), and I set up maintenance scripts to update the two databases with dumps of LUCY's spell database and 13th-floor's item database. Both are open-source, naturally.

These maintenance scripts spit out summaries of their changes, for my knowledge (and, admittedly, for debugging ;)); I'd like to be able to create articles containing these summaries rather than just displaying them to my browser. Is there any way to do this using MediaWiki's internal code?  If not, exactly what process should I go achieve it?  I'd imagine it would be something along the lines of "insert row into `page` table; insert row into `revision` table; insert row into `text` table; insert row into `recentchanges` table; insert rows into `pagelinks`/`imagelinks`/`categorylinks`/`templatelinks` tables, as needed".  Is this somewhat close to the due process?

Thank you for your assistance, 68.80.149.10 05:12, 4 October 2007 (UTC) 68.80.149.10 06:34, 5 October 2007 (UTC)
 * See Project:Support desk/Archive 11 for solutions to similar requirement --Nad 05:46, 4 October 2007 (UTC)
 * Thanks; I can modify that Perl script that you linked to get the job done ;)

Job Queue Length Always at 1
Any reason why the job queue length on a wiki would be stuck at 1? When changes are made to templates, it jumps up as it should, until all the changes are made to the pages that include that (and so on). But, the stats page eventually stops at 1 and does not fall to zero anymore. It use to, though not sure if that has happened since it was upgraded to 1.10.1 or at some point after that. -- Dr DBW |  talk  05:49, 4 October 2007 (UTC)


 * It is still sitting at 1, has not moved. Is it possible to actually identify what this "job" is actually? -- Dr DBW  |  talk  03:56, 19 October 2007 (UTC)


 * Found out that check the job table in the database. That lists the jobs in the queue.  Had at look at the database, and that table is empty, so there are currently no jobs in the queue.  User:Simetrical said the following about it in #mediawiki

the counter is deliberately inaccurate in recent versions. For speed, on large InnoDB tables. SELECT COUNT(*) FROM table; is slow on InnoDB, so it switched to a heuristic that's usually wrong.


 * So, there is definitely no jobs in the queue and it displays 1 due to an inaccurate way of counting. -- Dr DBW |  talk  01:41, 24 October 2007 (UTC)

How to import image files referenced by xml-files?
Hi - I have a MediaWiki Wiki where as sysop I am trying to load in hundreds of jpg images, and then create the pages via importing an xml containing the descriptions etc. Images are manually placed in images directory and thumbnails made, but I can't then synchronise the imported xml - the new pages don't display the images. To build the database links, I've tried: php maintenance\rebuildImages.php >& images.log &       and php maintenance\rebuildImages.php --missing >& images.log & This doesn't seem to work. The manual pages don't really cover image files. Any comments or advice welcome! MediaWiki: 1.10.0, PHP: 5.1.6 (apache2handler), MySQL: 5.0.22 — Gaudete 13:19, 4 October 2007 (UTC)=


 * rebuildImages should work, but you can also try putting them somewhere else and then running importImages.php
 * use importDump.php to read the file descriptions from the XML (assuming that XML is in mediawiki's dump format) -- Duesentrieb ⇌ 15:16, 4 October 2007 (UTC)

Blank pages
I have installed the program successfully, but when I try to create an account or submit an article, I only get blank pages. I have enough php memory (24 mb). What's wrong? 90.227.8.200 17:19, 4 October 2007 (UTC)

—122.161.134.46 17:27, 4 October 2007 (UTC)

Watermark
Are possible to add waterark autoamtic on uploading photos? Where I can get this mediawiki hack? I very need it. Thanks. --88.222.212.231 17:33, 4 October 2007 (UTC)
 * More detail please --Nad 19:51, 4 October 2007 (UTC)
 * Project:Support_desk/Archive_10 -- Dr DBW |  talk  22:53, 4 October 2007 (UTC)

To add a signature with time stamp after any post automatically.
Hi I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post  just like that in mediawiki support desk after post an question the signature is appended.

Whenever i click on " + " to add new discussion  post  then  " Subject/headline: " text field is not displayed. What wrong with us to customize media wiki, please send me a proper suggestion. Thanks in advance. —122.161.134.46 17:48, 4 October 2007 (UTC)

Help with mod_include and Mediawiki
I'm having difficulties hacking the MW skin layer to integrate a common header and footer using mod_include / server side include directives. I am integrating MW with a Drupal site and the SSI work properly for Drupal, but are simply printed to the browser in Mediawiki. For various reasons we would like to use mod_include for this instead of just php includes if possible. I've been searching for a few days for any reason why this might be but have no idea so far. it seems like MW emits the page to the browser in a way that causes Apache to just ignore the ssi directives:

&lt;!--#include virtual=&quot;/_tmpl/header/test&quot; --&gt;

—Jeffg 18:46, 4 October 2007 (UTC)
 * Where exactly are you adding the directive and is anything evidence of it's presence showing up in the html source of the page? --Nad 19:58, 4 October 2007 (UTC)

recovering mysql database from upgrade. have backups but dont know what to do with them :(
I was doing some maintenance on the MySQL database that houses my mediawiki. I wanted to install a newer version of MySQL due to problems I was having with the one that comes with Solaris 10. Long story short, I can't get any of my articles. Is there a way to recover the database from backups? If so does anyone here know where I can get some pointers on doing that?

Mediawiki 1.8.2 PHP 5.2.4 MySQL 12.22 Distrib 4.0.24

TIA —161.225.1.12 21:13, 4 October 2007 (UTC)


 * You just have to import the database backup into the existing database, or may be better is create a new database using the backup and point MW to that. -- Dr DBW |  talk  03:14, 5 October 2007 (UTC)

Nad! - Youre the Best - Solution Achieved for Mediawiki Paths
Nad! Can I just extend my gratitude for all your time and effort in helping me on this :>) Because of that, I wanted to share the solution with you :>) If it takes up too much space, pls feel free to remove afterwards. <script type="text/javascript"> function opacity(id, opacStart, opacEnd, millisec) { //speed for each frame var speed = Math.round(millisec / 100); var timer = 0;

//determine the direction for the blending, if start and end are the same nothing happens if(opacStart > opacEnd) { for(i = opacStart; i >= opacEnd; i--) { setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; }	} else if(opacStart < opacEnd) { for(i = opacStart; i <= opacEnd; i++) {			setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; }	} }

//change the opacity for different browsers function changeOpac(opacity, id) { var object = document.getElementById(id).style; object.opacity = (opacity / 100); object.MozOpacity = (opacity / 100); object.KhtmlOpacity = (opacity / 100); object.filter = "alpha(opacity=" + opacity + ")"; }

function shiftOpacity(id, millisec) { //if an element is invisible, make it visible, else make it ivisible if(document.getElementById(id).style.opacity == 0) { opacity(id, 0, 100, millisec); } else { opacity(id, 100, 0, millisec); } }

function blendimage(divid, imageid, imagefile, millisec) { var speed = Math.round(millisec / 100); var timer = 0; //set the current image as background document.getElementById(divid).style.backgroundImage = "url(" + document.getElementById(imageid).src + ")"; //make image transparent changeOpac(0, imageid); //make new image document.getElementById(imageid).src = imagefile;

//fade in image for(i = 0; i <= 100; i++) { setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed)); timer++; } }

function currentOpac(id, opacEnd, millisec) { //standard opacity is 100 var currentOpac = 100; //if the element has an opacity set, get it	if(document.getElementById(id).style.opacity < 100) { currentOpac = document.getElementById(id).style.opacity * 100; }

//call for the function that changes the opacity opacity(id, currentOpac, opacEnd, millisec) }

<script type="text/javascript"> var galleryarray = new Array; <?php $images = glob('skins/panorama/*.jpg'); $indx = 0; $init_pic = $images[array_rand($images)]; foreach( $images AS $pic) {     echo "galleryarray[$indx]='/mediawiki/$pic';\n"; $indx++; } ?>

var tm1=1,tm2=5,tm3=1; function step1 {  setTimeout("step2",tm1*1000); } function step2 {  shiftOpacity('blendimage', tm3*1000); setTimeout("step3",(tm2+tm3)*1000); } function step3 { var rand=Math.floor(Math.random*galleryarray.length); shiftOpacity('blendimage', tm3*1000); setTimeout("step2",(tm1+tm3)*1000); setTimeout("document.getElementById('blendimage').src = '"+galleryarray[rand]+"'", tm3*1000); } window.onload=step1;

<img src="http://fire/mediawiki/<?php echo $init_pic ?>" style="width: 928px; height: 147px; border: 1 none; filter: alpha(opacity=20); -moz-opacity: 20; opacity: 0;" id="blendimage""/>          See below: Here's what's happening: When you call index.php with directory structure links the browser treats it like you're actually in a folder with that name. Javascript is interpreted client-side, so if the browser is tricked, then the script is going to point the wrong place.

Solution: It works on index.php?key=var then you just need to make a your image links absolute, so it won't matter if the browser thinks it's looking at the inside a subfolder.

foreach( $images AS $pic) {     echo "galleryarray[$indx]='/fire/mediawiki/$pic';\n"; $indx++; }

—58.175.32.115 00:16, 5 October 2007 (UTC)

Parsing issues with ParserFunction #if and HTML
Hi,

I am experiencing some difficulty with the extension ParserFunction and HTML. Specifically, I created a template for a table which checks if an image parameter is specified (and then produces a new row with the image, if it exists):

However, when I load the calling page with the appropriate parameters, I seem to be getting hard-coded parsed tags instead:

&amp;lt;tr&amp;gt;&amp;lt;td align="center" style="background:#efefef;"&amp;gt; <a href="image-location" class="image" title="img-title"><img alt="image-alt" src="image-location" width="250" height="332" border="0" /></a> caption &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;

Any clue on what might be wrong? I am using MediaWiki 1.11.0, PHP 5.2.4, and MySQL 5.0.24a.

Thanks! —David 02:47, 5 October 2007 (UTC)
 * That's not working because you can't split HTML tags across templates like that (ie open the table, then having each row in a template, then closing outside the templates again). You can do that with wikitext tables though, so if you change your template to this:

Then you can make a table from it like this example:
 * align="center" style="background:#efefef;" | [[Image:|250px|]] 
 * align="center" style="background:#efefef;" | [[Image:|250px|]] 


 * Thanks for the reply.
 * I was using wikitext tables before, but it didn't render properly either (it was literally escaping the pipes and dashes, similar to what happens to the HTML code). After a bit of searching, I found out that using wikitext tables won't work under the #if</tt> parser function: see Qif_conditionals#Incorrect_usage.
 * However, following the instructions there didn't really improve the situation: According to their suggested solution 'Plan A', I completely reconstructed my template to use only HTML tags (thus the template begins with an opening &lt;table&gt;</tt> tag and contains no wikitext tables). This is what Wikipedia does for several of their templates, but for some reason, it doesn't work on my end.


 * I appreciate your help.
 * -David 20:07, 5 October 2007 (UTC)
 * I've had a fair bit of trouble with that kind of thing before too, and have often needed to use html tables instead of wikitext, but I tested the example above and it worked - it could be dependent on mediawiki version though. Also you could try using a template to represent the pipe symbols, the wikimedia projects convention for this is Template:! to return a pipe. --Nad 21:23, 5 October 2007 (UTC)


 * Thanks! The Template:! strategy did the trick. The wikitext table code worked as well, and I've incorporated it into many of my templates. Having #if on top is icing on the cake, and helps with several optional parameters.
 * Thanks again for the help.
 * -David 23:00, 11 October 2007 (UTC)

To add a signature with time stamp after any post automatically.
Hi I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.

Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed. What wrong with us to customize media wiki, please send me a proper suggestion. Thanks. please give response as soon as possible. —122.161.134.46 08:42, 5 October 2007 (UTC)

How to change mediawiki dataroot from one drive to another
I am trying to install MediaWiki 1.11.0. along with moodle LMS. Moodle LMS along with PHP, MySQL S/w etc. are installed in drive C but the data directory is its path set to D drive, in order to keep the data safe. In the same way as drive D in my system has large disk space, I want the community data is also stored in it. How is it possible? thanks Dr.K.James Mathai —Kjmathai 12:13, 5 October 2007 (UTC)
 * You'll need to be more specific about what data you're wanting moved to the other drive. There is the mediawiki code-base, the wiki images/files and the database and each are configured differently. --Nad 21:28, 5 October 2007 (UTC)

I want the community data/image files created runtime to be stored in drive D: —Kjmathai 1:13, 9 October 2007 (UTC)

Showing real names instead of usernames
Can you please advise on how to show real names instead of usernames in History, Recent changes and User contributions lists —86.143.219.158 11:55, 5 October 2007 (UTC)

To append signature to any post automatically.
I need to add a signature with timestamp automatically (without click on "signature" icon tool in tool bar) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.

Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed. What wrong with us to customize media wiki, please send me a proper suggestion. Thanks. please give response as soon as possible. —122.161.134.46 13:02, 5 October 2007 (UTC)

Spreadsheet or database and filling cells with data from different pages, related data
I want to use MediaWiki as a monitoring tool. On a head page I'll make a table and in sub pages, generated with a template, there are (sub)tables. When these (sub)tables are filled with data they must automatically copied to the specified (related) table on the head page. Is this possible and how can I install this? —Jaap Smit 15:04, 5 October 2007 (UTC)
 * You can do this kind of thing with the Dynamic Page List extension which would allow your main table to build its rows from all the article containing a specific template. --Nad 21:33, 5 October 2007 (UTC)

Including articles or article sections within other articles
Is there any way to include other mediawiki articles or article sections within an article? For example, in my mediwiki installation, I may have an Ants article with sub-sections like Ants#Food and Ants#Habitat. I may wish to reference the Ants#Habitat section in another article titled Insects.

I currently use the standard double staples to enclose a link, but is there any way to output the Ants#Habitat section in my Insects article?

Thanks for any ideas,

David

—209.248.148.58 17:26, 5 October 2007 (UTC)
 * I think you are refering to embedding articles within others. Transclusion of templates works this way using the double braces e.g. the wikitext would embed the contents of article Foo within another article. You must specify the ':' otherwise the Template: namespace is assumed to be the namespace of the transcluded article. This method however only embeds entire articles, not specified sections of articles. See Help:Templates, and also substitution  for more information. --Zven 19:59, 5 October 2007 (UTC)
 * You can use the Dynamic Page List extension to transclude sections as follows --Nad 21:41, 5 October 2007 (UTC)


 * see relevent section of DPL manual here
 * I can't thank you enough for a link to that extension. I have been researching a way to do this for 2 days now going in circles.  This is exactly what I was looking for --71.87.196.9 10:02, 12 October 2007 (UTC)

Changing "discussion" label for article page only
Hi, I was trying to change the tab label of the discussion page that accompanies the article page by changing MediaWiki:Talk. However, when I do so, all discussion pages, including User talk etc etc are changed in toto. Is there anyway where I can limit the change only to article pages? Also I would like to remove the + tab only for article talk pages. &mdash; PM Poon 01:46, 6 October 2007 (UTC)

Uploading picture right
I want to learn this? May i change users right like this; anyone can upload picture, anyone can't, which one is appointed by me..Can i do that and if i can, how?--85.97.24.166 04:18, 6 October 2007 (UTC)
 * Look at the documentation for wgPermissions. You can create permissions for a group in LocalSettings.php. For example:

$wgGroupPermissions['*']['upload']   = false; $wgGroupPermissions['friends']['upload']   = true; Also look at this page for a list of all thr different user rights: Help:User_rights. --Rob 05:58, 7 October 2007 (UTC)
 * The first line says "Users who are not logged in and try to upload are not allowed".
 * The second line says "Users who belong to the group friends may upload".

Renseignement pour faire un wiki
from Talk:MediaWiki/fr''

Bonjour,

Je souhaiterais avoir des conseils, renseignements pour mon wiki. s'il vous plait notamment s'il existe un moteur de recherche qui permet de sélectionné plusieurs critères de recherches... merci beaucoup de votre aide
 * Que me conseillerais vous comme extensions ?
 * Quelles sont les extensions pour un moteur de recherche ? des exemples de wiki a me montrer ?

By 193.51.8.31 on september 20th, 2007 at 13:19 (CEST)
 * DynamicPageList est une prolongation puissante pour des rapports de question et de construction dans MediaWiki. Nous avons ajusté notre recherche sur pour permettre des questions de DPL (il est traité pendant qu'une question de DPL si "=" est dans la recherche). Par exemple,
 * titleregexp=^Co.+php$
 * category=Help
 * namespace=Template
 * --Nad 22:22, 6 October 2007 (UTC)

Few questions
Alright, I'm the only sysop of a site excluding the creator, though he doesn't every visit the site any more, so I have a few questions -


 * When some one tries to edit a page, there's a little message at the bottom of the edit box that says -

"Please note that all contributions to Nintendopedia may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!"

I just wanted to know if there was a way to change what it said, and if so what page is it at?


 * Are there any privliages that site owners have that admins don't?


 * Is there an easy way for an Admin to stop spammers?

Thanks!

—Bentendo 19:34, 6 October 2007 (UTC)
 * It's MediaWiki:Copyrightwarning, see Special:Allmessages on your wiki to see all these messages (if doesn't work try MediaWiki:Copyrightwarning2)
 * If he's a member of a an other group than you (go to Special:Listusers on your wiki to see group membership), he can have other permission, if not, you have the same permissions.
 * You can block them, otherwise there's Extension:SpamBlacklist or Extension:Nuke.
 * <font color="#66A7CC">i <font color="#9966CC">Alex  19:45, 6 October 2007 (UTC)
 * Note that you may have to set $wgUseDatabaseMessages to use modified interface messages. --Nad 22:45, 6 October 2007 (UTC)
 * We use Extension:ConfirmEdit to stop spambots from being able to sign up. --Nad 22:46, 6 October 2007 (UTC)

Search doesn't work
I'm using Mediawiki 1.11.0, php 5, mysql 5. The searchindex table is ok (and with MyISAM storage engine as i read somewhere on google), the content is indexed correctly, i can see the few pages i created on my wiki, but whenever i search for something it doesn't even say "no results found", it displays a page like this: Search results

For more information about searching Wiki, see Help.

Search in namespaces: (a lists of namespaces follows.)

I am searching for long words that certainly exist (page titles, for example), the 3-chars problem is not my case. Everything else works correctly, how do I solve that? Thanks

—213.140.6.109 21:16, 6 October 2007 (UTC)


 * Is the correct namespace selected in which those pages exist? -- Dr DBW |  talk  04:31, 8 October 2007 (UTC)

Well, yes, I tried searching in the main namespace (the one where "real content", articles, exist, right?) I also tried to select them all, still no results -213.140.6.109 12:57, 8 October 2007 (UTC)

It Is All Too Dificult - can't someone help me?
Maybe you think that it is easy to understand your manuals and FAQs but I don't get it at all - I just want to upload my site that has been easy to make through FrontPage but I don't know IT language, I just want to save the world by offering the concept of my site and I've spent years trying very unsuccessfully to find people who can help me understand how this works or just to do it for me. I've also asked for help at certain sites but I just get replies I don't understand. I hate to admit that I am of lesser intelligence in this field and I know that it probably just takes more time and consisten effort to comprehend all of this but I really have tried and people are dying and I have a solution and I don't understand why I can't make anyone help me when it is apparently so easy for you people who knows this wiki language. —62.243.117.112 07:03, 7 October 2007 (UTC)
 * Where are you currently at and what are the problems you're encountering? Also, I'd like to hear more about your "save the world" proposal, do you have a link to the general overview in the current site, or a document you could send me? --Nad 20:52, 7 October 2007 (UTC)


 * My site is http://www.aidevaluator.com it pretty much just explains the idea: which is using a wiki to improve the aid and information given in just about any circumstances - the notion being that people should be allowed to prioritise based on their own opinions, and find and add relevant information. This should be able to improve aid and make sure that money is given to those who need it the most, depending on the givers prefernces. The site is full of ideas. The wiki, which is under 'add info', just has the main page - I don't know how to do anything else :)


 * Try this http://en.wikipedia.org/wiki/Wikipedia:Tutorial, that is a simple tutorial on how the MediaWiki works. Note that it is particular to Wikipedia, so some things might not be appropriate for your personal wiki.  However, it tells you how formatting works, creating new pages / articles etc. -- Dr DBW  |  talk  04:28, 8 October 2007 (UTC)

Uploading PNG
My wiki is up and running however, uploading a PNG file results in an error "File is corrupt or has a wrong extension. Please check the file and try again", but I can try again as much as I'd like to, it just won't upload them. Any idea what's going on? —84.25.237.211 20:45, 7 October 2007 (UTC)
 * Make sure $wgEnableUploads is set to true, you have all the allowed file-extensions listed in $wgFileExtensions and your path is set correctly in $wgUploadPath. If still trouble, try setting $wgVerifyMimeType to false. --Nad 20:58, 7 October 2007 (UTC)

Fatal error: Allowed memory size
im getting the folling error

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1536 bytes) in /usr/local/www/apache22/data/wiki/includes/media/Bitmap.php on line 165

it seems to be this one here Manual:Errors_and_Symptoms

phpinfo says my memory_limit is 128M. Should i try higher? or is there anything else you can think of.

Thankyou —DarkAxi0m 06:49, 8 October 2007 (UTC)
 * The amount reported by phpinfo is incorrect because the default LocalSettings.php file forces the memory limit to 20M as indicated by your error message. You can change the value to something higher if you're doing expensive queries which require it (if you're not doing such queries, then the error probably indicates another problem somewhere else). To change from the default of 20M, adjust the line that says ini_set('memory_limit','20M'). 128M is probably overkill and unless you have many GB of RAM available you would not be able to serve many concurrent clients requiring that amount of resource --Nad 08:13, 8 October 2007 (UTC)
 * The error was on a Category page, with quite a few pictures. I set my Memory_Limit to 30M, and the issues went away. the phpinfo memory_limit of 128M was the default for the FreeBSD Ports install. Thanks --DarkAxi0m 01:04, 9 October 2007 (UTC)

Article contents are not displayed/loaded after upgrade
Hi there! My problem: I tried to upgrade an old version (1.4.5) to the current version 1.11.0. I used the command line update script. First, I used "php5 upgrade1_5.php", and after that "php5 update". Both steps went flawlessly, but when I try to open any page now, the content is missing. It is even not included in the HTML output. However, the content is actuelly there, since it can be found in the database and if I click the "edit" link of any missing article, all text content is available in the edit-textbox. Still, it does not appear in the "View article" mode. Editing an old version and saving it won't help either. However, NEW articles which are created after the update, can be seen. Does anybody know how to selve this problem, please? — Fuxboml 09:32, 8 October 2007 (UTC)
 * Is the wiki available publically or intranet only? --Nad 10:05, 8 October 2007 (UTC)
 * It is my company's internal wiki which is only accessible in our intranet... problem? ;-) - Fuxboml 14:16, 8 October 2007 (UTC)
 * Ha, I think I found out the reason for my problem. Since the Wiki is in German language, most articles contain German umlauts. However, all articles which do NOT contain an umlaut, are displayed correctly. Strange... I thought, that the "upgrade1_5.php" script was supposed to fix all encoding-related stuff... Well, I think I will now code a little script which converts all database rows in the "text" table. This should work, I think. - Fuxboml 14:55, 8 October 2007 (UTC)

Mediawiki 1.11.0 upgrade error on CREATE TABLE `objectcache`
I am using MySQL 5.0 and when I run update.php I get error: IP: /var/www/html/mediawiki-1.11.0     MediaWiki 1.11.0 Updater

Going to run database updates for wikidb Depending on the size of your database this may take a while! Abort with control-c in the next five seconds...0 Creating hitcounter table...ok Creating querycache table...ok Creating objectcache table...Query "CREATE TABLE `objectcache` ( keyname varbinary(255) binary not null default , value mediumblob, exptime datetime, unique key (keyname), key (exptime) ) TYPE=InnoDB " failed with error code "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null default , value mediumblob, exptime datetime, unique key (k' at line 2 (localhost)".

What is the solution here?

—164.44.67.4 12:53, 8 October 2007 (UTC)

-- Close this -- My environment was not setup correctly.

ERROR 300 - MULTIPLE CHOICES - 1and1 hosting
ERROR 300

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. '''

Can you help? —193.144.89.8 15:01, 8 October 2007 (UTC)
 * How did you transfer the installation to the host? do you have a means of viewing the files such as ftp or a file manager? there should definitely be a file called index.php in the config directory of the installation. --Nad 21:00, 8 October 2007 (UTC)


 * fwiw, I encountered the exact same problem (I arrived here by googling the problem looking for answers). I've worked around it by using the ... I don't know what it's called, the "weird" domain name that 1and1 provides. So, instead of pitchwiki.pitchwife.net I used sxxxxxxxx.onlinehome.us/etc etc... and it loaded fine. Don't know why, though. :p

Login Failed. Wrong Password??
When i'm trying to login using the pywikipediabot module login.py in a intranet wikipedia, the response is ''Login Failed. Wrong Password??''. Why does is happens considering that my username and password are correct? Thank You. —Mapelo 15:04, 8 October 2007 (UTC)
 * Do you have any extensions that affect the login like a CAPTCHA? You could try getting the code to log it's posted data and the servers response so you can see more clearly what's happening (or visa versa, get the wiki to log the incoming request and its response). --Nad 21:07, 8 October 2007 (UTC)


 * Hi Nad.Thank you for the response.
 * I don't no whether there's an extension like that or not. I'm not the administrator, but i'm going to inform myself. We have seen the server log and it just reports an http code 200 that means that the request operation was successful. Another thing... is it necessary to the administrator of the intranet wiki to give me permission of loging(login.py) and using the pagefromfile.py module? What permission? How can he do this? Thank you. Mapelo 10:12, 9 October 2007 (UTC)

edit user's signature
I want to change the link Deepesh instead of Deepesh in user's signature, Please guide me where to be changed to implement this functionality. Thanks in advance —Deepesh 15:46, 8 October 2007 (UTC)
 * Go to Special:Preferences, enter  in the "Nickname" textbox and click "Raw signatures (without automatic link)". <font color="#66A7CC">i <font color="#9966CC">Alex  17:50, 8 October 2007 (UTC)


 * Tried and it does not work - it still shows the username in the history and recent changes ratehr than nickname

Mediawiki skin
I'm looking for someone who could adapt an existing skin to a mediawiki. I've tried asking on IRC and on the mailing-list, without any success. Is there any other way of getting in touch with someone who could do it? —82.242.73.180 17:30, 8 October 2007 (UTC)
 * I do a fair bit of skinning, but I'd need to know the specifics before I could give you a quote --Nad 21:13, 8 October 2007 (UTC)
 * Nad, I've tried emailing you through your website; if the message doesn't get to you, you can email me at xavier@flouzo.net, I'll give you the details. —82.242.73.180 15:47, 11 October 2007 (UTC)

Recent changes
What do the following symbols mean in the Recent changes page:

! (red, bolded exclamation point)

m (bolded, lower-case m)

N (bolded, upper-case N)

sometimes these symbols appear together, such as N ! or m ! -- does it have a special meaning then?

From Help:Recent changes by 216.253.230.133, 18:49 8 October 2007 (UTC).
 * See Help:Recent changes on meta.wikimedia.org. <font color="#66A7CC">i <font color="#9966CC">Alex  18:57, 8 October 2007 (UTC)

Printable version, for a whole category
1.11.0, PHP5, MySQL5. I have full admin perms on the DB and the wiki, if that helps.

Is there a way to gracefully get the contents of a category (be that with or without recursively chasing subcategories) as the printable version? For example, given the category 'DR Documents', can I either through some command or script dump that category's contents to a printable version (either one big file or many small files bundled), that I can then print out as a hard backup?

—66.26.57.245 23:18, 8 October 2007 (UTC)
 * You can export a category or list of articles (or query resulting in a list) as a single document with Extension:Pdf Book which can be set to return the whole things as html without converting to pdf. --Nad 23:32, 8 October 2007 (UTC)

New Install
I am trying to install mediawiki for the first time on my host. After everything has been uploaded, i go to the url/config/index.php and recieve this error.

MediaWiki 1.11.0 Installation

Warning: require_once(C:\hosting\member\XXXXXXX\xxxx\developers/maintenance/updaters.inc) [function.require-once]: failed to open stream: No such file or directory in D:\hosting\member\XXXXXXX\xxxx\developers\config\index.php on line 232

Fatal error: require_once [function.require]: Failed opening required 'D:\hosting\member\XXXXXXX\xxxx\developers/maintenance/updaters.inc' (include_path='.;C:\php5\pear') in D:\hosting\member\XXXXXXX\xxxx\developers\config\index.php on line 232

the XX and xx's are just to hide the website until it is up and running. However, you can see that is is using the windows path instead of a url or unc path - and this included two seperate slashes ( / and \). how do I fix this? I have looked through the installation manual, the help desk and everything else I could find, but noone else seems to have this problem.

thank you,

—67.66.233.96 00:10, 9 October 2007 (UTC)
 * The forward or backslashes are interchangeable on windows, I think the problem is more likely to be that it's saying the config.php script is located on drive D, but its looking on drive C for the file to include. --Nad 04:21, 9 October 2007 (UTC)

To add a signature with time stamp after any post automatically.
Hi I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.

Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed. What wrong with us to customize media wiki, please send me a proper suggestion. Thanks in advance. --Deepesh 06:29, 9 October 2007 (UTC)

C++
Hi, it seems I cannot write an article entitled C++ although I use C%2B%2B. Any idea, how I can circumvent the problem? &mdash; PM Poon 10:41, 9 October 2007 (UTC)
 * You already asked this, and it was answered here --Nad 20:17, 9 October 2007 (UTC)

Thanks, Nad. I misread your answer and typed C%2B%2B in the search box. Now I get what you mean! &mdash; PM Poon 15:54, 10 October 2007 (UTC)

To enter Nick name when Create Accont
Hi, I want to get the value of nick name in the User_Options column of the User table at when user Account is Created.Generally, this nick name is get in the User_Options column when special:preferences has some change in the nick name field.Please guide me .Thanks! —Deepesh 11:28, 9 October 2007 (UTC)

Plain links
Hi, if I want to make all external links in my portal plain, which file should I modify and how do I go about doing it? Presently, I am using class="plainlinks" on an ad hoc basis. &mdash; PM Poon 14:27, 9 October 2007 (UTC)
 * If you're using monobook, then the main CSS is skins/monobook/main.css. Rather than changing the files, you can add your CSS adjustments to the MediaWiki:Common.css article. --Nad 20:15, 9 October 2007 (UTC)

TinyMCE_MW editor does'nt support Extension:Cite
Hi I have implemented TinyMCE_MW editor but unluckily this editor is not supporting Extension:Cite, Extension:Simple_Calendar & Extension:ArticleComments properly. What should i do to support these extension properly. Please give me an appropriate solution. Thanks in advance --Bpishere 15:45, 9 October 2007 (UTC)
 * Wysiwyg in mediawiki is still highly experimental and there are a number of quirks and incompatibilities which you'll have to put up with for some time yet. You could also try Extension:FCKeditor, I've found it to be more solid and integrate better than TinyMCE. --Nad 20:11, 9 October 2007 (UTC)

Installing extensions with non-Unix computer
I've managed to install a wiki using my Windows XP computer, but I don't see any directions on how to copy all the files needed for extensions other than the instructions that assume a Unix shell. I could manually copy them file-by-file, but that seems pretty painful. Is this information available anywhere? Can someone point me to the right place?

It is frustrating to be hung up by something that seems fairly basic. As someone who has very little of the specific knowledge that is assumed by the authors of these pages, I'd hope to add text to this site that assists uses like myself. Setting up a wiki, customizing it, and maintaining it does not require mastery of Unix, PHP, or MySQL. If adding extensions does, that is unfortunate.

It also seems that many of the commonly used extensions could be added to the basic package used for the initial installation. The installation script could ask if you want to use these extensions. It seems like the extensions commonly found in WikiMedia sites would be good candidates for inclusion. As a novice, I was surprised to find that that an extension like "category tree" needs to be installed separately. --SamuelWantman 19:06, 9 October 2007 (UTC)


 * Adding extensions is pretty straightforward: you download the files from SVN (either by using a client, such as TortoiseSVN, or file-by-file) and drop them into extensions/</tt> folder and add the appropriate require_once</tt> (or include_once</tt>) to LocalSettings.php - that's it. Needless to say, I'm using Windows Vista currently and I really have no experience with Unix systems and how they work. Nevertheless, I have a test wiki on a USB memory stick and installing extensions - still - is as simple as I described. To install extensions such as CheckUser that require creation of new tables or SSHing up to the host, just open phpMyAdmin (assuming you have one, that is), select "SQL" and copy the appropriate info from the appropriate .sql file into the textbox and execute the SQL query and add require/include_once call to LocalSettings.php. -- Sayuri 19:27, 9 October 2007 (UTC)
 * Thanks for the suggestion of using TortoiseSVN. It was very easy once I downloaded the software.  I may add some instructions for people, like myself, who have no idea what SVN is. -- SamuelWantman 08:45, 13 October 2007 (UTC)

Open individual external link in new window
I am trying to figure out the best way to have an individual external link open in a new window. I have been studying the documentation at here and here but have not come up with the proper solution for a single link opening in a new window. If anyone has any ideas to be able to add a target=_blank individually, please let me know. Oh, also the link in question is found in the sidebar. —207.203.254.110 02:06, 10 October 2007 (UTC)
 * Why not just use the JS hack above but restrict it to a particular class or id? --Nad 02:58, 10 October 2007 (UTC)
 * Actually that's no good because you can't specify a class or id in the link syntax - you'd have to change something in the URL itself like use http2:// or a specific domain and get the JS hack to match those and change them to the proper URL and add the target attribute. --Nad 08:56, 10 October 2007 (UTC)
 * It'd probably be easiest to just add a new parser-function or tag to make your new-window links though I think --Nad 08:58, 10 October 2007 (UTC)

PHP4
I have tried uploading media wiki to a php 4 server, but I cannot get it to work. Does it work on php4? --86.132.71.57 08:03, 10 October 2007 (UTC)
 * Version 1.6.10 is the last version which will work with PHP4 --Nad 08:51, 10 October 2007 (UTC)

PdfExport ERROR if set User rigths
I tried to use my own mediawiki for giving PDF file to another software. I simply tried to use PDFExport for it. The external software give the appropriate URL to PdfExport.php and the PDF is ready.

If user rights is default there is no problem. After I changed the user rights (see below), there is not any content in the generated PDF file, except the navigation menu on the left-hand side of the wiki's page.

I set the user rights: $wgGroupPermissions['*'   ]['read']         = false; $wgGroupPermissions['user' ]['read']        = true; $wgWhitelistRead = array("Main Page", 'Special:PdfPrint', 'Special:Userlogin',);

How can I get the whole content of the page? Can I somehow change the USER ID in the PdfExport.php? Any other solution?

—reizerg

Move MediaWiki
How do I move the Wiki from one server to another? I have no experience with Media Wiki whatsoever; however, I do have some unix experience. I've been tasked with moving the Wiki from a workstation onto a server and I am not sure exactly which files need to be copied over or if I have to do a clean install on the server. Any help is greatly appreciated. Thanks.
 * You need to move the directory containing the mediawiki files such as its index.php with all the other files subdirectories intact. You also need to move the MySQL database for you wiki over to the new server which you can do using mysqldump or with a utility such as PhpMyAdmin. This assumes that the target environment already has Apache, PHP and MySQL installed, otherwise you need to get them workign together before migrating the wiki. --Nad 21:45, 10 October 2007 (UTC)

Google web master tool
Hi, I want to add functionality of "Google web master tool" in my project. Please can you guide me, Thanks in advance

Search doesn't work
I'm using Mediawiki 1.11.0, php 5, mysql 5. The searchindex table is ok (and with MyISAM storage engine as i read somewhere on google), the content is indexed correctly, i can see the few pages i created on my wiki, but whenever i search for something it doesn't even say "no results found", it displays a page like this: Search results

For more information about searching Wiki, see Help.

Search in namespaces: (a lists of namespaces follows.)

I am searching for long words that certainly exist (page titles, for example) and the 3-chars problem is not my case. I also tried to select every namespace. Everything else works correctly, how do I solve that? Thanks

Plain links (2)
Hi Nad, thank you for your answer here. I went through the MediaWiki:Common.css and see the portion that includes: /* Removes underlines from links */ nounderlines a { text-decoration: none; }

Can't figure out how to do it. Where do I add class="plainlinks"? &mdash; PM Poon 16:06, 10 October 2007 (UTC)
 * If you want to change your external links to a different style, you should be changing the sections in the CSS which apply to a.external --Nad 21:40, 10 October 2007 (UTC)

-- Hi Nad, seems like you are the only one left to keep this support desk alive. I guess without you, there will be no further questions, LOL.

I added: .plainlinks a.external { background: none ! important; padding: 0 ! important; }

to Commons.css but it didn't work. Just trying my luck since I do not know the correct codes. &mdash; PM Poon 06:50, 11 October 2007 (UTC)

private pages
Is it possible to have a user group of privileged users, ad then flag some pages in Mediawiki to only be viewable by that group? I have a business need to do that, to keep some pages within managers. If that's not possible, I'm going to have to put a second wiki up and control it using htaccess to make it private, and then interwiki between the two wikis. But I think that's horrible, I'd love to be able to flag some pages as private and specify a group of people that are allowed to see private pages.

Timotab 01:42, 11 October 2007 (UTC)
 * See Category:Page specific user rights extensions --Nad 02:08, 11 October 2007 (UTC)

How to use Google webmaster tool
Hi, i want to user Google webmaster tool.please guide me. thanks. —Deepesh 06:51, 11 October 2007 (UTC)

Making Main Page more sophiscated
Hi, how can I make the Main Page more lively by adding automatically the titles of the latest five or ten NEW articles without doing it manually? As it is, I have managed to automate "Featured Article" so that it changes by itself every first day of the week (an idea copied from Wikipedia). &mdash; PM Poon 10:22, 11 October 2007 (UTC)
 * You can transclude Special:Newpages with  </tt>, e.g.


 * For more advanced lists, queries and reports, use DPL --Nad 20:26, 11 October 2007 (UTC)

- Thank you very much, Nad. I think I will spend some time to chew DPL because what I need are only the title of the newest 5-10 articles to be displayed in the Main Page. &mdash; PM Poon 17:53, 12 October 2007 (UTC)

Editing interwikilink-table in database
How can I edit interwikilinks in the database-table (MySQL 4.1.15)? In Version 1.11 the interwikilink-table is in the "binary-blob"-format —Antropositiv 10:27, 11 October 2007 (UTC)
 * See Category:Interwiki extensions --Nad 20:42, 11 October 2007 (UTC)

Videos start and stop repeatedly
—Str8flier 03:11, 12 October 2007 (UTC)

When watching the posted videos, they start and stop repeatedly. Sometimes they will start up again, sometimes they don't. What can I do.

Thank you
 * Which videos? --Nad 07:04, 12 October 2007 (UTC)

Image history table instead of list
In MediaWiki the file history is provided as a table like here. The MediaWiki installation which I've to administrate (MediaWiki: 1.10.1, PHP: 5.1.2) provides a formatted list instead. I tried to manipulate the file ImagePage.php using the documentation for ImageHistoryList but failed, probably because I don't know PHP very well. I also searched for hooks but couldn't find one. Is there a way to get the table-like presentation of the file history? Thanks in advance fpor any help. —ThT 09:31, 12 October 2007 (UTC)


 * The file history table replaced the list one in MediaWiki 1.11. You might want to upgrade to that version. — color probe — <strong style="color: rgb(130,130,30);">Talk  — Contribs 17:15, 12 October 2007 (UTC)

Insert an article like a template

 * Problem:I have two page, A and B. I wanna print page A to paper. It references to the content of page B so the content of that page wouldn't be printed.
 * Question:Is it possible to insert the content of page B into page A, like a template, when printed? --GKittlaus 13:37, 12 October 2007 (UTC)
 * Do you mean that you want page A to only be a link to page B, except if in printable view it should transclude it? --Nad 21:17, 12 October 2007 (UTC)
 * Yep, that's what I want. --213.214.18.64 05:37, 15 October 2007 (UTC)
 * Probably the easiest way would be to install an extension which gives you access to the query-string parameters. Extension:Simple Forms gives you a parser-function called #request and there's at least one other extension which has a parser-function for that too, but I can't remember which one(s). You can then make a template which renders the content according to the printable value. The following example template definition requires Extension:Simple Forms and Extension:ParserFunctions. It accepts one parameter which is the name of the template to embed or link to --Nad 06:09, 15 October 2007 (UTC)

After installing mediawiki directs to a blank page
I've installed mediawiki successfull. But when I follow the the link to my wiki, all I get is a blank page. Mediawiki says in the status-bar that it has directed to the main page. Mediawiki directs to the file index.php5 an this files includes the following script (in php) Before installation I had a problem with the .php extension (it had to be transformed to php5). Has this any connection with this problem of the blank page that occurs? I will be greatfull for some help. —Wyfa 15:12, 12 October 2007 (UTC)
 * The php5 should be ok as in just executes the content of the normal index.php, the blank screen could be that an error is occurring but PHP is set to report errors to a log only and not to the output. Either switch error reporting on from your php.ini or find where it logs to and see if any errors are occurring. --Nad 21:21, 12 October 2007 (UTC)

I've switched error reporting on. When I execute the mediawiki with /indexphp5 the following error is reported: Fatal error: Only variables can be passed by reference in /Wiki/includes/LinkBatch.php on line 163

When I execute the mediwaiki with /index.php the following error is reported: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ……../Wiki/includes/Exception.php on line 160

Dous this make any sense to you"(it doesn't to me). Is it possible that it has anything to do with the version of PHP I use?


 * I had the same problem although php5 was installed and the installation was satisfied with this. But after an upgrade by typing in "apt-get install php5 php5-common" (on debian) everything was fine. So perhaps this may be a problem with earlier php5 versions like 5.0.x.

Edit page doesn't save edits
New Install - I've just installed media wiki on my webspace. It used a MySQL database and I let the install scripts set the DB up.

Once installed clicking on the edit button in each section allows correct operation, i.e. I can edit, preview changes etc and they will get saved. However, if I click on the edit page tab at the top and make edits there, when submitting or previewing it takes me back to the top level landing page on the website and the edits aren't saved. Any thought on why this might be?

—86.130.11.27 05:19, 13 October 2007 (UTC)
 * What are the URL's that show in the edit-section links compared to the main edit link? --Nad 06:04, 13 October 2007 (UTC)


 * The url for the section edit is . The URL for the page edit is   TIA  I also moved the wiki to the top level domain incause it was some sort of setting there causing problems. But it stil has the same problem. UPDATE. It seems that for user pages and newly created pages everything works ok so it is only the main page that doesn't edit properly. This could be a setting I need to change perhaps?
 * That's an odd one, I've had a look but can't figure out why it may be doing that sorry... Have you attempted to set up short-urls with rewrite rules or anything like that which might be causing a redirect? --Nad 07:43, 13 October 2007 (UTC)
 * No, it is a clean brand new install, not touched any configuration yet. Could this be a bug then that needs reporting?
 * Just to add - I've got it working now. I found the problem, when using the tags   the wiki will not save the changes so I've taken the tags out fo the page.

I installed MediaWiki 1.9 earlier this year and all worked well. I hadn't used it in a while until yesterday, and all I got on the link was a blank page. I thought perhaps it needed an upgrade, so I upgraded to 1.11. The upgrade went well, but still blank on the home page. I then installed a whole new copy into a separate folder, with new table prefixes, the install went well, but still blank on the home page.

I'm sure it's probably something on my end somewhere, but I've exhausted my limited knowledge of what it could possibly be. Does anyone have any idea as to what I could try?

PHP 5.2.1 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/tmp) appears to be valid. PHP's memory_limit is 20M. —76.27.104.157 17:12, 13 October 2007 (UTC)
 * Add an info.php containing  into the same dir as index.php and that may yield some hints. I don't think a bug report would do much good since its a problem that's specific to your installation and isn't something that anyone else has reported happening with 1.11. There is a similar problem with with friendly URL's involving $wgUsePathInfo which you could set to false to see if its causing trouble in your case as well. --Nad 06:31, 14 October 2007 (UTC)
 * It seems to be working now - did you find the problem? --Nad 06:36, 14 October 2007 (UTC)

fatal error on main page
http://www.bendeboy.nl/wiki/index.php/Hoofdpagina there is the error, dont know what is the cause and dont know how to fix it hope you guys do know it is a fresh install, latest version
 * Are you sure that's a 1.11, I can't see any reason why that error would happen on line 163 of the 1.11 code...? What is your php version etc --Nad 20:24, 14 October 2007 (UTC)

5.2.2 latest version, tried again to install today

Automated welcome message
Hi, as a community website, it would be nice if welcome message can be automated so that it can be given promptly. Is there anyway I can do that with Mediawiki? &mdash; PM Poon 12:56, 14 October 2007 (UTC)
 * Under what exact circumstances do you want the message to display? --Nad 20:25, 14 October 2007 (UTC)
 * Hi Nad, thanks for your response. What I actually need is an instant welcoming message in the Talk Page to new members who just register. As it is, I am doing it manually although I use a template like . &mdash; PM Poon 22:24, 14 October 2007 (UTC)
 * That's not a bad idea and it's very simple to add but doesn't look like anyone's done it. I was going to paste in a few lines of code for you to test out, but then decided to make a quick extension for it which is at Extension:NewUserMessage. I've tested it on a 1.11 and it seems to work fine. --Nad 00:32, 15 October 2007 (UTC)

Error adter executing mediawiki
After executing mediawiki I got a blank page. I've switched error reporting on. When I execute the mediawiki with the command /indexphp5 the following error is reported: Fatal error: Only variables can be passed by reference in /Wiki/includes/LinkBatch.php on line 163

When I execute the mediwaiki with the command /index.php the following error is reported: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ……../Wiki/includes/Exception.php on line 160

Does this make any sense to you"(it doesn't to me). Is it possible that it has anything to do with the version of PHP I use?

—Wyfa 19:34, 14 October 2007 (UTC) —Wyfa 19:37, 14 October 2007 (UTC)
 * You must use PHP5, but it doesn't matter what version of php5 or that the extension is .php5. It looks like you may be using php4, if your host can't give you php5, you can still install mediawiki 1.6.10 --Nad 20:28, 14 October 2007 (UTC)

Disable signups?
How can I disable anyone from creating a new user? —72.228.5.117 02:40, 15 October 2007 (UTC)
 * Add the following to your LocalSettings.php file --Nad 04:19, 15 October 2007 (UTC)


 * Hm, I did that but people can still register by going directly to the signup URL. --72.228.5.117 19:48, 15 October 2007 (UTC)
 * I just did this when creating a private wiki and have not had the problem you describe. I'm wondering if you are trying the URL while being signed in as an admin.  If so, you will have the ability to create accounts.  Try loging out and then going to the URL. -- SamuelWantman 08:47, 18 October 2007 (UTC)

Extension:FileIndexer doesn't work with MW 1.11
Anyone got an idea why this extension stopped working after updating to MW 1.11? --Flominator 06:29, 15 October 2007 (UTC)
 * The upload form has changed in 1.11 and so have the properties of the UploadFile class which is the class of the object passed to the UploadForm:BeforeProcessing hook that Extension:FileIndexer uses. --Nad 08:24, 15 October 2007 (UTC)


 * Awesome. Thank you. --Flominator 07:51, 17 October 2007 (UTC)

$wgSpamRegex
Lately my wiki has been receiving a lot of spam with the character "Ã" so I wish to block it since there is no legitimate reason to use it. However when I add  it blocks all special characters, not just that one. How can I get the software to block only the Ã 60.50.167.251 09:49, 15 October 2007 (UTC)


 * Use "/Ã/u" - the u enables unicode characters in the expression. Make sure you save the file as UTF-8, without a BOM, though. -- Duesentrieb ⇌ 20:35, 15 October 2007 (UTC)

Error after starting mediawiki
After succesfull installation I start mediawiki. When it wants to dispaly the main page, the follwoing error occurs: Fatal error: Only variables can be passed by reference in ../Wiki/includes/LinkBatch.php on line 163 - I've moved the localsettings file - I've checked my php-version: it is 5.05 - I've checked the memory limit in php.ini: 20M Still it doesn't wordk. What can be the problem? —Wyfa 11:32, 15 October 2007 (UTC)

Integrate MediaWiki into a website
Is it possible to integrate MediaWiki into another Webpage? Most of the website in question is working with a proprietary CMS. The task is to build a glossary on a wiki base, that should integrate with the rest of the webpage. I recon it would be easy using a frame or Iframe, but that is not really an option. It should integrate into the page layout without frames (I recon that is because the website is commercial, and all the ads have to be in the right place). Has it been tried before? What kind of changes / installation measures would be necessary? I don't even know yet whether the CMS is running on a Unix or Windows server :( Mrdslave 12:05, 15 October 2007 (UTC)


 * MediaWiki is quite heavy nad doesn't really integrate well into anything. However, you can change the way it looks (see Manual:Skinning), and you can make it share user accounts with other parts of your system (see AuthPlugin). Some forther integration (of bits of your system into mediawiki, not really the other way around) can be done with extensions - see Manual:Extensions. -- Duesentrieb ⇌ 20:40, 15 October 2007 (UTC)

Query failed: ERROR: record "new" has no field "textvector"
I upgraded my postgres database from 8.1 to 8.2 this weekend. The upgrade seemed to go perfectly. I was able to view and navigate through my wiki pages. However, as soon as I attempted tomodify a page, I got the following error

Warning: pg_query [function.pg-query]: Query failed: ERROR: record "new" has no field "textvector" CONTEXT: PL/pgSQL function "ts2_page_text" line 3 at assignment in /var/www/htdocs/www/mediawiki-1.11.0/includes/DatabasePostgres.php on line 506

It appears to be related to the tsearch2 package.

I've tried uninstalling and re-installing the tsearch2 page. No good. I've upgraded my MediaWiki from 1.9.3 to the recent 1.11.0. No good.

Any help on how to fix this would be great. Shane

Update
I managed to track down the fix For some reason.. and I don't know why.. .the table "pagecontent" was missing the column "textvector". Somehow during my upgrade process.. this column went missing. but.. I logged in as my postgres user, and ran the following commands

ALTER TABLE pagecontent ADD textvector tsvector; ALTER TABLE page ADD titlevector tsvector;

That has fixed the error. I got this sql string directly from the mediawiki tables.sql file.

—12.193.187.130 15:05, 15 October 2007 (UTC)

Uploading
Hi. Just wondering if there is any intention to enable functionality to upload documents directly into a page (as attachments), instead of having to go through the slow process of uploading then pasting into a page the file path? This really would make life so much easier!!! Thank you. :>) —58.175.32.115 15:24, 15 October 2007 (UTC)

Swearing/Profanity
Why doesn't MediaWiki contain a profanity filter than can be turned on/off in the LocalSettings.php? I think this would be very useful. So far I haven't even been able to find an extension for it. Is it just not important to other people? —65.44.168.226 15:47, 15 October 2007 (UTC)


 * Just consider it spam, and you'll find loads of stuff. See Manual:$wgSpamRegex or, more generally, Manual:Spam, for example -- Duesentrieb ⇌ 20:43, 15 October 2007 (UTC)

Displaying an Excel spreadsheet in a Mediawiki page
Hello,

I'm wanting to have data from a Excel spreadsheet displayed on my MediaWiki page. When that spreadsheet is updated, it would be most useful to have the wiki page updated automatically, but I would be fine with a procedure for me to push the updated info to the wiki server.

So, I need to be able to:

1. Read and extract info from the Excel spreadsheet.

2. Display it as part of a wiki page

3. Have some mechanism for relatively painlessly sending updates from the spreadsheet to the wiki page.

Thank you,

-Adrian

—204.174.12.18 23:11, 15 October 2007 (UTC)
 * Extension:UploadCSV was under development for this purpose, but the guy who started it disappeared, you could try and track him down and ask if he's coming back... --Nad 23:15, 15 October 2007 (UTC)

'renameuserlogentry' missing from MessagesXX.php
Mediawiki-1.11_0. I couldn't find 'renameuserlogentry' in the MessagesXX.php files, but it does appear in the Wikipedia Allmessages page. Any idea? —Thanks, 79.180.14.234 02:30, 16 October 2007 (UTC)
 * Renameuser is an extension not part of the MediaWiki code-base so its messages are defined in it's own code in the SpecialRenameuser.i18n.php file. --Nad 05:22, 16 October 2007 (UTC)

Mediawiki loop
Can anybody help me? Our ISP installed a new MSQL-server. But now my wiki (version 1.6.2) is in a loop and I don't know how to get out of it. All links to the wiki are directed to the mainpage which fails to open with the message that there are too many references to the page. Only the login page and the talk pages work. Some type of abuse seems to have caused this. Please check: http://www.theorderoftime.com/game/wiki/ and advise...-213.84.172.15 17:26, 7 October 2007 (UTC)

Nobody responded, so I took action and upgraded to 1.11. Now the wiki is up and fine, but it does not connect to the old database. The new wiki does not recognize any of the old files in the database. Still the base name and user and pass are the same. Old local settings do not work. Following upgrade instructions didn't work with setting and restoring the permissions for the config-folder. I shouldn't touch the permissions of the folder, then everything installs. Entire wiki gone now. Nevertheless does MYSQL offer all the old files. How can I make the new wiki recognize the old files? What to do? Anybody a suggestion?-213.84.172.15 15:22, 8 October 2007 (UTC)

The problem is that i can't manage the shell management with a CLI as advised. The Shell-program suggested at http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki is too critical to be useful. It doesn't connect to the upgrade.php. For the reinstallation-option turns the message: "When the installation process starts, the script will detect existing MediaWiki tables, and upgrade their schema." out to be false: my new installation doesn't connect to the old database at all. Not with the same names used. How can I address the upgrade.php. now in order to restore the wiki to the database I installed 1.11? What is the correct procedure now having upgraded from 1.62? I'm stuck here...-213.84.172.15 17:16, 8 October 2007 (UTC)

We managed to engage PHP.2.1 The result was as follows: $ ../game/wiki/maintenance/update.php ../game/wiki/maintenance/update.php: line 1: ?php: No such file or directory ../game/wiki/maintenance/update.php: line 2: require_once: command not found ../game/wiki/maintenance/update.php: line 3: /MP: is a directory ../game/wiki/maintenance/update.php: line 4: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 5: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 6: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 7: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 8: */: No such file or directory ../game/wiki/maintenance/update.php: line 10: /MP: is a directory ../game/wiki/maintenance/update.php: line 11: =: command not found ../game/wiki/maintenance/update.php: line 12: syntax error near unexpected token `(' ../game/wiki/maintenance/update.php: line 12: `$options = array( 'quick', 'nopurge' );'

so this doesn;t work either.. I give up. The ball is at your side. -213.84.172.15 18.64:16, 8 October 2007 (UTC

We consulted the ISP about this problem of the new installation not connecting to the database, but they referred me back to you with the message that they couldn't find any fault at their side. Can somebody respond to this? -213.84.172.15 10:38, 9 October 2007 (UTC)
 * Are you running php5? there's a typo above so I can't see whether you have 4.2.1 or 5.2.1. You must have php5. If you're on php5 and getting those errors I suspect it's due the shell program not being able to have sufficient access to the hosting environment. You could export your database and run the upgrade in a local shell environment then import it back into the server again. --Nad 20:26, 16 October 2007 (UTC)\

I have PHP 5.2.4. If I run the command $ php update.php in the MSQL query shell I get as a result a syntax error message. Nor is clear how to change with that shell-function to the maintenance directory. For alternative 1 I refered to the php-program phpShell mentioned at the Manual:Upgrading_MediaWiki page. under Update option 1. So that option doesn't work either. Alternative two of rerunning the installer doesn't result in the predicted effect of the new Wiki recognizing the old database content present. I get a brandnew wiki seeing nothing at all, having used the proper names and passes. The update.php file must be run, that is clear, but it remains a mystery how that should be done. With the browser there is no access granted to the file. Why can't it be run through the browser from the wiki-program on a special page? That would serve better I guess. Your extra suggestion above of again loading the database does not give the desired result either. I have no idea what you mean by "running the upgrade in a local shell environment?" What do you mean by local shell environment? I have the program 'Terminal' on my Mac, but it does not communicate with the wiki-stuff on the server. The other shell-box I know of is the MYSQL- query box that doesn't accept the syntax of the message $ php update.php as I said. I tried to reinstall the old verson number mediawiki 1.6.2, but that also requires the mysterious and unapproachable udate.php to be used. I'm still a total loss on getting my wiki upgrade running with the original content. Our Wiki is down for 13 days now. What to do?-213.84.172.15 08:41, 20 October 2007 (UTC)

Firefox Issues With Wiki
Hi There,

WE have noticed that local file directory links that work in our mediawiki page in Internet Explorer are not working in Firefox, have you come across this before? and is there a solution for it?

An example of the link is, We are running MediaWiki 1.6.6 and PHP 5.1.0

Any help would be much appreciated, I would expect that this is a security issue in firefox but just wondered if you had come across this before?

Thanks

Joe Boyce

CNET NETWORKS —62.108.137.10 15:24, 16 October 2007 (UTC)
 * See --Nad 20:19, 16 October 2007 (UTC)

Switching to
I'm interested in switching from the hashed directory/URL structure for uploaded files to the flat one, on an existing wiki. Obviously one of the steps is to set  to , but that's the easy part.

Manual:$wgHashedUploadDirectory states "This parameter can not be changed after the first image or file has been uploaded (or you need to move all previous uploaded pictures)", but it doesn't say how you would go about moving the pictures/files.

Is it sufficient (assuming favorable conditions: small wiki with complete control, possibility to ensure there are no edits and uploads during maintenance, etc.) to go to the file system and move all  files to , all   files to  , all   files to   and all   files to  ?

Thanks in advance.

—Thibgc 16:36, 16 October 2007 (UTC)


 * Yes that's all you should need to do, and you can just delete or leave thumbs and temp as they'll be rebuild on demand. --Nad 20:17, 16 October 2007 (UTC)


 * Many thanks.
 * It is my intention that I'll end up writing this up on Manual:$wgHashedUploadDirectory because someone else in the future might be wondering the same thing.
 * Thibgc 06:06, 19 October 2007 (UTC)

How can I write Articles that do not start with a capital letter?
How can I write Articles that do not start with a capital letter? For example log4j starts an article named "Log4j". But I want to have one that is called "log4j". Do I need a MediaWiki Plugin or something? —PMay 17:23, 16 October 2007 (UTC)
 * You have two options, you can turn off the forcing of the first letter to capitals with $wgCapitalLinks, or you can enable $wgAllowDisplayTitle to change displayed titles on a per-article basis. --Nad 20:36, 16 October 2007 (UTC)

How can I make Wikipedia (or other MediaWiki sites) add page content when certain URLs are added to the page?
Problem: on pages (in our company's internal MediaWiki-based site) where I'm adding links to an external book service, I'm getting a lot of questions from other users on how to sign up for the subscription service. Unfortunately when they click through the URLs directly to the book service, it doesn't give them any indication of how to subscribe if they aren't already subscribed.

On all pages where URLs for the book service appear, I'd like to automatically include a "sidebar", References link or some other recognizable callout. This way, the page will automatically include instructions like "Having trouble accessing the subscription content at the external links? Please go [here] to sign up."

I've experimented with Templates and they're helpful, but only when I explicitly edit each page and manually insert the Template tag. However, I'd like to avoid having to track down all such pages as they're added by colleagues, strangers, etc. - I'd prefer that the Wiki server add this "sidebar" text + link as soon as someone adds one of these URLs to any page.

I.E. I'd like to enable some sort of "automation" that would recognize when the page contains a URL with one or more specific FQDNs (such as the book service's FQDN), and to automatically append this "sidebar" text to the page's content. [I'd even be happy to generate the Template that would contain the inserted text, but I'd rather not have to manually insert that Template every time it's used.]

Request: can anyone tell me whether there's an extensibility capability already in the MediaWiki software that would allow me to do this -- without having administrative privileges on the server? I'm hoping there's something feature similar to Templates, that the end user can generate themselves, that would allow this kind of "auto-append" to work. [If there's a commonly-used add-on for MediaWiki that uses this I'd be interested in that too, since it's possible we're using some of the more common add-ons here.]

Thanks for any tips or hints you might have.—134.134.136.4 20:38, 16 October 2007 (UTC)
 * The following code snippet can be added to your LocalSettings.php file which will add a template to the SiteNotice if the page contains a http://www.foo.bar. You could adjust this to different template and URL or other text pattern that suits. To dynamic add content to the sidebar currently requires the skin to be hacked because the MediaWiki:Navigation article is not wikitext so can't be customised very well. --Nad 00:02, 17 October 2007 (UTC)


 * Thanks for your tip - this looks like it'll do exactly what I was hoping. Q: Is this something which a non-admin (i.e. end user) has the ability to make changes?  I'm not an admin on the site in question (nor do I wish to become one), so I'm hoping there's some kind of feature - in my imagination, I'm hoping for some sort of "auto-Template" - that could do something similar to what you've suggested.--Poseidon 21:52, 17 October 2007 (UTC)

How can I make the start URL of the Wiki to point to a page of my selection?
I have followed the instructions and installed MediaWiki in /wiki directory of Web root. I have enabled short URLs. Everything works fine except for one thing: when I type the start URL of the Wiki, i.e.

http://example.com/wiki/

it always loads the URL

http://example.com/wiki/Main_page

regardless of what I enter in MediaWiki:mainpage

How can I make the start page point at anything but Main_page?


 * Cleared your cache or tried on a new / separate computer? -- Dr DBW |  talk  23:49, 16 October 2007 (UTC)

first i set up the sidebar and everything is running fine, after that i add $wgCapitalLinks = false; to the LocalSettings.php.

then mediawiki dont cares about the MediaWiki:Sidebar. (http://www.mediawiki.org/wiki/Sidebar)

delete and recreate takes no effect. the same with remove $wgCapitalLinks = false; delete and recreate.

another problem is that it seems to show just a few minutes after installation the main site if i enter the diretory in the browser.

after i get a site containing:

l<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML>

and just if i type index.php5 the main site was loaded. i check it serval times and at the last wone i dont change anything after installation.

hmm i dosent know the code of mediawiki,

so i often try to solve it with a reinstallation,

if i can't locate the error.

and this taks much effort uff,

so i hope you may give my some answer.

thanks in advance —84.159.167.142 03:25, 17 October 2007 (UTC)

Remove Toolbox
How do I remove the toolbox for IPs? --Flominator 07:54, 17 October 2007 (UTC)

Hi,

Please say yes or no to the following criteria for mediawiki please.

individual user accounts for login to access the wiki :

Separate read and write permissions e.g., can give one account read only permission, another account read and write permission:

Limit access to areas of the wiki (pages in the wiki) based on user accounts or a group (i.e., user accounts in the group)*


 * more detail on what I mean by this: access control across sections of the wiki e.g., if team members A and B and partner C are sharing material on a Twiki instance, would have to create another, separate Twiki instance if you want just team members A and B share info. With an enterprise wiki like that from Socialtext, there is just one instance of the wiki to accomplish this. Socialtext uses term workspace to mean a set of pages on a wiki which have unique access e.g., the "marketing workspace" means that the pages in the marketing section of the overall wik instance have a unique set of users who can access it.

I will try to check here again, but if you anwser this, please email quickly the three booleans to cammarata123@gmail.com

Thanks So Much, Nick —71.232.122.240 10:56, 17 October 2007 (UTC)

to send email alert to site admin after posting abusive words in a article.
Hi Can we implement a functionality like Whenever any user try to post any article which have any of abusive words(such like sex,buy-viagra,sexcluborgy,penis etc.), this page would be posted and one alert message will be generated, saying like this “Your article contains inappropriate word(s), please remove this word(s) ”. After that one email alert will be sent to Site administartor. Next admin will detect use of inappropriate word(s) in this article.

Then if admin see that the words are ok, they can release the article or change it to be more appropriate. Thanks in advance —Bpishere 12:03, 17 October 2007 (UTC)

Voting for Extensions
Why doesn't install Extension:AjaxRatingScript in this wiki and lets the users voting about Extensions? The range of the extension-quality is wide so it would be good to see how good or bad an extension is or how many users voting for it and know how popular an extension is. --Kolossos 14:24, 17 October 2007 (UTC)
 * Good idea, extension writers would like to know more about how many people use their extensions too :-) --Nad 19:56, 17 October 2007 (UTC)

To show a message box at top of the article
Hi I have to implement to display a message box at top  of any article that will be added by only administrator. (Just like that http://en.wikipedia.org/wiki/Honesty) Please guide me how to do it. Thanks in advance —Bpishere 14:51, 17 October 2007 (UTC)
 * Add wikitext content to $wgSiteNotice --Nad 19:57, 17 October 2007 (UTC)

Email alert after a new page and new discussion
Sir I need to install a functionality to sent email alert to website admin after new page and new discusion. Please suggest me an appropriate extension for it. Thanks —Bpishere 14:59, 17 October 2007 (UTC)

Authorisazion to read and write
Hi,

I would like the wiki content only to be read and modified by members. Actually I would like to be able to accept and refuse a suscribtion and I would like an unauthorised member (anyone who doesn't login) not to be able to read the pages.

How is it possible ? (i didn't find it in the help pages...)

Thanks —82.243.108.197 18:25, 17 October 2007 (UTC)


 * Manual:Preventing access -- Duesentrieb ⇌ 18:38, 17 October 2007 (UTC)

Uploading compressed files with second extention from blacklist, like dosome.pl.gz
A user needs to put perl script on my wiki page for example "dosome.pl", but upload script will not let him do it because pl is on the black list for being executed by http GET with mod perl. If user creates an archive "dosome.pl.gz" upload script still will not let him to upload it complaining about "gz" is unwanted extension even if "gz" is on the allowed list. I figured that SpecialUpload.php checks all extensions from filename against blacklist, not only last one. I figured thet it does that only if second extension is on the black list. I found solution by changing following on line 352:

$this->checkFileExtensionList( $ext, $wgFileBlacklist )

to

$this->checkFileExtensionList( array(end($ext)), $wgFileBlacklist )

I am wondering why would is it checking all the extensions and not only last one, and why is it complaining about about last one when problem is with another part of the filename?

I am running wikimedia 1.10 on Apache/2.0.59 (Unix) PHP/5.2.1 mod_perl/2.0.3 Perl/v5.8.4 Server with mysql Version 14.12 Distrib 5.0.27 for sun-solaris2.10 (sparc)

—Anuar

Advantages of MediaWiki over other wiki softwares?
I am new to wikiworld and would like to know reasons why MediaWiki might be the best software for our research group to use, as opposed to programs like confluence or socialtext. Thanks, Jeanne —132.236.225.25 13:46, 18 October 2007 (UTC)
 * A big advantage is that it's the one that most people are familiar with through the popularity of Wikipedia. Also it handles scalability far better than any others, but this is not really relavent for small projects or intranets. MediaWiki is a very basic system in terms of features though, so if you need fancy things like WYSIWYG then others are probably more appropriate. For organisational needs MediaWiki is very good since all the work-flow and project management systems in place on Wikipedia are directly applicable such as their policies and templates, but it's quite a learning curve. --Nad 22:08, 18 October 2007 (UTC)
 * Also see Comparison of wiki software--Brian 23:37, 18 October 2007 (UTC)

How are passwords checked?
I'm going to have multiple Wiki pages and would like to create a sort of portal login page. I would like this portal login page to be able to check the user database of the wikis. I can see in the db where the passwords are stored and it looks like they're stored as a hash. When I use php's md5 to hash the same password it creates a different result than what's in the database. So I suppose my question is, how is the password hashed when it's in the database so that I can check it?

MW version 1.8.5 PHP 5.2.4_p20070914-pl2-gentoo (apache2handler) MySQL 5.0.44-log —65.199.215.6 16:48, 18 October 2007 (UTC)

Job Queue Length Is Still Sitting at 1
Details see above, Project:Support_desk -- Dr DBW |  talk  03:57, 19 October 2007 (UTC)

Linking to files
Hi guys. In a wiki page, id like to know if there are any extensions or a way to link to documents. I have a folder which I can dump files to in: /var/www/html/mediawiki/dropbox/test Id like to know how in a wiki page, I can reference, for example, a .doc file called test.doc in the above location. Any help appreciated.
 * see --Nad 20:45, 19 October 2007 (UTC)

Info box template
I am trying to make a template for an info box and have it keep to the right side of the page( like the song info on ). The template code I am using it at What do I need to change for it work like on wikipedia?


 * -- Dr DBW |  talk  23:59, 21 October 2007 (UTC)
 * Your installed mediawiki software might have missed infobox class definition in its css. You sould go to mediawiki:monobook.css in your wiki.(if you use monobook skin) and add infobox class like w:mediawiki:monobook.css to it. it is now like this:

/* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; } add this to mediawiki:monobook.css--Soroush 13:38, 22 October 2007 (UTC)

Is import via phpMyadmin possible?
Hello. Maybe stupid question, but I am not able to find any information about. I have brand new mediawiki installed, and I have got a lots of texts in the .doc format (about 10 000 items - term and short explanation). Is there any way to import them into the wiki (via phpMyadmin, I presume)? No links, just text. Could anyone post me any link or just say "no, its impossible?"

TIA!
 * It would be very difficult to import them directly into the database. It would be easier to convert them into wikitext using existing converters such as doc2wiki or this template. These will convert only single documents though. If you need to convert a large number of docs to many articles you'll need to batch convert them all and then either use a bot such as PyWikipediaBot or Yi-bot, or convert the wikitext articles into XML appropriate for importing with the Special:Import page. --Nad 20:56, 19 October 2007 (UTC)

Where is portlet id="p-tb" Defined?
I've looked in Monobook/main.css and cannot find it although it is being called in Monobook.php. Can someone please tell me where I can find portlet "p-tb"? I'm running Mediawiki 1.10.1 Thanks in advance. —Cooknn 03:08, 20 October 2007 (UTC)
 * I found the answer here --Cooknn 18:41, 20 October 2007 (UTC)

Problems With Domain
I have just installed MediaWiki on the home directory (public_html) of my hosting account, but when I try and access the wiki at http://www.marketvice.com it simply shows a blank page. To access the Wiki I have to goto: http://marketvice.com/index.php5?title=Main_Page

Is there some config setting I need to change in order to make the wiki accessible from Marketvice.com? —60.242.97.239 05:09, 20 October 2007 (UTC)


 * Manual:Short URL -- Dr DBW |  talk  00:02, 22 October 2007 (UTC)

Two More Issues: Template Expansion and IntelliTXT Ads
An annoying issue on ZeldaWiki.org recently has been that templates (such as those for game information or character information) with multiple fields of input always show fully expanded, even when no information has been entered into a specific field. I think an extension might be causing this, but before I go off disabling things left and right, I'm wondering if anyone here might know the cause straightforwardly.

The second issue is less of a problem, and more of an inquiry. I am unsure how to assign a script to only activate when a user is NOT logged in. This means that I wish for IntelliTXT ads to display for non-registered users. How would I go about doing this?

Thank you! --Jason 11:56, 20 October 2007 (UTC)

Problem witch guestbook extension
Hi I hawe problem with guestbook extension. I installed it on my wiki, and it works, but when i click postreply icon it shows "No such special page".


 * Recommend you ask on the talk page for the extension, where the developer should be available to help you. -- Dr DBW |  talk  00:03, 22 October 2007 (UTC)

Only registered User should edit
Hello,

is there a possibility, that only registered User can post new articles or edit existing articles?

—91.38.243.246 20:27, 20 October 2007 (UTC) * * * * * Absolutely possible. Set (or if this line is not present, add) this line to your LocalSettings.php:
 * $wgGroupPermissions['*']['edit'] = false;

If it does not work for you, wait for Nad, LOL.

(P/S: There are 2 approaches: one that allows you to still show the top row of tabs (ie. [article] [discussion] [edit] [history], etc) and one that allows you to hide it.) &mdash; PM Poon 10:22, 21 October 2007 (UTC)

Automatic replacement of string from more than one page
Hi Nad, I got confused when you gave me so many options. You identified 3 approaches:
 * Create a simple match & replace http robot based on existing mediawiki-client code like libwww-mediawiki-client-perl or wiki.pl.
 * Create a script which loops through and modifies the article by accessing the database, such as caretaker.pl which is desgined to loop through all articles daily and apply a set of match & replace rules on each.
 * Bot can can be simplified by installing Extension:Simple Forms which adds extra query-string options which can be used for matching and replacing content. Yi-bot is an example script which uses this method of mass replacement.

I could not make head or tail after going through the files. Which approach is more suitable for donkeys? I have absolutely no experience using bots? PM Poon 10:13, 21 October 2007 (UTC)
 * No matter what way you use you're going to have to modify a script because you need to add your own specific pattern-replacement rules. I'd say the third option above would be the easiest approach to get started with since it's not really a bot and doesn't have to log in and use the human forms. You need to install Extension:Simple Forms for that one to work, just the default install is fine. --Nad 20:31, 21 October 2007 (UTC)
 * Also if you have to run the script from a windows machine then you'll probably need to install perl first since that's the language the script is written in and it's not standard on windows. I recommend ActivePerl which you can download as an MSI installer from here. It looks complex, but once it's installed you never need to know about it, it just means that Perl scripts can then run from your command prompt by preceding the script name with the word "perl". --Nad 20:44, 21 October 2007 (UTC)

Is it possible to show another web site in the main content?
And how? —tst 07:43, 22 October 2007 (UTC)
 * hmm. Well, if you mean simple ext. linking, then yes - --  Anon  Diss  11:00, 22 October 2007 (UTC)
 * See the following extensions for embedding various kinds of stuff --Nad 21:32, 22 October 2007 (UTC)


 * Extension:EmbedURL - embeds an external URL as an iFrame
 * Extension:Embed Document - embeds PDF's or word documents etc
 * Extension:EmbedVideo - embed external video like youtube from URL
 * Extension:Flashlets - embed SWF's from URL or ActionScript code

Supressing external links
Can I prevent URLs to be translated into clickable links? Perhaps by emptying Manual:$wgUrlProtocols, or will it have side-effects? Can't simply try it out at the moment. Thank You. -- Mrdslave2 13:22, 22 October 2007 (UTC)

Extensions
Is there a way for an admin (not the owner) to add extensions? --Bentendo 17:13, 22 October 2007 (UTC)
 * Anyone with access to the mediawiki file structure can add extensions, for example with FTP or SSH access --Nad 21:23, 22 October 2007 (UTC)
 * You have to have server access to upload the files for the extensions to be able to install them. It is not done via the MediaWiki interface. -- Dr DBW  |  talk  22:28, 22 October 2007 (UTC)

no write-properties for subdirectories of the image-directory
Image-upload works, but there are no picture to see. I set the properties for image/ to 755 befor I startet to upload. Subdirectories like image/0/ has 700. What can I do, that MediaWiki set the right properties for the subdirectories of image/. Thanks for help —Antropositiv 21:50, 22 October 2007 (UTC)
 * Do you get any errors? What does the screen say after uploading of the image is completed? What does the Recent Changes page say?  Are there images on the server now? i.e. check in the image directory to see if they are actually there or not. -- Dr DBW  |  talk  22:29, 22 October 2007 (UTC)
 * No, I don't get any errors. I can uplod an image and there are no errors. But on the image-page i can't see the image. The image is physically on th eserver.
 * When I set with a ftp-programm chmod to 755 with handfor all subdirectories of the image-directory, than I can see all images (also thumbs) on a normal-build artikel.
 * What MediaWiki don't do is: to set the properties with the software. Maybe it is a server-proplem, I don't know. But in all cases: I don't get any error-messages.—Antropositiv 20:46, 23 October 2007 (UTC)

Partial HTML in templates
Hey guys. I'm familiar with a lot in MediaWiki, I've been installing and using it on my sites for almost a year now, and everything has gone smooth so far. However, there's one weird thing I've come across now, that I'm not sure how to get working. I'm wondering about partial HTML in my templates, or more specifically, templates with HTML start tags that — purposely — lack end tags. There are some templates on Wikipedia that are only used for initializing a main template, such as Familytree/start, and it works perfectly on Wikipedia. But on my wiki, the start tag in this template automatically gets closed when transcluded on a page, thereby rendering the what-should-be-an initialization useless. How do I prevent it from automatically closing the HTML tag? I'm using MediaWiki 1.11.0, PHP 5.1.4 and yes, I have the ParserExtensions plugin installed. —87.61.162.116 10:44, 23 October 2007 (UTC)

Edit the links displayed on the left hand side (e.g like you have site/download/support/development/communcation)
Hi, I would like to be able to change the links on the left handside, perhaps so I can have links that go directly to a category to make it easier for people unfamiliar with Wiki visiting my site. Its a music based site so I'd like a link on the left frame to go to the category page for 'Grime Acts', 'Grime Radio Stations', 'Grime DJs' rather than someone have to search for it. Any help would be great, thanks —195.171.102.34 14:27, 23 October 2007 (UTC) (Tom Higham)
 * Edit MediaWiki:Sidebar on your wiki, see Manual:Sidebar -- Dr DBW |  talk  23:18, 23 October 2007 (UTC)

How can you change a namespace?
How can you change a namespace, e.g. if you want to change "Image:" to "File:"? SPQRobin 18:54, 23 October 2007 (UTC)
 * See Manual:Namespace and Manual:Using custom namespaces -- Dr DBW |  talk  23:19, 23 October 2007 (UTC)

$wgLogo Missing is from my LocalSettings.php?
Brand new mediawiki installation: 1.11.0 The hosting service is running, I think PHP 5.2, and mySQL 4. I'm using emacs to edit my LocalSettings.php file.

First thing I tried, literally, was to change the logo, $wgLogo. I've installed mediawiki in the root directory of wiki.joeyd.org, and the main page appears at ..org/index.php/Main_Page I uploaded a jpg ..org/skins/common/images/ which is where the default logo is. But when I went edit the LocalSettings.php file, there is no such variable as $wgLogo! I doublechecked the manual (www.mediawiki.org/wiki/Manual:LocalSettings.php#Logo) and I even downloaded the file, and opened it in a word processor to double check, but it's not there... despite this the default logo is there! So I added the line, as shown in the manual, to Localsettings.php, and it makes the default logo disappear, but my custom logo ain't there. When I comment out the line, the default logo reappears!

So my questions are 1. have you seen a LocalSettings.php file get corrupted such that it's missing important variables before? 2. What is the explanation for the default logo reappearing when the variable line is commented out? 3. is the $wgStylePath also supposed to be defined in the LocalSettings.php file?

thanks in advance, —Tzf 22:18, 23 October 2007 (UTC)


 * 2. because that is what is set in the DefaultSettings.php file.
 * 3. you define anything in LocalSettings.php that you want to be different from the default settings. -- Dr DBW |  talk  23:21, 23 October 2007 (UTC)


 * Thanks Dr,
 * My default LocalSettings.php did not include $wgLogo nor $wgStylePath! Are they not built into it by the current install script? If that's the case it seems like the Manual:LocalSettings.php is misleading, as the $wgLogo variable is listed as a default. Anyway, creating the $wgLogo variable works... but I have not found a way of creating the $wgStylePath that does not kill the whole script -the whole main page disappears! I've tried many variances on that line, but as soon as I uncomment that variable, KABOOM! So I'm using a literal path in the $wgLogo declaration... (checked the $wgStylePath page- no luck). So, thanks again, I have the logo I want, and I can move on, but I'd really like to know where I'm going wrong now.  -Tzf 02:39, 24 October 2007 (UTC)


 * As I said above, things are set to default values in DefaulSettings.php, then if you want it to be something different from those, then you specify it in LocalSettings.php. Sorry, no idea about the other one, never changed that one myself. -- Dr DBW  |  talk  06:17, 24 October 2007 (UTC)

Wanted Pages?
What is the Source Code for making a Wanted Pages - Page in list format? Thanks! —85.127.230.48 06:53, 24 October 2007 (UTC)

Insert PHP code in an article
I want to insert a PHP script that connects to a SQL server in my Wiki. I want to insert this script in an article. How can I insert PHP code in an arcitle? It would also be very good if the source code would be protected.

Here are my Wiki:s preferenses: MediaWiki: 1.6.10 PHP: 5.2.4 (cgi-fcgi) MySQL: 4.1.11-Debian_4sarge7-log Extensions: Parser hooks: Cite, Adds by Ævar Arnfjörð Bjarmason Extension functions: wfCite Hooks: ParserClearState: (Cite, clearState)

--Fringilla 09:34, 24 October 2007 (UTC)

dumpHTML with relativ path to images
hi, if i execute the dumpHTML.php like this the generated source code will be <img alt="" src="/images/5/5e/bla.jpg" width="800" height="100" border="0"/> And if you are using Linux, it means that the browser is searching in your root-dir for the images because that path is an absolut path in Linux.

<img alt="" src="images/5/5e/bla.jpg" width="800" height="100" border="0"/> that would be the right source, that should be compiled for relative path. But no, everything is for the MS mouse-pushers ;-)

So what do i have to change that my script will work. And plz, don't say the OS ;) --GKittlaus 15:39, 24 October 2007 (UTC)

WYSIWYG editor only showing up in Monobook skin. How can I use this in other skins?

—204.15.0.82 16:44, 24 October 2007 (UTC)

I know very little about computer technology and software. Would you be able to indicate in simple terms and easy steps how to create and upload a wiki page on the WWW?

Thanks a lot.

Regards

Giquel@hotmail.fr

how the extension is make?
Hello Users,

i have a question. Maybe someone know here where this

extension on the right side "Website-Infos"

http://www.websitewiki.de/Movie.de in mediawiki is make?

This extention search a webside and write automatic all data and screenshot in the database, after show all on mediawikisite.

Thanks for answer.

—82.135.7.19 21:08, 24 October 2007 (UTC)

problems with install
hi Im chris (germany)

i have a installation problem but can`t found a fix in the documentation or install guide... i have upload all files on ftp.. then i go to the link /stuff so that the message came klick to setup... with the mediawikilogo on page... i klick this and than cames this error line ______________ PHP 5.0.0 or higher is required. If PHP 5 is available only when PHP files have a .php5 extension, please navigate to index.php5 to continue installation. ABORTING. _________________

i klicked than on the link at the end INDEX.php5.. and than comes this line: _______________________ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@gator135.hostgator.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. _____________________

but i have aSK THE SUPPORT php5 is on this server do u can help me with the install pls or do u know the mistake ? its ery importent for me to install this couse its for our cystical fibrosis wiki... ;)

greatings chris

icq: 490043925 msn: n1mm2@hotmail.de

Setting up authenticated access to RSS ...
I'm running MW 1.11.0, have everything setup beautifully, but its a 'closed community', where all unauthenticated users can do is create a new account. Of course, this has the drawback that you can't connect with an RSS Reader to monitor changes, either as the Sysop, or as a regular user.

I've searched everywhere I can think of, so this is my last resort before writing off RSS ... is there any way of setting up RSS so that someone with a login id / pass can watch 'RecentChanges'?

—24.137.93.67 00:07, 25 October 2007 (UTC)