Project:Support desk/old

Thumb and pixel options have no effect when embedding images
I am running MediaWIKI 1.9.3 on IIS6, PHP 5.2.1, MySQL 4.1.22, and everything working as expected including ImageMagick.

But when I embed an image into an article and use the |thumb or |200px options with the image they have no effect. The |frame option works perfectly, as do |right, |left, etc. and the alt text options.

To confirm ImageMagick works, if I access a category that contains images, ImageMagick successfully thumbnails these automatically (when I put a typo into the $wgImageMagickConvertCommand value, this thumbnailing fails with an appropriate error), so I know this works OK.

Just can't understand why the |thumb and |200px options don't work - do these even use the ImageMagick convert application?

Can anyone help find the cause of this, or know a fix please?

Thanks, Ben.

I have also the same problem when I resize images like "image:learn.jpg|300px" it doesn't show any image (thumbs) and doesn't give me any error ...just an empty rectangle of the thumb size (300px) with X sign at the top left of that empty rectangle !!! .... I tried something I found in one of the forums, to commented these lines (in \wiki\includes\Image.php):

And instead add this : $cmd = $wgImageMagickConvertCommand. " -quality 85 -background white -geometry {$width} ". ($this->imagePath). " " . ($thumbPath); It works with them but didn't work with me!!!
 * 1) $cmd = $wgCustomConvertCommand;
 * 2) $cmd = str_replace( '%s', $src, str_replace( '%d', $dst, $cmd ) ); # Filenames
 * 3) $cmd = str_replace( '%h', $height, str_replace( '%w', $width, $cmd ) ); # Size

directory I found thumbs with the sizes I've tried on. and the whole directory that contains the the "convert" ....    which is the right path to the thumb
 * I'm sure that the converter works because when I opened the image/thumb
 * I gave permission for both the IUSR_* and IWAM_* on both the Image directory
 * and when I view the source of the page, the path of the thumb is

waiting for your help regards, Butmah

Similiar problem for me. Error message in place of the thumbnail: "/usr/bin/convert: Unrecognized option (-thumbnail)"
 * SuSE Linux 8.2 (Shared Hosting, no root access)
 * Apache/1.3.36 (Unix) PHP/5.2.0 with Suhosin-Patch FrontPage/5.0.2.4803 mod_fastcgi/mod_fastcgi-SNAP-0404142202 mod_ssl/2.8.27 OpenSSL/0.9.6i
 * MySQL 5.0.22
 * Path ImageMagick 5.5.4: /usr/bin/, Path Convert (ImageMagick): /usr/bin/convert
 * MediaWiki 1.9.3, AddHandler php-fastcgi .php .php4

Upload and everything else goes. Strange is that I use a MediaWiki 1.6.5 system on the same hosting where thumbnailing works. I was not able in the last hours to find a solution even searching all the web and are now frustrated.

Thanks for indications. Chrus. 2007-04-29

High CPU usage
I'm using Mediawiki on "Second Life Italia" website (secondlifeitalia.com), it's working fine but CPU usage on the web server is TOO high. Any page request require 20%-50% on w3wp.exe; same situation with Apache for Windows (httpd.exe). On the other hand, MySQL load is really low and at normal levels. Turning caching on/off seems to change anything. What I can do? Thank you in advance.


 * User:Robchurch/Performance tuning discusses installing APC, which might be helpful. robchurch | talk 00:58, 24 May 2007 (UTC)

How can i find out the most searched words on my mediawiki site?
I need to get a report of what words, and how many times a word has been used for searchs during a period of time! Is that possible?

I've been looking aroung for addons or some sort of report but no luck yet.

Regards

Andy

Error in Setup.php
Hi all,

I have a problem. I get this error on the top of the page: "Warning: Invalid argument supplied for foreach in /data/web/mysite/www/wiki/includes/Setup.php on line 94" Please help me, what can be the problem? --Erdsiger 09:12, 14 May 2007 (UTC)


 * What is line 94 of /data/web/mysite/www/wiki/includes/Setup.php in your case? robchurch | talk 15:30, 17 May 2007 (UTC)

