Project:Support desk/Archive 01

Mapping a network drive
Go to Computer.

Press Alt to view the menu

Choose Tools

Choose "Map Network Drive..."

Choose a Drive Letter from the pull down menu

H=Home Drive T=Temp Share on Wisamba3 S=Software\General

Enter the name of the server followed by the name of the shared folder

Examples:

\\software\general \\wisamba3\temp-share \\wisamba3\yourname

Click Finish.

Is there a problem using MediaWiki 1.8.2 with php 5.2 on a SHARED HOSTING with blank frontpage?
Might be related to: Project:Support_desk I am able to see: http://mednote.dk/index.php/Special:Specialpages But not http://mednote.dk/index.php

I think I have narrowed it down to, that there must something with the cache function. I made an new fresh installation with debug enabled http://mednote.dk/test/debug.txt In the debug information i can see the script stops before the OutputPage::sendCacheControl.<br< Pages that works:<br< OutputPage::checkLastModified: CACHE DISABLED, NO TIMESTAMP OutputPage::sendCacheControl: private caching; ** Pages that does not work: OutputPage::checkLastModified: client did not send If-Modified-Since header <br< The error happend after my hosting companey upgraded from: Apache 1.3.28 to 1.3.37 (cluster server) This hosting companey is Servage php 5.2 --Gundestrup 11:51, 7 December 2006 (UTC)


 * I had this very same problem. I was able to resolve it by adding $wgServer = ""; in my LocalSettings.php.  Along with this problem  after I would save a new edit the wikimedia software would redirect me to some npa.org URL.  I also did not have to roll my version of wikimedia back to a previous version.  I would categorize this as a bug, but it maybe a combination of Apache DNS with the PHP settings in mediawiki... I hope this helps.
 * --Grundle 17:10, 13 December 2006 (UTC)


 * Hi, I think this seems to be very common problem. It is similar to second part of 139 1.8.2 is completely broken.... I haven't solved it, but I tested SVN version and is has same problem. --Ondrejk 12:40, 7 December 2006 (UTC)


 * Yes, newest SVN version also dosn't work. Here is my svn test installation http://mednote.dk/svn/index.php/Special:Version Try clicking on mailpage, and the page is just white.
 * --Gundestrup 19:29, 7 December 2006 (UTC)


 * I am trying to install 1.7.1 to see if this works.
 * --Gundestrup 19:35, 7 December 2006 (UTC)


 * Funny, mediawiki-1.7.1 works...it looks like

look here: http://mednote.dk/mediawiki-1.7.1/index.php/Main_Page What would the effect be of downgrading from 1.8.2 to 1.7.1? Please anyone, help me.
 * --Gundestrup 19:47, 7 December 2006 (UTC)
 * Hi, I tried 1.7.1 and it works on my server too. --Ondrejk 10:22, 11 December 2006 (UTC)
 * I have tried to incert "$wgServer = "";" in the localsettings, but nowthing happends

Issue seems to be corrected in the newest 1.9.0 version, I am still testing, I am having some problems with ÃÂ¦,ÃÂ¸,ÃÂ¥ charactors.... --87.49.210.183 12:47, 12 January 2007 (UTC)(gundestrup) 1.9.0 Have solved the problem, and now my sites run correctly. regards --Gundestrup 09:44, 15 January 2007 (UTC)

HTML output only/action reference?
1. I would like to be able to output wiki articles in my main website, but without the [edit] tags, etc. (which is what action=render does). Is there perhaps an action that does this?

2. I'd like to add on to this functionality so that when users click on a link that points to another article in the wiki, the link is changed to the same site. If there's no easy way to do that, I'll just do it with regex in PHP. This one's a shot in the dark.

3. Is there a reference for all the action= codes anywhere?

Many thanks in advance. --JayEdgar 22:45, 7 December 2006 (UTC)


 * I can't think of one out of the box, however, the edit links have CSS classes which would allow hiding them. robchurch | talk 06:05, 11 December 2006 (UTC)
 * It sounds like a regular expression would be the best bet here.
 * Manual:Parameters to index.php
 * robchurch | talk 06:05, 11 December 2006 (UTC)

Exporting all pages to merge somewhere else
I've got a couple of sites that need merging. Short of finding each page and adding it to the list on Special:Export, is there a way of exporting all the pages, with history, other than dumping the entire database? 21:03, 9 December 2006 (UTC)

Redirect to sections
It doesn't work on my Safari@Mac OS X 10.4.7. I should upgrade to 10.4.8, or it definitely doesn't work on Safari? 84.221.208.203 01:18, 10 December 2006 (UTC)
 * Redirecting to sections hasn't ever worked. The feature has never (AFAIK) been implemented.  10:34, 10 December 2006 (UTC)
 * Thanks for your answer. Something has been added in r18220 (see 218) 84.221.208.203 11:55, 10 December 2006 (UTC)
 * It will only "work" if you are using the latest subversion checkout. Since you didn't explicitly say otherwise, I assume you are using a stable release version, in which case it won't work.  81.104.170.167 13:23, 10 December 2006 (UTC)

Disable a user
Afaik you can not delete a user from MediaWiki in a consistent way, so I have to disable users that aren't allowed to edit on my (internal) Wiki, but I'm still searching a way to do this. Simple but silly method it to change user password and email, I think, but is there a way to really disable a user?

I've looked into User table, there's a field user_rights or user_options (in 1.6.8), but no description of the values. Is there some switch I can set do prevent a user from logging in?

Thanks

--84.135.99.185 08:32, 10 December 2006 (UTC)


 * Block them with an expiry time of "indefinite". Then they won't be able to edit.  10:32, 10 December 2006 (UTC)
 * You mean the IP? It's used via Internet and I guess the all have dynamic ones, so not a real option 08:37, 11 December 2006 (UTC)
 * The user name. --88.149.143.104 10:35, 11 December 2006 (UTC)

Server has dual php install php 5.0 and php 4.0 which defaults to php 4.0
Wiki naturally see php 4.4.x and refuses to install.

My server host has set up with both versions of PHP to be flexible with customers.

How do I override the PHP version detect so this will install?


 * You don't want to override the version detection, and the reason for that is that it's damn useful for making sure that MediaWiki is running under PHP 5.x. At the moment, it's not, so you actually need to instruct the web server to parse scripts (or at least MediaWiki's scripts) using PHP 5.x. This varies from host to host; in most cases, the addition of a simple line in . I would recommend asking the hosting provider what needs to be done for their particular setup. robchurch | talk 05:49, 11 December 2006 (UTC)

The page isn't redirecting properly
Am getting this error when trying to access my wiki. my sites IP address has changed, is this something to do with it?


 * Check path settings in  and make sure nothing's triggering an obviously wrong redirect. robchurch | talk 09:58, 12 December 2006 (UTC)


 * I had this issue and fixed it by changing  to   in.

Childrensversion of wikipedia
i came to this page from a german page, but i'll do my best in english.

Woudn't it be great, to have a link to a more childish expanation to many of the words in wikipedia? Let's say for schoolchilds in the age of 10 to 16 years.

To my concern wiki is the most usefull tool in the net! But some of the stuff is hardly understandable by kids at an age < 14 years.

So why not create a link like "Schoolversion". And explaine the same, but assuming it is a kid, 10 years of age and with the knowlede of, what a ten year old kid can possibly have.

This could even be very helpfull to many of the parents :-)

Like it or not, it's not a bad idea.

joachim-busse@freenet.de


 * Well, there is a Simple English Wikipedia, see http://simple.wikipedia.org. If there's interest in creating a Simple German or other language variants of the same concept, then you should probably consult the appropriate page on Meta. robchurch | talk 09:58, 12 December 2006 (UTC)

Cannot create LocalSettings.php file during Installation
I've tried several times to install MediaWiki on my shared host at godaddy.com. I cannot get the installation to generate a LocalSettings.php file in the config folder. I have set the config directory to 777. Below is the text I see when I try to install.

What can I do to solve this? Thanks in advance.

* PHP 5.1.4 installed * Found database drivers for: MySQL * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. * GNU diff3 not found. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: xxxxxxx/html/airsoftwiki * Script URI path: /airsoftwiki * Environment checked. You can install MediaWiki.

Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as acmewiki1001...success. * Connected to 4.0.27-max-log * Database acmewiki1001 exists * There are already MediaWiki tables in this database. Checking if updates are needed...

...hitcounter table already exists. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...logging table already exists. ...user_newtalk table already exists. ...transcache table already exists. ...trackbacks table already exists. ...externallinks table already exists. ...job table already exists. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...have rc_type field in recentchanges table. ...have rc_ip field in recentchanges table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...have user_real_name field in user table. ...have user_token field in user table. ...have user_email_token field in user table. ...have user_registration field in user table. ...have log_params field in logging table. ...have ar_rev_id field in archive table. ...have ar_text_id field in archive table. ...have page_len field in page table. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have img_media_type field in image table. ...have ss_total_pages field in site_stats table. ...have iw_trans field in interwiki table. ...have ipb_range_start field in ipblocks table. ...have ss_images field in site_stats table. ...have ipb_anon_only field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards Already have pagelinks; skipping old links table updates. ...image primary key already set. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. Logging table has correct title encoding. ...page table already exists. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...already have pagelinks table. ...templatelinks table already exists No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. Setting page_random to a random value on rows where it equals 0...changed 0 rows Checking for additional recent changes indices... ...seems to be ok     Initialising "MediaWiki" namespace for language code en...

Check the PHP error log to find out what's stalling script execution at that point. robchurch | talk 09:56, 12 December 2006 (UT

Clear Database an Install new.

Picture Branding
Hi,

i Serarch for a Tool that Brands Picturs (automaticly) in my Mediawiki.

Thanks a lot.


 * The convert utility from ImageMajick would be able to add text or graphics to images from the command line, try convert -help for the list of options it offers. You'd still need to create a script to call it once for each file uploaded.

index.php in url
For some reason the index.php is in my url instead of just (for example the index) www.site.com/wiki/Main_Page mine is like www.site.com/wiki/index.php?title=Main_Page


 * (nonauthoritative response by w:en:User:Fuzzyeric):
 * See Manual:Short_URL.

Change User Name
It maybe simple but I don't see a gray area on the page. Just want to change my user name to Arouet from vanauld for privacy. Thanks.

Impending BUGZILLA request: queries
Dear developers

Seventy WikipediansÃ¢ÂÂmany of whom perform prominent roles on the projectÃ¢ÂÂhave thus far signed up to a move to create an additional syntax for autoformatting dates that does not make hyperlinks to date pages. (The current syntax conflates the two independent functions of autoformatting and linking.)

We plan to formally make the request at Bugzilla at the end of this week.

A similar request was made a year ago (Bug 4582), but appears to have fizzled out. The wording of the impending request is quite different from this old request, and the intent is significantly clearer, simpler and more cogently justified. Although 4582 is marked "Status: Reopened", there has been no discussion on that page for many months.

Since we intend to file a new request, we wonder whether 4582 should be closed off.

Please advise if filing a new request at Bugzilla is the most appropriate course of action to achieve what we believe will be a significant improvement in MediaWiki.

tony 10:13, 13 December 2006 (UTC)


 * That would just be marked as a duplicate of the original entry. --Brion VIBBER 20:56, 15 December 2006 (UTC)

SVG rendering
Hello. I want to know if there is work in progress about this Bug (Example: Image:Citrulline.svg? I don't want to make workarounds for that! Thanks, --Rhododendronbusch 12:25, 13 December 2006 (UTC)


 * You'd have to ask the librsvg developers about such things. --Brion VIBBER 20:56, 15 December 2006 (UTC)


 * If this were your own wiki (and not a Wikipedia or similar project), you could try replacing RSVG with Inkscape. The other option is ImageMagick, but it's as buggy or worse so I wouldn't really be evil enough to wish that on you. --66.102.74.160 18:53, 1 January 2007 (UTC)


 * Thank you for your answers. Where can I reach the librsvg developers? --Rhododendronbusch 19:19, 3 January 2007 (UTC)


 * On Sourceforge I found a link to an IRC-Chat of the developers. I talked to Dom Lachowicz (dom) who told me that he is the only developer for over an half year now! He himself has only little time to maintain the product and he asked for some help. I'm not that coder, but perhaps somebody here can help?
 * On the other hand. Are there possibilities to change to a different software?
 * --Rhododendronbusch 15:07, 16 January 2007 (UTC)

Different CSS for different browsers?
Hello,

I've got a setup with fairly complicated CSS that works on most browsers except (surprise) IE. I'd like to send a different CSS file to IE users and I'm not sure about the best way to do so. Here are some ideas I had. If anyone can point me toward a method for implementing them (particularly if there's a built-in I couldn't find or don't know about), I'd appreciate it.

1. Have two CSS sheets, one for IE and one for everybody else. Do some sort of check and send a different CSS sheet depending on the user. On a non-CMS website, I'd do this using SHTML, but I'm not sure how to do it in this context. Would I add a line or two of code to index.php itself?

2. Include an IE-fixes.css page, as the Monobook "print" options seem to. I'm not sure how to implement this solution, though.

Thanks in advance.

Brendan

Note to the person who posted here about LocalSettings.php -- use the submit form at the top to post your inquiry, don't add on to an existing inquiry.


 * http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp --Brion VIBBER 20:55, 15 December 2006 (UTC)

How can one link to a file on local or shared drive
Fuzzyeric: thanks for responding - do you have a sample PHP script that does this?

Seems like I can only link to files that are assessible via HTTP (e.g. other websites, domino databases, etc.). Can't get to files stored on drives.


 * (nonauthoritative response from w:en:User:Fuzzyeric ): For most browsers, "file://" type URLs are relatively privileged. This means that file:// URLs can refer to other file:// URLs and the links will be followed by the browser.  However, http:// URLs are less privileged and links to file:// URLs from http:// URLs will not be followed.  (This is a good thing.  It makes certain kinds of misdirection and phishing more difficult.  Certain kinds of cross-scripting information theft is stopped by this.  Imprecisely, you may think of it as protection against random websites doing whatever they want to your local filesystem.)
 * However, there are ways around this. The methods we've tried where I work are:
 * Use a PHP on the wiki server to fetch the file for you. Include the PHP by (wiki) template in an inline frame.  This requires that the wiki server have access to the file since there's no way to check the user's credentials by this method.  Equivalently, the file must either be on a fileserver or be shared by the user who has the file.
 * Use an HTTP server on the location of the file to provide an http:// interface to the files. This can check per-user credentials, but the automagical credential caching by IE caused endless trouble when users updated their passwords.
 * Write a plugin for Mozilla/Seamonkey and/or Thunderbird and/or et c. that will allow the traversal of file:// linkts from http:// pages (as long as those pages come from a specific whitelist of servers or server/page combinations). Uses the user's credentials and caused fewer caching problems (although IE was still troublesome).
 * None of these solutions was very good. And none of them should be.  We're circumventing a very valuable piece of security in order to do something dangerous.

How can i protect the whole wiki with the login/pw
We use wiki internal for very much, even for pw-lists. It would be great, if not everyone in our company could see the pw-list, only people with acces to the wiki, with a username an a pw can see the page. Is there a way to realize that? Bedore we changed to mediawiki we used tikiwiki, there was an acl... but mediawiki is much easier to use...

Regards + thanks

patrick


 * See Manual:$wgWhitelistEdit and Manual:$wgWhitelistRead. You probably want to use the post-1.5 equivalent of WhitelistEdit and want to set WhitelistRead to the recommended minimum.  -- Fuzzyeric

Now it works!

Thanks

Patrick

Trying to install mediawiki 1.6.8, stuck on mysql version
I tried installing mediawiki 1.6.8 and it kicks out at the mysql version i have 4.0.14-log installed and it wants 4.0.14 or higher. Why doesnt this work and is there any way I can get round it without downgrading to the unsupported version of mediawiki? as i am unable to change the version of mysql as this is being installed at my university.


 * 1) PHP 5.1.2 installed
 * 2) PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
 * 3) Have XML / Latin1-UTF-8 conversion support.
 * 4) PHP is configured with no memory_limit.
 * 5) Have zlib support; enabling output compression.
 * 6) Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions
 * 7) GNU diff3 not found.
 * 8) Couldn't find GD library or ImageMagick; image thumbnailing disabled.
 * 9) Installation directory: /nas/students/g/gpherber/unix/public_html/wiki
 * 10) Script URI path: /~gpherber/wiki
 * 11) Environment checked. You can install MediaWiki.

