Project:Support desk

From MediaWiki.org

Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask questions about the MediaWiki software! The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or if we know where the page is you are looking for, making that easier to find.

Before posting a question here, please check out the recommended communication possibilities, and also check that your question is not already answered elsewhere on this site (see box on the right).

Well, just as it is the case on most forums, questions on this page are unlikely to be answered very quickly, and may not get answered at all. Usually you have to wait a few days for a reply. If there are call backs from other users trying to solve your problem, please reply as specific as you can. In case you found a solution yourself in the meantime, please leave a short note, so that the thread can be closed.


[edit] Before Posting

[edit] Check that your question is not already answered elsewhere on this site

  • The MediaWiki Handbook (on meta.wikimedia.org) holds detailed information about setting up and using MediaWiki.
  • Project:Forum is where you should discuss issues about this site.
  • Sandbox is where you can test wiki editing, or use testwiki: for more extensive issues.

[edit] Is this the best place to ask your question?

Questions on this page are unlikely to be answered very quickly, and may not get answered at all. Please check out the recommended communication possibilities (particularly the MediaWiki-l mailing list) before posting and read carefully. There is no "official" forum, but there are some private ones that might be better places to ask your question, e.g. mwusers.com.


[edit] To post a new question

1. To help us answer your questions, please always indicate which versions you are using:

  • MediaWiki (reported by your wiki's Special:Version page)
  • PHP (likewise)
  • the database (likewise, e.g. MySQL 4.1)

2. To allow others to examine the issue, it's often neat to also state the URL of your wiki (if it's not locked down, intranet-only, or such).
3. Don't forget to sign your comments with --~~~~ at the end.
4. Now, please click the appropriate link below:

[edit] After Posting

[edit] Is your question answered?

If your question has been answered please place (RESOLVED) before the title of your thread, so our support staff will know to look over it. This also helps us when archiving.

[edit] Why are some topics marked as RESOLVED when they are not?

There are several reasons for marking a page as RESOLVED.
  1. If the user seeking support does not answer a member of the support team's questions seeking more information within a period of five days, the topic will be marked as RESOLVED as it cannot be solved.
  2. If the topic does not relate to MediaWiki software it will be automatically closed.
  3. If the user is seeking support for an unstable/unsupported version or MediaWiki or an unstable/unsupported extension, the topic may automatically be closed, as this Support Desk does not offer such support.
  4. If you do not submit your thread in the correct format (i.e., signing your thread, posting your report above your signature, reporting your version of MediaWiki/PHP/Database, telling us your URL, etc.) it can be deleted on the spot.
  5. If the users post seems resolved it may accidentally be marked as such, if this happens please move the page from the current archive back to the bottom of the support desk, but if your thread is in an archive older than the current, please just copy and repost it. Please note that as long as your topic follows these guidelines it will not be marked as RESOLVED.

[edit] Archiving topics

Topics are automatically archived when they have been inactive (ie no new posts) for three weeks. If a question you have asked is approaching this limit and still has not been answered, please post a 'bump' to prevent it being archived. Please do not 'bump' posts except to prevent archiving.

Contents



[edit] Installation/Legalities Support

[edit] Page Linking Help Needed

Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

[edit] Mediawiki Appliance Version 1.13.20 Problems

Downloaded rPath Mediawiki Appliance, Running it on VMwear PLayer but can't find the localsettings.php file to edit.

Can't find much documentation. Any help or documentation would be great!

[edit] HUGE Troubles in mediawiki 1.14.0

my bureau/admin account can not access Restricted special pages WHY?????????

MW 1.14.0 PHP Version 5.2.9 MySQL Version 5.0.67-community

What error message is given? Wikademia

[edit] Untitled

  • MediaWiki version: media wiki
  • PHP version:
  • MySQL version:
  • URL:

Hello! My name is Pilar and I'm an extranet oficer suporting now our extranet development project.One of the things we are thinking to add media wiki to our extranet as BT did. Now I couldn't find any information about whether media wiki can be implemented with a password regulated site as an extranet. Another question is can we get an media wiki expert some where to support with instalation and training us on how to manage the site? All this information here is quite heavy and difficult to understand for not developers minds.

You can post an advertisement for a MediaWiki consultant at MWusers.com. Dr. Eme
Manual:Preventing access. Max Semenik 08:56, 6 November 2009 (UTC)

[edit] Extension Licensing Guidelines

I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

[edit] Unable to view the php created

  • MediaWiki version: 1.11.0
  • PHP version: 5.2.5
  • MySQL version: -
  • URL:

I have installed PHP and also made the necessary changes to the IIS. Still I am unable to view the .php file I created in the C:\Inetpub\wwwroot folder. Everytime I try to view the file using the browse option I get an error saying I am unauthorised to view that page.

I do have administrative rights and installed it using the same.

Thanks in advance Maya

[edit] What have I do?

I had to start new MediaWiki 1.15.0rc1 Installation but received:

Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.
Checking environment...

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

  • PHP 5.2.6 installed
  • Found database drivers for: MySQL SQLite
  • PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • Session save path (/var/lib/php/session) appears to be valid.
  • PHP's memory_limit is 32M.
  • Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
  • Found GNU diff3: /usr/bin/diff3.
  • Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
  • Installation directory: /usr/local/www/name_of_site.com/www
  • Script URI path: Installing MediaWiki with php file extensions
  • Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint() in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

[edit] mySQL database username

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.9
  • MySQL version: 5.1.33

I am configuring MediaWiki, except the one part I am having problems with is when it is asking me for a database username and password and confirm password. Below that is the superuser account, which is root.


>>>Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'username'@'%' IDENTIFIED BY 'password' " failed with error code "Can't find file: 'user' (errno: 2) (localhost)". <<<<


But it will not let me continue the configuration unless I specify a user and password since it will not let me leave it blank.

I am installing on Windows XP, just need some help with this issue. I am not very familiar with databases, i know the root user account info, but it is asking for a username and password and confirm password.

Any help would be much appreciated.


homerm@rosedale.ca

[edit] What server variables are needed

My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

[edit] What server variables are needed

My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

[edit] Blank Page After Install

  • MediaWiki Version: 1.15.1
  • PHP Version: 5.2.11
  • MySQL Version: 5.1.35

I have tried the quick solution of placing:

$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';

in my LocalSettings.php file and still nothing. The 'LocalSettings.php' is in the parent directory and the /config directory has been deleted. The install went great, no errors, no signs of problems, but still I've got nothing.

Any help would be awesome!


Respectfully,

Bryan

Manual:Errors_and_Symptoms#You_see_a_Blank_Page. Max Semenik 08:49, 6 November 2009 (UTC)

[edit] Upgrading from wiki 1.11 to wiki 1.15.1

Wiki Version: 1.15.1 PhP: 5.2.8 MySQL: 5.1.3

I'm getting this 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 "IndexPager::reallyDoQuery (LogPager)". MySQL returned error "1146: Table 'mediawiki.tag_summary' doesn't exist (localhost)".

I know the reason for this error is because i don't have the tag_summary table, I know to create it, i need to run the update script:

php update.php --aconf ../AdminSettings.php


Here is my problem. I don't see an AdminSettings.php and I don't see an update.php file. I did not have these file in my Wiki 1.11 version either. Is there another way of doing this with needing those two files? Please help!!!

See Manual:AdminSettings.php on how to create this file. update.php is in your maintenance directory. -- Bryan (talk|commons) 15:08, 20 October 2009 (UTC)

[edit] Error message after upgrading