These are the lines: 87 # Useful debug output 88 if ( $wgCommandLineMode ) { 89 	wfDebug( "\n\nStart command line script $self\n" ); 90 } elseif ( function_exists( 'getallheaders' ) ) { 91 	wfDebug( "\n\nStart request\n" ); 92 	wfDebug( $_SERVER['REQUEST_METHOD'] . ' ' . $_SERVER['REQUEST_URI'] . "\n" ); 93 	$headers = getallheaders; 94 	foreach ($headers as $name => $value) { 95 		wfDebug( "$name: $value\n" ); 96 	} 97 	wfDebug( "\n" ); 98 } elseif( isset( $_SERVER['REQUEST_URI'] ) ) { 99 	wfDebug( $_SERVER['REQUEST_METHOD'] . ' ' . $_SERVER['REQUEST_URI'] . "\n" ); 100 } --Erdsiger 15:31, 18 May 2007 (UTC)

Internal Error: #1033 / Database.php on line 708 and 825
Hi, I'm suddenly getting an error (despite not changing anything inside the DB beyond people editing or adding entries and nothing in the files inc. database.php):

Original exception: exception 'DBQueryError' with message 'A database error has occurred Query: SELECT value,exptime FROM `objectcache` WHERE keyname='DBNAME:messages-hash' Function: MediaWikiBagOStuff::_doquery Error: 1033 Incorrect information in file: './DBNAME/objectcache.frm' (localhost) ' in /DBLOCATION/includes/Database.php:708 Stack trace:
 * 1) 0 /DBLOCATION/includes/Database.php(665): Database->reportQueryError('Incorrect infor...', 1033, 'SELECT value,ex...', 'MediaWikiBagOSt...', false)
 * 2) 1 /DBLOCATION/includes/BagOStuff.php(396): Database->query('SELECT value,ex...', 'MediaWikiBagOSt...')
 * 3) 2 /DBLOCATION/includes/BagOStuff.php(296): MediaWikiBagOStuff->_doquery('SELECT value,ex...')
 * 4) 3 /DBLOCATION/includes/BagOStuff.php(236): SqlBagOStuff->_query('SELECT value,ex...', 'DBNAME...')
 * 5) 4 /DBLOCATION/includes/MessageCache.php(206): SqlBagOStuff->get('DBNAME...')
 * 6) 5 /DBLOCATION/includes/MessageCache.php(442): MessageCache->load
 * 7) 6 /DBLOCATION/includes/GlobalFunctions.php(420): MessageCache->get('mainpage', true, true)
 * 8) 7 /DBLOCATION/includes/GlobalFunctions.php(379): wfMsgGetKey('mainpage', true, true, true)
 * 9) 8 /DBLOCATION/includes/GlobalFunctions.php(328): wfMsgReal('mainpage', Array, true, true)
 * 10) 9 /DBLOCATION/includes/Title.php(275): wfMsgForContent
 * 11) 10 /DBLOCATION/includes/Wiki.php(74): Title::newMainPage('mainpage')
 * 12) 11 /DBLOCATION/index.php(17): MediaWiki->checkInitialQueries
 * 13) 12 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject: Incorrect information in file: './DBNAME/page.frm' (localhost)' in /DBLOCATION/includes/Database.php:825 Stack trace: Paths renamed for security reasons. When I check out the DB and try to repair it (doesn't work btw) I see that the table objectcache is giving out an SQL #1033 error. Does anyone have any ideas on how to fix this? 84.67.189.245 14:23, 15 May 2007 (UTC)
 * 1) 0 /DBLOCATION/includes/MessageCache.php(315): Database->fetchObject(false)
 * 2) 1 /DBLOCATION/includes/MessageCache.php(252): MessageCache->loadFromDB
 * 3) 2 /DBLOCATION/includes/MessageCache.php(442): MessageCache->load
 * 4) 3 /DBLOCATION/includes/GlobalFunctions.php(420): MessageCache->get('databaseerror', true, false)
 * 5) 4 /DBLOCATION/includes/GlobalFunctions.php(379): wfMsgGetKey('databaseerror', true, false, true)
 * 6) 5 /DBLOCATION/includes/Exception.php(18): wfMsgReal('databaseerror', Array)
 * 7) 6 /DBLOCATION/includes/Database.php(212): MWException->msg('databaseerror', 'Database error')
 * 8) 7 /DBLOCATION/includes/Exception.php(109): DBQueryError->getPageTitle
 * 9) 8 /DBLOCATION/includes/Exception.php(76): MWException->htmlHeader
 * 10) 9 /DBLOCATION/includes/Exception.php(95): MWException->reportHTML
 * 11) 10 /DBLOCATION/includes/Exception.php(171): MWException->report
 * 12) 11 /DBLOCATION/includes/Exception.php(205): wfReportException
 * 13) 12 [internal function]: wfExceptionHandler(Object(DBQueryError))
 * 14) 13 {main}


 * Since posting this I dropped the table and recreated it to the correct structure. Of course it's now empty, and I'm getting a different error:

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 "User::loadFromDatabase". MySQL returned error "1033: Incorrect information in file: './DBNAME/user.frm' (localhost)".