Generating configuration file...
 * 1) Database type: mysql
 * 2) Attempting to connect to database server as gpherber...success.
 * 3) Connected to 4.0.14-log -- mysql 4.0.14 or later required. Aborting

Multi-way merge and upgrade
I've just inherited three MediaWiki instances (with differing content). Two are 1.3.x vintage and the third is 1.4.x. I want to merge these three wikis into one current wiki (1.7.x, or 1.8.x, depending on how long it takes to figure out how to get the merge worked out). So, in detail, my questions are:
 * 1) What's the best way to merge two MediaWiki instances with the same version?
 * 2) What's the best way to merge two MediaWiki instances with different versions?
 * 3) What's the best way to upgrade this merged mess to a very current version?

(also posted at w:en:Wikipedia:Help_desk )


 * To merge content from multiple wikis, best way may be to dump the contents of each to an XML file using maintenance/createDump to export and maintenance/importDump to recover. These were added as of MW1.5 - the database structure is also very different when going from 1.4 to 1.5. You may need to upgrade each of the three to at least MediaWiki 1.5 (or newer) and then use the XML export to obtain content in a form that can be easily merged to another wiki. --66.102.74.160 18:50, 1 January 2007 (UTC)

delete a page
How can I delete a page, which was created on Media Wiki by mistake ?


 * If you mean "MediaWiki" as this wiki, then let us know the page title and we'll zap it. If you mean one of your own wikis, then log in as an administrator (sysop), browse to the page in question, hit the delete tab and follow the instructions. robchurch | talk 10:55, 15 December 2006 (UTC)

lost group rights!
Hi. Using 1.6.8 I was trying to sort out some new groups and rights in LocalSettings.php, and somehow I've managed to 'lose' the sysop's and bureaucrat's rights! The userlist shows particular users as having (sysop,bureaucrat) rights, yet the extra 'special' pages don't show up for them, if they try to set userrights by going directly to special:userrights they get a message "The action you have requested is limited to users with the "userrights" permission assigned..." even if I explicitly add it in LocalSettings. I've commented out all the $wgGroupPermissions lines in the LocalSettings file, but can't get it to work again. Is there any way to display user, groups, rights, memberships etc? How can I chase the cause down?
 * solved: The rights in the database had got set as (for example) user 9= bureaucrat,sysop No space between the two. Making two entries, one for each role, fixed it. The sysop usercode had a similar format, so I think it would work with a space between the ',' and the subsequent role. I might test that sometime, but for now I'm just glad it's working again! The cause was a vbulletin/mediawik unified authorization program, which I didn't realise actually changed anything that would persist after its removal.

Session time out time
I have set up MediaWiki 1.8.2. When I do not perform any changes for some time, I get logged out automatically. Is there something like a SESSION_TIMED_OUT_TIME or SESSION_MAX_IDLE_TIME variable I can increase?


 * Have a look at http://www.php.net/manual/en/ref.session.php; it has a list of all configuration options affecting sessions in PHP. robchurch | talk 10:54, 15 December 2006 (UTC)

Thanks for the hint. I searched for some of the variables mentioned there in the MediaWiki 1.8.2 PHP code (session.gc_maxlifetime, session.cookie_lifetime, session.cache_expire) but could not find any of them. I am not sure if this the right approach to change the time a MediaWiki user keeps logged in without doing anything. Shouldn't there be a MediaWiki variable specifying this?


 * MediaWiki has no direct control over how long sessions last. If users select the "remember me" checkbox when logging in, or in their preferences, then a persistent cookie is set which MediaWiki will use to re-create the session if it expires.

If the variables mentioned above don't exist in, then add them at the bottom. robchurch | talk 23:09, 19 December 2006 (UTC)

You can change the "Remember my login on this computer" checkbox to default to being checked by adding the following lines to LocalSettings.php (Xaje 17:32, 4 July 2007 (UTC)): $wgDefaultUserOptions['rememberpassword'] = 1;
 * 1) User session is persistent by default

Error uploading files
Hi,

I am trying to upload an image to my mediawiki site. I recently upgraded to PHP 5 and now I get the following message:

''The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.''

Has anyone got any ideas what could be causing it?

Thanks

--Insight 15:48, 14 December 2006 (UTC)

p.s. (using 1.6.5 currently, will be upgrading soon)

Fixed: Missing value from upload_tmp_dir value in php.ini

Want to create semi-closed Wiki based on user control
I have a need for a wiki that is mostly closed, save for some select pages that users like to open to the world from time to time. My initial thought was to add a regular expression to whitelistread that would match any page with -external at the end such that users would have the most control, rather than explicitly defining a page to be open and having to restart the webserver. It seems this isn't supported. Is there a better way to go about this?

Pages not accessible after first view (404)
Hi there!

First of all many thanks for the free distribution of this super software! :)

I am trying to get it setup on my server on http://www.celebrityprofiler.com/ wich has now PHP 5.20 installed and am experiencing a problem.

When I create a new page, the page will be shown after it has been created. But if you reload the page, it will be 404!

The only thing I changed before this error occured was the logo! Nothing else, not even the configuration of the logo just the image wiki.png.

Then it suddenly returned 404 when I refreshed the page again to test the new logo (for the 4-5th time).

The system does not use cache ($wgMainCacheType = CACHE_NONE;)

Please help!

Best Regards, Jan Jaap

Update

I've tried to get a chaching system installed but as it seems PHP APC requires more then 2 Gig ram! and eAccelerator is installed but is not recognized by MediaWiki!

Also, after instalation of MediaWiki, WikiPedia doesn't work anymore at all!!!

Please help!

http://www.celebrityprofiler.com/

PHP 5.2.0 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 80M. If this is too low, installation may fail! Have zlib support; enabling output compression. Couldn't find Turck MMCache, eAccelerator (IT IS INSTALLED!) or APC. Object caching functions cannot be used. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /home/webadmin/celebrityprofiler.com/html Script URI path: Environment checked. You can install MediaWiki.

Update 2 - MAJOR BUG IN MEDIAWIKI

After a lot of testing and a techteam working on the server trying to solve the problem they discovered that it was due to a bug in compatiblity with PHP 5.2.0 and the latest MySQL 5.1.14 beta.

My email is j.hakvoort@publiceren.net, please let me know what I shoud do to get MediaWiki installed!

Enabled UseTidy Breaks Images HTML
I have posted my issue at Manual_talk:%24wgUseTidy and was just hoping to post the issue somewhere else to get some further exposure and may be a solution or insight. The problem is when it is enabled some of the HTML code generated for images breaks. See Manual_talk:%24wgUseTidy for full details. Thank you. --Dr DBW 02:10, 18 December 2006 (UTC)
 * Have found out that the issue is only with code generated by the gallery function or RandomImage extension. --Dr DBW 22:15, 19 December 2006 (UTC)

Customize appearance of certain namespaces?
Is there anyway to add additional styles that only load for specific namespaces?


 * MediaWiki:MonoBook.css does seem to support elements which apply just to certain namespaces, for instance the codes to change the wiki logo for individual namespaces in various Uncyclopedias look like:

/* FÃÂ³rum/Boteco */ body.ns-20 #p-logo a { background-image: url(/images/4/4c/Wiki_boteco.png) !important; } body.ns-21 #p-logo a { background-image: url(/images/4/4c/Wiki_boteco.png) !important; } /* Noticias */ body.ns-106 #p-logo a { background-image: url(/images/d/d8/Desnoticias_logo.png) !important; } body.ns-107 #p-logo a { background-image: url(/images/d/d8/Desnoticias_logo.png) !important; }

Is that the sort of approach you had in mind, or were you looking for more ambitious customisations?

Main_Page Not Showing
I've just installed mediawiki and this was the confirmation page: Please include all of the lines below when reporting installation problems. ÃÂ· PHP 5.2.0 installed ÃÂ· Found database drivers for: MySQL PostgreSQL ÃÂ· PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) ÃÂ· Have XML / Latin1-UTF-8 conversion support. ÃÂ· PHP is configured with no memory_limit. ÃÂ· Have zlib support; enabling output compression. ÃÂ· Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. ÃÂ· GNU diff3 not found. ÃÂ· Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. ÃÂ· Installation directory: /home/dream46/public_html/twiki ÃÂ· Script URI path: /twiki ÃÂ· Environment checked. You can install MediaWiki. ÃÂ· Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file... ÃÂ· Database type: MySQL ÃÂ· Loading class: DatabaseMysql ÃÂ· Attempting to connect to database server as dream46_wiki1...success. ÃÂ· Connected to 5.0.27-standard ÃÂ· Database dream46_wiki1 exists ÃÂ· Creating tables... using MySQL 4 table defs... done. ÃÂ· Initializing data... ÃÂ· User dream46_wiki1 exists. Skipping grants. ÃÂ· Created sysop account WikiSysop. ÃÂ· Initialising "MediaWiki" namespace for language code en... ÃÂ· Done. Updated: 0, inserted: 1495, kept: 0. Creating LocalSettings.php... Installation successful! Move the config/LocalSettings.php file into the parent directory, then follow this link to your wiki.

The link mentioned was to dream-roads.com/twiki/index.php. It worked fine but when I subsequently tried to return to the page I received this:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@dream-roads.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.

My error logs showed this: [Sun Dec 17 13:07:58 2006] [error] [client 213.42.21.80] File does not exist: /home/dream46/public_html/500.shtml [Sun Dec 17 13:07:58 2006] [error] [client 213.42.21.80] Premature end of script headers: /home/dream46/public_html/twiki/index.php [Sun Dec 17 13:07:49 2006] [error] [client 213.42.21.80] File does not exist: /home/dream46/public_html/404.shtml

I thought it might be a permissions problem, but both LocalSettings.php and index.php are set to 755. Both files reside in /twiki.

Although I can't access /twiki/index.php I can access other pages on the wiki, edit existing pages and create new ones.

Any ideas where I'm going wrong?


 * you might have a problem with the line breaks in your php-script. try down- and then uploading /twiki/index.php as ascii. update: i've tried visiting the mentioned link and got a different error - you seem to be working on the problem from a different angle and my "solution" is probably far off your current standing.

Hide / Expand function needed (like used to hide the Contents)
Hide / Expand function needed

I would like to use a function, like that one used by the Contents [hide] which would allow a user to read more on a topic which is only described briefly on the Main Page of my wiki.

I have not been able to find out how its done in each Contents section, but something like that would do.

Any suggestions how to do that or similar?

Blocking gone Wrong!
Hi I have a test Wiki setup on a home server. I have initiated a block on a test user named "TestUser" with a time period of "INFINATE", I created the user and logged in as the user under the same IP address. The Blocking did as it should, and blocked edits from the user. Now I have initiated the "Unblock" on said "TestUser", But now EVERYONE Old and new are all completely unable to edit ANYTHING!! What have I done!

Anyone have an answer! I don't know what to do. I have even changed the time on the server ahead 24 hours to see if the delay time would go away, to no avail, I have Restarted the MySQL,& Apache servers as well. Still no edits! HELP! Tw3ak tehlast@walla.com


 * Sounds like the autoblocker; it'll be blocking the IP address from which the edit originated as a precaution. You can visit Special:Ipblocklist, locate blocks which are causing problems, and remove them using the unblock link as normal. robchurch | talk 23:06, 19 December 2006 (UTC)

Can't install
Every time, I get stuck at Initialising "MediaWiki" namespace for language code en... And have to stop after 15 minutes Help!


 * What does the PHP error log claim the problem is? robchurch | talk 23:05, 19 December 2006 (UTC)

Using html forms in extensions
When creating an extension that would use a radio button, what would the "action" be? I have a line to start the form  If I put the URL of the server and the file name I get a blank page. If I use $_SERVER[PHP_SELF] I get sent back to the main page.

thx


 * I'm assuming a special page extension here; the action would be, where   is a SpecialPage child class instance. robchurch | talk 06:29, 13 January 2007 (UTC)

Nested templates/tables?
On one wiki page I have three tables A,B,C.

I want to click on a link in Table A which then changes the choices in Table B; clicking on a link in Table B will produce a list in Table C.

Is there a way to do this? I've tried mangling templates in various ways to no avail. Ideas?

How can I force users to preview before they save?
I would like to set up our mediawiki so that you cannot save from the edit page (to eliminate cursory negligence).

Instead, users should be forced/restricted to saving only after visiting the preview page.

This would seem to be a really basic configuration option, but I've scanned through EditPage.php and found that it's beyond my understanding of MediaWiki PHP to implement this in an efficient manner.

UPDATE - Heureka, I found it out!

In /includes/EditPage.php, find (line number 1238 in mediawiki-1.9.0, 1158 in mediawiki-1.8.2): "&lt;div class='editButtons'&gt; 	{$buttons['save']} 	{$buttons['preview']} and replace these three lines with the following seven: "&lt;div class='editButtons'&gt;"); 	if ( $this-&gt;formtype == 'preview') { 		$wgOut-&gt;addHTML( "{$buttons['save']}"); 	} 	$wgOut-&gt;addHTML( "{$buttons['preview']} Hope this helps someone else, too! --Lupus yonderboi 15:23, 19 January 2007 (UTC)

What is the name of the fund raiser software you guys are using?
I am trying to integrate the same software on a non-profit site ( www.renality.org ).

I have been killing myself trying to figure it out by viewing the source code on the page.

I only found out 2 things:

1) you are using theme b7 for drupal on the live contributors page