I have upgraded my wiki from an old version (not to old, maybe 1.13 but I didn't note because I never had any issues...) After installing successfully and moving the Localsettings.php, I have the following error:

Fatal error: Call to undefined method StringUtils::explode() in /home/hosted/usersSpace/1331/ftp/sebban.org/wiki/includes/parser/Parser.php on line 669

What can I do?

Thanks

Sam samonthewebecp(at)hotmail.com

Looks like messed up update, reupload the files. Max Semenik 08:51, 6 November 2009 (UTC)

[edit] EasyTimeline (Version r46305) Problem

  • MediaWiki version: 1.15.1
  • PHP version:  5.2.3 (apache)
  • MySQL version: 4.1.22-standard-log
  • URL: www.musikvereinigung.dk

everything is described as in http://www.mediawiki.org/wiki/Extension:EasyTimeline/installation but i don't find the problem:


Timeline error: Executable not found. Command line was: '/usr/bin/perl' '/hsphere/local/home/pvdost/musikvereinigung.dk/extensions/timeline/EasyTimeline.pl' -i '/hsphere/local/home/pvdost/musikvereinigung.dk/images/timeline/eacc1267e4c4c144a9db7aa3696cee0c' -m -P '/pl' -T '/hsphere/local/home/pvdost/musikvereinigung.dk/images/tmp' -A '/index.php/$1'


thank you for help finding an solution, gerhard

mail: loeffler at email.dk —77.213.45.5 12:17, 14 October 2009 (UTC)

[edit] Updating MediaWiki installed via Synaptic

  • MediaWiki version: 1.13.3
  • PHP version: 5
  • MySQL version: Don't know, sorry
  • URL: Intranet

Hi at all, I've just installed MediaWiki via Synaptic on Ubuntu 9.04 but in there repository there is only the 1.13.3 version. How could I update MediaWiki, in this case? Or is there any repository to be added in my sources.list? —Airon90 17:01, 18 October 2009 (UTC)

If you use a package, you're dependent on that package for upgrades. There's nothing anyone here can do for you, unless you want help switching to a manual setup of MediaWiki. —Emufarmers(T|C) 18:20, 18 October 2009 (UTC)
Ubuntu 9.10 comes with MediaWiki 1.15.1. Max Semenik 08:52, 6 November 2009 (UTC)

[edit] Fatal error

  • MediaWiki version: 1.13.3
  • PHP version: 5
  • MySQL version: Don't know, sorry
  • URL: Intranet

Second problem, now that I installed MW it shows me a strange error when I try to save my changes:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 13 bytes) in /usr/share/mediawiki/includes/UserMailer.php on line 141

If I add only one or two character sometimes MW saves that changes. Why? --Airon90 11:10, 19 October 2009 (UTC)

Manual:Errors and Symptoms#Fatal error: Allowed memory size of nnnnnnn bytes exhausted (tried to allocate nnnnnnnn bytes). Max Semenik 08:54, 6 November 2009 (UTC)

[edit] Indexable (Browsable) directories?

  • MediaWiki version: 1:1.13.3ubuntu2
  • PHP version: 5.2.6
  • MySQL version: 5.1.3
  • Server: Apache on Ubuntu Linux

Should the following directories and their contents be indexed (browsable) through a web browser: mediawiki/includes, mediawiki/languages, mediawiki/maintenances, mediawiki/skins after setting up? I am able, for instance, to see all the php files in maintenance, along with some other various files and folders through Firefox. The following folders are not browsable through a browser (permission denied): mediawiki/extensions, mediawiki/images. Is this correct? —Gasman007007 05:53, 24 October 2009 (UTC)

None of them needs to be browsable, though files in skins and images need to be readable by web server. Max Semenik 16:55, 26 October 2009 (UTC)

[edit] There is no administrator

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8
  • MySQL version: 5.0.81-community
  • URL: www.choasgaming.com/wiki/

I have no administrator. When i installed the script it all installed fine, but it did not create a administrator. I registered a new account and it is account number 1. How can i set this user as admin.


70.193.185.93 04:33, 26 October 2009 (UTC)

createAndPromote.php. Max Semenik 16:50, 26 October 2009 (UTC)

[edit] Path error following Installation

I had a little trouble getting my filemanager to move the localsettings.php file after the install finished, so I downloaded it, then uploaded it into the wiki directory. Then when I tried to load the page, I got the following error:

Warning: require_once(/home/cimaster/public_html/wiki/LocalSettings.php) [function.require-once]: failed to open stream: Permission denied in /home/cimaster/public_html/wiki/includes/WebStart.php on line 113

Fatal error: require_once() [function.require]: Failed opening required '/home/cimaster/public_html/wiki/LocalSettings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cimaster/public_html/wiki/includes/WebStart.php on line 113

I really don't know any php, and wouldn't know where to start, but I was a little encouraged to see a similar (unresolved) issue in the archives: "Localsettings changes ownership during installation" dated 9-25-09.

MARK

99.36.104.170 11:40, 31 October 2009 (UTC)

Make LocalSettings.php readable by the webserver. In your case, that probably means CHMODing it to 755 644. —Emufarmers(T|C) 12:06, 31 October 2009 (UTC)
This solution worked, though I was surprised because the installation instructions said to put strict permission of "600" on LocalSettings.php. Thank you very much.


[edit] MediaWiki System Support

[edit] Resolved: 404 when using short url

  • MediaWiki: 1.11.0
  • PHP: 5.2.5 (cgi-fcgi)
  • MySQL: 5.0.67.d7-ourdelta-log
  • URL: www.jainkosh.org

Hello, I have been trying to use short url for my wiki by following instructions at http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access but could not achieve the results. My server is Apache and my wiki is saved at htdocs\Mediawiki. I have tried saving the .htaccess file in htdocs\Mediawiki, htdocs\, htdocs\sample_html, htdocs\Mediawiki\sample_html, but it didn't work. Whenever I tried to go to www.jainkosh.org/wiki/Main_Page, it throws error 404, page not found. This is what I have put in my .htaccess file:

RewriteEngine On
RewriteRule ^wiki/(.*)$ /Mediawiki/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /Mediawiki/index.php [L,QSA]
RewriteRule ^/*$ /Mediawiki/index.php [L,QSA]

Can you please help me in getting this working?

Thanks a lot, Vikas

I tried the same settings on Godaddy.com server and it worked fine there. Somehow on my localhost it didn't work and was giving 404. Works great on the godaddy server.

[edit] Can I link files directly off my server to our wiki page, or must they be uploaded?

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Is it possible for me to link files from my server to MediaWiki without uploading them. We have an extensive database of projects we would like to incorporate into the our wiki site but do not want to duplicate all those files by uploading them.

[edit] Permissions not working correctly

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.9-1 (cgi-fcgi)
  • MySQL version: 5.0.24-community-nt
  • URL: Behind Firewall

I am having issues with users (including sysops) not beign able to edit, upload files, etc, when the $wgGroupPermissions['*'][value] = false. For instance, I want anonymous users to NOT be able to edit pages, but when I change the ['edit'] to FALSE, no one can edit pages. I have looked in the admin guides and forums and have not been able to find an answer as to why this is happening. Below is what I have for permissions set in my LocalSettings.php

$wgAddGroups['sysop'] = array( 'bot' );
$wgRemoveGroups['sysop'] = array( 'bot');
$wgGroupPermissions['sysop']['userrights'] = true;
$wgGroupPermissions = array( 'sysop' );
$wgGroupPermissions['sysop']['passwordresetself'] = true;
$wgGroupPermissions['sysop']['passwordreset'] = true;
$wgGroupPermissions['sysop']['move'] = true;
$wgGroupPermissions['sysop']['read'] = true;
$wgGroupPermissions['sysop']['edit'] = true;
$wgGroupPermissions['sysop']['viewedittab'] = true;
$wgGroupPermissions['sysop']['createpage'] = true;
$wgGroupPermissions['sysop']['createtalk'] = true;
$wgGroupPermissions['sysop']['userrights'] = true;
$wgGroupPermissions['sysop']['noratelimit'] = true;
$wgGroupPermissions['sysop']['block'] = true;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['delete'] = true;
$wgGroupPermissions['sysop']['bigdelete'] = true;
$wgGroupPermissions['sysop']['deletedhistory'] = true;
$wgGroupPermissions['sysop']['undelete'] = true;
$wgGroupPermissions['sysop']['editinterface'] = true;
$wgGroupPermissions['sysop']['editusercssjs'] = true;
$wgGroupPermissions['sysop']['import'] = true;
$wgGroupPermissions['sysop']['importupload'] = true;
$wgGroupPermissions['sysop']['move'] = true;
$wgGroupPermissions['sysop']['patrol'] = true;
$wgGroupPermissions['sysop']['autopatrol'] = true;
$wgGroupPermissions['sysop']['protect'] = true;
$wgGroupPermissions['sysop']['proxyunbannable'] = true;
$wgGroupPermissions['sysop']['rollback'] = true;
$wgGroupPermissions['sysop']['trackback'] = true;
$wgGroupPermissions['sysop']['upload'] = true;
$wgGroupPermissions['sysop']['reupload'] = true;
$wgGroupPermissions['sysop']['reupload-shared'] = true;
$wgGroupPermissions['sysop']['unwatchedpages'] = true;
$wgGroupPermissions['sysop']['autoconfirmed'] = true;
$wgGroupPermissions['sysop']['upload_by_url'] = true;
$wgGroupPermissions['sysop']['ipblock-exempt'] = true;
$wgGroupPermissions['sysop']['blockemail'] = true;
$wgGroupPermissions['sysop']['markbotedits'] = true;
$wgGroupPermissions['sysop']['suppressredirect'] = true;
$wgGroupPermissions['sysop']['apihighlimits'] = true;
$wgGroupPermissions['sysop']['browsearchive'] = true;
$wgGroupPermissions['sysop']['deleterevision']  = true;
$wgGroupPermissions = array( 'user' );
$wgGroupPermissions['user']['read'] = true;
$wgGroupPermissions['user']['createpage'] = true;
$wgGroupPermissions['user']['createtalk'] = true;
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['user']['viewedittab'] = true;
$wgGroupPermissions['user']['upload'] = true;
$wgGroupPermissions = array( '*' );
$wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = true;
$wgGroupPermissions['*']['createpage'] = true;
$wgGroupPermissions['*']['createtalk'] = true;
$wgGroupPermissions['*']['upload'] = true;
$wgGroupPermissions['*']['viewedittab'] = true;


—Rob Presley

[edit] Signatures don't work properly on 1.15.1

Also asked here: http://en.wikipedia.org/wiki/Wikipedia_talk:Signatures#Invalid_links_in_signatures_-_MediaWiki_1.15.1.

I just realized that ~~~~ is creating links to SomeUserName and not User:SomeUserName. Is this a known MediaWiki bug? Is there a fix and/or workaround?

HELP! Anyone?

[edit] Hide / Show content for specific users or anonymous users (via permissions)

  • MediaWiki version: newest
  • PHP version: newest
  • MySQL version: newest
  • URL: -

Is it possible to hide specific content for some people? Only who have high privileges can read specific content?

86.81.6.117 16:15, 15 October 2009 (UTC)

Have you tried the Blacklist-Extension? It allows to create a namespace and make it visible to users of a certain group only. -- Achimbode 15:15, 19 October 2009 (UTC)

[edit] Something similar to early WikiWords?

  • MediaWiki: 1.14.0

Hey, I'm setting up a wiki right now and i need to know if it is possible to create variables/functions for strings in wiki articles and pages?

e.g.

wikipage
Some text on the page
And even more text.

So now i know for sure that ppl at my company filling the wiki will miss to add [[links]] to other pages from time to time. I just want to make sure that the links to other pages that exist will be created. So i need to know if it's possible (maybe using MagicWords) if i set the string text as a variable for the function [[text]]. I have no idea how to do that and if it is even possible :).

[edit] Manual:$wgDefaultLanguageVariant - variant or full code?

Solved by trial and error, Manual:$wgDefaultLanguageVariant improved.

G.Hagedorn 21:52, 22 October 2009 (UTC)

[edit] Navigating to a page and then pressing back during an edit loses edit

  • MediaWiki version: 1.15.1
  • PHP version: 5.3.0
  • MySQL version: 5.1.37
  • URL: N/A (localhost)

I'm using XAMPP 1.7.2 When I'm editing an article and then navigate to an new page and afterwards press back the content that I edited reverts to the version before the edit. Also when pressing back after pressing Show preview I get a session timeout error.

This doesn't happen on the official English Wikipedia.

Can you help me fix this?

79.179.55.171 11:24, 27 October 2009 (UTC)

[edit] More than 200 articles in Category View

I have two questions for MediaWiki Technician:

  1. Is it possible to view the Wikipedia categories for more than 200 articles in a category on one page without going to the next 200?
  2. Is it possible to display a self MediaWiki operated more than 200 articles in a category?

I ask because it specifically at the use of a categorytree would be clearer for my applications. Where there is a parameter, which can arise from eg 200 to 1000? Best wishes: --80.120.157.197 11:56, 4 November 2009 (UTC) (GT1976 from Austria - [1]) —80.120.157.197 12:03, 4 November 2009 (UTC)

[edit] Problem with saving Sites with Tables

  • MediaWiki version: 1.15.1
  • PHP version: 5.1.6
  • MySQL version: 5.0.45
  • URL: internal URL (not available for external users)

Hi,

i have a problem with saving tables in Mediawiki. When i set up a site with a table inside it will go up to 2 minutes when try to save changes. But if i set up the checkbox "Nur Kleinigkeiten wurden geändert" the changes will be saved in less than 5 seconds.

We are using the Prettytables in our Mediawiki.

There are no error messages in the logfiles. This problem is after we have updated our system to the new Version 1.15.1

Is there any way to solve this problem? Thank you in advance

Best regards Dirk

85.115.15.134 11:32, 5 November 2009 (UTC)

[edit] TOC/Numbered List Formatting Bug

There is a formatting bug when a left aligned TOC has a numbered list to its right. The indentations don't appear to occur and the numbers themselves are located within the TOC box.

I tried upgrading to 1.15.1 to see if it had been fixed but it looked the same. (I then went back to 1.12.0 because I was having trouble convincing 1.15.1 to allow page edits, but that's likely my issue)

Here's the simple code that my example page uses to test it:

''Special notice text''
{| align="left"
| __TOC__
|}
== Sample Section Heading ==

:#First item in an indented, numbered list
:#Second item in an indented, numbered list
:#Third item in an indented, numbered list

== Another Sample Heading ==

Blah, blah, blah

== Final Section Heading ==

Blah, blah, blah

216.199.48.59 15:58, 6 November 2009 (UTC)


[edit] MediaWiki Database Support

[edit] External 'USER' table

  • MediaWiki version: 1.51
  • PHP version: 5.2
  • MySQL version: 5.1

I want to build a few projects of wiki, but i want that the users will register once. how did i make cooperative 'USER' table for several projects?

Add the user table to $wgSharedTables -- Bryan (talk|commons) 15:10, 20 October 2009 (UTC)

[edit] (Resolved) Wired Data after upgrading of Debian

After upgrading of debian 5.0 the whole wiki is getting wired. The databases tables itselfes look alright, and instaling a backupdatabase didn't help. What can i do ... ? Richard 212.51.25.1 Update: Upgrading from 1.11 to 1.14 didn't solve the problem.... Update2: Upgrading vom 1.11 to 1.14 with Database Update solved the problem. Everything up and running again :-). See "Upgrading Medawiki" for more information

[edit] [Solved] Database error when registered user or Admin try to modify Main page contents

Hello, I have a quite strange problem.

When a logged registered user or logged Admin try to modify the Main page contents he receive an error message: Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Can't contact the database server: Unknown error (sql.4copter.com))

Any non logged user can modify the main page ! Registered users and Admin when logged can access to their pages.

It is a bug !

If I click on the edit link on the left side of the Main page , the hyperlink is something like http://www.mysite.com/mediawiki/index.php?title=main_page&action=edit&section=1

But if I click on the "modify" tab on the top menu of the same page hyperlink is something like http://www.mysite.com/mediawiki/index.php?title=main_page&action=edit

Without the final part of link "&section=1" the page can be modified also by registred user and Admin.

Why solved ? where ? I experienced the very same problem.

I will hide editsection until a solution will be found.

[edit] ipblocks table corrupt?

  • MediaWiki version: 1.12
  • PHP version: 5.2.4
  • MySQL version: N/A
  • Postgresql version: 8.3.1
  • URL: N/A (intranet)

I receive the following message when trying to describe table ipblocks "ERROR: expected "[" to start datum, but got "4 [ 1 0 0 0 ]})}"; length = 0".

The reason I noticed this is because database dumps are now failing.

[edit] Sorry! This site is experiencing technical difficulties.

I get this error when editing any page. But saving a new page is functional. *******(sitename) has a problem Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Can't contact the database server: Unknown error (mysql6.000webhost.com)) '''Can any one please help?'''

Answer: there is a file in the main folder called 'LocalSettings.php'. This file contains your database username and password information. Check to make sure the credentials are correct - this solved my problem. I had a bad password.

[edit] Illegal mix of collations for operation after Upgrade

  • MediaWiki: 1.14.0 (upgrade from: 1.3.9)
  • PHP: 5.2.4 (apache2handler)
  • MySQL: 5.1.33-community
  • Url: test-machine @ home (Windows)

Live-Wiki (1.3.9) has charset=iso-8859-1 // (German)

I've got the following error on some pages: ... aus der Funktion „LinkBatch::doQuery“. MySQL meldete den Fehler „1271: Illegal mix of collations for operation ' IN ' (localhost)“.

I've upgraded via Web-Setup. Shell don't work. wgDBmysql5 is true ... false = no error, but i get problem with umlauts like äöü! The complete database has collation binary (manuelly set) and innodb (manuelly). After upgrade is sometimes innodb, myisam mixed or binary, latin1 mixed. I've tested some "install"-methodes (other settings) to upgrade - nothing work :(

What can i do?

[edit] Updating to 1.14

HI,

I upgraded to 1.14 today using ../maintenance/update.php and I have now an error when I want to view a page (in french) :

Erreur de syntaxe de la requête dans la base de données est intervenue. Ceci peut indiquer un bogue dans le logiciel. La dernière requête traitée par la base de données était :

   (Requête SQL cachée)

depuis la fonction « OutputPage::addCategoryLinks ». MySQL a renvoyé l’erreur « 1146 : Table 'wwmbxfdgchaton.wiki_page_props' doesn't exist (mysql5-7) »


Here my environment variables.

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

   * PHP 5.2.9 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.
   * Session save path (/tmp) appears to be valid.
   * PHP's memory_limit is 32M.
   * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
   * 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: /homez.150/wwmbxfdg/www/wiki
   * Script URI path: /wiki
   * Installing MediaWiki with php file extensions
   * Environment checked. You can install MediaWiki.
   *
     Generating configuration file...
   * Database type: MySQL
   * Loading class: DatabaseMysql
   * Attempting to connect to database server as wwmbxfdgchaton...success.
   * Connected to mysql 5.0.68-log; enabling MySQL 4.1/5.0 charset mode
   * Database wwmbxfdgchaton exists
   * Creating tables... done.
   * Initializing statistics...
   * Created sysop account JP.
   *
     Creating LocalSettings.php...
     Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.
     You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.


Thanks for your help.

[edit] merging two different wikimedia databases

  • MediaWiki version: 1.14
  • PHP version: 5.1.6
  • MySQL version: 5.0.45
  • URL:

We have two different wikimedia systems on two different servers (both have the same versions for MediaWiki, PHP and MySQL) and now we want to merge them into a single wiki system on one of the server. The problem is, I can't just restore a dump file since both databases have the same ids for different pages and images, and with 870 uploaded images, the idea of manually editing the dump file doesn't seem so charming. Is there a way to merge both databases and somehow automatically change the ids? Or is the best way simply copying the pages from one wiki to the other and re-uploading the images?

Update: I tried adding some INSERT lines from one dump to the other (the key columns are different, so there's no problem here) and restoring that dump. It seems to work fine, but with a small problem: any Hebrew link is in gibberish, instead, and links to a page with that Gibberish name, so I don't think it's just an encoding problem.


FishyWorm 14:31, 22 October 2009 (UTC)

[edit] How does the image system work?

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.6
  • MySQL version: 5.0.51a  
  • URL: no can do

I have what should be a fairly simple question... I consider myself very well-rounded in mediawiki administration, but there is ONE thing that I cannot figure out how it works. Could anyone please explain where in the database images and files are linked to their physical file? Or direct me to the appropriate info. I have searched everywhere to figure out how this works but to no avail. I would like to know because porting a large amount of files or images would be made much easier if it could be batched in SQL.


Bsmithme 21:48, 28 October 2009 (UTC)

[edit] SQLite installed, but configure/index.php says no

  • MediaWiki version: 1.15.1
  • PHP version: $ php -v reports PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12)
  • MySQL version: ]$ sqlite3 -version reports 3.3.6

config/index.php reports "PHP 5.1.6 installed Could not find a suitable database driver!", yet SQLite is installed and supported by PHP:

$ php -i | grep -i ^configure | tr ' ' \\n | grep sqlite
'--without-sqlite'
'--with-pdo-sqlite=shared,/usr'

Is that sufficient? How can I test the database support independently, and/or diagnose why MediaWiki thinks it's not there? (I've never used PHP, famous as it is. I found several examples of PHP code to prove SQLite works, but none to display an error message when it doesn't.)

FWIW, I also put this in LocalSettings.php:

error_reporting(E_ALL);
ini_set("display_errors", 1);

$wgDebugLogFile  = '/tmp/mediawiki.debug_log.txt';

Many thanks.

206.218.223.52 17:36, 30 October 2009 (UTC) jkl

After an IRC discussion, it looked like that PDO support was needed. Max Semenik 12:00, 31 October 2009 (UTC)

[edit] Database Syntax error - tables not available

  • MediaWiki version: previously 1.11, upgraded now to 1.15.1
  • PHP version: 5.2.3
  • MySQL version: 5.0.27


I recently upgraded to MediaWiki 1.15.1. I face the following issue when I click on the 'history' tab or some other links on the page:

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 "ChangeTags::listDefinedTags". MySQL returned error "1146: Table 'erwikidb.valid_tag' doesn't exist (localhost)".

and on other pages I get - from within function "IndexPager::reallyDoQuery (LogPager)". MySQL returned error "1146: Table 'erwikidb.tag_summary' doesn't exist (localhost)".

and so forth..

When I checked the database I found that the tables valid_tag and tag_summary weren't created at all. I have run the installer again on my server for a fresh installation of 1.15.1 and have run the update.php script several times, but the same error keeps popping up.


Srutsam 18:39, 6 November 2009 (UTC)


[edit] PHP Error Support

[edit] Move wiki to new server with current MW, Fatal PHP error

  • MediaWiki version: 1.13.3
  • PHP version: 5.1.6-20
  • MySQL version: 5.0.45-7
  • URL: Classified (very literally, not a joke! ;-) )
  • OS: RHEL5

I need to move a wiki (1.10.0) from one machine to another, and at the same time upgrade MW to 1.13.3 After untarring MediaWiki, copying the contants of /images and restoring the database, attempting to access the wiki results in an error:

[Tue Jan 20 19:48:14 2009] [error] [client 192.168.1.2] PHP Fatal error: require_once() [<a
href='function.require'>function.require</a>]: Failed opening required '/var/www/html2/wiki/
LocalSettings.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html2/wiki/
includes/WebStart.php on line 97
Copy this file from previous installation if it's absent, otherwise adjust its perissions to make it readable (most likely, 644). Max Semenik 09:06, 6 November 2009 (UTC)

[edit] Simple error in .php file

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.4-2ubuntu5.5 (apache2handler)
  • MySQL version: 5.0.51a-3ubuntu5.4
  • URL: none

I'm trying out TurnKey MediaWiki (turnkey-mediawiki-2009.04-hardy-x86.iso). I changed my account (admin) language settings to Swedish, and got a PHP error from the file /usr/local/share/mediawiki/extensions/FCKeditor/FCKeditor.il8n.sv.php. I opened the file and found the error; whoever wrote the file must have copy-pasted everything, so that there was twice as much text as it should have been. I removed excess text, and the PHP error disappeared.

81.226.252.221 17:00, 18 October 2009 (UTC)

[edit] Resetting a User Login Password

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

DONT KNOW HOW TO FIND THE VERSION NUMBERS


TRING TO CAHNGE A USERS FORGOTTEN PASSWORD USING THE FOLLOWING COMMAND

E:\www\wiki\maintenance>php changePassword.php --user=butch --password=melbournecup

AND GET THIS MESSAGE

PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone _set() function. In case you used any of those methods and you are still getting

this warning, you most likely misspelled the timezone identifier. We selected '

Australia/Melbourne' for '11.0/DST' instead in E:\www\wiki\LocalSettings.php on line 151 PHP Parse error: parse error, expecting `T_STRING' in E:\www\wiki\includes\Name space.php on line 49

ANY IDEAS WHATS WRONG?

Forsg 01:00, 23 October 2009 (UTC)

[edit] SourceForge - loss of session data

I've followed the directions as found here: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Sourceforge.net but have been unable to have MediaWiki successfuly run on my SourceForge project web space. When I try to edit any settings I always get the error:

"Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in."

In the above mentioned link for setting up MediaWiki on SourceForge I was unable to do the exact steps for creating a symbolic for the sessions or the images directory. I am using Putty on a Windows OS and it didn't have the 'symlink' command so I had to use instead "ln -s" which appeared to do the same thing. Other than that, I believe I followed the steps exactly. Well, I didn't create new database users, I just set the password for the ones which already existed.

I also did the optional configurations except for the SourceForge logo (which I will also do once the wiki is working.)

Any help is greatly appreciated!

99.225.181.21 13:34, 6 November 2009 (UTC)

[edit] Internal Error

  • MediaWiki version: upgraded to 1.15.1
  • PHP version: 5.2.3
  • MySQL version: 5.0.27

I get the following error when I click on certain links on my page in wiki.

Internal error From Electronic Resources Wiki Jump to: navigation, search

Expected attribute array, got something else in Xml::expandAttributes

Backtrace:

#0 D:\websites\Intranet_Lib\erwiki\includes\Linker.php(1042): Xml::expandAttributes(14) #1 D:\websites\Intranet_Lib\erwiki\includes\Parser.php(1403): Linker->makeExternalLink('http://libintra...', 'search the rela...', false, 'text', 14)

#2 D:\websites\Intranet_Lib\erwiki\includes\Parser.php(1053): Parser->replaceExternalLinks('

internalParse('
parse('
outputWikiText('
view()

#7 D:\websites\Intranet_Lib\erwiki\includes\Wiki.php(450): CategoryPage->view() #8 D:\websites\Intranet_Lib\erwiki\includes\Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(CategoryPage), Object(Title), Object(User), Object(WebRequest)) #9 D:\websites\Intranet_Lib\erwiki\index.php(116): MediaWiki->initialize(Object(Title), Object(CategoryPage), Object(OutputPage), Object(User), Object(WebRequest)) #10 {main}

I did not have this problem when using MediaWiki 1.11


Srutsam 18:43, 6 November 2009 (UTC)


[edit] Uploading Support

.TMP File issue?


Mediawiki Version: latest, PHP version Latest mySQL latest --- When Users try to upload images onto the wiki, they get a error that states "Cannot find C:\WINDOWS\TEMP\PHP"X" Whereas X indicates a letter (currently PHPc.tmp) I've disabled Imagemagic(sp?) and I am still getting an error. Can I remote host the images and what tag would I use to embed it?

[edit] File Upload

  • MediaWiki version: 1.15.1
  • PHP version: 5.0.4 (isapi)
  • MySQL version: 4.1.7-nt
  • URL: http://sinhweb3/wiki/

open_basedir ist not set in php.ini
$wgEnableUploads = true in LocalSettings
This is a windows 2003 system. For testing issues I set user rights for everyone to full access on the "images" folder.
When trying to upload a file I get the following error:
Could not create directory "public/6/6b".

I tried the following:
$wgUploadDirectory = "{$wgScriptPath}/uploads";
$wgUploadPath = "{$wgScriptPath}/uploads";
and the error message changes to:
The upload directory (public) is missing and could not be created by the webserver.

On the upload folder also everyone has full access.

Any help is appreciated.
81.252.82.4 12:42, 17 September 2009 (UTC)

[edit] (SOLVED) Errors while deleting files/images

  • MediaWiki version: 1.15.1
  • PHP version: 5.0.4 (apache)
  • MySQL version: 4.1.21
  • URL: (intranet)

Error deleting file: Could not create directory "deleted/d/2/n" (or the like).

Hi, I have the problem that I get an error message when trying to delete images from our wiki. It says: "Error deleting file: Could not create directory "deleted/d/2/n" (or the like).

I found that the permissions of the ./images/deleted directory can not be changed to 777. Apparently it was made (or is owned) by another user. I have no root access, so I can't chown the directory.

I also tried to create another directory (del), set its permissions to 777. And then included in the LocalSettings.php  :

  $wgFileStore['deleted']['directory'] = "$wgUploadPath/del";
  $wgFileStore['deleted']['url'] = null; 
  $wgFileStore['deleted']['hash'] = 0;

This doesn't help either. Even worse, after trying to delete a file, it turned out that also the owner of del was changed...

Any suggestions?


-> I managed to resolve it myself, after browsing mediawiki and Google for the same problem. It turned out that Safe_Mode should be tunred off (search on Safe_Mode for instructions how to do that).

--- Gert-willem Romer ---

[edit] Upload Error

Cannot seem to upload any files or videos even after enabling it in the PHP source code. What could be the issue? Keep getting an error and need to be able to upload images. Hope you can help.

Here is the error that I get after trying to upload a file in the uploading utility page Internal error From Coolapedia Jump to: navigation, search

Could not create directory "public/a/a9".


Andrewjs1985 21:19, 28 September 2009 (UTC)

Here's my info:

  • MediaWiki version: 1.15
  • PHP version: 5.2.8 (cgi-fcgi)
  • MySQL version: 5.0.27-community-nt
  • URL: www.bioen.utah.edu/faculty/ADD/wiki

Ok I know that this error has been discussed a lot, but I've tried every solution that I've come across and nothing has helped in solving this issue for me. I receive the following error when I try to upload a file to the wiki:

  Could not rename file "C:\WINNT\Temp\php6F.tmp" to "public/Bryce.jpg". 

Due to security restrictions I can't set the "images" file to 777 but I have made it read/write available.Please any help would be greatly appreciated.

155.101.188.13 22:50, 12 October 2009 (UTC)

-Bryce

I just got this error. I solved it by CHMODing not just the images directory but it and all the sub-directories underneath it to 777 (but not the files which remain at 655). Doing the top level images directory alone to 777 was not enough. --Agrestis 14:51, 28 October 2009 (UTC)

[edit] Upload Zip Files

I need to be able to upload zip files and possibly a few other extension to my Wiki. I have searched and read pages but am still unable to work out how to do this. Please if you do have a solution for me include the file name that I would need to edit to change or add code into

[edit] Import failed: Upload of import file failed. A temporary folder is missing.

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.41
  • URL: localhost

When I try to upload a 40KB file created by Special:Export, I get the following message.

Import failed: Upload of import file failed. A temporary folder is missing.

What folder is missing?

Where do I look to find the answer to this question "on-wiki"?

Steve Garland garland@csail.mit.edu


71.174.198.182 07:30, 22 October 2009 (UTC)

[edit] how to transfer data from one mediawiki to a brand new mediawiki?

  • MediaWiki version:1.15 
  • PHP version: 5.1
  • MySQL version: 5
  • URL:

How do you transfer all data from on medai wiki to another new one?


63.239.65.9 17:59, 4 November 2009 (UTC)


[edit] Image Support

[edit] Jpeg File Resolution 5000*5000 Pixel Bugs.Thanks

  • MediaWiki version: 1.11.1
  • PHP version: 5.1.33
  • MySQL version: 5.29
  • URL: Intranet

When I Upload Jpeg File Resolution 5000*5000 Pixel. The 'Special:Newimages' Can't Be Load (Blank Page), How Can I Solve ? Thanks.

Please Help, Hope Help.

[edit] Problems with uploading images

  • MediaWiki version: 1.9.3
  • PHP version: 5.2.6
  • MySQL version: 5.0.67
  • URL: [2]

Hi. I experience problems with uploading images via standard Wiki interface. Attempting to upload ANY image file I recieve system error message "emptyfile" (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.)

Files I'm trying to upload are OK, that's for sure.

Any suggestions what the problem is ?

95.79.19.195 13:45, 12 September 2009 (UTC)

[edit] Link in framed images?

MediaWiki 1.14.0

PHP 5.2.9-2 (apache2handler)

MySQL 5.0.45-community-nt

I have a problem linking framed images. e.g.

[[File:XYZ.PNG|link=|none|frame|]]
or
[[File:XYZ.PNG|link="http://bla.com"|none|frame|]]

The image doesn't link to the target but still to the image's own page. If i remove the frame of the image it works fine. My question is if it's possible to have a framed image link to something else than it's own page?

--217.6.174.66 08:14, 29 October 2009 (UTC)


[edit] Images no longer appear

MediaWiki 1.15.1

PHP 5.2.9 (apache2handler)

MySQL 5.0.81-community

URL: http://www.evolution-rpg.com/wiki/index.php/Main_Page


I just finished upgrading my wiki to version 1.15.1. I've noticed that any images that are linked from off site, no longer appear by posting the url to the image. Does 1.15.1 allow the use of off-site images using just their url or is there another way image links should be formatted?


71.32.70.23 20:53, 14 September 2009 (UTC)

[edit] (RESOLVED) JPEG thumnailing errors (using GD)

  • MediaWiki version: 1.15.1
  • PHP version: 5.3.0 (apache2handler)
  • MySQL version: 5.1.39-log
  • URL: (internal)
  • OS: Red Hat RHEL4

Quite a few people seem to encounter this error message within a grey box:

Error creating thumbnail: Incomplete GD library configuration: missing function imagecreatefromjpeg

I had that issue, but after some hours, resolved it. Some PHP 4.x and 5.x versions of PHP have a bug where the libjpeg is detected but not enabled during the ./configure step; this is fairly prevalent on Red Hat/RHEL/CentOS systems. The fix for this (if you don't want to use ImageMagick) is to recompile PHP. First, find out (from phpinfo()) what the existing ./configure switches were, and add --with-jpeg-dir before --with-gd.

make clean
./configure --with-various-switches --with-jpeg-dir --with-gd --with-more-switches
make
make test
#switch to root
make install

Afterwards, restart the webserver (for Apache on Red Hat: service apache stop then service apache start ). To test, simply view the File:... page again (no need to upload again). For more information see the comments on PHP: imagecreatefromjpeg (function synopsis)

202.53.35.32 00:28, 9 October 2009 (UTC)

[edit] (Resolved) Image uploading/viewing causes internal server error/execution timeout with files bigger than 5kb

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.9 (cgi-fcgi)
  • MySQL version: 5.0.67-userstats-log
  • URL: locked down

Basically everyone is unable to upload any large files to the wiki. I've checked all the php configurations for max post size/upload limit and they're all at 8M or higher and viewing the phpinfo confirms this (as does the limit shown on the mediawiki upload form). If i attempt to upload something with a size of about 5-10kb it works absolutely fine. However if I try to upload something that is 900kb, the upload form eventually times out with an Internal Server Error (enabling display_errors etc. in the LocalSettings.php has given no details thus far). The error shown in the server error log is:

[Sun Oct 11 04:38:48 2009] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php, referer: http://wiki.xxx.com/index.php?title=Special:Upload

This is due to php running as a cgi binary instead of a php module. Usually a premature end of script headers indicates that no output was sent from php which means php encountered a max execution timeout. I've tried raising this timeout to 60 seconds from 30 but got the same problem.

Curiously, checking the http://wiki.xxx.com/index.php?title=Special:ListFiles shows the file DID upload correctly and I can view the file in it's physical path on the FTP. But if I then try to view this image on the wiki I get the same timeout/php error I described above. Again, just to remind you - files of 5-10kb work fine with no problems.

My last observation is that after the timeout has occurred, two processes are left hanging when viewing "top" via SSH. The processes are "convert" and "ulimit4.sh" which I have to manually kill.

I hope this helps you guys figure it out, thanks.

Edit - Interestingly enough, if I allow the page to start hanging (before the internal server error) and then kill the convert and ulimit4.sh processes then the page loads fine, but gives the error "Error creating thumbnail:" in the thumbnail box.

Ephialtes 11:45, 11 October 2009 (UTC)

Fixed it by setting $wgUseImageMagick = false; in LocalSettings.php to force it to use PHP GD instead. I tried this earlier but it was setting it true lower in the file, my bad! —Ephialtes 14:19, 11 October 2009 (UTC)


[edit] Formatting Support

[edit] How can I get my text to have a "right" alignment?

I can't figure out how to get text aligned to the right side of the page, despite searching the help pages for "alignment." Please help!

<div style="float:right;">YOUR TEXT HERE</div> Dr. Eme

[edit] Existing pages with table code doesn't work in mediawiki 1.13.2

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6
  • MySQL version: 5.0.51a
  • URL: localhost

I have upgraded mediawiki version 1.10.0 with 1.13.2. I have executed update.php and refreshLinks.php. But the pages which have table code has broken. The data is in text table. All the pages are working good with 1.10.0 version. But doesn't work with 1.13.2.

So, I have edited the page which was not working on 1.13.2 and copied the data from other system where it is working with 1.10.0 and saved the changes. but the page is not saving properly and it is removing the '|' and also placing some extra characters to the data.

Even the table format is good also the page is not getting displayed in tabular form.

It works good when i create a new page with table format.

Please help me that what's wrong with version 1.13.2 that doesn't support existing page table code? —The preceding unsigned comment was added by 208.88.84.10 (talkcontribs) 20:49, 31 December 2008. Please sign your posts with ~~~~!

I really need your help in finding this problem. Actually, it looks like there is some encoding problem some where with mediawiki version 1.13.2. This is corrupting the page display. If you are already aware of the problem then please let me know what could be the solution? —The preceding unsigned comment was added by 208.88.85.100 (talkcontribs) 18:21, 13 January 2009. Please sign your posts with ~~~~!

[edit] nowiki tags appear

  • MediaWiki version: 1.13.3
  • PHP version: 5.5
  • MySQL version: 5
  • URL:

Hi all,

I have a certain issue which makes < nowiki ></ nowiki > appear on the results of an mssql query below are the source

{{{1}}}

[edit] Fixed Issues

The table below lists all issues fixed since the last release. {{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Build, Synopsis FROM ReleaseNotes WHERE (Project LIKE '{{{1}}}') AND ([Release Scheduled] LIKE '{{{2}}}') AND ([Release Scheduled] NOT LIKE [Release Noticed]) ORDER BY [Issue Number]}}

[edit] include a path and transfer a excel table

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.0-8+etch13 (cgi-fcgi)
  • MySQL version: 5.0.32-Debian_7etch8-log
  • URL:

Hello I'm trying to include the path on the top of a site (example wiki>help>diskussions>). Are there a command?
I'm looking for a tool to transfer excel tabel in a wiki table?
Thanks for help —The preceding unsigned comment was added by 212.101.18.161 (talkcontribs) 08:23, 22 January 2009. Please sign your posts with ~~~~!

[edit] html dont show on the page

Hello, I was upgrading my wiki to a new version. Everything goes ok except one thing. On this page on may wiki http://elacd.carnet.hr/index.php/E-learning_alati_i_tehnologije there is one photo that is made by GIMP Imagemap plugin. Before was working just fine but now my wiki cant recognize the html code. So i suppose that somewhere i need to eneble that but where? tnx

[edit] Hiding category links

  • MediaWiki version: 1.11
  • PHP version: 5.2.5 (apache2handler)
  • MySQL version: 5.0.24a-log
  • URL: intranet based

Is it possible include a Category tag on a page but not have that category show up in the category box at the bottom of the page?

GerryMander123 07:33, 16 October 2009 (UTC)

Yes, it is! Just add __HIDDENCAT__ to the page of the category that should be hidden. See also Help:Magic_words#Behavior_switches Cheers --kgh 18:40, 16 October 2009 (UTC)
--217.6.174.66 08:47, 26 October 2009 (UTC)
Or if you don't feel like adding the tag to every page of your wiki you can edit it in the skin you are using.
e.g. in Monobook.php
edit from
<?php if($this->data['catlinks']) { $this->html('catlinks'); } ?> (l.127)
to
<?php if($this->data['catlinks']) { $this->html(); } ?> (l.127)
That way you still have it in your category overwiev. But this action will make every category link on every page disappear!

[edit] keyboard changer

Like [ml.wikipedia.org] how to add a option to switch from inscript keyboard to phonetic keyboard ?

[edit] Heading in Contents as a Link

  • MediaWiki version: 1.12.0
  • PHP version: 5
  • MySQL version: 
  • URL:

Is it possible to creat a Link from the heading in the contents to another Article. If somebody click on it now it went to the section of the Atricle. If it is not possible I think that i have to build a own contents and delet the real one.


— 16:25, 27 October 2009 (UTC)

[edit] if statements in templates

I am trying to make a template where a variable being called by the page will determine the background color in a table in the template. Any advice on how to do this? Also can anyline link be to where I can find details in the if statement for MediaWikIi?


67.177.14.141 08:38, 1 November 2009 (UTC)

[edit] Multicol template

Hello. I'm experiencing problems with the templates, basically Multicol. I see any template must be edited within the site, but how? Should I edit a specific page called "Template:Multicol" containing the code or what else? Could you suggest me a tutorial bout this problem?

Kind Regards —151.92.83.45 08:40, 4 November 2009 (UTC)

[edit] TOC/Numbered List Formatting Bug

There is a formatting bug when a left aligned TOC has a numbered list to its right. The indentations don't appear to occur and the numbers themselves are located within the TOC box.

I tried upgrading to 1.15.1 to see if it had been fixed but it looked the same. (I then went back to 1.12.0 because I was having trouble convincing 1.15.1 to allow page edits, but that's likely my issue)

If the source is not visible, a copy is available at http://www.svalli.com/FormatBug.txt in plain wikitext.

216.199.48.59 15:52, 6 November 2009 (UTC)


[edit] Extension Support

[edit] (RESOLVED) EmbedImg Extension, Advice rather than tech help needed on Images

  • Product Version MediaWiki 1.14alpha (r45489)
  • PHP 5.2.4-2ubuntu5wm1 (apache2handler)
  • MySQL 4.0.40-wikimedia-log
  • www.trialworks.com/wiki

Hello, This is more of an "advice needed" post. I wanted to use the Upload/Image functions in MediaWiki but I believe I cannot... my webhost does not give me easy access to php.ini and I really don't want to go through the headaches of making them enable uploads in PHP, so I've kind of given up.

I did, however, download EmbedImg Extension and absolutely love it. It lets me take a address to an JPG or PNG file and paste it into the wiki, and in turn it displays the image (Rather than the path). The problem is that it's parameters only let me change size, but not location. I need to be able to align those images "right" with text, so that it all looks good. Aside from the extension, I got around the upload system by writing, in ColdFusion, an upload agent. It lets any of my users - in a super simple fashion - upload an image to the site and obtain the link, which then goes into the Wiki Article. It's really simple but very effective for my needs.

So now, I am just dealing with a formatting issue. It needs to be uber easy for my users. How would you guys/girls handle the alignment or would you really work on getting the Wiki upload stuff to work (btw, I feel my ColdFusion app is easier to use for my users than the Wiki stuff).

Karl @ www.trialworks.com/wiki Thanks!!

UPDATE: sorry to waste space, I think I've solved my little crisis with <div style="float: right;">

[edit] MediaWiki oes not find texvc - but texvc exist in the math folder !!!

  • MediaWiki version: 1.13.3
  • PHP version: 5.2.4
  • MySQL version: 5.0.51a
  • URL: not public ... local network

Hi there,

I need help, cause I tried serveral times to setup texvc for our MediaWiki. I downloaded and installed the latest version of OCaml and run the 3 steps:

  1. Change to the "math" sub-directory of your MediaWiki install
  2. Run 'make' (or 'gmake' if GNU make is not your default make). This should produce the texvc executable.
  3. Enable $wgUseTeX and $wgEnableUploads in your LocalSettings.php and everything should work.

I've seen no errors during the make but the MediaWiki does still not find the texvc !!! I checked the math folder and there is an texvc...

how can I resolve the problem ???

thank you !!!

Alex

I have some problem with mediawiki-1.13.3-42.fc10.x86_64 on fedora 10 x86_64 and resolved it from http://zaphod.lite.msu.edu/bugzilla/show_bug.cgi?id=5757.
The solution was to run texinfo rehash, and run fmtutil-sys --missing.

Ivan

[edit] How-to restrict access to a Special Page? (Resolved)

  • MediaWiki version: 1.13
  • PHP version:  5.0

Hi,

I'm using the extension http://www.mediawiki.org/wiki/Extension:UploadCSV where I can update pages with an CSV file. As this extension can easily cause vandalism, I want to restrict the access for just "administrators". Like when trying to access this page as a normal user: http://meta.wikimedia.org/wiki/Special:Block

I added:

$wgGroupPermissions['*']['uploadcsv'] = false; $wgGroupPermissions['sysop']['uploadcsv'] = true;

to LoaclSettings.php - but everyone can still access the page. Any ideas what I'm doing wrong?

Thanks, Chris


add to uploadCSV.php

// New user right - required to access Special:Maintenance $wgAvailableRights[] = 'uploadcsv';


function wfUploadCSVStart() {

       global $wgMessageCache, $ExtensionTitles, $wgOut, $wgUser;


# If the user doesn't have the required 'maintenance' permission, display an error if( !$wgUser->isAllowed( 'uploadcsv' ) ) { $wgOut->permissionRequired( 'uploadcsv' ); return; }


add to LocalSettings.php

$wgGroupPermissions['sysop']['uploadcsv'] = true;

[edit] Extension Licensing Guidelines

I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

[edit] unable to install chat on mediawiki

Hello everybody. I installed mediawiki on my linux ubuntu server 9.04 machine,is working very good, almost eveyone in LAN, is using. The backup process and recovery also was successful after many efforts.

Now I try to install chat extenstion on my mediawiki, but I receive error. I follow the structure in link below" http://www.mediawiki.org/wiki/Extension:Chat Also I installed . To download phpfreechat, I used the follwing link, and I downloaded on linux machine. Now I try to install it (phpfreechat) which now Is on my desktop(phpfreechat.php), but I cannot install using this command (sudo apt-get install phpfreechatx.x). It says, there is no package. Also I tried with root permission, as well. http://linux.wareseeker.com/Internet/phpfreechat-1.0-beta-11.zip/317847.


It's really appreciated to tell me the steps in more details.

Thanks in advance Mona Mortazavi IT-Specialist —Mona mrtzvi 16:56, 7 November 2009 (UTC)


[edit] Miscellaneous (unsorted) Issues

  1. REDIRECT[[]]== Linking pages by words ==

Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

[edit] How to add certain structured info to a list or table by an inputbox or submit button

MediaWiki 1.14.0 PHP 5.2.9 (apache2handler) MySQL 5.1.33-community URL local


I would like to make a list on a wikipage. This list must contain "name", "date" and "in" or "out" fields wich can be filled in by an inputbox. The goal is someting like a log for our users, so we can have an overview of who is taking hardware on the road.

Can this be done in wiki (php)? And how?

Thanks in advance.

[edit] How to add product feeds from affiliates?

MediaWiki 1.15.0 PHP 5.2.9 MySQL 5.1.33 URL local

i would like to include product feeds from affiliate networks on my website Klusopedia . Can this be implemented and how? My affiliate network offers xml and csv feeds.

Thanks

[edit] Fatal Error...

I got this on a free webserver (so I don't have an access to it), after trying to save the page or to log in:

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]:
Failed to initialize storage module: files (path: ) in /mnt/md1/public/d/o/dob/includes/GlobalFunctions.php on line 2453

What should I do now? :-D

Drkazmer

[edit] character before DOCTYPE "<<!DOCTYPE html PUBLIC .."

  • MediaWiki version: 1.13.2
  • PHP version: 5.1.6 (apache2handler)
  • MySQL version: 5.0.45
  • URL: local

I got a character above the logo "<" and I don't know what is generating it
and it is always there when I use the rich editor "disabling the rich editor doesn't help"
also with every preview it appends one more character as follow
<
<
one more thing
viewing page source I find that character before <!DOCTYPE..
<<!DOCTYPE html PUBLIC .....

looks like something is appending that character "<" to the (output stream) How to debug such behavior?


FireFox error console shows


</* generated javascript */