The user.frm part of the error changes randomly between user.frm, job.frm and page.frm

Any ideas? It seems there's a whole bunch of questions on here and very little in the way of support. Do we take it that mediawiki is unsupported software? I'll encourage people to avoid using it if that's the case.

Spider (Swish-E or other external program) Authentication on MediaWiki
Hello -- I am attempting to use Swish-E to spider a local MediaWiki-based intranet that uses default database authentication to access its pages. I am trying to figure out a way to authenticate the spider (so it can proceed with the spider job) without having to whip up something special inside of the wiki (the installation doesn't "belong" to me). (The spider software saves cookies, btw).

The MediaWiki login page uses a POST method -- a GET-based alternative may work, but can't find any info on it.

Does anyone have any advice as to an approach?

thanks Robin

User.php customisation
I've added some checks on user credentials to loadFromDatabase in Users.php, but right at the start of that function, there's this check: if ( $this->mDataLoaded ) { return; } I'm returning at this point every time - even masquerading as different users and even at the first login after a reboot!. This variable is set further down the function, but I can't find out how it's reset - obviously I could do some dirty hacking, but I'd prefer to get a better understanding of what's going on and "do the right thing".

I'd be grateful for some enlightenment!

How to Dump Raw Wiki text from an Extension??
Does anyone know how to output RAW Wikitext from an Extension? Basically in the edit secton of a wiki page i have 3 headers and then I want to call an extension and have it output a 4th header. I want all 4 headers to be in the page's table of contents. I am able to display the header that the extension returns but it doesnt show up in the table of contents.. Any ideas?? Ex.)

Problems with language transalations
I upgrade mediwiki from 1.9.1 into 1.10.1 and when I am openning special pages I see some messages in polish and some in english (file with messages has correct transalation for polish but it is not show to me!)

Anybody meet such problem and knwo how to solve it?

Is it possible build a structured wiki with the MediaWiki application?
We are evaluating MediaWiki as a possible candidate for managing the documents of our projects (we are a small University lab). We like the "wikiness" of Mediawiki, it is fast, simple, traceable and very elegant. Our goal is to have several projects with collaborative documents, with separate editors in each. But we don't know if it is possible to structure minimally the contents with Mediawiki (like TWiki do). For instance, assign editors, contributors and readers to each project (we have 5/6 project every two years).

Best regards, M. F. Technical University of Catalonia (www.upc.es)


 * What do you mean by "structure"? It sounds like you are talking about access control; Basically, MediaWiki is designed to be open, not restrictive, and access control is contrary to the concept of a wiki. Restricting access is possible to some extend, but see Manual:Preventing access for the gory details. -- Duesentrieb ⇌ 10:27, 20 May 2007 (UTC)


 * Thanks Duesentrieb for your wiki aswer. Our work is a colaborative research (and open to all comunity when it is finished) but it needs some basic access control when this work is not concluded or non-tested. A question that is important to me is how to prevent that a mediawiki category can be readed for non-registerd users?

MediaWiki and SAML
I am researching if MediaWiki might be suitable for a central wiki service at the University of Oslo. I have searched the help sites and forums, but can't find any info relating to SAML (http://en.wikipedia.org/wiki/SAML). I need to know if Mediawiki works with SAML v. 2.0. Has this been tried anywhere?

Searching for IP Addresses
Hi,

we use mediawiki for internal documentation. Is there a way to search for ip addresses? I know, there are lots of them, but the dot between the numbers splits up my searchstring. So, if i search for 192.168.1.1 there is found everything, what contains "192", "168" and "1". :-(

Any hints for me?

regards, Michael

Can't get access to SVN - Need CheckUser
I can't get access to the SVN. Does anyone know why this is? I have tried using TortoisSVN and also Subversion but both are not working. Am I doing something wrong? I am trying to get the checkuser page, as I need to know an IP address of a user that is posting on my wiki Any help is much appreciated Thanks


 * You will need to provide details of what you're trying to do and any errors you are encountering. robchurch | talk 23:42, 23 May 2007 (UTC)

Why are "my contributions" pages empty?
I noticed that all my "my contributions" pages on my wiki are empty. What could be the problem? The "Recent changes" page is working properly.

I am using MediaWiki 1.10, MySQL 5, PHP 5 and I've made my wiki "private" whereby only the sysop can creat accounts and only logged-in users can view/edit pages.

Any advice, hints or comments would be greatly appreciated!

Show images from Wikipedia Server
Hi! I have established MediaWiki, have loaded Wikipedia's dump into a database, but I can not adjust, that images showed to the user from a site Wikipedia's server (require and loading should be made browser). How I can make it? Thank you! (NetPerson)

Is there such a thing as a trouble free upgrade???
I'm running:
 * MediaWiki: 1.6.10
 * PHP: 4.3.11 (apache2handler)
 * MySQL: 4.1.19-standard

and want to upgrade to a new dedicated server with all the latest versions of the above three. I'm scared to death. Upgrades sound impossible. Has anyone ever done a smooth upgrade? Any tips on where to find info on this upgrade would be insanely appreciated. The php4 platform to php5 platform seems especially touchy. Help Please.

Wikipedia Image Dumps
Where can I get wikipedia Image dumps.

The links and torrents specified in the wiki are either defective or inaccessible. It seems that there is no available image dumps at the moment. Scraping pages is the only option and this will choke wikipedia bandwidth.

Embedded objects. Is it possible?
Is there any way to embed objects like videoclip from Youtube, video.google, etc. into a mediawiki document (or maybe using one of others wiki-engines)  ? I mean that I want to see in my wiki document inner window with a first frame of videoclip and button "Start". When user clicks on thas bar clip playing begins directly on the page without loading site containing this clip.

For example I got html string from youtube for arbitrary clip that can be embedded in html :   

Is it possible? --Makondo 23:15, 23 May 2007 (UTC)


 * Perhaps try one of the YouTube extensions. — color probe — Talk  — Contribs  ☼  08:38, 27 May 2007 (UTC)

How to add an entry to the log?
I am currently using the debug facility to show what my customised login routines are doing, but now that they're almost working, I'd just like to add an entry to the change log with appropriate details if access is denied. I've looked around, searching on log and logging, but although I've found the format of the logging table, I can't find out how to add an entry to the log. I'd appreciate being told how to do it! Thanks in advance.

hey may i know how to add side bars in media wiki

Problems...
During the last day or two, I can't edit or preview any block of text that is longer than 500 characters or so, either with or without logging in. When I press "save", I have to wait for five minutes, until the well-known "wikipedia error" message finally appears. I can start a new section (like I do now) but I can't reply to any discussion or edit any article that is longer than two or three lines. It's the same in Opera, Firefox, and IE. The problem affects only Wikimedia projects; I may still post (and preview my messages) in Google Groups. I have to reduce my contributions drastically as long as the glitch persists. What may be the problem? --Ghirlandajo 17:23, 24 May 2007 (UTC)

External access problems
I've just installed MediaWiki and it works fine within my local network. However when I try and access the Wiki externally from work I can get access by going to the ip address and then ~jamessutton/wiki/index.php/Main_Page but if I try and get access by going to the ip address and then ~jamessutton/wiki/ without the index.php?Main_Page I get redirected to www.james-sutton.local. Does anyone know why I get redirected to this local network name on my iMac? My ip address gets generated dynamically so I was wondering whether this might be the cause.

session.save_path read/write/exe errors
I am trying to install MediaWiki 1.10 on a Fedora Core Server and I keep getting the good old error

"Your session save path appears to be invalid or is not writable. PHP needs to be able to save data to this location in order for correct session operation. Please check that session.save_path in PHP.ini points to a valid path, and is read/write/execute for the user your web server is running under."

I have checked the session.save_path and the folder it points to and they are setup correct. The file has read/write/exe privs (777) and I still get this error. Any ideas.

I have the same problem at my server and I just commented out section where this is checked. It's in config/index.php and starts with else { # Something not right? Halt the installation so the user can fix it up dieout( "Your session save path appears to be invalid or is not writable. ... } Installation proceeds and wiki seems to work ok (well I have problem with edit link, which is producing blank page, but I don't think it's because of session.save_path)


 * The check added at install time is a bit dubious in some special cases, and will be corrected or turned into a conventional warning. robchurch | talk 18:19, 28 May 2007 (UTC)

Reloading
I have installed Mediawiki 1.6.10 because of the PHP 4 compatible server. And it's a free server, and they have a software not to allow users to hide their ad banner on the top of the page. So Mediawiki is constantly reloading, because it wants a whole window. I heard that at e107 there is a command, which is causing the same problem:

if(parent.frames[0]) { parent.location.href = self.location.href; }

But I couldn't find similar among 1.6.10 files. What should I do now?


 * In your file, find the following:

// Un-trap us from framesets if (window.top != window) window.top.location = window.location;
 * And remove it. After that, clear your cache (ctrl+f5, shift+f5 or some other key combination), then things should work properly. — color probe — Talk  — Contribs  ☼  15:05, 26 May 2007 (UTC)

Oh yes, thank you very much! And have a nice day! :-D


 * After I thought everything is going fine, I had to realize that I exported the XML files from a 1.9.3 Mediawiki system, and it's not compatible with the 1.6.10. And I'm using a Hungarian version of 1.6.10, and there are many small bugs, and the translation is incomplete at all despite 1.9.3 is really much better. Is there a chance to create an improved version of Mediawiki for PHP 4 servers? I know that it's not the least technology, but many server hosts don't like to update their system to PHP 5, telling that it's not enough stable (even though they're not true at all).

Wiki site works, but edit, history etc. produces empty page
I installed MediaWiki and it seems to work well, but when I click on edit, history, lock and delete, the link produces empty page. How can I determine what went wrong and get more detailed info about it? And it's version 1.10.0.


 * A completely blank page usually implies a fatal error caught and suppressed by PHP, or possibly the web server software. Check the Apache and PHP error logs to see what's happening. robchurch | talk 18:17, 28 May 2007 (UTC)

I managed to show php errors, but there were none! (I tested it by inserting one and it was shown). Since I don't have access to apache error logs, I had to debug it by inserting echo "I'm here"; into the code line by line. I got to the Skin class and it's static method newFromKey where there is require_once( "{$wgStyleDirectory}/{$skinName}.php" );. It produces path "/home/www/calavera.info/www/wiki.calavera.info/skins/MonoBook.php", but if I insert echo at the first line of this file, it's not shown. I discovered that the file path is ok, because when I insert a wrong one, page displays error message. Well, I can't do anything more:-(.

I tried it again, having some idea, but now I could get over MonoBook.php! It was great until I found out, that the order of function calls is not same as in previous test. It's really silly and I don't have a time for debugging it this way...ohhh.

How one creates predefinitions?
How one creates predefinitions? (or templates)


 * A template is just a page and is created in the normal manner, however, templates exist in the "template" namespace, rather than the article namespace. For example, the template "foo" would be located at Template:Foo. robchurch | talk 18:16, 28 May 2007 (UTC)

article counter
how can I get access to the actual article-counter in categories? I would like to use this number in an 'info-box' without correcting it manually each time it changes. something like ...--Ullipurwin 15:27, 27 May 2007 (UTC)


 * There's no magic word that fulfills that function in core. It would be quite straightforward to write a parser function extension to do it, although one should consider the performance implications on a large wiki. robchurch | talk 18:15, 28 May 2007 (UTC)

wiki db transfer from one computer to another
I had set up a personal wiki on my old computer, using the tutorial from Lifehacker (http://lifehacker.com/software/wikipedia/geek-to-live-set-up-your-personal-wikipedia-163707.php). Recently, that computer got seriously infected with a nasty virus/worm, and is going to be reformatted in due course. However, I don't want to do that until I'm sure that I've transferred the data from my personal wiki, if I can help it. I have copied the entire wamp folder (which contained the mywikipedia folder) to my new computer, but thus far I've been unable to get it to run on my new computer. If somebody could help me out, I would really appreciate it. If you want to e-mail me instead of trying to get it taken care of here, my address is MrCheshire01 @ yahoo.com.


 * See Manual:Moving a wiki. robchurch | talk 18:11, 28 May 2007 (UTC)

On a website!
I installed Mediawiki without realizing it would put it on my machine. I want to put it on my website, for all to see on the Internet. How should I do this by means of Filezilla? -Homfrog


 * The method is the same, but steps need to be executed on the server upon which MediaWiki is to be run. Upload the files to the web server and run the installation script there via the browser. robchurch | talk 18:13, 28 May 2007 (UTC)

Fatal error: Cannot access protected property OutputPage::$mParserOptions [...]/OutputPage.php on line 47
I get this error if i try to do anything on my newly installed wiki, including clicking on any of the menu links, logging in, or starting a new page. I followed all the instructions in the installation manual and the installation was completed succesfully according to the installation script. Anyone have any idea what might cause this? --81.170.158.69 14:45, 28 May 2007 (UTC) /Kristofer


 * This could be the result of a broken PHP extension such as eAccelerator. robchurch | talk 18:10, 28 May 2007 (UTC)

Turned eAccelerator off, fixed it. Anyone know of any good instructions on how to use eAccelerator with WikiMedia. I read through the memcache part of the manual, but i found no usefull information there. Thanks for the help. --81.170.158.69 20:03, 28 May 2007 (UTC) /Kristofer


 * I heard a rumour that some eAccelerator problems were fixed with an upgrade to the latest version. You could also consider using APC, which provides bytecode and object caching facilities, just like eAccelerator; some more information can be found at User:Robchurch/Performance tuning. robchurch | talk 13:41, 31 May 2007 (UTC)

About Frontpage of website mediawiki.org
Hello i tried and installed mediawiki on my site (www.cheplo.com) i liked this too much. on frontpage of mediawiki website there are three boxe (called hubbox) i tried to find related code or material for that so i can implement that on my website... so please anybody help me for that hubbox ( three boxes that have users,administrator,dev field with computer ,terminal and greenboard icon respectively) so please help me to implement this thing on my website. my email address is chheplo(at)chheplo.com or admin(at)chheplo.com

thank you , regards,

pratik desai


 * Please have a look at the Main Page, click the "view source" tab, then you'll notice in there, scroll down, watch out for Template:Main page (that is the approriate template) and look up how it is done there. It's a rather simple table structure. Have a look at Help:Templates in addition if you are not yet used to embedding pages or templates in other pages. Good luck :-) -- :Bdk:  00:27, 29 May 2007 (UTC)


 * Thanks a lot

SVN Access
I can't get access to the SVN through http access. I have tried firefox, IE, Subverion and TortoiseSVN and they all fail. With the browsers I get 404 errors and with the programs I get PROPFIND errors. Does anyone know what I'm doing wrong? I'm trying the address http://svn.wikimedia.org/viewvc/mediawiki/trunk/


 * Works fine for me - maybe it was a temporary problem? Anyway, note that with Subversion itself, you need to use the plain repository url: http://svn.wikimedia.org/svnroot/mediawiki/trunk/ -- Duesentrieb ⇌ 11:34, 29 May 2007 (UTC)


 * It's still not working for me. It hasn't been for over a week now and I just don't understand why. I'm now trying to use the plain repository address and I still get PROPFIND errors in Subversion/TortoiseSVN

How to import posts articles from other forums
How can i import articles and posts from other forums or blogs (wordpress or sth) totaly automating the process, which can work as a bot, a extentions that can work like automatic content filler..

Cannot display the webpage after save
Hi, for some reason when I save a page my browser says "Internet Explorer cannot display the webpage", but the changes are saved. Any way I can correct this?

How to emulate environment for running Mediawiki
I'm quite sure that my poor technical skills will take me a lot of time to learn how to use mediawiki, so before i start running it on a real server, i'd like to make a try on local harddisk. Are there programs that can emulate mysql or linux on WinXP? Thanks a lot! --Zozzen 20:11, 29 May 2007 (UTC)


 * Opps. I got the answer from google for this question. We can install wampserver to emulate the environment. --Zozzen 09:40, 30 May 2007 (UTC)

Cost of hosting mediawiki?
I plan to make a personal-funded wiki. Could anyone share how much you've spent on running a Wiki project? Generally, for a niche site that may attract a few thousand visitors daily, how much does it cost? Thx again! --Zozzen


 * Peter Blaise responds: It's kind of up to your ISP host's cost/pricing scheme, if they charge for data storage volume, data transfer rate per period peak and/or average, and the amount of traffic you get and how much they actually browse once at your site. 1,000 visitors only looking at the home page text versus 1,000 visitors browsing dozens of image-laden pages are very different loads.  Generally, MediaWiki installations are very efficient because the database is incredibly small compared to hard-wired HTML pages of equivalent content, but content and visitor activity is NOT equivalent or comparable across all MediaWiki installations.  I have a mere 45 pages with an incredible 500,000 words (long articles) and no images.  The next install may have 300 pages and "only" 250,000 words but 800 pictures in thumbnail and full size.  Either one of us could get 1,000 visitors a day who stay and read and edit and upload a lot (big load), or only read one article and leave (small load).  Storage requirements are different for each of these example sites, and who knows how to anticipate load?  But it's a good question.  I suppose everyone could respond here and try to list their particulars and then we can see if there's a predictable pattern.  What would we measure?
 * Page count/word count
 * Database size (database size grows due to edit archives even if viewable article contents remains constant)
 * Image count and storage size
 * Visitors per day/length of stay
 * Data throughput per day
 * Are there other measurable criteria? Once there are a few responses, Zozzen, you may be able to see if your planned site corresponds to the measurements of someone else's site, and plan from there.  C'mon, everyone, let's build a MediaWiki Traffic Report page somewhere and fill it up. -- Peter Blaise peterblaise 11:35, 31 May 2007 (UTC)

How to change metadata field as in HTML
i am newbie for wiki..i used to put metadata field in HTML pages..but i dont know how to do that in WIKI.

thank you. pratik
 * MediaWiki adds the keywords meta automatically. I think that other meta fields too. --195.74.50.26 14:55, 30 May 2007 (UTC)

toolbar edit ?
After installing MediaWiki for the first time, the toolbar edit doesn't exist. I check in preferences if I put show toolbar. I test with Konqueror 3.5.5, Internet Explorer 6, iceweasel 2.0.0.2 but it doesn't works. Have you an idea ? Thank you very much for your help.


 * Peter Blaise asks: What's a "toolbar"? -- Peter Blaise peterblaise 13:33, 30 May 2007 (UTC)

When you edit this page, you can use the toolbar edit which permits to have bold or italic text, to add external or internal links... I don't have this toolbar when I edit pages from my wiki. I don't understand why! Have you an advice, please? Thank you.


 * Peter Blaise responds: Yes, I'd call it a "toolbar" also, though "edit toolbar" is probably more unambiguously accurate, and you did say "toolbar edit". What does MediaWiki call it?  I can find no "names of parts" display on MediaWiki.org.  For instance, when the screen says "navigation" that's the "sidebar", and when we click on "discussion" that's the "talk" page.  So, I'm not sure how to help you find the answer you seek since I cannot even finds common "MediaWiki" words to describe your problem!  Sorry.  Anyone else? Without knowing the MediaWiki names for parts, how can we search for solutions? -- Peter Blaise peterblaise 14:33, 30 May 2007 (UTC)


 * I think it is called the Edit Toolbar (see meta:Customizing:Edit Toolbar) SCEhardt 02:24, 31 May 2007 (UTC)


 * Peter Blaise responds; FOUND IT: http://meta.wikimedia.org/wiki/Edit_toolbar ! I'm confused - what's "meta"? (http://meta.wikimedia.org/) What's "wikimedia"? (http://www.wikimedia.org/)  I'm continuously lost trying to organize the various resources locations, let alone the names of parts of the software itself!  Are YOU having any luck, iceweasal?  At this point, I'd recommend remove and reinstall until you get a working MediaWiki (the product - http://www.mediawiki.org/).  Please report back what solves your missing "edit toolbar" - let us know what you find.  Thanks.  -- Peter Blaise peterblaise 11:11, 31 May 2007 (UTC)


 * FYI meta.wikimedia.org is the old location of the site / information about the software MediaWiki. It is gradually being moved over to here, www.mediawiki.org, the new location.  Since that process takes time, some documentation is still present on meta. --Dr DBW 23:25, 31 May 2007 (UTC)


 * … and, not to forget, have a look at Glossary or its "old" shorter version to complete the confusion ;-) -- :Bdk: 23:41, 31 May 2007 (UTC)


 * Peter Blaise says: My install if MediaWiki has NO word "toolbar" in any file. Where'd you put show toolbar in preferences?  Please follow up and share how you resolved this - thanks.  -- Peter Blaise peterblaise 11:33, 1 June 2007 (UTC)