2) some script is writing to a png file to display your numbers to date ( http://upload.wikimedia.org/fundraising/2006/meter.png )

How can I get this software? If this is not something that can be publicly viewed. Please feel free to contact me privately @ info@thevilicusgroup.com.

Thank you.


 * It's called the Wikimedia CORE (Central Online Reporting Engine) and is available in Subversion. robchurch | talk 06:28, 13 January 2007 (UTC)

Group access rights
I am trying to set up a wiki which can only be edited my me and a few other people. The public can create an account for use of the forum though. So what i was going to do was create four groups:
 * Admin - permission to do everything
 * Editor - permission to edit/create/delete pages and upload files
 * User - can only read pages but can edit/create threads in the forum
 * Anonymous - can only read everything

I think i have set it all up with $wgGroupPermissions in LocalSettings.php and now Users cannot edit, but it still shows the Edit tab, and section edit links. How can i remove these from everyone but admins and editors? is there a way?

Thanks a lot


 * For the section edits, see Manual:FAQ How do I hide the section edit links for users who are not logged in? No idea about the edit tab on the skin though, sorry. --Dr DBW 22:27, 22 December 2006 (UTC)

I want all pages locked by default....
only admin to edit. only registered to view.

Is there a setting in the config file to do this?

I'm having problems editnig my mysql tables directly. (and prefer not to)


 * There certainly is, see Manual:%24wgGroupPermissions .--Dr DBW 22:30, 22 December 2006 (UTC)

Physically delete a file
Hello, I have to delete a file due to copyright violation. When I delete it, it is archived due to $wgSaveDeletedFiles. Can I simply physically delete it, or this will break something? Thanx


 * You have a couple of options, I suppose. First and perhaps easiest is to disable, delete the problematic media, and then re-enable the setting. If you've already deleted the image, temporarily undelete it to sort it out properly.


 * Your second option would be to track down where the file has been saved (reference the  table) and then delete it from the file system. If taking this approach, be sure to erase the pertinent row from the table itself to avoid confusing MediaWiki. robchurch | talk 06:26, 13 January 2007 (UTC)

ERROR 500 after installing Mediawiki 1.8.2
i've just install MW 1.8.2 and all the rest of the wiki works except the main page :( which return an apache error 500 ...


 * Entirely possible that something in the main page's content is using an extension, and it's that MediaWiki extension (not MediaWiki itself) that's failing with the error500. Any page that doesn't use that particular bit of code may still display. --66.102.74.160 18:45, 1 January 2007 (UTC)

Upgrade to 1.9.0 and see if that fixes it. robchurch | talk 06:24, 13 January 2007 (UTC)

a made up scenario armenian masssacre
Dear Sir/Madam I want you to review article this page Armenian_Genocide since it serves to only one side you used only armenian sources why didn't you examine Turkish resources? have you got some deeper intentions? please serve to the internet world correctly. be honest to the world and facts!!! sincerely Alparslan Demir from TURKEY


 * You need to put this on http://wikipedia.org, not here on MediaWiki. The MediaWiki website only deals with the software that runs Wikipedia, how to configure and use it.  Nothing to do with the content.--Dr DBW 22:33, 22 December 2006 (UTC)

Try w:en:Talk:Armenian_Genocide as the initial point to post a complaint.

Backing Up Data
I am a new user of MediaWiki and its great! My only concern is losing all my information that I have put into my wiki. Is there an easy way to backup my files? Is it possible to login to my personal Wiki from another computer?

Please email me at dbiln@telus.net


 * Asking that this be taken from here to e-mail is poor form - it indicates that you don't intend to stick around long enough to check this page for any answers, and it doesn't leave the answers in plain view for use the next time someone asks the same question. In any case, this is all done with standard tools that are documented elsewhere:


 * mysqldump can dump an entire database to an SQL file, user passwords and all
 * any of the standard archivers (zip, tar/gzip, bzip...) can be used to archive everything in images/?/??/*
 * the current or full XML dumps of wiki text (for public download) are made using maintenance/createDump.php

Try looking up the documentation on these. It's all already supplied with the OS, with MySQL or with MediaWiki.


 * Thanks to the Editor who 1) reminded the original poster that answers are for everyone, not just for one and 2) providing that answer here. It has been helpful. --66.171.116.59 15:30, 11 February 2007 (UTC)

Wantedpages
My SpecialWantedpages.php aint working, and I don't understand why. I haven't edited it ever, and have got the 1.7.1 version. The page is here. --Aki 00:53, 25 December 2006 (UTC)


 * Looks like it works to me. What's broken? robchurch | talk 12:13, 15 January 2007 (UTC)

Setting up a personal Wiki
Is it possible to set up Mediawiki as a stand alone personal wiki on my home computer, and if so, how do I do it? If not, is there a program that's similar? Dev920


 * Yes, it is possible, see Wiki on a stick.--Patrick 00:16, 2 January 2007 (UTC)
 * You can also install it normally, if you download an Apache server, PHP 5, and MySQL on your computer. Then, you can change the Apache configuration files to block all inbound traffic from everywhere but 127.0.0.1, which is the IP address of localhost. This is what I did on my computer. Tito xd (?!?) 01:39, 2 January 2007 (UTC)
 * I got my mum to install it for me, thanks. :) 82.34.242.138 21:43, 5 January 2007 (UTC)

Colon
What does adding a colon at the beginning of a wikilink do, like Category:Famous actors ?


 * It makes a wikilink, instead of including the page in that category. --.anaconda 23:38, 25 December 2006 (UTC)

ShowHide function
I'm in the process of setting-up a wiki and it would be very useful if the Show/Hide function that comes with a page's table of contents was also available as an option for sections of a page - as mentioned here: ShowHide Extension

Does anyone know if this function will be included in the near future?

Take a look at ConditionalShow section 70.80.99.41 14:25, 14 January 2007 (UTC)

Can I legally pull content from wikipedia.com directly into a new wiki install?
I see a gap in wikipedia and would love to help bridge the gap in a similar social network. I would like to have ads to generate some money. Moreso I'd like to use some of wikipedia.com's existing content in order to bridge the gap.

Am I:

a. Allowed to use wikipedia content?


 * Supposedly yes, though I have yet to figure out exactly how it happens.


 * There are a number of free-content licenses in use. Wikipedia uses GNU's GFDL, which allows you to re-use any or all of their content for any purpose (including commercial use) if you retain the original free licence and acknowledge your source. The text still belongs to the original author (so you can't copyright it as your own) but you are free to copy and modify at will, so long as you give attribution and the text remains shared. Uncyclopedia uses Creative Commons CC-BY-NC-SA, somewhat similar but more restrictive in that it does not allow uses primarily for profit or commercial advantage. Many other sites use one of these licenses, or something similar - this will usually be indicated at the bottom of each page.

b. Allowed to use books to cite content that are copyrighted? I ask this because you are allowed to do this for term papers but I am not sure if I need to modify the content in order to cite or if I'm even allowed to do this if I've added ads to the page.


 * Depends how much text you cite, and for what purpose. To quote from copyrighted text to comment on it, review it, parody it or to use it as an example in an educational lecture is covered by the "doctrine of fair use", at least in the US. Each countries laws are different. And yes, copyright does eventually expire, but it takes a long time - the copyright outlives the authors of the material by far.

c. Do I have access to specific portions of wikipedia.com's databases somehow using Plug-Ins or Extensions?


 * Since the information is GNU yes, but again, not sure where the exact extensions are.


 * There is a way to download the entire Wikipedia as an XML dump, I think it was downloads.wikipedia.org - this then can be used by maintenance/importDump.php (these are, however, massive files). If you just want a few articles in XML, go to special:export on the original wiki, grab the XML for just those pages, then use importDump.php or special:import on the destination wiki. You need to be administrator to import the XML but not to export it.

d. Do I have to be a non-profit in order to become affiliated with MediaWiki?


 * Um, what do you mean by "affiliated"? Plenty of sites use the MediaWiki software (as it's under a free license) but that doesn't make these sites affiliated with mediawiki.org, wikipedia, wikiindex or anything else.

e. How can I legitimately become affiliated with the WikiMedia Project or is this automatic when you install the software?


 * Why would you want or need to do this? The Wikimedia Foundation is the not-for-profit organisation that owns the wikipedia.org sites, nothing more. Lots of wikis use MediaWiki without being (or even wanting to be) Wikipedia. If you want to start a Wikipedia in another language (or Wikibooks, Wiktionary and others in that same Wikipedia set) there'd be info on meta.wikimedia.org on how to request this. Most likely this isn't what you want to do, as most or all major languages that ever wanted a Wikipedia have one already. You can start a wiki without it being a Wikipedia.

f. Why doesn't wikipedia.com enable use of Google ads?


 * I'm guessing they don't enable ads because it's supposed to provide information that is ad free but there may be other wiki's that support ads within their content. I won't be 100% sure until I install this wiki though.


 * I presume you mean wikipedia.org - they're a non-profit and rely on donations to operate. Too many ads, and the number of people willing to donate money or content to the project drops. Wikia is a mess of Google ads, Wikipedia is not - much like PBS-style educational channels don't interrupt programs in the middle to insert advertisements.

g. Does MediaWiki have support for Google AdSense, Yahoo Ads or LinkShare?


 * Wikia.com does this by changing the Monobook skin files to insert ads for Google clients, ads for other Wikia wikis, ads, ads, ads. It's non-standard, but if all the web code is there, yes it can be changed to turn a site into a mess of ads.

h. Can users just paste in AdSense code into these pages? I'd imagine not or people would be doing this like crazy.


 * No they can not.

j. If users were allowed to add their own AdSense to these pages is there a way to stop them? I actually haven't tried but I just might right now to see what happens though I'd thought I'd ask first.


 * I tried. You can't add your own AdSense code to these pages.

k. And can anyone see an upside to allowing others to post their own ads onto a wikipedia site? Think outside the box, don't just flame this one. I'm talking about creating a social network of advertising that could help many if done correctly. Not that I'm planning on doing it if someone just says 'yes'.


 * After some research I've come to realize the wikipedia was a post-anarchist movement which was pro-free speech. Hence my question is rather useless unless we can find a way to remain free. Though my capitalist side says it would go against convention to have ads splattered everywhere.


 * Allow enough people to plaster enough pointless, duplicated and fly-by-night sales pitches to a site and that's all you'll have. Spammers have destroyed many free resources, including significant chunks of Usenet (alt.sex.* being the worst). Unless you want thousands of links to the same herb@!v1agr@.com sites, links to porn, links to 1-900-976-SCAM numbers, links to casino sites which may or may not be rigged, links to every fly-by-night company which has no reputation to lose by spamming ads everywhere? Don't bother. Either you exercise some level of control over what gets advertised (and how it's presented) or your site becomes a heap of spam and is of no use to anyone. Search engines will blacklist you for less.

Thank you.

Any help with referring links to any of the Wiki sites accompanied with responses would be greatly appreciated.

Cheers Zeus

I really hope I haven't posted this in the freaking wrong place.

Deleting
How do you delete articles? --82.27.18.6 11:07, 29 December 2006 (UTC)
 * Move the revisions to the archive table. That can be done by administrators using the ?action=delete query. See m:Help:Administration. Tito xd (?!?) 23:03, 29 December 2006 (UTC)

moving wiki
Hi,

how can I move my mediawiki from one computer to an other. Where does mediawiki store its data? Only in the database?

I want to move mediawiki from a Windows server to Linux.

Thanks for Help
 * Yes the most is stored in the database, but you should copy the /images/ directory
 * And you have to set permissions, but i think that mediawiki will say it.
 * But before you start have an update
 * Excuse my bad English -.-

MediaWiki stores configuration data, extensions and images and other media in the filesystem, while users, page data, text, etc. are all stored in the database. To perform a complete move, check out Manual:Moving a wiki. robchurch | talk 06:13, 13 January 2007 (UTC)

SVG and Imagemagick
Do I need shell access to render SVG images to PNG with Imagemagick? On my MediaWiki istallation SVG is allowed for upload, but it fails to render with the message Error creating thumbnail:. Or what sources for errors else are possible? --84.143.41.65 22:26, 29 December 2006 (UTC)

ImageMagick is buggy (it will convert SVG, but will clobber any text or gradient fills in the image when doing so). Alternatives are Inkscape or RSVG. The selection is made by setting: $wgSVGConverter = 'inkscape'; Options are inkscape, imagemagick, rsvg, none.

Do verify that whatever programme you use to make the conversions has permission to write to whichever files it needs. At a minimum, this would be images and images/thumb - for Inkscape, there are also some hidden configuration files that are created once-only as directories under ~apache/ 's home directory.

You may also need to increase the default: $wgMaxShellMemory = 102400; to a more reasonable value - too low, and external programmes like Inkscape or RSVG will fail. --66.102.74.160 18:42, 1 January 2007 (UTC)

TeX Problem with creating directorys
My Problem: I installed mediawiki 1.6.8 on an Debian server; running PHP4. Then i enabled the Math-TeX system like in m:Help:Running MediaWiki on Debian GNU/Linux

Then i got this error, while showing a page with math-tags: Failed to parse (Can't write to or create math output directory)

./images/tmp and ./images/math are 777 and '$wgUploadPath' and '$wgUploadDirectory' in LocalSettings.php are fine, too. The images for the math-tags are created in ./images/tmp/ well, but i couldn't find them in the ./images/math directory. Tecvx works fine. I think that the problem is that the directorys in ./images/math which names are hashed could not be created. (btw. how are these directorys created normally? I couldn't find anything in /include/Math.php - but i am a n00b in php)

When i replaced function _getHashPath { global $wgMathDirectory; $path = $wgMathDirectory .'/'. substr($this->hash, 0, 1) .'/'. substr($this->hash, 1, 1) .'/'. substr($this->hash, 2, 1); wfDebug( "TeX: getHashPath, hash is: $this->hash, path is: $path\n" ); return $path; } with function _getHashPath { global $wgMathDirectory; $path = $wgMathDirectory/ wfDebug( "TeX: getHashPath, hash is: $this->hash, path is: $path\n" ); return $path; } in /includes/Math.php, the images could be created well in /images/math, but weren't shown in the wiki.

Does anybody know how to help? thx :)

sry for my bad English... --217.94.245.76 14:33, 1 January 2007 (UTC)
 * No i solved this problem my self:
 * I replaced in LocalSettings.php the line

$wgMathDirectory   = "{$wgUploadDirectory}/math";
 * with

$wgMathDirectory   = "images/math";
 * Now it works fine at all :)

Change Username in MediaWiki Version 1.6.8
I saw an extension that works with version 7.0+ but I can only use 1.6.8 because my host does not have PHP5, I want to be able to change usernames if a user requests it.--71.221.198.241 03:14, 1 January 2007 (UTC)


 * You'll need to use a much older version of the RenameUser extension, then. This version might work. robchurch | talk 06:11, 13 January 2007 (UTC)

Changing my own Wiki Logo
Hi everyone, How do I change the Logo of my Wiki page? I figured it something with the $wgLogo.swf thing, but i can't figure where to put the line with my own picture. Thanks 132.66.161.135 10:35, 1 January 2007 (UTC)
 * The image is stored in /wiki/skins/common/images/wiki.png . Just replace this image with an other one
 * You can may replace the line

$wgLogo            = "$wgStylePath/common/images/wiki.png";
 * in LocalSettings.php with an other one ($wgStylePath = "$wgScriptPath/skins")
 * I hope that i was able to help you and a nice new year 2007!--217.94.245.76 14:29, 1 January 2007 (UTC)
 * I hope that i was able to help you and a nice new year 2007!--217.94.245.76 14:29, 1 January 2007 (UTC)


 * Thanks for the tip,
 * As a total newbie, I wanna ask I how find the LocalSettings.php file?
 * My home is wiki.tau.ac.il/ottomans. what should I click next?
 * Thanks again
 * 132.66.161.135 11:16, 1 January 2007 (UTC)
 * You need FTP or ssh to edit this file; you can't do this with your browser.
 * Just download via FTP http://wiki.tau.ac.il/ottomans/LocalSettings.php
 * Then open this file with any editor (e.g. I prefer Notepad++)
 * Search for the line

$wgLogo            = "$wgStylePath/common/images/wiki.png";
 * and replace "$wgStylePath/common/images/wiki.png" with any path you want. And the end you need to upload this file again( just replace the old one)
 * i am very sorry for my bad English, but i speak English since only two years...
 * --217.94.245.76 14:29, 1 January 2007 (UTC)
 * --217.94.245.76 14:29, 1 January 2007 (UTC)

Change that one line of LocalSettings.php from: $wgLogo            = "$wgStylePath/common/images/wiki.png"; to: $wgLogo            = "$IP/images/b/bc/Wiki.png";

You can then upload your logo as an ordinary file Image:Wiki.png to your wiki. Be sure to protect that wiki page. --66.102.74.160 18:35, 1 January 2007 (UTC)

Blank Page
I recently updated to the latest MediaWiki Release 1.8.2. It worked flawless but after about 1 day it just stopped working. I get a blank page, no error message or whatsoever. Here's the link:

I'd appreciate any kind of help. Thanks!


 * If you get a blank page, usually there is some sort of error message - but it will be in the server logs. On a linux machine, this would normally be /var/log/httpd/error.log; Any error that stops PHP dead in its tracks (and even a small typo in LocalSettings.php or the like is enough) will give the condition you describe. --66.102.74.160 18:31, 1 January 2007 (UTC)


 * You seem to have fixed it now, correct? robchurch | talk 06:06, 13 January 2007 (UTC)

Same here
I just tried upgrading mediawiki-1.8.2 to mediawiki-1.9.0rc2. I've done upgrades before with no problems. This time I get a blank page. Log files say:

[Tue Jan 09 11:40:28 2007] [error] [client 172.20.129.184] PHP Fatal error: Call to undefined method Title::isSpecial in /opt/apache/htdocs/mediawiki-1.9.0rc2/includes/SkinTemplate.php on line 565

I tried replacing the 1.9.0rc2 SkinTemplate.php file with the 1.8.2 file, but this didn't fix the problem.--Stinkypup 20:59, 9 January 2007 (UTC)


 * Different issue to the one above, I'll wager. You appear not to have updated all the files; be sure to do that. Your best bet would be to download the 1.9.0 release tarball now and extract all the files into your MediaWiki directory, overwriting all the existing ones. robchurch | talk 06:06, 13 January 2007 (UTC)

In Tropic HTML
Hi,

i want to include some Code in a Tropic, but i can only see the Code like:

You can Answare in German becouse my English ist very bad.


 * Ich kenn mich zwar mit der inputbox nicht seh gut aus, aber ich glaube, dass du jeden Befehl in eine neue Zeile schreiben musst, also:

 bgcolor=#F8F2FF type=create editintro=Vorlage:Neuer Artikel/Intro preload=Vorlage:Neuer Artikel width=50 
 * Das wÃÂ¼rde dann so aussehen:


 * Ich hoffe, dass ich dir helfen konnte --217.94.253.141 15:13, 2 January 2007 (UTC)

Automatic Merging
I have installed and configured the MediaWiki software on my Windows 2003 server. I am using IIS 6.0 and MySQL. I also installed the diff utils for windows, and edited the $wgDiff3 path accordingly. However, the wiki doesn't appear to automatically merge when an edit conflict occures. I've tried everything I can think of, and it just wont work. The line where I set the $wgDiff3 currently reads:

$wgDiff3 = "C:/GnuWin32/bin/diff3.exe";

Any ideas?

Edit the footer
How can i edit the footer? i want add a iamge-icon in the left side where by default in right side there are "powered by mediawiki" image...


 * Quick Hack : Set  in LocalSettings.php to the path of the image
 * The Right Way&trade; : Hack the skin file(s) and add the image
 * robchurch | talk 06:04, 13 January 2007 (UTC)

Sub-categories in navigation?
Anyone found a way to get sub-categories in the navigation pane? For example:
 * Help System
 * A part of my Application
 * Screen 1
 * Screen 2
 * Screen 3
 * Another part of my Application
 * Major component concepts

etc. Thanks! Jason McIntosh mcintoshj@missouri.edu


 * You could use the CategoryTree extension. Color probe 23:22, 15 January 2007 (UTC)

Import an existing Content Database?
Is there a reccomended method to import existing content into a Mediawiki?

We have a several hundred page wiki using CFWIKI and an Access database. Is there a process to import the database contents into a MediaWiki?

Thanks, John Dooley
 * See m:Help:Export and m:Help:Import --Dr DBW 01:21, 9 January 2007 (UTC)

After following all the intructions, I cannot get proper MediaWiki installation...
By the way, the database files are installed.

Here are the details from checking environnement message:

Warning: set_time_limit [function.set-time-limit]: Cannot set time limit in safe mode in /www/sites/1/iquebec.com/s/a/satie/site/install-utils.inc on line 21

PHP 5.2.0 installed Found database drivers for: MySQL Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads. PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 16M. If this is too low, installation may fail! Attempting to raise limit to 20M... failed. No zlib support. Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: /www/sites/1/iquebec.com/s/a/satie/site Script URI path:

Thank you for your help. Satie


 * You didn't explain what was actually broken, but nevertheless, I'll hazard a guess that you may be running out of memory; the snippet above indicates that MediaWiki was unable to raise the memory limit. That's the best guess I have based on the information you've currently provided. robchurch | talk 06:01, 13 January 2007 (UTC)

changing default for "lines per hit"
does anyone know how the site administrator can change the default for "lines per hit" under Search preferences for all the users all at once? much aprreciated.

Editing not allowed
I have tried repeatedly to edit my new mediawiki but it tells me every time that it has lost the session data. I have tried rebooting teh computer, logging in and out, but to no avail. Anyone know what has gone wrong? 82.34.242.138 21:44, 5 January 2007 (UTC)


 * Check that the  value in the PHP configuration is set to a valid, writeable path. robchurch | talk 06:00, 13 January 2007 (UTC)

Session_fail_preview when editing pages while logged in
Hi All

I have setup MediaWiki with the last version of Apache, MySQL and MediaWiki, just today. My server is Windows 2003 Server.

Apache is running ok, mySQL also and MediaWiki appears to work ok in everything but a annoying problem:

If I log In with a user and try to edit a page, I get the Session_fail_preview message. In Spanish it is: "Lo sentimos, no pudimos procesar tu ediciÃÂ³n debido a una pÃÂ©rdida de los datos de sesiÃÂ³n. Por favor, prueba de nuevo, y si no funciona, prueba a salir y volver a ingresar." (we could not process your request becouse a session data loss, please, try again and if it does not work try login out and login in again)

On the other hand, if I try to edit a page with a anonimous user, it works perfectly!

It must be some issue with sessions or cookies, but I really did not find anything on the mediawiki support pages.

There is a person asking for the same problem here:

Preventing Access

in the final part of the webpage:

"Question: After disabling anonymous edit permission, I get ther error session_fail_preview. What did I miss ?"

but without answer...

I tried with several web browsers (Firefox, IE) and got the same error.

Any help would be appreciated.
 * Have you tried deleting the cookies from the Firefox or the Internet Explorer cache? WP:CACHE has good instructions as to how to do so. This is a fairly-normal error, it happens when a cookie is not recognized, not configured properly, or simply corrupted. Tito xd (?!?) 07:18, 8 January 2007 (UTC)

Rename users under 1.5.2
I want to rename users in my wiki. I know that this function exists in wikipedia German Link. But how i can do this in the version 1.5.2?

Thanks


 * Install the RenameUser extension, available in Subversion. robchurch | talk 05:56, 13 January 2007 (UTC)


 * Thanks for the information :)


 * I have a question to this extension ... Ive found this description for renameuser. I think it will not work with my version of wiki. How can i solve this problem. Should i install this extension? I don't want to damage my wiki.

If using an older version of MediaWiki, browse back through the extension's Subversion log to find an older version of the extension which will work. robchurch | talk 03:40, 5 February 2007 (UTC)

Resetting Viewcount
I have generated a bunch of hits in the development of my website that is powered by MediaWiki. Is there some way to reset all the counts to zero when I "roll it out" to public access?


 * Issue an appropriate SQL update statement; something like  should do. robchurch | talk 05:57, 13 January 2007 (UTC)

wiki/index.php/WikiLink ?
I have a minor problem. When I visit http://www.mysite.org/wiki, it automatically goes to http://www.mysige.org/wiki/index.php/MainPage. How do I configure it so that all the pages are at wiki/PageName? (BTW, wiki/PageName doesn't exist).


 * See Manual:Short URL. Color probe 23:30, 15 January 2007 (UTC)

Desktop search
Is it possible for desktop kind of search using media wiki?

Installation Error
When I'm installing the MediaWiki I'm always reveiving an error like this: '' Warning: chdir [function.chdir]: open_basedir restriction in effect. File(..) is not within the allowed path(s):  (/srv/www/httpd/phost/g/com/pytalhost/gsw/web/:/srv/www/httpd/phost/g/com/pytalhost/gsw/tmp/:/srv/www/httpd/phost/g/com/pytalhost/gsw/ses/) in /srv/www/httpd/phost/g/com/pytalhost/gsw/web/config/index.php on line 763 Creating hitcounter table...ok  Creating querycache table...ok   Creating objectcache table...ok   Creating categorylinks table...Query "CREATE TABLE `categorylinks`    cl_from int(8) unsigned NOT NULL default '0',    cl_to varchar(255) binary NOT NULL default ,    cl_sortkey varchar(86) binary NOT NULL default ,    cl_timestamp timestamp NOT NULL,    UNIQUE KEY cl_from(cl_from,cl_to),    KEY cl_sortkey(cl_to,cl_sortkey),    KEY cl_timestamp(cl_to,cl_timestamp)    ) TYPE=InnoDB   " failed with error code "Specified key was too long; max key length is 1000 bytes (mysql1)".    ''
 * What is your version of MySQL, and which MediaWiki version are you trying to install? Tito xd (?!?) 05:07, 16 January 2007 (UTC)

I get something similar - Feb 1, 2007: Creating job table...Query "CREATE TABLE `job` ( job_id int(9) unsigned NOT NULL auto_increment, job_cmd varchar(255) NOT NULL default '', job_namespace int NOT NULL, job_title varchar(255) binary NOT NULL, job_params blob NOT NULL, PRIMARY KEY job_id (job_id), KEY (job_cmd, job_namespace, job_title) ) TYPE=InnoDB " failed with error code "Specified key was too long; max key length is 1024 bytes (linux)". I tried two different MySQL versions. 4.1.12 and 4.1.21. Both failed the same way. Each time I used the latest mediawiki - 1.9.1

Who's Logged in?
Is there a hook or something to tell who is logged in?


 * You can use to tell you how many users have accounts.  (taken from Meta:Help:Variable).  However I don't know of any that would give the currently logged in users.  I don't know of any extensions that would provide this functionality, however if you look at User table the user_touched field in the users table *MAY* be something you can run a custom query on if it works the way touched works in a unix environment.  It's something to consider.  Sorry I can't be of further help.  --Grymwulf 04:42, 12 January 2007 (UTC)


 * You might be able to write an extension which stores the timestamp each time a user logs in, and queries this information to produce a list of users who logged in "recently", although this would offer a fairly limited solution, since if the user has "remember me" set, then the login is implicit. robchurch | talk 03:38, 5 February 2007 (UTC)

Strange Bug - Internal Server Error
After installation, it worked as required on the first view. That is when it says at the bottom of the page "This page has been accessed 0 times."

However, after that, there was an internal server error. By commenting different portions of the code, I traced it to the file includes/SkinTemplate.php, line 330.

The code here is: if ( $viewcount ) { $tpl->set('viewcount', wfMsgExt( 'viewcount', array( 'parseinline' ), $viewcount ) ); } else { $tpl->set('viewcount', false); }

It seems that wfMsgExt( 'viewcount', array( 'parseinline' ), $viewcount ) works. However, when you put it directly as an argument to $tpl->set, the Internal Server Error is caused.

I fixed it by replacing it with: if ( $viewcount ) { $temporaryvar = wfMsgExt( 'viewcount', array( 'parseinline' ), $viewcount ); $tpl->set('viewcount', $temporaryvar ); // for some reason an internal server error is caused by plugging the function used to evaluate $temporaryvar directly into $tpl->set as a parameter unset($temporaryvar); } else { $tpl->set('viewcount', false); }

Perhaps there is a better permanent fix.

Edit: I have found a similar error when submitting to Special:userrights. A similar fix worked. Anyone know what is happening? (Perhaps it has to do with some PHP configuration)


 * Which version of MediaWiki are you using? What is the exact text of the Error 500?  Is there an entry in the http server logs or the php logs?  The best place to check into this is to visit MediaWiki Bug Tracker to either open a bug report or search to see if someone else has encountered this problem.  --Grymwulf 04:25, 12 January 2007 (UTC)

How to modify the UserLoginPage
I want new users to send a request to the wiki mail address so I can determine the username. For that I need to replace the "create new account page". Guess I have to use the Is there anywhere an example how to do so.

1.8.3 - 500 Error out of blue, not related to any of the others in this page....
I get 500 internal server error when accessing my site - it was working fine 8 hours ago. If I try to go directly to an internal page such as Main_page I get a page saying:

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 "Job::pop". MySQL returned error "1146: Table 'how-to.ht_job' doesn't exist (localhost)". Retrieved from "http://XXXXXXXX.com/mediawiki/index.php/Main_page"

Any other direct link returns a 500 error and no page just like the base url.

I checked the database and sure enough theres not ht_job table.

Any pointers would be handy - site was developing nicely :(

The there are no apache errors for these events or this site, only a few on another site on the same host but they dont seem to have affected the operation of that site?

Cheers Jaems


 * It appears that the latest Yum RPM for mediawiki that went up may have an error, judging by the several other posts mentioning issues similar to you. I don't any other information regarding this error, but you may want to check out the Fedora Core project's support site to see what other users have discovered.  --Grymwulf 04:17, 12 January 2007 (UTC)

Sounds like the Fedora package upgrade isn't running the updaters. Assuming all the other changes are correct, run  from the command line to fix this. robchurch | talk 05:30, 14 January 2007 (UTC)

Yum upgrade of mediawiki to 1.8.3-7.fc5 breaks site?
Mediawiki on FC5. Pretty much std install. working for few months, lots of content. Came in this morning, went to wiki, and get this error msg in browser:

Database 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 "1054: Unknown column 'user_registration' in 'field list' (localhost)".

Went looking for errors, but none relevant found in httpd error_log or mysqld.log or messages. I then noticed yum had updated mediawiki as shown in title early this morning.

Did new mediawiki break my site?? How do I revert to previous mediawiki rpm?

Thanks! John


 * You may want to visit the support pages for Fedora Core project for help with problems with that Yum upgrade. It appears several other people have encountered errors with it.  I'll see what I can dig up on it in the mean time.  --Grymwulf 04:14, 12 January 2007 (UTC)

I get to learn a little bit about mysql and mediawiki....  I put the DB root user and passwd in AdminSettings.php and then flipped to maintenance directory and did a "php -f update.php" just like the UPGRADE file said....  seemed to work! You guys are great! Thanks John

my photo
I would like to insert photo on my page. It's my personal photo, not anything off the internet. Would you please give me a simple instructions on how to do it? Can I email it to you and you insert i?
 * Take a look at the 'edit' tab on a page that has a picture. What software are you using?  What site is it, yours or this?  Have you uploaded the file?  I'm sorry I can't give you better advice, but you may want to visit Help:Images for a fairly good help/manual page.  --Grymwulf 04:12, 12 January 2007 (UTC)

1.8.3 Error 500
Why did my last message get deleted?

I have a comepletely out-of-the-box installation of 1.8.3 and it was working perfectly last night (and for the past week), this morning I find it has a 500 error. It is not using any components other than mediawiki and the front page had only links to other internal pages and a bit of text. No image, no flash - nothing. I was using no extensions. No PHP errors reported on this database. I have modified nothing file-wise other than basic page content and even those mods were working when i left it. Page error is

Database 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 "Job::pop". MySQL returned error "1146: Table 'how-to.ht_job' doesn't exist (localhost)".

Also think this is related to the yum update that occured last night (FC5).


 * Did you complete the yum update? You may want to check in the forums for the Linux distro you use to see if anyone else is encountering this problem.  Also, try following the upgrade instructions for the MW 1.9 version.  Another thing you can do is do a rollback to the prior version of MediaWiki 1.8.x to see if that clears your issue.  I don't know which Yum update package you used, and this can be a problem that exists when performing an upgrade with a package manager vs doing the manual install.  Also, you may want to check if the LocalSettings.php file needs to be regenerated - is your mysql based off your localhost?  --Grymwulf 04:08, 12 January 2007 (UTC)

Sounds like the Fedora package upgrade isn't running the updaters. Assuming all the other changes are correct, run  from the command line to fix this. robchurch | talk 05:30, 14 January 2007 (UTC)

i can't change the logo anymore
Hello, just after installing MediaWiki on my website, i tried changing the logo, everything worked fine.

Now i would like to change it one more time, but it doesn't work.

i modified the $wgLogo line in LocalSettings.php, but nothing happened.

I tried refreshing my browser, emptying browser cache, used "...index.php5?action=purge" and tried another browser, but my logo is still the one i set after installation.

Then i returned the line to default ($wgLogo = "$wgStylePath/common/images/wiki.png";), still doesn't work.

Any advice, please ?

Moitoine


 * Which LocalSettings.php did you edit? the one in ./config/LocalSettings.php or ./LocalSettings.php?  The ./config/ one is the one written by the installer, which is then copied to the base directory. --Grymwulf 04:04, 12 January 2007 (UTC)

-the one located in the root directory ./LocalSettings.php. the one i modified once to have my current logo. Moitoine

Huge problem, suspect PHP compatability issue? Cant use wikimediaat all
We're trying to setup Wiki media on our web host, we've created a sub domain, wiki.st-george-squadron.co.uk we can install it fine but only view the main page it takes you to after installation once, if absolutely anyone visits the page after that they get this error,

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@wiki.st-george-squadron.co.uk 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.

Now theres something strange with the php on my server, apparently it can support PHP 5 if I upload a special .htaccess which says "AddType application/x-httpd-php5 .php5 .php" (no " obviously) only by doing that can we get it to install, otherwise it says php 4 isnt supported.

My webhost said, "We have compiled php4 with php5 on all servers. Please check the same from the url 65.98.14.10/php.php5 . If you want to run your files with php5 version just save files filename.php5 insetad of filename.php" Do I really need to rename every single php file to php5 in my wiki folder??

Other info, I was able to register a user, but whenever i tryed to go to the main portal I got the above error message.

Whats going on? Is this something my webhost needs to sort out?

Edit: Ive tried renameing the files to php5, no luck as I suspected, the programs looking .php files not .php5 :(
 * Installation on a free french hosting requires renaming of files from .php to .php5.


 * In this case,the only files we have to rename are: index.php and redirect.php to .php5 (in the root directory). After that you have to modifie these 2 lines in LocalSettings.php

$wgScript          = "$wgScriptPath/index.php5"; $wgRedirectScript  = "$wgScriptPath/redirect.php5";
 * I hope it could help. Moitoine

I'm afraid that hasnt worked, if you visit now you'll see the error message is still appearing :(

Division by zero in includes/SpecialStatistics.php on line 53
I just upgraded from MediaWiki 1.8.2 to 1.9.0 and get a "Division by zero in includes/SpecialStatistics.php on line 53" error on the Special:Statistics page at http://brick-knight.com/index.php?title=Special:Statistics

Any idea what the problem may be?


 * Your site_stats table is empty; perhaps you set up the database in some odd manual way?


 * You can repopulate it by running maintenance/initStats.php --Brion VIBBER 22:07, 12 January 2007 (UTC)


 * That fixed it, thanks! I didn't set anything up manually, but I did run into an error during the initial config.

Sidebar Color Headings
I've done quite some searching-- and I think a couple of other people have had a similar "problem"-- but no solution in sight. I've customized my Wiki's skin, and changed the background to black. Due to this, the Sidebar headings (navigation, search, toolbox, etc.) become "invisible" since their custom color is black also. Is there anyway to change this (for example, make the text red)? I've tried tweaking around the CSS file but I've had no luck. Would really appreciate some help with this!

re: none of the links from the drop-down menu work in nostalgia skin
No matter which page you click on and click go, it always goes back on the main page. please help!

changed LocalSettings.php does not work
The installation was succesfull. After enabling image uploads, and thus only changing false into true, de LocalSettings.php doesn't work anymore. I get this error: Warning: Cannot modify header information - headers already sent by (output started at /opt/www/avontsk/web/www.derepubliek.eu/vvp/wiki/LocalSettings.php:1) in /opt/www/avontsk/web/www.derepubliek.eu/vvp/wiki/includes/WebResponse.php on line 9

Only the original LocalSettings.php seems to work. I've tried chmodding, but to no effect. Can anyone help me?

Avonts 16:21, 14 January 2007 (UTC)


 * Sounds like there's some whitespace or dud characters at the start of the file. Make sure that the first line of  is  . robchurch | talk 07:03, 15 January 2007 (UTC)
 * Thanks for your reaction. I've checked it. I didn't add any whitespace. It still doesn't work.
 * Since the initial LocalSettings.php works, but later uploads (which overwrite the old ones) don't, I was thinking it may have something to do with FileZilla. Any ideas? Avonts 17:20, 15 January 2007 (UTC)
 * I found what the problem is thanks to our friends of the Mediawiki-mailinglist. I was editing the LocalSettings.php-file with Windows Notepad. When saving the file, Notepad inserted an invisible character at the beginning of UTF-8 files (the "byte order mark" or BOM).
 * The BOM character, unfortunately, breaks PHP files because it gets sent to output before any of the code is run. So it's necessary to save the file as UTF-8 _without_ BOM, if you have the option available. Now I'm using jEdit.
 * Avonts 08:06, 17 January 2007 (UTC)

MySQL upgrade: 4.0 --> 4.1
Hi folks,

PROBLEM: My ISP is going to upgrade MySQL from version 4.0 to 4.1. How do I best cope with this upgrade? Can I leave the MediaWiki installation as it is or do I have to take some kind of action like rerunning the installation script etc? What is best way to handle this? (I dont have shell access)

CURRENT CONFIG: I'm currently using 1.6.8 since my ISP doesn't support PHP5. I plan to upgrade to 1.6.9 soon, but this is basically not of concern to current issue. (Unless that would simplify the situation)

All comments, suggestions etc are HIGHLY appreciated!!

Thank you, Mshapf


 * 1.6.9 contains a security fix, I'd recommend upgrading soonish.
 * In theory, you shouldn't have to do anything. In practice, hosting providers often cock this sort of stuff up, so I'd consider making a backup of the entire database.
 * robchurch | talk 07:02, 15 January 2007 (UTC)

Tagline
How do I get the tagline to display? I have it set via MediaWiki:Tagline Thanks. 202.63.51.171 02:43, 15 January 2007 (UTC) (I am User:rmccue on Wikipedia)


 * Add  to your MediaWiki:Common.css page. robchurch | talk 07:06, 15 January 2007 (UTC)


 * Thanks Rob! 202.63.51.171 09:58, 15 January 2007 (UTC) (I am User:rmccue on Wikipedia)

Data Base Question
Where do I find the Open Content DB's to populate my Wiki with?

Thanks

DUH!


 * You mean the Wikimedia database dumps, e.g. Wikipedias? http://dumps.wikimedia.org robchurch | talk 07:01, 15 January 2007 (UTC)

errors in WhosOnline Extension with wfQuery and wfStrencode
I upgraded my 1.8.2 MediaWiki to 1.9.0 and suddenly the WhosOnline Extension throws erros, eg.:

Fatal error: Call to undefined function wfStrencode in ...

Same with wfQuery. Are these functions internal MediaWiki functions? If so, what can I change in the extension file to substitute these two functions, please?

Thanks
 * -- PyroM 17:01, 15 January 2007 (UTC)

Don't get me wrong. I am not asking for help with the extension. I just would like to know if wfQuery and wfStrencode are internal functions of MediaWiki and if they have been substituted or renamed somehow in version 1.9.0. In Version 1.8.3 all worked fine with that.

Thanks a lot, regards
 * -- PyroM 16:03, 16 January 2007 (UTC)


 * Obsolete. Very, very obsolete, and I believe finally removed recently.


 * Use the methods on the Database objects. --Brion VIBBER 22:17, 16 January 2007 (UTC)

Thank you, Brion! But I need one step more help, please: where do I find the reference for these methods? And will there be an aquivalent for wfStrencode too, since it is just string operation but no database thing?

Thanks again!
 * -- PyroM 10:58, 22 January 2007 (UTC)

Formatting search results layout
Hello all - I'm wondering how to configure / customise the results listing of searches from the MediaWiki software. I.e. I've a large wiki set up and running, but would like to alter the search results listings to include less of the default (e.g. the lines of sample code/text), and simply give the page title and relevant page info.

How does one go about customising the search results display?

With thanks in advance.

Further

 * No particular rush on this, but it is the main feature / configuration problem I have remaining with the MediaWiki setup, and I seem unable to find any on-line documentation either on mediawiki.org or wikimedia -- so I'd be particularly grateful for any assistance! MCS

How to make a beautiful Main Page
Hello,

How can I make the same main Page as the Media Wiki's ?

Thanks


 * Look at the source - the main design is done within templates.

I can't edit or see some pages
Hello. I apreciate your help! I cannot see some pages in my wikisite, and i can't edit a second time, why? it's very strange and i really need help!

fabiola.ifastnet.com

THIS HAPPENS TO SOMEONE ELSE?

Restricting image upload and search result output
How can I restrict image upload to a specific namespace only and how do I set zero lines per hit under "Article title matches" as a default for all users?

Thank you.

Arrange the Interface and Upload pictures...
Hi, im sorry if im post things in the wrong place, but i didnt understand and didnt find where to put it. I have two questions: 1. how to arrange the first page as shown in the main page of wikipedia.com. 2. if i you like to add picture to any article, how i can do that.

Thanx in Advance..

#if ...
Hi,

in a ''- clause is used. I wanted to add this if- statement to my wiki (v. 1.6).

It doesnt work. How can i insert this template or #if- statement?

regards, A. B.


 * This is an extension (ParserFunctions). It probably doesn't work well with 1.6, which is old. --Brion VIBBER 22:16, 16 January 2007 (UTC)

Why do my categories always default to 'edit' mode?
I'm just setting up a new Mediawiki on my site but having problems getting the categories to function properly. I'm using MW 1.5.8. My problem is when I set up a new category on a page that category is always defaulting to edit mode when clicked upon (from wherever) - i.e., it always comes up saying it's just a preview, even if it has embedded the correct content. See here for an example. Scroll down the page and click on any of the categories and you'll see what I mean. How do I fix this? Thanks.


 * Because you haven't put a description in them yet. --Brion VIBBER 22:16, 16 January 2007 (UTC)

Stable article version?
There was a question in the last archived discussion page witch led to an answer that there are plans to bring some stable article version tagging thing "soon". Are there some conrete specifications of that by now or even some work in progress one can look at?


 * already available at least in version 1.9.2

Attachments
Is there an extensions available for attachments.

In some cases i want to add a word or excel document at the bottom of a page.

I can chance the list of extensions, but in that case the document will added into the images directory and will be treated as an image.

Can anyone help me!?

Best Regards,

Hans Bastiaan


 * Embedding is not possible, linking is possible by uploading like an image.--Patrick 00:25, 17 January 2007 (UTC)

Exporting the full history of a page -- the URL in Parameters_to_Special:Export is not working
I am trying to export the full hisotry of a page. However, the URL given in Parameters_to_Special:Export generates only the current version of the main page.

http://en.wikipedia.org/w/index.php?title=Special:Export&pages=Main_Page&offset=1&limit=5&action=submit

How can I export the full history of a page? Is there any other URL?

Thanks for any help...


 * Omit the offset and limit parameters. Note that Wikimedia wikis are configured to prevent manual exporting of more than a certain number of revisions per page (500, I think). robchurch | talk 13:19, 20 January 2007 (UTC)

RE: #if
is it possible to add the #if- statement in the WikiSoftware version 1.6.? could i add this extension and it would work? or ist it not possible to work with the #if- extension in version 1.6. ?

thanks alot, A. B.


 * It's rumoured to work, with some fiddling. Take a look at ParserFunctions. robchurch | talk 13:18, 20 January 2007 (UTC)

Migrating from Dokuwiki
Is there a way to migrate a Dokuwiki install to MediaWiki?

How to delete the initial message "MediaWiki has been successfully installed. age "?
Pelase tell me how to delete this initial message from my main page. Thank you.


 * See Manual:FAQ. robchurch | talk 13:16, 20 January 2007 (UTC)

Thank you for your kind response. I actually meant DELETE not EDIT, but I foud out about Oversight and trying to get it to work. I am sorry I asked a very basic question, but I am very new to Wiki system. I am spending lots of hours to learn this system and I am learning quite a bit. I appreciate everyone's kind help and supports, plus patience. What a wonderful international group of people! I am planning to establish my talk page logging my own experience of creating my own wiki (TaiChiWiki) so that other non-techies might find some helpful tips, or at least, some "if she can do it I can do it" sort of encouragement. Thank you again. --Kohyin 18:45, 27 January 2007 (UTC)

Publishing / review cycle
Is anyone familiar with Wiki publishing / review cycle processes? I am trying to leverage off the site to see how articles can be entered and go through a final review cycle prior to final publishing.

Footer
I want to change the Footer. How? --84.59.5.210 21:01, 18 January 2007 (UTC)
 * Well, it depends on what you want to do. You can modify MediaWiki:Copyright, for example, if you want to change the footer. A good way to see which message to change is to have a look at Special:Allmessages in Wikipedia, and look at the wording that corresponds to the text you want to change. Tito xd (?!?) 05:14, 19 January 2007 (UTC)

Fatal error in Skin.php
I have mediawiki1.6.8 on a Mac OS 10.4 Server (PHP4.4.4, mysql Ver 14.7 Distrib 4.1.13a, for apple-darwin8.0 (powerpc))

and I and my users keep getting an error (on about 25% of requests of ANY page):

Fatal error: Possible integer overflow in memory allocation (6 * 4 + 0) in /Library/WebServer/Documents/s/includes/Skin.php on line 25

lines 24 to 27 of Skin.php are: 24         // Skip non-PHP files, hidden files, and '.dep' includes 25         if(preg_match('/^([^.]*)\.php$/',$file, $matches)) { 26                 $aSkin = $matches[1]; 27                 $wgValidSkinNames[strtolower($aSkin)] = $aSkin;

Does anyone have any ideas about this error and anything I can do about it?

Thanks

How differentiate edittalk and editpage user's access
Hi,

In my wikimedia wiki, only registered users can edit. I need to restrict the edit access for some users, to only edit talkpages. In this way, they can participate in discussions but not edit article pages.

In the deep search I've made, I only found a similar solution for "anonymous" edittalk vs. "user" editpage. I need both registered, edittalk and editpage profiles.

Thanks for your help,

Venceslau Parreira
 * Try modifying the $wgNamespaceProtection array in your LocalSettings.php file. Be aware that it is a new feature, only available to those running MediaWiki 1.10alpha from SVN, though. Tito xd (?!?) 05:16, 19 January 2007 (UTC)

PDF search
Hi. I would like to know if is possible to use the search field to look for in the pdf documents that are attached?

thanks


 * The search engine should be able to locate PDF files uploaded to the wiki with names matching the search terms, but we don't, at present, index their contents (we've no means of doing so), and so it won't find words within the file itself. robchurch | talk 13:15, 20 January 2007 (UTC)

Is it possible to implement this function to the searchengine?

compilation errror
hi,

I have just installed my wiki, everything seem to work all right, except if I try to edit an article, on the top of my page I have the message : Warning: preg_match: Compilation failed: invalid UTF-8 string at offset 55 in /preprod-php/www/capi/includes/Linker.php5 on line 1096.

However, it works. So what's your opinion on that point ? Does anybody have the same problem ?

Thanks a lot, Malta


 * Most likely your PHP source files are corrupted (it looks like you've run some sort of tool to rewrite them all to a different file extension, this may have damaged them?) It's also possible that the specific language localization file you are using is inherently corrupt; if you can provide the exact version and language you're using that would help track it down. --Brion VIBBER 09:46, 20 January 2007 (UTC)


 * User:Robchurch/Getting PHP 5 on a cheap host has some tips on getting PHP 5 to work under cheapskate hosts who demand the use of a different file extension. robchurch | talk 13:14, 20 January 2007 (UTC)

Wikipedia question
I have uploaded dump file of wikipedia into my webspace and also I have installed wikimedia as well. But when I use search bar, nothing is extracted from wikipedia xml file. How can I do that so that visitors can search anything they want.

thank you


 * See Data dumps. Ã¢ÂÂ color probe Ã¢ÂÂ Talk  Ã¢ÂÂ Contribs  Ã¢ÂÂ¼  14:31, 19 January 2007 (UTC)
 * If you haven't done so already, run . Then, try  . Eventually, you may want to run   to leave the link tables running in a clean state, but be aware that most of these script will take a considerable amount of time to run. Tito xd (?!?) 23:11, 20 January 2007 (UTC)

Instalation was successfully done but I get blank page
I've downloaded and installed mediawiki-1.9.0.tar.gz. The instalation was successfully comleted. I moved generated file (LocalSettings.php) to the parent folder and then removed /config at all. The problem is when I go to the home page i get a blank white screen, no errors, no warnings, just nothing. It will takes me some time to find the problem but this time I do not have! Thats why I am asking here.

The execution goes through this line in index.php:

$wgTitle = $mediaWiki->checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang );

and perhaps some traped exception is the problem.

you may have a look here

Thanks a lot in advance.


 * Looks ok, it's just rather slow. --Brion VIBBER 09:42, 20 January 2007 (UTC)

Upgrading MediaWiki, help
How do I upgrade the version?? I'm running 1.5.5 on WAMP5 1.64. At the moment it's currently in http://127.0.0.1/wiki/mediawiki-1.5.5 folder, should I change the foldername to run the upgrade??

I'm not really sure about whether to rename the folder or not, or how to upgrade. Anyone able to help?? --82.42.237.84 10:51, 19 January 2007 (UTC)


 * Note, I'm using PHP5, if that's of any help, and have no idea how to upgrade between versions properly. The manual doesn't seem to give any help for Apache users like myself. To support ParserFunctions, which version would I need to upgrade to?? --82.42.237.84 10:57, 19 January 2007 (UTC)


 * Upgrade to the latest release, 1.9 for best support. See the file 'UPGRADE' for instructions. You can rename the folder if you like. --brion 09:48, 20 January 2007 (UTC)


 * The instructions at Manual:Upgrading to 1.9 should also work fine for a wiki running MediaWiki 1.5.5, but as ever, make a backup first, just in case. robchurch | talk 13:13, 20 January 2007 (UTC)

SVG help
Installed MediaWiki 1.71 on my Apache/WAMP server with PHP5 on it. I've got two problems:
 * I can't get SVGs to render, even though Inkscape is installed - blank images appear, and a notice redlinked appears
 * Upgrading from 1.71 to 1.82 - how do I do that??

anyone able to help me?? Thanks, --SunStar Net 11:08, 19 January 2007 (UTC)


 * Be sure to have $wgSVGConverter set to 'inkscape', and that the inkscape folder is in the PATH environment variable. On Windows, you may need to tweak $wgSVGConverters and $wgSVGConverterPath.
 * As for upgrading, see Manual:Upgrading to 1.8. But you could use the newest stable version, 1.9.0. Ã¢ÂÂColor probe 11:38, 19 January 2007 (UTC)

Infobox
I'm a beginner in Wikimedia administration, that's why I want to ask some question:
 * I wanted to use the infobox, but it doesn't seem to work. I have installed the 1.8.2. version. I've read that it's maybe in connection with the common.css, but after trying to replace it with the English Wikipedia's, I've installed back the original one.
 * How can I limit the size of the uploaded files (it's a public webserver, not mine)?

Here is the page that doesn't work:

My page

And the source (it's copied from the English Wikipedia]:


 * I had the same issue. Try opening the file inputbox.php and save it with UTF 8 encoding and unix linebreaks. It solved my problem. I'm under Mac and openend it under MacOs Roman just without thinking, saved it, again without thinking. The html routines included for creating the inputbox where going nuts because of the wrong mac line breaks. It took me a while to figure out what the issue was.


 * I've tried, but it didn't work. I really don't know what to do. But why do I have to modify the inputbox.php? Is there something to switch in the LocalSettings.php?

SVG error


I added Inkscape as the SVG renderer, and then this occurred, rather than the image itself.... how do I fix it?? --SunStar Net 19:25, 20 January 2007 (UTC)
 * Is the image itself a valid SVG file? Try uploading a file that renders properly on Wikipedia to your local wiki, and see if the problem still occurs. Tito xd (?!?) 23:04, 20 January 2007 (UTC)


 * I had that problem with an image that renders properly on Wikipedia (usually w:Image:Nuvola apps important.svg) - I had to upload .svg.png files instead, which was annoying. Inkscape was my rendering file too, and I had the same problem... anyone know how to fix this?? --82.42.237.84 22:31, 23 January 2007 (UTC)

ParserFuncions problem
I am trying to set up a template similar to wikipedia:Template:Infobox_Book, which uses #if to conditionally add rows to the table. Everything works except that the #if html codes (&lt;tr&gt;, &lt;td&gt;, etc.) have been converted to htmlentities. This doesn't happen on Wikipedia. I have copied the template and calling page exactly, and it still does the conversion on my end.

I have tried it with version 1.9.0 and 1.8.3. I have tried older versions of the ParserFunctions extension. What am I missing?

See an example here. Rows that don't use #if are okay. Kennylucius 20:18, 20 January 2007 (UTC)


 * Okay, I found it. I don't know why it took so long for me to find it--I guess data mining is not my forte.  I simply needed to set $wgUseTidy=true. Kennylucius 20:55, 21 January 2007 (UTC)

Edit Main Page??
Hallo every one>>

How can I edited Main Page??

I'd like to edit and put some box in the left ^^

How can I editing it?

Thanks


 * Click the "edit" link at the top of the page. 164.11.204.52 14:14, 22 January 2007 (UTC)

why does my name pop up on this site when I search for it on the net???
Can who ever is out there reading this figure it out how my name is associated with this site? My name is unique and I know it is me, but I have never seen this site nor have a clue what it is, much less why I am associated with it at any level.

Please help me figuring this out. Thanks, Szilvia Beylik


 * I did not find it with Google, but there could be, or have been, spam like on . Check the page your search engine found, also the HTML source and/or the edit box.--Patrick 10:00, 21 January 2007 (UTC)

Setup Issue
I have mediawiki installed at /wiki on my root directory. I also have the subdomain wiki.blah.com which is pointed to www.blah.com/wiki. But when I goto wiki.blah.com it tries to access wiki.blah.com/wiki, does anybody know how to fix this, TIA


 * In LocalSettings.php, set $wgArticlePath     = "/$1"


 * What is your in your .htaccess? For example:
 * .htaccess redirect - this will forward anyone going to http://wiki.blah.com to http://www.blah.com/wiki
 * ReDirect / http://www.blah.com/wiki


 * Feel free to visit Short URLs Manual for further resources.
 * The above post is also correct, what do you have your article path set to in the LocalSettings.php file located at your document root?
 * --Grymwulf 19:48, 21 January 2007 (UTC)


 * There is only script path, there is not ArticlePath and when i set that above line, it gives me a error stating

Parse error: parse error, unexpected T_VARIABLE


 * You spelled it wrong and/or missed out the final semicolon at the end of the line. --brion 19:44, 25 January 2007 (UTC)

Japanese on MediaWIKI 1.9 doesn't work
I updated mediawiki 1.9 and all works

except that when I try to paste the following Ã¦ÂÂ¥Ã¦ÂÂ¬Ã¨ÂªÂ it doesn't work when I save the page:

I get:

Warning: UtfNormal::loadData [function.loadData]: open_basedir restriction in effect. File(/UtfNormalData.inc) is not within the allowed path(s): (/var/www/vhosts/studentiunisg.it/httpdocs:/tmp) in /var/www/vhosts/studentiunisg.it/httpdocs/wiki/includes/normal/UtfNormal.php on line 229

Warning: UtfNormal::loadData(UtfNormalData.inc) [function.loadData]: failed to open stream: Operation not permitted in /var/www/vhosts/studentiunisg.it/httpdocs/wiki/includes/normal/UtfNormal.php on line 229

Fatal error: UtfNormal::loadData [function.require]: Failed opening required 'UtfNormalData.inc' (include_path='/var/www/vhosts/studentiunisg.it/httpdocs/wiki:/var/www/vhosts/studentiunisg.it/httpdocs/wiki/includes:/var/www/vhosts/studentiunisg.it/httpdocs/wiki/languages:.:') in /var/www/vhosts/studentiunisg.it/httpdocs/wiki/includes/normal/UtfNormal.php on line 229

What's the way ?

thx in advance

Is it possible to remove the first heading title from an article with a magic word?
Is it possible to remove the first heading title from an article with a magic word? Basically, for a template I'm working on I would like to remove the first heading which is the same as the from an article if the template it used.


 * I'm answering my own question :] If only the MonoBook skin is used, this hack can work, otherwise add to all skins I guess (not tested).
 * Edit skins/MonoBook.php, function execute, add the following before the <!DOCTYPE

// disable the display of the 'firstHeading' if (strpos($this->data['bodytext'],'id="NOFIRSTHEADING"') !== false) { $noFirstHeading = ' style="display:none;"'; }


 * Down the page at, change it to
 * Now in your page, add the following ... anywhere you like, it does not matter.


 * or you could do this


 * or anything else so long as id="NOFIRSTHEADING" is on the page somewhere. Tigger-oN 12:06, 30 January 2007 (UTC)

XML invalid for RecentChanges in 1.8.3?
I always upload the new files over the existing directories and then run update.php from command line. Just as background info. I udated to 1.8.3 recently. 1.9.0 is not possible yet because of my WhosOnline-Extension-problem, which I did not solve at the moment. So, I have 1.8.3 and in that the rss feed for RecentChanges does not work anymore:

XML-Verarbeitungsfehler: XML-Deklaration nicht am Beginn von externer EntitÃÂ¤t Adresse: http://wiki.feuerwerk.net/index.php?title=Spezial:Recentchanges&feed=rss Zeile Nr. 4, Spalte 1: ^

It seems to generate invalid XML, that the xml-declaration is not the first thing in that page. See yourself: http://wiki.feuerwerk.net/index.php?title=Spezial:Recentchanges&feed=atom

So, is this a bug or my fault? What can I do, please?

Thanks a lot in advance!
 * --PyroM 14:54, 21 January 2007 (UTC)

I just checked one more time. The problem is, that the XML-declaration is in the 4th row, but there are 3 blank rows above. So, I tried to find in Feed.php and RecentChange.php but did not found. What do I have to edit please, to remove the 3 empty rows?

  

Thanks a lot,
 * -- PyroM 08:29, 22 January 2007 (UTC)

This means there is extra whitespace at the start or end of one or more of your PHP source code files. Most likely culprits are LocalSettings.php, any extensions you have added, and any other files you might have edited. --brion 19:43, 25 January 2007 (UTC)

Database error (cannot save) after upgrading to 1.90
I upgraded to v 1.90 and now I can't save and I get this error:

Database 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::saveSettings". MySQL returned error "1054: Unknown column 'user_newpass_time' in 'field list' (10.10.3.43)".

This when I try to save any changes to the "preferences" in my profile. If I try to edit and save a page, I get a 500 error. I have tried reinstalling, rerunning update.php, purging the cache, etc., but have had no luck.

Does anyone know why this would happen? My site is here.


 * I have nearly the same error. The problem was, that I did not have enough CPU time on my server!


 * How I solve it:
 * Delete the LocalSettings.php from the main directory (maybe make a copy before!) Start the index.php in your browser and configure your Wiki with the same details. (Same prefix, SQL information's etc.) and then run the script. Copy the LocalSettings.php from the config directory to main and it should work! If not, do it again! --The0bone 22:40, 21 January 2007 (UTC)

Almost... It failed to update the DB - which failed to create the new tables decribed below:

Database changes


 * new 'redirect' table stores data on page redirects
 * new 'querycachetwo' table used for some cached special pages
 * 'ipblocks' table adds 'ipb_enable_autoblock'
 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
 * some indexes have been updated on 'recentchanges'

If I had the details on each of these changes, I could just use phpMyAdmin to make the changes. Also, here's the last part of the install log:
 * Notice: Trying to get property of non-object in /vservers/rescuewikico/htdocs/w/maintenance/userDupes.inc on line 49
 * Already have unique user_name index.
 * ...user_groups table already exists.
 * ...user_groups is in current format.
 * ...wl_notificationtimestamp is already nullable.
 * ...timestamp key on logging already exists.
 * Setting page_random to a random value on rows where it equals 0...changed 0 rows
 * Checking for additional recent changes indices...
 * ...seems to be ok
 * Initialising "MediaWiki" namespace for language code en...
 * A database query syntax error has occurred.
 * The last attempted database query was:
 * "(SQL query hidden)"
 * from within function "Article::updateRedirectOn".
 * MySQL returned error "1146: Table 'rescuewikico.redirect' doesn't exist (10.10.3.43)"

It just failed at that point.
 * You can run the SQL queries manually, they're included in  in the maintenance folder. If it's not there, you can find it here. Tito xd (?!?) 23:49, 21 January 2007 (UTC)

Solution I'm still not entirely sure why it failed, but I created the tables & indexes manually using phpMyadmin, and then reran config/index.php and everything worked great. Site is up and running again! Thank you The0bone and Titoxd.

Steward, checkuser and site admin
Good morning; I need help getting access to the above on my personal wiki. I've sussed out the fact that you need to put the code into a notepad document, and then using filezilla transfer it to the relevant page. The code is this:

INSERT INTO user_groups (ug_user, ug_group) VALUES ('AGK', 'siteadmin'); INSERT INTO user_groups (ug_user, ug_group) VALUES ('AGK', 'developer'); INSERT INTO user_groups (ug_user, ug_group) VALUES ('AGK', 'steward');

So the above is in a notebook document, codes. I use filezilla, target the LocalSettings.php page and then select the codes document. However, the operation always times out.

This is sort of necessary at the moment, and help would be appreciated. I'd even be willing to give out the passwords if it came down to it.

Anthony cfc 00:31, 22 January 2007 (UTC)


 * Normally you should simply use Special:Userrights.
 * In the rare case that you really do need to go in the database because you have no user with permission to use Special:Userrights, then you should add the 'bureaucrat' group to one of your users directly, and then use Special:Userrights to do any further manipulation.
 * Note that the ug_user field is a user_id number, not a name. --brion 19:40, 25 January 2007 (UTC)

Adding data/editing wiki pages with wikihow.com style editing page?
I am wondering what information/code is out there to create a wikihow.com style wiki editing page. I have noodled around for looking for any info relating to this but have not been successful. I may not be searching in the right areas or the info simply may not be out there. Any ideas?

Example: http://www.wikihow.com/index.php?title=Grow-Old-Without-Feeling-Old&action=edit

Thanks!

_Joe

toaster@myotus.com

can wiki not release the edited information to public unless admin. approves it?
i.e. is there built-in workflow that allows moderation?


 * At this time this functionality is not supported in MediaWiki --Grymwulf 19:18, 23 January 2007 (UTC)

Avoid case sensitivity in search??!
Is there an hack or can I hack a php file by myself to avoid the case sensitivity in search? I would like to have it completely insensitive so an user could search for

Fireworks, fireworks, FIREWORKS, fireWORKS

While the first 2 versions (Fireworks, fireworks) would work, the later 2 versions would not be found with actual search engine. Is there a simple php hack to include in SearchEngine.php (or somewhere else)?

This is most important. Luxury would be if the search would always strip whitespace and "-" so the search would find results in

Fireworks, fire works, fire-works

like one have at amazon or ebay. You do not have to tell me the string operations but I am not sure where (what file, which method) I would implement the string operation.

Can you help, please?

Thanks a lot
 * -- PyroM 09:15, 22 January 2007 (UTC)

picture is not shown
Hi all,

I have started an own wiki project and everything worked fine till I included pictures. I have a picture uploaded (png and jpg, too) with a resolution of 600px*348px. When I call  I can see the picture. When I call I can see the picture a little bit bigger. Calling I get only a link with my text. Further do not work. Changing picture, clearing cache shows the same.

May you help me, thanks, Martin

PHP 5.0.0 or higher is required. ABORTING.
To make a long story short: When I run wiki/config I get the following error:

PHP 5.0.0 or higher is required. ABORTING.

My server is running PHP5. Is it possible to overide this check or is there some other solution?


 * Are you on a hosting provider or is the server owned by you? If owned by you, you may want to ensure you are using the most recent version of mod_php or php.cgi for your server. --Grymwulf 19:23, 23 January 2007 (UTC)


 * My provider was in fact not running PHP5 although I was told so. But I made them upgrade it, so now it works fine.

discussion links
How can I delete the discussion links(button) from the header?


 * Check out this section of the FAQ: How do I remove tabs for users who are not logged in to give you a handle on how to go about doing this. --Grymwulf 19:27, 23 January 2007 (UTC)

I found a better solution in the function "buildContentActionUrls" in includes/SkinTemplate.php.

$content_actions['talk'] = $this->tabAction( $talkpage,  'talk',  $this->mTitle->isTalkPage && !$prevent_active_tabs,  ' ',  true);

I commented this out and now I have no discussion anymore. Thanks

Saving a site database
Hello!

We have a wikisite with a lot of effort put into it, the owner has gone away, and the webhost company cant let us in to retrieve the data.

Has there been cases like theese? Is it possible to somehow extract a CVS version of the data?


 * You can grab each page's history via Special:Export, then import those into your new location. --brion 19:37, 25 January 2007 (UTC)

Synchronize with other computers
is it possible when running mediawiki local on your computer to synchronice with other computers that are running mediawiki local?

Other soloution mabey, is it possible when running it on a web server the same data is on you local system with a kind of sync methode?

the situation is that we are a club of 8 technicions and we want to run mediawiki local on our desktop but also want to have the same data in the mediawiki. And when adding new data that with something like synchronising the other people have the same in ther media wiki. Synchronising can take place on a local server of the company. I hope its clear and ther is a soloution other wise you can contact me. dvine2000@gmail.com

page security
looking at implementing mediawiki into an organisation and need to know if it is possible to create pages that are either public or private, and if the page is private to be able to choose/allocate people who can see the page. of course if the page is public then everyone can see it any help gratefully received thanks


 * No. --brion 19:37, 25 January 2007 (UTC)

Oversight extension
Got it installed correctly, anyone know how to restore data back into the wiki via database if an oversight user accidentally removes something by mistake?? --82.42.237.84 16:11, 23 January 2007 (UTC)


 * Why can't you use the typical wiki restoration techniques and revert the article back to some former form? --Dr DBW 22:51, 8 February 2007 (UTC)

Special:Makesysop
Doesn't seem to work, even when I try User:Test1@wiki1. how do I solve this?? --82.42.237.84 16:23, 23 January 2007 (UTC)


 * Do you recieve an error message? What are you trying to do with Makesysop that a normal user doesn't have the rights to do? --Grymwulf 20:05, 23 January 2007 (UTC)


 * It's when I use an account that has steward permissions the error comes up. Is it User:Username@databaseofwiki that's the format?? Yes, I do receive an error message. --82.42.237.84 22:26, 23 January 2007 (UTC)
 * 82.46.237.87 1.46.218.66 06:43, 22 September 2023 (UTC)
 * It's User@databaseofwiki and you do it at Special:Userrights

Folder question
When I installed it I let the installer put it in the default foldername, e.g mediawiki-1.6.0 - but should I rename it, and is this necessary for updating versions?? --82.42.237.84 22:37, 23 January 2007 (UTC)


 * It can be titled whatever you want. For my wiki family at Wikible.org, I simply title the directory according to the language that it is. --64.22.206.248 22:59, 23 January 2007 (UTC)


 * OK, thanks for that, 64.22.206.248. How would I upgrade from 1.6 to 1.9 on a WAMP server, that's what I'm using now! --82.42.237.84 23:05, 23 January 2007 (UTC)

How to use HTML Form Elements in Wiki Edit box
HTML Form Elements such as form tag, Radio buttons, checkbox, listbox, are not working in wiki Edit box e.t.c. I need to deploy a form on one of my mediawiki page. I am using MEdiawiki 1.8.2. Please help!!
 * Your need is impossible to meet. MediaWiki doesn't and won't support that any time soon. Part of the point of a wiki is that you have the wiki syntax and nothing else. 158.135.239.110 10:09, 31 January 2007 (UTC)

Suggestion: new articles log vs. deletion log
(I hope this is the right place for this). In the 24/7 firehose'o'crap, would it be possible/easy/non-server-taxing to do a database join on already processed articles? I.e. on the new article log display a checkmark next to articles with the exact title of an already deleted article? I think there is some amount of articles that get deleted and recreated, and eventually slip through the new article patrollers' fingers. Making these easier to spot and check would help. Especially AfD'd articles, non-obvious hoaxes, etc would benefit. 88.114.124.42 15:38, 24 January 2007 (UTC)

Google AdSense Section Targeting
I am interested in posting the Google section targeting comments in my pages but I am unsure if the search engines are capable of reading the comment text

Are these Wiki syntax comments going to show up for the search engine bots running through the site? I hope they show up in XHTML but I am unsure -- Section Targeting = emphasizing certain keywords for the search engine bots to index and focus on mainly when producing contextual ads.

-- imarketingguru Ã¢ÂÂ Talk

Media Wikki error
Hello,

I have Solaris 10/x86 server that I am trying to make in to a mediawiki server. I have installed PHP 5 and mysql 5 on the server. Apache2 is also running on the server. The version of mediawiki is 1.8.3. When I attempt to install I get this error:

Database type: MySQL Loading class: DatabaseMysql PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. Attempting to connect to database server as wikiuser...failed due to authentication errors. Check passwords.

Like I said I have the latest mysql for solaris so I don't know what is going on. Any help would be greatly appreciated.

Thank you

V

Edit tools
How can I enable the "mediawiki:edittools" for all the edit pages on my local Wiki installation?

Thanks! R


 * If you mean the insert links, you need to install CharInsert extension first. Ã¢ÂÂ color probe Ã¢ÂÂ Talk  Ã¢ÂÂ Contribs  Ã¢ÂÂ¼  14:30, 25 January 2007 (UTC)

Yes I have that extension installed. But then, is there any other thing I need to do other than what is in the install directions to see it on the edit pages?

Thanks! R

Is everything gone?
Hello,

Before my machine was reformatted two days ago I was using MediaWiki as an internal database for my students (located on my PC via Xampp) and it worked fantastically.

Today I was installing MediaWiki 1.9.1 (currently the last one) and it works great as well, now I just want to load the database I had before the reformatting.

Okay, so I have the complete backup of the former "C:\Program Files\xampp\htdocs\wiki" folder (my actual database) all safe, so I copied it into the same destination on this reformatted PC and here my wiki runs. I call it my wiki because I recognize my logo at the left, it's just... there are no articles at all, it behaves like I started a completely new database.

I'm now afraid I also had to backup the database as well from my phpMyAdmin, and not only the (entire) "C:\Program Files\xampp" folder as I did. Are my worries justified? or maybe I'm just missing something?

I really don't want my students to go mad, we've been working on this database for months.

Thank you,

--87.69.58.71 22:17, 24 January 2007 (UTC)


 * Now that's a serious relief! amazingly, I managed to retrieve it all, even though I didn't "dump" the database before reformatting my hard drive. After around an hour of attempts, I managed to load my database from the backed "C:\Program Files\xampp\mysql\data\wikidb" to the new same destination (completely instead of the new folder), logged into phpMyAdmin and dumped it all (as an *.sql file), then replaced the backed "C:\Program Files\xampp\mysql\data\wikidb" with the newer one and imported the sql backup. My wiki now works perfectly!


 * So this is for everybody who faces my problem. I hope that helped. If not, feel free to contact me on my Windows Live Messenger at evvele@walla.co.il. Now I know how worrying this issue might be, so feel free to contact me about that!


 * --87.69.58.71 00:19, 25 January 2007 (UTC)


 * And the moral of the lesson: always backup first.  Tito xd (?!?) 04:46, 8 February 2007 (UTC)

Installation Error
Hello, please excuse my english ; I'm French. I have a problem when I attempt to install MediaWiki : after filling the form and click on "Install MediaWiki", on the new page, installation freeze at this point Please include all of the lines below when reporting installation problems.

* PHP 5.2.0 installed * Found database drivers for: MySQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Installation directory: /var/www/wiki * Script URI path: /wiki * Environment checked. You can install MediaWiki. * Connected to memcached on localhost:1420 successfully

* Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql

I tried to do it again or to download again mediaWiki, but it doesn't change !

Thanks. --90.26.44.58 16:50, 28 January 2007 (UTC)


 * Check the Apache and PHP error logs to find out what's causing script execution to hang at this point. robchurch | talk 03:37, 5 February 2007 (UTC)


 * I checked the apache log, i haven-t any php log, on the apache log, I can read

[Thu Feb 08 19:15:47 2007] [notice] child pid 18089 exit signal Segmentation fault (11)

90.26.40.81 18:52, 8 February 2007 (UTC)

Problem activating monobook
Hello,

I have set up my own wiki on an intranet, and I don't manage to use monobook.js. No problem editing the page, but the modification don't appear. I have copy/paste my monobook on WP that works perfectly. I have also made the usual refresh, but nothing change. Any idea ? 217.167.123.107 13:01, 25 January 2007 (UTC)


 * If you mean on your user page, you have to set $wgAllowUserJs.--Patrick 13:49, 25 January 2007 (UTC)
 * Where can this setting be found ? I haven't seen it in localsettings.php 217.167.123.107 14:35, 25 January 2007 (UTC)
 * Then create it in in LocalSettings.php!

How do I change the color of talk and special pages?
I would like to know how I can change the color of the talk and special pages. Wikipedia has a #FFFFFF background on the article pages and #FCF8FF on its talk and special pages. I have not found it on the css-files yet.

It is not that urgent, but I think it looks nicer if the colors differ a bit, so I want to do it at my wiki as well. --89.48.124.54 16:40, 25 January 2007 (UTC)

Lost admin username
I just moved my wiki from a server on my own computer onto a dedicated web-server, but when i transfered the data the admin username   seems to have changed, i have tried putting in what ever it could have been and have also tried email me my password, but neiher have worked, is there any way i can use the mysql databases or php files to find my admin user name or password Thanks
 * This query should work:

SELECT user_name FROM `user_groups` INNER JOIN user ON ug_user = user_id WHERE ug_group LIKE "sysop"
 * --Flominator 07:47, 29 January 2007 (UTC)


 * You don't need to use LIKE in the above query, but you don't need the query either. If you can access Special:Listadmins, it should be possible to work out the administrator's username. robchurch | talk 03:36, 5 February 2007 (UTC)

Translating the Export Pages
I am trying to get my head around transforming the text node from the export page. Is there a library of the regular expresions used to change that to regular HTMl or where should I look in the source for this. I am trying to use .NET to do this.

If possible can you forward any answers to my email as well dylan.barber@earthlink.net

mySQL variable data within wiki
I am looking for a way to display mySQL VarData into the contents of a wiki doc.

For example, say I store myPhone into a mySQL table (555-1234) - I want a way to display the phone number in a wiki when the variable is called. Is there already a way to do this.

If not, Would it be possible to automate creating adding new MediaWiki variables to the LocalSettings.php file?

I'd like to have ONE location for certain information (manually or automatically added to a database) and then the value is displayed in an editable wiki.

Such as "Call George at 555-1234." If someone were to edit George's phone number in the database to "555-6789" -- a refresh of the wiki would show "Call George at 555-6789."

Is this possible?

Lucene Search
Where can I find a tutorial on howto add lucene search to mediawiki?

XML-Export of image pages without full informations
Hello,

i want to get information about the license of images in wikipedia (live from server). I tried the XML Export function, but the information delivered doesn't contain infos about the license (from commons). The HTML page does! Example:
 * XML: w:de:Spezial:Exportieren/Bild:Pinguicula_vulgaris.JPG
 * HTML: w:de:Bild:Pinguicula_vulgaris.JPG

Do I have to screenscrape the HTML page or is there a better way?

--88.72.196.204 10:32, 26 January 2007 (UTC)
 * However, in commons, the info is available: in Commons:Special:Export/Image:Pinguicula vulgaris.JPG you can see (among others)  . The image you chose is special, as it has a description both on commons and on :de. For example on de:Special:Export/Bild:Jersey red.svg you won't see any text in XML, as there is no german comment for it.
 * I don't know what exactly you are trying to do, but it would be best (imho) to combine use the text from commons, and if not available, from de. If you're going to do this for more than a few dozen of sites though, you should consider doing this from database dumps, so as not to overload the server. 145.221.24.6 11:32, 26 January 2007 (UTC)
 * Ok, but there is still the problem, how to know that the image is original from commons and copied from there to wikipedia, because the XML doesn't contain any info about this! How can I get this information? --88.72.196.204 12:23, 26 January 2007 (UTC)
 * Wouldn't be a good thing to include a field into the XML output with information about the origin of the image (link to the commons page)? --88.72.196.204 12:31, 26 January 2007 (UTC)
 * And another XML output field with a link to the high resolution image file would be great, too . --88.72.196.204 12:53, 26 January 2007 (UTC)

disregarding case in links
Hi all,

At my work (ING Group) we use an internal wiki which I am the technical manager of. The problem is that it's used by both Americans and Europeans, who have a different tendency to use upper/lowercase for links. For example, it happens regularly that a link exists to General Product Management (American style) while there is an article General product management (eurostyle). Is there a setting, hack and/or plugin which allows links to be followed disregarding the case, not for the first letter, but for the first letter of every word (or for every letter, whicever is easier)?

IIVQ 10:35, 26 January 2007 (UTC)

P.S. I saw the text in Special:Captcha/help is outdated, as it refers to a image you have to type in, while it currently asks you to do a little math test.

Salve,

mi chiamo Giacomo e lavoro per una societÃÂ di formazione a Napoli. Oggi ho pensato di installare mediawiki e cosÃÂ¬ creare una sorta di comunitÃÂ con gli allievi dei nostri corsi. Ho un problema: ho installato e ho fatto ciÃÂ² che mi diceva il setup, dopodichÃÂ¨ ogni volta che clicco su di un link il sistema mi dice che c'ÃÂ¨ un errore nel file utfnormal.php alla linea 117. Mi dice che non puÃÂ² richiamare la classe utfnormal. Sono andato a controllare ma non c'ÃÂ¨ alcun problema. Come fare? Spero mi darete una mano.

Blank page after Log In
Looking all around for help, but not quite finding it, so I am posting here. (Sorry if redundant or already answered somewhere else).

Just installed 1.9 -- works great in Firefox. I am having a bit of trouble when browsing in IE. After the user log in, it just displays a blank page (IE only... works fine in Firefox). Looks like maybe the redirect is not working. I check the meta-refresh setting in IE browser and it is on, so IE is not holding it up (i think).

Anyway, the URL that gives the blank page after a Log in attempt looks like this:

http://[..my root URL here..]/index.php?title=Special:Userlogout&returnto=Main_Page

Any advice would be great.

Thanks all

Login doesn't work
I have set up the mediawiki software, and played about with it. But now when i try to log in the login form doesn't work and it just goes back to the login form page, showing the same info (no errors or anything). It is most likely my fault and i have changed something somewhere but was hoping for some help. When i hover my mouse over the form buttons in IE7 it says that the form's action is set as /wiki?title=Special:Userlogin&action=submitlogin&type=login. I am pretty sure this should be /wiki/?title=Special:Userlogin&action=submitlogin&type=login as with all the other pages. The login form that you first go to when you click on the login link is the full wiki/?title=Special:Userlogin&action=submitlogin&type=login. Is there a variable somewhere hidden in the depths of the mediawiki software which requires an extra / or something?

Also the username i am trying to use was actually imported into the database from a testing database i had set up just before. But even when i try to create a new account it still doesnt work.

Add new template doesn't work
I'm using 1.9 Mediawiki, everything seems ok after initial installation.

What I am trying to do is going to copy an article from wikipedia, just for testing purpose. And I realize that article use Template:bd which doesn't available in mediawiki by default.

So I go to that template definition in wikipedia and try copy all source code from there, but still, doesn't work.

If i have a look at the Template:bd at my website, it looks ugly on web browser:

Ã¢ÂÂ

I don't understand what can help? Is that forbidden to copy? Or i miss something need to be done?

Further, is that possible for mediawiki to sync some article from another mediawiki based website? such as wikipedia.

My mail addres is da vi h igh@ g ma il.com If you may please send a copy of answer to it, also :-)

-David


 * The first problem is that the template(s) on the wiki you copied them from use the Parser Functions extension. Install that, and it should all start working again.


 * You can set up MediaWiki to import pages from other wikis; to do this, set up the source wikis in the interwiki table, then configure $wgImportSources in  to define the wikis that can be imported from. robchurch | talk 03:34, 5 February 2007 (UTC)

Catching events and calling JavaScript
How can I in my wiki catch events such as OnMouseOver or OnClick, and on these events call a self-defined JavaScript-function? I need to know two things:

1. How can I catch the event and call the function?

2. Where do I need to define my Javascript-function?

Please send answers to tomha 1 2 8 [at] gmail.com

Cheers, /Tomas


 * See e.g. Extension:CalcII.--Patrick 22:33, 30 January 2007 (UTC)

Gallery problem
I'm running latest version of mediawiki.

When i create a gallery or look at page Special:Newimages a have a warning and no images are shown.

Warning: exec has been disabled for security reasons in ../wiki/includes/GlobalFunctions.php on line 1772

I have no idea what can i do with it, please help me. My page with error - url hidden


 * Sounds like the thumbnailing code is running into a paranoid PHP configuration. You can switch this off; set  in  . robchurch | talk 03:31, 5 February 2007 (UTC)


 * Proble resolved, function disabled

Install problems
Hi,

When trying to install mediawiki everytime i run the install i get this message in red:

Something's not quite right yet; make sure everything below is filled out correctly.

Below is what the page says in its entirety:

Checking environment...

Please include all of the lines below when reporting installation problems.

* PHP 5.2.0 installed * Found database drivers for: MySQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP's memory_limit is 16M. If this is too low, installation may fail! Attempting to raise limit to 20M... ok. * Have zlib support; enabling output compression. * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /chroot/home/imperium/imperiumguild.eu/html/raidwiki * Script URI path: /raidwiki * Environment checked. You can install MediaWiki.

Something's not quite right yet; make sure everything below is filled out correctly.

I have checked and doubled checked that everything I fill in is done so correctly but it still says somethin is not quite right....

Any ideas why this might be?


 * One or more of the form fields will have a little error indicator next to it, emboldened and coloured red. Which one is it? robchurch | talk 03:30, 5 February 2007 (UTC)

Upgrading from 1.8.2 to 1.9.1
Well, I have to use the installation procedure (no console access) so:

I inserted all the requested data, no problem then:

Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities.
 * PHP 5.1.1 installed
 * Found database drivers for: MySQL
 * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * PHP is configured with no memory_limit.
 * Have zlib support; enabling output compression.
 * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used.
 * Found GNU diff3: /usr/bin/diff3.
 * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
 * Found GD graphics library built-in.
 * Installation directory: /mounted-storage/home20b/sub002/sc20452-JGPK/gdr-online.eu_celtic
 * Script URI path:
 * Environment checked. You can install MediaWiki.

Generating configuration file...
 * 1) Database type: MySQL
 * 2) Loading class: DatabaseMysql
 * 3) Attempting to connect to database server as celtiki...success.
 * 4) Connected to 5.0.15
 * 5) Database celtiki exists
 * 6) There are already MediaWiki tables in this database. Checking if updates are needed...

...hitcounter table already exists.

...querycache table already exists.

...objectcache table already exists.

...categorylinks table already exists.

...logging table already exists.

...user_newtalk table already exists.

...transcache table already exists.

...trackbacks table already exists.

...externallinks table already exists.

...job table already exists.

...langlinks table already exists.

...querycache_info table already exists.

...filearchive table already exists.

...have ipb_id field in ipblocks table.

...have ipb_expiry field in ipblocks table.

...have rc_type field in recentchanges table.

...have rc_ip field in recentchanges table.

...have rc_id field in recentchanges table.

...have rc_patrolled field in recentchanges table.

...have user_real_name field in user table.

...have user_token field in user table.

...have user_email_token field in user table.

...have user_registration field in user table.

...have log_params field in logging table.

...have ar_rev_id field in archive table.

...have ar_text_id field in archive table.

...have page_len field in page table.

...have rev_deleted field in revision table.

...have img_width field in image table.

...have img_metadata field in image table.

...have img_media_type field in image table.

...have ss_total_pages field in site_stats table.

...have iw_trans field in interwiki table.

...have ipb_range_start field in ipblocks table.

...have ss_images field in site_stats table.

...have ipb_anon_only field in ipblocks table.

...already have interwiki table

...indexes seem up to 20031107 standards

Already have pagelinks; skipping old links table updates.

...image primary key already set.

The watchlist table is already set up for email notification.

...watchlist talk page rows already present

...user table does not contain old email authentication field.

Logging table has correct title encoding.

...page table already exists.

revision timestamp indexes already up to 2005-03-13

...rev_text_id already in place.

...page_namespace is already a full int (int(11)).

...ar_namespace is already a full int (int(11)).

...rc_namespace is already a full int (int(11)).

...wl_namespace is already a full int (int(11)).

...qc_namespace is already a full int (int(11)).

...log_namespace is already a full int (int(11)).

...already have pagelinks table.

...templatelinks table already exists

No img_type field in image table; Good.

Notice: Trying to get property of non-object in /mounted-storage/home20b/sub002/sc20452-JGPK/gdr-online.eu_celtic/maintenance/userDupes.inc on line 49

Already have unique user_name index.

...user_groups table already exists.

...user_groups is in current format.

...wl_notificationtimestamp is already nullable.

...timestamp key on logging already exists.

Setting page_random to a random value on rows where it equals 0...changed 0 rows

Checking for additional recent changes indices...

...seems to be ok

Initialising "MediaWiki" namespace for language code it...

Errore di sintassi nella richiesta inoltrata al database.

L'ultima query inviata al database ÃÂ¨ stata:

"(la query SQL ÃÂ¨ stata nascosta)"

richiamata dalla funzione "Article::updateRedirectOn".

MySQL ha restituito il seguente errore "1146: Table 'celtiki.redirect' doesn't exist (mysql1029.servage.net)".

The last 5 rows means:

Syntax error in the request sent to the database.

The last query sent to the database was:

"(the SQL query has been hidden)"

called by function "Article::updateRedirectON".

MySQL has returned the following error "1146: Table 'celtiki.redirect' doesn't exist (mysql1029.servage.net)".

What can I do? Snowolf 18:40, 30 January 2007 (UTC)


 * You seem to have a weird combination of files, perhaps? "Initialising "MediaWiki" namespace" should never happen in 1.9.1; the script that does that has been *removed entirely*. --brion 22:37, 1 February 2007 (UTC)

Featured Article
I have noticed on the wikipedia.org site they have a featured article that seems to show up everyday....

Can someone point me in the right direction on how those are created and made available each day?

Douglas


 * Wikipedia user Raul654 manually creates a series of stub pages containing "previews" of the articles to be featured. The English Wikipedia main page contains a number of templates; the one responsible for the featured article section uses colon functions/magic words to transclude the right page based on the current date. robchurch | talk 03:28, 5 February 2007 (UTC)

Extensions help
How do I get makesysop extension to work?? got Checkuser working, got spam blacklist working, but can't seem to get this one to work. thanks, --82.42.237.84 00:21, 31 January 2007 (UTC)


 * You maybe should explain what doesn't work about it and how you've tried to set it up so far? --brion 22:32, 1 February 2007 (UTC)


 * OK, this is how I tried to do it: I put it in the /extensions directory, then added it to Localsettings.php, but it didn't work for some reason. How do you get it so that User:Testinguser set rights for User:Joebloggs@wiki1 to bureaucrat, sysop, checkuser etc. like on Meta's rights log. --82.42.237.84 23:40, 1 February 2007 (UTC)

Is there a way to create a page which consists of multiple embedded pages
What I would like is:

Product X Major issues page

Issue Aaa

Issue Bbb

Issue Ccc

Product Y Major issue page

Issue 111

Issue 222

Issue 333

Product Z Major issue page

Issue Z1

Issue Z2

Issue Z3

And then create a new page that basically includes all above three. It's one page to go to for the big picture and looks like:

Major Issues Outstanding across all products:

Product X Major issues page

Issue Aaa

Issue Bbb

Issue Ccc

Product Y Major issue page

Issue 111

Issue 222

Issue 333

Product Z Major issue page

Issue Z1

Issue Z2

Issue Z3

Thanks


 * See m:help:template.--Patrick 10:23, 31 January 2007 (UTC)

IPv6 and 1.9.x
Editing with IPv6 does not work using Mediawiki 1.9.x. It breaks trying to get the "user" (Really the IP). So 1.9.1 is basically useless / broken on IPv6-enabled machines.

Is there a way to limit edits by users until their edits are approved by admin ? where would that setting be ? (sorry if this answered somewhere else on manual but i could not find)

Blank Pages after 1 day of working perfectly
Hello all,


 * mediawiki-1.6.9
 * Shared server. I just pay our host a bit of money each month and they give us cPanel and hosting for a website.
 * PHP version 4.4.2
 * MySQL version 4.1.21-standard
 * cPanel Build 10.9.0-RELEASE 118
 * I use MaxOSX10.4

I just setup my first install of mediawiki. I installed 1.6.9 because of the note here which says

PHP 5 support has been required since MediaWiki 1.7 - if you are using an older version of PHP and cannot upgrade then you should use MediaWiki 1.6.9.

The install went fine and I was up and running in no time. I did not install any extras. The only changes made was moving LocalSettings.php and enabling uploads. I made the Main_Page and I created a second page which had quite a bit of info in it.

Today I came in and it is not working any more. Safari says

Safari canÃ¢ÂÂt open the page. Safari canÃ¢ÂÂt open the page Ã¢ÂÂxxxÃ¢ÂÂ. The error was: Ã¢ÂÂlost network connectionÃ¢ÂÂ (NSURLErrorDomain:-1005) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

Opening FireFox just gave me a blank page with no errors or any information. I don't have Internet Explorer

I checked through this help area and found

Update: My host just advised me to make sure register_globals (in my PHP.ini) file was ON and located within the wiki directory. Likewise, I had to comment out (if it exists)

I don't find this anywhere and I don't know how to make this change. I also found advise to check the error logs. I'm under the assumption that I do not have access to this? Lastly I found this page which says to add

ini_set(memory_limit,"20M");

to index.php and LocalSettings.php but this did not help. It also says to set

set the memory_limit in php.ini to memory_limit = 20M

Again I don't know how to make this change. Lastly, I'm under the impression that the host isn't going to update their versions of php.

Thank you for your time and sorry for the long post.


 * The error message you describe usually means that the web server is crashing; this could be due to some problem with PHP, or the web server, or a PHP extension, or much more rarely in PHP script code. Check Apache's error log (should be in /var/log/httpd) --brion 22:30, 1 February 2007 (UTC)

Can edit pages fine when not logged in, when you login and attempt to edit a page error displayed.
If you are not logged in you can edit a page just fine. When you log in and then click on the edit link to edit the page you receive the following error:

Database error From Wiki Jump to: navigation, search 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 "Block::load". MySQL returned error "1: Can't create/write to file 'C:\DOCUME%1\webberm\LOCALS%1\Temp\1\#sql_1f8_0.MYI' (Errcode: 2) (localhost)". Retrieved from "http://silktest/wiki/index.php/User:Admin"

It doesn't matter which page or which user the above error is always displayed, log out you can edit the page just fine.

The problem isn't just on edit, when logged in you cannot create, move, delete.

If you are not logged in then everything works just fine, what gives???

Inkscape and SVG
Hi, got Inkscape working, yet it won't render SVGs. anyone know how to get it to do so in LocalSettings.php?? --82.42.237.84 00:25, 1 February 2007 (UTC)

Postgres trouble on Linux and Windows (tsearch locale)
Whenever I try installing the MediaWiki it stops the configuration with the following Messages

Checking tsearch2 permissions...OK

Verifying tsearch2 locale with de_DE.UTF-8...not found

Attempting to set default tsearch2 locale to "de_DE.UTF-8"... Warning: pg_query: Query failed: ERROR: permission denied for relation pg_ts_cfg in /srv/www/mediawiki-1.9.1/includes/DatabasePostgres.php on line 389 FAILED. Please make sure that the locale in pg_ts_cfg for "default" is set to "ctype"

Waka wiki Engine
any sugestions on content pulls since no rss is avilible ....? seamingly

I want Specific content on wiki.wiccaforge.com to be pulled from main wiki as a convinece to WF users and ofcouse dynamincly pull from regular wiki

Simultaneous editing - what happens?
What happens when two or more users happen to edit the same article, at the same time? Is there any way or a built-in check to inform the one user of changes made by another already when trying to update the article, so changes already made don't get lost?


 * It will flash up a warning about that situation when it happens. Something like this article was edited while you were editing it, don't recall the exact wording. --Dr DBW 22:46, 8 February 2007 (UTC)

Aliases are redirected to old versions of an artikle
sometimes when using an alias you are directed to an old version of the article! Is that a known bug?

Greetings, Fox


 * No, although it could be a short-lived caching issue. Can you provide a link to somewhere this is happening, or give some specific steps to reproduce? robchurch | talk 03:26, 5 February 2007 (UTC)

Problem with footnotes ! example: Text
Hi all,

i tried mediawiki-1.8.3, mediawiki-1.9.0 and mediawiki-1.9.1.

In all of this versions i have the Problem that my MediaWiki dont show the footnotes.

in preview

Text

don't become translated. it is shown as

Text

I dont understand why. All the other tags are 100% functionally working. I have this Problem just with the Tag. Why??? How can I change this???

Please help me


 * Install the Cite extension. robchurch | talk 03:25, 5 February 2007 (UTC)

I thank you so much. This solved my problem. Big THX to Robchurch !

Using references
Hello, I'm trying to use the references in my wiki as it's used in wp (, etc), but that don't work. I guess I haven't seen a parameter... 217.167.123.107 16:16, 2 February 2007 (UTC) (malta on wp fr)


 * You need to add a the Cite.php extension. --84.9.191.165 23:07, 2 February 2007 (UTC)

Adding a "Links" box menu
Below the Navigation menu, I'd like to add a box of "Links" which can be edited by only Admins or perhaps only Sysops. Anyone know whether such a facility is already available? Otherwise, what is the best approach? --84.9.191.165 23:04, 2 February 2007 (UTC)


 * Same as the regular navigation bar, just start another list headed up with, and then another set of list items. See our navigation bar for an example of how we achieve two sections of links. robchurch | talk 03:24, 5 February 2007 (UTC)


 * Thanks for that, and more details (including how to do external links) at Manual:Sidebar --84.9.191.165 15:14, 6 February 2007 (UTC)
 * And how can I place it under the Toolbox mneu? --84.9.191.165 15:15, 6 February 2007 (UTC)

Weird text string ending with: nowiki-00000003-QINU - Fresh install 1.9.1
This problem was happening with an install of 1.9.0 but after not being able to fix it I went to 1.9.1 I just installed mediawiki 1.9.1 Completely fresh install. I Have done nothing to it. On the upload file page i get a long string of text as seen below I even tried a completely new database. To include the image in a page, use a link in the form Ã¯Â¿Â½UNIQ5960e9021f5d934f-nowiki-00000001-QINU, Ã¯Â¿Â½UNIQ5960e9021f5d934f  or Ã¯Â¿Â½UNIQ5960e9021f5d934f  for directly linking to the file. Every reload brings different text, nowiki-00000003-QINU is the only part that stays the same. This also was happening, where I tried to put some nowiki code in a page, it replaced it all with the strings of text. You can see it here http://www.risdpedia.net/index.php?title=Test I entered with the nowiki tags, and thats what it replaced it with. Version info. Im running a 1. MediaWiki: 1.9.1 PHP: 5.2.0 (cgi-fcgi) MySQL: 4.1.21-standard Im running another one without this problem: MediaWiki: 1.5.8 PHP: 4.4.4 (apache) MySQL: 4.1.21-standard Help!?! --68.9.128.120 05:14, 3 February 2007 (UTC)

Main page looks odd!
My mainpage of my wiki doesn't display right, the navigation and content are offset, see my link below.

however the other pages display fine, what is wrong, and how do I fix it?

You can see for yourself here.--71.217.192.176 23:08, 3 February 2007 (UTC)


 * Had a quick look only and it appears you have changed the css files or MonoBook.php. Make a copy of these changes, then roll back to the original files, or do a diff against the originals and check the changes. Tigger-oN 11:52, 4 February 2007 (UTC)


 * I recopied the monobook.php and entire monobook folder into the skins folder again from the mediawiki download, did a hard reload but still displays the same, unless its my ISP cache or something.--71.217.192.176 17:22, 4 February 2007 (UTC)


 * The problem is within the actual mainpage design, i reverted to the mediawiki default and all looks fine, so i don't know what is wrong with my wikicode though, see this its protected from editing. but i'd appriciate it if you know how to fix it if you could upload a fixed copy to here Thank you!


 * I fixed it, apparently it was missing a  tag.--71.217.192.176 03:33, 5 February 2007 (UTC)

Development question
My other question is how would i go about making a PHP wikibot that interacts directly with the database to replace the current revsion of my sandbox with a clean revision but only if its needed, its edits would be made under an account ehich i have given a bot flag to, then i would setup the php script to automatically run like once an hour or something.--71.217.192.176 23:08, 3 February 2007 (UTC)