what could be generating that character "<"?

sounds like HTML vs XHTML but how it could be fixed?

[edit] Including of path

Header created by EivindJ.
  • MediaWiki version: 1.13.2
  • PHP version: 5.2.0-8+etch13(cgi-fcgi)
  • MySQL version: 5.0.32-Debian-7etch8-log
  • URL:

Hello
I'm trying to include the path on the top on each page (example wiki>help>questions). What is the code that the path infix in the page?

thanks for help —The preceding unsigned comment was added by 212.101.18.161 (talkcontribs) 07:57, 22 January 2009. Please sign your posts with ~~~~!

Do you mean using subpages? What sort of path do you mean? Wikademia

[edit] embed copies of authoritative versions of pages from other mediawiki instances, sharing one page history between mediawikis

  • MediaWiki version: 1.13.3
  • PHP version: 
  • MySQL version: 
  • URL:

There appear to be many ways of including content from one page to another, including templates and the "embed page" capability (which seems restricted to Special pages). The terms "transwiki", "inclusion" and "interwiki" are used in a confusing way making it difficult or impossible to answer some simple questions:

  1. How, exactly and with examples, does one specify that the master or authoritative version of a page is at some other mediawiki, providing both a link to the editable version of that page and a visible & protected copy of it as if it were a page within one's own wiki (identical to the features of wikinfo?
  2. How, exactly and with examples, does one simply include an entire non-Special non-template page from the same wiki? Is it possible to include from another wiki that is hosted on the same MySQL installation?
  3. How, exactly and with examples, would one implement two-way transclusion so that the page could be edited in either one of two wikis, and the edits would be made reliably on the other to unify the page histories?
  4. Are there any good examples of public mediawikis sharing content in any of these ways with private ones?
  5. What other approaches, such as "auto-import of Wiki articles via XML using PHP's Expat Library" are used in Mediawiki extensions, and what are the advantages/disadvantages of doing this inclusion using XML rather than mediawiki's internal facilities?