Names of standard namespaces
How to change names of standard namespaces? --195.74.50.26 14:48, 30 May 2007 (UTC)


 * Use $wgNamespaceAliases. 86.92.94.171 15:32, 30 May 2007 (UTC)

I don't have access to server's files because it's server. Is it another method? --195.74.50.26 16:49, 30 May 2007 (UTC)


 * No. robchurch | talk 13:38, 31 May 2007 (UTC)

errore on create
I'm Jacklab72, and I've tryed to install the mediawiki 1.10, but it give me this error



Can you help me? --Jacklab72 13:34, 31 May 2007 (UTC)


 * The error indicates that the supplied database user does not have permission to create tables in the named database. This is a common problem when creating database user accounts and suggests that the account has insufficient permission to set up the database.


 * Either grant CREATE permissions to the account, or provide the details of a superuser account which has permission to create the database and tables ("all" permissions works fine) in the appropriate section on the installation page. robchurch | talk 13:38, 31 May 2007 (UTC)


 * thank you but if I use the super account I recived this error:
 * --87.8.123.243 13:41, 31 May 2007 (UTC)

[
I tried to type in the character "[" and make a Redirect to an article about Brackets. My aim is to represent all characters of the International Alphabetic Alphabet (IPA), where this character shows the start of the phonetic transcription. But it didn't work. How can I achieve this? --Reiner Stoppok 17:22, 31. Mai 2007 (CEST) See for example "ˌ" (U+02C8).

need help on Manual:Installing MediaWiki on Windows Server 2003
can any one help me in Manual:Installing MediaWiki on Windows Server 2003.

i am stuck on point number 2 on the manual mention on the wiki site. please assist on how to create the virtual directory.

sachin


 * Peter Blaise asks: IIS, right? NOT Apache, right?  And, LINKS please!!!  http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2003#2._Create_a_virtual_directory says
 * 2. Create a virtual directory
 * Extract the MediaWiki distribution into C:\wiki\mediawiki and, using IIS Manager, create a virtual directory (virdir) pointing to it.
 * So ... a Google search for [iis create virtual directory] at http://www.google.com/search?hl=en&q=iis+create+virtual+directory&btnG=Google+Search has 1,100,000 responses, including http://support.microsoft.com/kb/172138 directly from Microsoft, including much, like this:


 * Create Virtual Directories in IIS 5.1


 * 1. Click Start, point to Programs, click to select Administrative Tools, and then click Internet Services Manager.


 * 2. Expand the server name.


 * 3. In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.


 * 4. In the first screen of the Virtual Directory Creation Wizard, type an alias, or name, for the virtual directory (such as MyWebData), and then click Next.


 * 5. In the second screen, click Browse. Locate the content folder that you created to hold the content. Click Next.


 * 6. In the third screen, select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.


 * 7. For ASP content, you may want to confirm that an application was created. To do this, right-click the new virtual directory, and then click Properties.


 * 8. On the Virtual Directory tab, make sure that the virtual directory name is listed in the Application Name box under Application Settings. If it is not, click Create. Note that the application name does not have to match the virtual directory alias.


 * 9. Close the Properties dialog box.


 * Does this help? More at http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true for IIS v6. Please report back here and let us know how it works out for you.  Also, just for my info, are you planning in Intranet or Internet access to this computer?  -- Peter Blaise peterblaise 10:41, 1 June 2007 (UTC)

hi peter, not sure i am still not able to get out of this.... i am referring to http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2003

in this i am stuck on point 2. i am trying to setup wiki on intranet for my team in our office. can you help me the same..... point 2 [NOW] says:


 * 2. Create a virtual directory
 * Extract the MediaWiki distribution into C:\wiki\mediawiki and, using IIS Manager, create a virtual directory (virdir) pointing to it. See http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true for IIS v6, see http://support.microsoft.com/kb/172138 for earlier IIS versions.
 * Grant the permissions Read and Execute to this virtual directory by opening the Properties for the virdir, selecting the "Virtual Directory" tab, and making sure both Read and **** are checked in the "Local path:" section.
 * Ensure that the virtual directory has the .php extension enabled. (Note: The PHP installation should have already configured this.) To do this, select, right click on the web site with the virdir, select Properties. In the resulting dialog, select the "Virtual Directory" tab, and finally click the "Configuration..." button. In the "Application extensions" window, scroll down to verify .php is listed and the path to php-cgi.exe is correct.
 * Ensure the default document is set to index.php. To do this, select, right click the virdir and select Properties/ In the Properties window, select the "Documents" tab, and in the "Enable default content page" verify index.php is at the top of the list.
 * Finally one must change the Execute Permissions of the Virtual Directory "virdir". Go to the virdir properties > Virtual Directory Tab > In the Execute Permissions Drop Down Box, select Scripts and Executables. Click Apply, and OK

can you help me in this grant.....and further i am not able to get this things


 * Peter Blaise says: Hi again, sachin. Do you have a web server installed?  Have you installed Microsoft IIS first?  IIS is not installed by default out of the box on new computers, but through the Windows Start / Control Panel / Add-Remove Programs / Add-Remove Windows Components you should see "Internet Information Services (IIS)" - you may need your original Windows Server 2003 Installation CD - I copy the \i386 directory from the CD to the hard drive as C:\i386 - your computer maker may have already done so.  You need to install a web server first (and reboot?).  Install Microsoft's IIS web server OR install free Apache web server from http://www.apache.org/.  If you have installed IIS and still cannot get to the controls as directed by

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true
 * for IIS v6 then I think you may need to address your challenge to the Microsoft support environment - either Microsoft and or the maker of your computer. Let us know how it works out.  And get your keyboard fixed while you're at it - the [Shift] key also appears broken!  ;-) -- Peter Blaise peterblaise 11:49, 1 June 2007 (UTC)