[edit] Concurrent users and Add ons to Wiki

Do you know if there are any Microsoft word add ons that can be used with Wiki? Is there a way to lock a document so that no 2 users are updating the same file?

[edit] Completely Anonymous Editting (No IP)

  • MediaWiki 1.13.3
  • PHP 5.2.8 (cgi)
  • MySQL 5.0.67-community

Is there a way to allow complete anonymity? Or how about a system whereby an ID is shown instead of showing IPs?

[edit] Untitled

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.8
  • MySQL version: 5.0

Remarque : Les versions de PHP et MySql sont celles fournies par Xampp 1.1.1.2

  • URL:

Comment puis-je afficher la valeur d'une variable contenue dans LocalSettings.php ?

How may I post(show) the value of a variable like $wgStylePath?

Many thanks

[edit] How to combine regular expression so that you get the number of contributors per article ? (Extension:contributors)

I would like to use a reg ex to get from: User1,user2,user3,user4,user5 ----> the number of users (here is 5).

So that i could use : {{contributors/Article}} in a Reg Ex to get the number of contributors in Article.

Then, how to get an average on every articles or articles from a special cat ? Thx!

[edit] What have I do?

I had to start new MediaWiki 1.15.0rc1 Installation but received:

Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.
Checking environment...

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

  • PHP 5.2.6 installed
  • Found database drivers for: MySQL SQLite
  • PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • Session save path (/var/lib/php/session) appears to be valid.
  • PHP's memory_limit is 32M.
  • Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
  • Found GNU diff3: /usr/bin/diff3.
  • Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
  • Installation directory: /usr/local/www/name_of_site.com/www
  • Script URI path: Installing MediaWiki with php file extensions
  • Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint() in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

[edit] Does MediaWiki have access counter function?

I want to know that how many times is every page accessed. Can every page show its access times as the home page(main page)do? For example, japanese edition home page show "このページは 1 回アクセスされました。"(English: This page is accessed 1 times.)


If MediaWiki has this function, how do I configure it? If not, do I need to modify MediaWiki's source? How?

  • Wiki Environment:
  • MediaWiki 1.14.0
  • PHP 5.2.9 (apache2handler)
  • MySQL 5.1.33


Thanks & Best Regards ZhuZengyang

[edit] Why is the first letter of all usernames automatically capitalized, and how can I undo this setting?

  • MediaWiki version: All
  • PHP version: 
  • MySQL version: 
  • URL:

What is the reasoning behind making the first letter of all usernames automatically capitalized, and how can I undo this setting in the wiki my group is using? Thanks.


128.227.207.154 18:29, 15 October 2009 (UTC)

You could set $wgCapitalLinks or if using MediaWiki 1.16 $wgCapitalLinkOverrides -- Bryan (talk|commons) 14:54, 20 October 2009 (UTC)
$wgCapitalLinks doesn't have any effect on usernames in 1.15. —Emufarmers(T|C) 06:20, 21 October 2009 (UTC)

[edit] Internal Links in a new window

  • MediaWiki version: All
  • PHP version:
  • MySQL version:
  • URL:

Does anyone know of a way (new syntax perhaps?) that allows for internal links to open up in another window? I prefer not to modify code that affects all internal links, only those that we want. Is this even possible? I know in html you can use target="_new" or "_blank" to <a> tags. Would love a Wikitext equivalent. 06:38, 18 October 2009 (UTC)

[edit] Image deletion

Hi, could an admin delete [File:Mp2.jpg]]. I uploaded it to the wrong wiki. Samuell 02:16, 20 October 2009 (UTC)

[edit] Is it possible to create, edit, and view MediaWiki pages in an offline environment?

I find MediaWiki syntax useful for managing information, and I would like to make files in this environment for my own use. I have no need to host such files online. Is there a way to create, edit, and view wiki pages which live on my home computer, rather than pages that are hosted at a URL? I am using Ubuntu 9.04, and I downloaded MediaWiki today, via Synaptic Package Manager. Any assistance is appreciated. Thank you.—MW Question 20:38, 20 October 2009 (UTC)

[edit] Mistakenly created Mediawiki.org page

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

Please delete http://www.mediawiki.org/wiki/Powertech_Labs and the Category SDTC.

Sorry


24.80.112.29 00:34, 23 October 2009 (UTC)

[edit] Removing large amount of spam user accounts

Our wiki's been dormant for a while, and lots of spam users have signed up for accounts. We've since implemented reCAPTCHA for signups, but would now like to remove all the old accounts. Googling reveals Extension:User Merge and Delete, but this is still a fair amount of work (we've got >1000 spam accounts). However, none of them have any contributions; is there a way to remove all accounts with no contributions? Or is there anything else we can do? Cheers, Alex Muller 10:10, 28 October 2009 (UTC)

I solved this using iMacros with Firefox - it's not a MediaWiki solution, but it worked. Here's my script:
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE user.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=NAME:olduser CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=NAME:newuser CONTENT=Anonymous
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=ID:deleteuser CONTENT=YES
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:usermergeform ATTR=VALUE:Merge<SP>user
Alex Muller 17:45, 28 October 2009 (UTC)

[edit] strange behavior of nl.wikt

I was trying to edit the page "delfstof" at nl.wiktionary and the server does not accept my edit, even though it accepts other changes. I do not know where to report this. Seems like a server problem

nl:wikt:Gebruiker:Jcwf

Jcwf 17:38, 28 October 2009 (UTC)

[edit] File:Cannot open "my preference" page ...

  • MediaWiki version: mediawiki-1.15.1
  • PHP version: php-5.3.0-Win32-VC6-x86
  • PostgreSQL version: postgresql-8.4.1-1-windows
  • URL: built within LAN, cannot access from Internet
  • Apache: apache_2.2.14-win32-x86-openssl-0.9.8k


I had just install MediaWiki (in Chinese) which can be accessed within a LAN, and I can create new users, access it with the newly created user, and it seems all working well except: while clicking the "My preferences" (in Chinese is "我的参数设置") on the TOP of the page, I just got a fault page displaying: Internet Explorer can not display the page ("Internet Explorer 无法显示该网页").

Is there anyone who can tell me how to solve this problem?

PS: The user running the apache service has the proper rights to read/write(executive) within the main web directive (i.e. <Apache_dir/htdocs/>).

Buyun 14:02, 31 October 2009 (UTC)

[edit] New Entries Not Showing On Category Pages for Anonymous Users

Since my sysop moved our site to a new host last week, newly-created wiki entries do not show up on the Category pages to which they have been added. This is only for anonymous users; when logged in, my editors and I can see them just fine.

At the above Category URL, for example, there are currently 65 entries. For anonymous users, only the 48 that were input before last week are visible (though the entries themselves may still be viewed via Search and direct linking).

Any idea why this is happening, and how I can fix it? (Not sure if it is move related, but the timing makes me suspicious.)

Thanks!

81.151.5.143 22:39, 6 November 2009 (UTC)