Project:Support desk
From MediaWiki.org
- Check before posting
- Realtime help
- Mailing list
- Support Team

- Please see the Members List. If you have questions about the team, please visit its talk page.
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 question, 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.
- 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.
- If the topic does not relate to MediaWiki software it will be automatically closed.
- 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.
- 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.
- 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] Installation/Legalities Support
[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
[edit] deleteBatch.php not working right
- MediaWiki 1.12.0
- PHP 5.1.6 (apache2handler)
- MySQL 5.0.22
I am using deleteBatch.php with a list of files to delete and it deletes the files or images, but the files still show up on a search. When you click on the link it shows as being deleted. I checked this with a file I deleted by hand and the deleted file did not show up on a search. Any idea how to delete mass files without them show up on a search.
--Johnp125 21:21, 16 December 2008 (UTC)
[edit] What is the solution for the "authentication error - check passwords" while click on "install MediaWiki"?
- MediaWiki version: 1.13.3
- PHP version: 5.2.8-win32 version
- MySQL version: 5.1.30-win32 version
- URL: http://localhost/mediawiki-1.13.3/config/index.php
I am getting authentication error while I click on Install MediaWiki tab and it shows error (authentication error - check passwords) with the Superuser name and superuser password when the checkbox of superuser account is checked.
And when it is unchecked, it will give same error (authentication error - check passwords) for DB username and DB password.
Please suggest me, what should I do for the above problem?
—125.18.17.16 10:36, 24 December 2008 (UTC)
[edit] Scary transclusion problem
- MediaWiki version: SVN build
- PHP version:
- MySQL version:
- URL: localhost
I enabled $wgScaryTranscluding, and it works well, but if you put in {{:wikipedia:NPOV}} it does not show the template, only the Wikipedia policy page. What do I need to do to fix this? —82.42.237.84 19:45, 29 December 2008 (UTC)
[edit] Installation
- MediaWiki version: 1.13.3
- PHP version: 5.2.8
- MySQL version: 5.2
- URL:
I've uploaded MediaWiki over my server, when I try to goto Site config page for Installation, some lines as listed below appears. What I do now, second I dont know about mySQL or PHP. I've just uploaded software files and nothing else. Please help in setting up a Wiki site using MediaWiki software. Thanks.
# PHP 5.2.8 installed # Found database drivers for: MySQL SQLite # PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) # Have XML / Latin1-UTF-8 conversion support. # Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. # PHP's memory_limit is 32M. # Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Warning: shell_exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874 Warning: shell_exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874 # 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: /home/tayyebo/public_html/mediawiki-1.13.3 # Script URI path: /mediawiki-1.13.3 # Installing MediaWiki with php file extensions # Environment checked. You can install MediaWiki. Warning: exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1965 Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1970 Warning: Invalid argument supplied for foreach() in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1973 Notice: Undefined variable: wikiLang in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1999
—Anonymous21 12:08, 6 January 2009 (UTC)
--> You really have to know something about MySQL, at least to setup a database for the MediaWiki.
[edit] Installing new MediaWiki with old Database
Actually my question is simple but to avoid a lot of work and errors i ask: Is it possible to install a new MediaWiki and use the old database with the old media files?
This is because my current installation (1.11) is moving to another server and it need to get an update. My thoughts were to install the latest version, copy the mediafiles to the new server, import the database to the new server, change de localsettings.php and go on with the Wiki's. So instead of updating it will be a new installation with the old content. Sypie
[edit] installation of version 1.13.3
- MediaWiki version: 1.13.3
- PHP version: PHP 5.2.0
- MySQL version: 5.0
- URL:
Hi all,
I am installing media wiki version 1.13.3 from 1.11.0, I have backed up my database and filled in the requirements for the installation used my own extensions and images folder. And also used my own AdminSettings.php and after submitting i get this error:
PHP 5.2.0-dev installed Found database drivers for: MySQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
Creating protected_titles table...Query "CREATE TABLE `protected_titles` (
pt_namespace int NOT NULL,
pt_title varchar(255) binary NOT NULL,
pt_user int unsigned NOT NULL,
pt_reason tinyblob,
pt_timestamp binary(14) NOT NULL,
pt_expiry varbinary(14) NOT NULL default ,
pt_create_perm varbinary(60) NOT NULL,
PRIMARY KEY (pt_namespace,pt_title),
KEY pt_timestamp (pt_timestamp)
) TYPE=InnoDB
" failed with error code "CREATE command denied to user 'wiki'@'localhost' for table 'protected_titles' (localhost)".
- Your MySQL user needs to be able to execute CREATE queries. Have your host give the user that right, or run the query manually in phpMyAdmin if it's available. —Emufarmers(T|C) 11:38, 20 January 2009 (UTC)
[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.
[edit] Untitled
- MediaWiki version: mediawiki-1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0.67-community
- URL:
I Downloaded the mediawiki, and wanted to try on another site, my gave his server and try it on, when i finished installing it seems to be some wrong this is what appears to me in the first page
Warning: Cannot modify header information - headers already sent by (output started at /home/fcfitco/public_html/wiki/includes/WebStart.php:19) in /home/fcfitco/public_html/wiki/includes/WebResponse.php on line 10
it appears a dozen times, also this one appears also
Warning: ini_get() has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/WebStart.php on line 19
Warning: ini_get() has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/GlobalFunctions.php on line 1984
i think this from the server , how i can solve the problem?
—JustTalking 08:02, 28 January 2009 (UTC)
- MediaWiki is not likely to run properly on a server with important functions disabled. Tell the server owner that ini_get() must be enabled. —Emufarmers(T|C) 18:28, 28 January 2009 (UTC)
[edit] Rights to read page history and differences between them
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.0.51a
- URL:
Hi everyone,
We cannot view page history (...action=history) and differences between them (...diff=...), message: "You have not enough rights".
The "admin" account is part of the groups "sysop" and "bureaucrat". We use the GroupPermissionsManager, additionally I already added all sysop-default-rights to LocalSettings.php
Can you please tell me, which right has to be set to view the history and compare page versions?
Thank you in advance!
Kind regards
—Suesse 08:30, 31 January 2009 (UTC)
[edit] "Fatal error" after installing
- MediaWiki version: The latest
- PHP version: 5
- MySQL version: 4.1.25
- URL: mikelink.org
I downloaded the files, set up the database, went through the install process (where I gave it all the info it asked for) successfully. Moved the LocalSettings.php file, too. Now, however, when I go to MikeLink.org I get an error message:
Warning: require_once(/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc) [function.require-once]: failed to open stream: No such file or directory in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39
Fatal error: require_once() [function.require]: Failed opening required '/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc' (include_path='.:/usr/local/php-5.2.6-1/share/pear') in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39
I'm not sure why it's saying this. It says that it's failing to open that file, but the file exists:
http://mikelink.org/install-utils.inc
So does index.php (and index.php5 for that matter).
I've tried every combination I can for the permissions for that file, so it's not that. Not sure what to do next at this point, and couldn't find anything on Google. Please help.
—216.185.15.13 16:39, 5 February 2009 (UTC)
- Your files are really in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/, but the script is looking in /nfs/c03/h04/mnt/48214/domains/mikelink.org/. What is $wgScriptPath set to in LocalSettings.php? —Emufarmers(T|C) 17:22, 7 February 2009 (UTC)
-
- It was set to ="" but I just went ahead and tried changing it, with no different results. I first tried changing it to the long path you said all my files were at (surrounded by the quotes, of course). When that didn't work, I tried just making it equal "html/" and when that didn't work, I tried "/html/" with same result again. So no luck yet.
-
- I also tried changing all the $IP/ to $IP/html/. That didn't work, either.
-
-
- Anyone?
-
[edit] problems with install mediawiki on PHP 5.2.8?
- MediaWiki version: 1.13.3
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL:
When i want to install Mediawiki, i have to go to http://wiki.it2go.be/wiki/config/index.php to set up the wiki. When i do so, i get the message "PHP 5.2.8 installed" at checking environment. And that's all the script does...
—213.49.146.211 23:01, 8 February 2009 (UTC)
[edit] Upgrading mw by applying patch
Hi. I'm trying to update my mediawiki installation from 1.13.3 to 1.13.4. I had downloaded mediawiki-1.13.4.patch.gz. But how can I apply many patches from this archive to my MediaWiki directory tree at one command? I think "patch" utility would be useful but I don't know how to do it fast and easy. Unfortunately any instructions for this are absent at Manual:Upgrading. Thanks. 84.204.216.36 08:30, 11 February 2009 (UTC)
[edit] Migrate from TWiki to Mediawiki
We have a Twiki portal in office with many webs in it. We would like > to move the WEB specific to my project in to a separate mediawiki server at a different location.
- Look at the Twiki page. —Emufarmers(T|C) 21:18, 12 February 2009 (UTC)
[edit] Editing Meta Keywords
- MediaWiki version: 1.13.0
- PHP version: 5.2.5 (apache)
- MySQL version: 5.0.45-log
- URL:
My Wiki has some keywords in the meta tag. I don't remember where I set these. My wiki has expanded so I would like to edit these. Where do I find them?
—Kristofer2 17:50, 12 February 2009 (UTC)
[edit] install problem
- MediaWiki version: 1.13.1
- PHP version: 5.2.6
- MySQL version:
- URL:
it doesnt install all the way.
* PHP 5.2.6 installed * Found database drivers for: MySQL * PHP server API is cgi; using ugly URLs (index.php5?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * 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: /home/bernie/public_html/wiki * Script URI path: /wiki * Installing MediaWiki with php5 file extensions * Environment checked. You can install MediaWiki. *
Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as bernie_auswiki...success. * Connected to 4.1.22-standard; enabling MySQL 4.1/5.0 charset mode * Database bernie_wiki exists * Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "Table 'user' already exists (localhost)".
maybe i need to get the mysql to setup the tables manually ? where do i get it?
—153.107.103.155 04:40, 16 February 2009 (UTC)
[edit] Skin changes will not be displayed in my browser.
- MediaWiki version: 1.11.2
- PHP version: 5.2.8 (apache2handler)
- MySQL version: 4.1.22-log
- URL: http://fondsresearch.fo.funpic.de/mediawiki-1.11.2/index.php/Hauptseite
I've changed the backround-image and the wiki.png-image, but I can not see changes of the page. It still looks the same as before the changes (see Image File: http://fondsresearch.fo.funpic.de/mediawiki-1.11.2/index.php/Bild:MainPage.jpg). I've deleted all temporary files in the IE Explorer (Version 7), but nothing happens. But if I watch the site with another computer, I have no problems. I can see the new Version with the new background.
- What can I do to see the actual background in my browser? I suppose, there must be a problem in my LocalSettings.php.
--Fonds 12:36, 18 February 2009 (UTC)
[edit] Blank screen when pressing "submit article"
- MediaWiki version: 1.13.4
- PHP version: 5.2.6-0.dotdeb.1 (cgi-fcgi)
- MySQL version: 5.0.67-0.dotdeb.1-log
- URL: http://www.korczak-clan.de
Dear All,
I updated my MediaWiki from version 1.6 (backward compatible) to an empty version 1.13.4 (unicode utf-8). Trying to copy/paste articles from the old version to new articles in teh new version I mostoften get a blank/white screen when submitting the article. Returing to main page the new article was neither submittet nor visible in special:allpages.
Some articles pass copy/paste/submitting and are stored as usual (even long articles containing special characters from slavic languages).
—195.127.188.198 09:08, 19 February 2009 (UTC)
[edit] After Installatin the Editor Icons do not show up
* MediaWiki version:1.13.3 * PHP version: 5.1.6 * MySQL version:5.0.22 * URL: http://www.elthvcc.org/gswiki
I do not see the icons (images) (for Bold, Italic, etc.) in the editor. Also, I cannot see the icons in the Help page (Image:Geographylogo.png, Image:PD-icon.svg)
Please help.
Thank you.
Abe
Hi there,
pls. check in "gswiki/skins/common/images/" if the icons are available. If not download mediawiki, unzip and copy to the before location.
--195.127.188.198 11:37, 20 February 2009 (UTC)
[edit] Installing MediaWiki in a "live" website
- MediaWiki version: 1.14.0
- PHP version: PHP5.0
- MySQL version:
- URL: zamboanga.com
I have downloaded the 1.14.0 version of mediawiki. My host server has Apache, PHP, and MySQL and have confirmed that they run on linux and will support mediawiki as long as I do all the configuring.
I am somewhat familiar with the above items but am unsure as to the behavior of mediawiki when uploaded and unzipped in my host server.
Will mediawiki delete my current home index file in the root directory when uploaded? I checked your FAQ but this question was not addressed. Does mediawiki immediately create an homepage index file in the root directory? —Maletsky 03:29, 24 February 2009 (UTC)
- MediaWiki will unpack into a new directory; it will not overwrite your existing files. —Emufarmers(T|C) 11:15, 25 February 2009 (UTC)
[edit] Can't find suitable mysql db driver during mediawiki 1.13.14 install
- MediaWiki version: 1.13.4
- PHP version: 5.1.6 (cli)
- MySQL version:14.14 Distrib 5.1.31
- URL: localhost
After successfully installing on my XP workstation, I tried to install on my Linux box (RedHat ES 5.2). Apache, PHP and MySQL all installed without error. I downloaded wikipedia and successfully brought up setup form in browser. When I ran setup, I got the following error.
* PHP 5.1.6 installed
Could not find a suitable database driver!
o For MySQL, compile PHP using --with-mysql, or install the mysql.so module
o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module
o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module
PHP installed with the RedHat ES operating system and I am unable to find mysql.so for ES 5.2. Any assistance will be greatly appreciated.
—Johncarlton 16:27, 26 February 2009 (UTC)
[edit] Installing a second wiki
- MediaWiki version: 1.11.0
- PHP version: 5.2.4
- MySQL version: 5.0.45
- URL:
I want to create another wiki alongside our current wiki but can not find a documentation on how to do that. Can you please provide a link or advice.
thanks
bobj
It's OK I finally found the page on the MediaWiki site Wiki_family
—203.10.55.11 04:33, 27 February 2009 (UTC)
[edit] Problem When I Click the "set up the wiki".
- MediaWiki version: 1.14.0
- PHP version: Free host - cannot find version number
- MySQL version: Free host - cannot find version number
- URL: blizzcraft.l4rge.com/wiki
This is probabaly a proplem with the host and not your program, but I cannot figure out what to do. Whenever I click the "set up the wiki" button, I get this error:
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) is not within the allowed path(s): (/firewall:/tmp:.) in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39
Warning: require_once(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) [function.require-once]: failed to open stream: Operation not permitted in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39
Fatal error: require_once() [function.require]: Failed opening required '/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/firewall') in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39
Thanks.
—99.236.138.72 02:32, 28 February 2009 (UTC)
- It's a problem with your host, yes. Unless you can get them to uncripple PHP, you will not be able to run MediaWiki. —Emufarmers(T|C) 17:14, 28 February 2009 (UTC)
[edit] Linux
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Just to double-check, if I use w:GoDaddy to host my wiki, will MediaWIki work? The "GoDaddy Hosting Connection" preview says that it is Linux-only. So, GoDaddy needs to be Linux, not me, right? Thanks, Genius101 22:42, 2 March 2009 (UTC)
[edit] installation on red hat enterprise
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
In your site, in the part of installation, I've found a link for red hat enterprise, after I've selected red hat enterpise link, I've read about red hat 7.3, 9.0 and fedora, is there some information about red hat enterprise intallation or this release is not supported for mediawiki?
Thanks in advanced
—88.61.38.67 14:37, 3 March 2009 (UTC)
[edit] Installation of MediaWiki on Mac OS X 10.5 using MAMP
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: in MAMP 1.7.2
- URL: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X
This is not a question, but a solution on installation help http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X
MAC OS X 10.5.6:
I downloaded MediaWiki 1.14.0 and MAMP 1.7.2. Installation steps are following:
1. drag and drop MAMP to the application folder (no subfolder)
2. switch on Websharing in system settings
3. Follow the information in "Web-based setup" of ttp://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X with following differences
a) rename "mediawiki-1.14.0" to "mediawiki"
b) put the folder into subfolder "htdocs" in "MAMP"
c) start MAMP
d) "start homepage", choose "phpMyAdmin", create new database with the name you use later and create new user with the name you use later and grant all rights
e) change in preferences in window "URL of homepage" "/MAMP" to "/mediawiki"
f) open with "start homepage"
4. proceed with "Web-based setup"
The text of buttons may vary as I used the German version and translated the button texts.
Hope this text helps. And I hope it finds it way as I am a complete newb to wiki-administration but I shall organise one for our workgroup.
—137.248.161.200 16:08, 3 March 2009 (UTC)
[edit] language.php error notices during installation
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0.45
- URL: http://saap-test.unm.edu/wiki
hi, trying to install mediawiki, but i keep getting a list of language.php notices that prevents the install from finishing. I've attached what I'm getting below:
MediaWiki 1.14.0 Installation
* 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 PostgreSQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP's memory_limit is 128M. * 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: /nfs/user/s/saap/Sites/saap.unm.edu/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 saap...success. * Connected to mysql 5.0.45-log * Database saap_wiki exists * Creating tables... done. * Initializing statistics...
Notice: Undefined index: namespaceNames in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2425
Warning: Invalid argument supplied for foreach() in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2428
Notice: Undefined index: mathNames in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: bookstoreList in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: magicWords in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: messages in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: rtl in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: digitTransformTable in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: separatorTransformTable in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: fallback8bitEncoding in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: linkPrefixExtension in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: defaultUserOptionOverrides in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: linkTrail in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: namespaceAliases in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: dateFormats in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: datePreferences in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: datePreferenceMigrationMap in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: defaultDateFormat in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: extraUserToggles in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined index: imageFiles in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
Notice: Undefined offset: 5 in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2551
—68.35.75.95 17:53, 3 March 2009 (UTC)
[edit] Configuration/Installation Error
- MediaWiki version: 1.6.12
- PHP version: 4.4.9
- MySQL version: 5.0.67
- URL: http://www.calebwilliamsphotography.com/auggiewrestlingwiki/config/index.php
I tried installing the MediaWiki on my server, but I receive the following error messages:
Warning: main(convertLinks.inc) [function.main]: failed to open stream: No such file or directory in /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/updaters.inc on line 9
Fatal error: main() [function.require]: Failed opening required 'convertLinks.inc' (include_path='.:/homepages/2/d276811108/htdocs/auggiewrestlingwiki:/homepages/2/d276811108/htdocs/auggiewrestlingwiki/includes:/homepages/2/d276811108/htdocs/auggiewrestlingwiki/languages') in /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/updaters.inc on line 9
—Calebrw 04:14, 4 March 2009 (UTC)
- Does the file /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/convertLinks.inc exist? —Emufarmers(T|C) 00:46, 6 March 2009 (UTC)
-
- No it does not. The file you referred to is not in the package I downloaded. Calebrw 00:11, 10 March 2009 (UTC)
-
-
- Get the package again, then. —Emufarmers(T|C) 01:00, 10 March 2009 (UTC)
-
[edit] Apache port is not 80
Hi, guys. My Apache is running on another port, e.g. 81. So I can reach my wiki through http://ip.ad.dr.ess:81/wiki. But I want access it by domain name. Let it be www.mywiki.ru. Again, when I try http://www.mywiki.ru:81 everything works just fine. But how can I instruct DNS-server to hide port number? There is a "web-hop" on everydns.net for example, which forwards www.mywiki.ru directly to http://ip.ad.dr.ess:81/wiki but there is full ip with port number in address and all links. When I change wgserver nothing happens (url and port number are in address and in wiki-links). What can I do to mask my port number? Thanks.
- This is unrelated to MediaWiki; you can ask EveryDNS, but what you're asking for is probably impossible. —Emufarmers(T|C) 01:02, 6 March 2009 (UTC)
[edit] After moving the LocalSettings.php file, hitting the url http://localhost/mediawiki-1.14.0/index.php I get "Please setup the wiki first" message again
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0
- URL:
Running Solaris 10, latest recommended patches, using webstack (formerly coolstack from sun). I untarr'ed the mediawiki-1.14.0 tarball under my parent directory of /var/opt/webstack/apache2/2.2/htdocs/. It created the mediawiki-1.14.0 directory under there. chmod'ed the config directory, went to the url http://localhost/mediawiki-1.14.0, it had NO errors, I moved the config/LocalSettings.php file to /var/opt/webstack/apache2/2.2/htdocs/ and hit the above url again, it repeats the message "Please Setup The Wiki First.". I just did that...no errors in my errors_log for apache either. it's like it's going in a circle and I have no idea how to get past it. I would like to get this running soon. Thanks!
—Rmarquez 23:35, 5 March 2009 (UTC)
- If MediaWiki is in /var/opt/webstack/apache2/2.2/htdocs/mediawiki-1.14.0, then that's where LocalSettings.php should go. —Emufarmers(T|C) 01:04, 6 March 2009 (UTC)
[edit] LDAP Authetication Problems
- MediaWiki version: 1.12.0
- PHP version: 5.1.6
- MySQL version: 5.0.22
- URL: Intranet only
For some WIKIs that are running in our Intranet, I need to authenticate our users using LDAP and the following two WIKI groups: Readers (testgroup) and Writers (testgroup2). Anonymous should not be able to read the WIKI pages.
my problem is, that using the syntax:
$wgLDAPRequiredGroups = array(
"testLDAPdomain"=>array(
"cn=testgroup,ou=groups,dc=LDAP,dc=example,dc=com", "cn=testgroup2,ou=groups,dc=LDAP,dc=example,dc=com" ),
I cannot define different rights for users in the testgroup than the users in the testgroup2 have. This mean, if a user is in one of each two groups, he will always get the Writers access.
Can you please explain how I can define two groups, with different rights (Readers & Writers)?
—80.254.163.214 15:38, 7 March 2009 (UTC)
[edit] Fatal error: Class 'ArrayIterator' not found in....
- MediaWiki version: 1.14.0
- PHP version: 5.0
- MySQL version: 4.1.22
- URL: http://www.jamesrregan.com/solitude/index.php?title=Main_Page
Fatal error: Class 'ArrayIterator' not found in /home/u4/moonman/html/solitude/includes/StringUtils.php on line 179
—96.249.206.61 18:37, 8 March 2009 (UTC)
- ArrayIterator is part of the Standard PHP Library, so you need to have PHP compiled without --disable-spl. iAlex 22:27, 20 March 2009 (UTC)
[edit] Using existing database
- MediaWiki version: 1.14.0
- PHP version: PHP 5.2.9-1
- MySQL version:
Is it possible to use an existing database on MediaWiki? I have another application that uses a MySQL database and I'd like to know if I can use the users that are already in it in the wiki.
—Vinibravo 01:48, 11 March 2009 (UTC) Vinicios Bravo
- MediaWiki 1.14.0
- PHP 5.2.9 (apache2handler)
- MySQL 5.0.67-community
- URL: http://216.14.114.163/~mcyclope/wiki/index.php/Portal:Cultural_Geography_%26_People_Groups
We are installing and configuring a new wiki installation (after transfering a former database that we used on a different server. We have not gotten this error before. There are four lines of "Documentation" with the following statement following each:
!-- Add categories and interwikis to the /doc subpage, not here! -- /noinclude (portal title here) span style=font-weight:bold;nbsp;·/span noinclude
Any suggestion on how to fix this?
—Drmissio 23:29, 16 March 2009 (UTC)Drmissio
[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] The installation script claims that I have an old version of PostgreSQL
- MediaWiki version: 1.14.0
- PHP version: 5.2.9-1
- PostgreSQL version: 8.2.13 and 8.3.7 (same problem with both)
- HTTP server: Apache 2.2.11
- OS: Windows XP Home Edition SP2, Swedish
The installation script aborts every time with this error message:
Checking the version of Postgres...FAILED. Required version is 8.1. You have 7.3 or earlier
I was using version 8.3.7 of PostgreSQL the first time I tried. I had no problems with version 8.2.5 on my laptop, so I decided to downgrade, but I didn't find 8.2.5 at postgresql.net, so I downgraded to 8.2.13. And of course I got the same error message. A Google search for "checking the version of postgres" (with the quotation marks) shows that several people have run into the same problem on Linux systems. Is there a bug in the installation script?
—83.250.175.16 12:49, 4 April 2009 (UTC)
I said that I had no problems on my laptop, but I should also have mentioned that I ran MediaWiki 1.9.3 on that (with PHP 5.2.5 and PostgreSQL 8.2.5).
--83.250.175.16 13:15, 4 April 2009 (UTC)
I tried MediaWiki 1.13.5 instead, and got a few steps further.
- Checking tsearch2 permissions...OK
- Verifying tsearch2 locale with English_United States.1252...not found
- Attempting to set default tsearch2 locale to "English_United States.1252"...
Warning: pg_query() [function.pg-query]: Query failed: ERROR: permission denied for relation pg_ts_cfg in C:\Program\Apache Software Foundation\Apache2.2\htdocs\wiki\includes\db\DatabasePostgres.php on line 576 FAILED. Please make sure that the locale in pg_ts_cfg for "default" is set to "English_United States.1252"
--83.250.175.16 17:09, 5 April 2009 (UTC)
I gave up eventually and used MySQL instead. I didn't have any significant problems after that.
--83.250.175.16 23:25, 11 April 2009 (UTC)
I also had the problem while installing MediaWiki 1.14.0 that the script failed with
Checking the version of Postgres...FAILED. Required version is 8.1. You have 7.3 or earlier
I could solve the problem by editing /etc/postgresql/8.3/main/pg_hba.conf, changing
code all all ident sameuser
to
code all all md5
and then manually creating the DB user and the DB table.
--41.145.90.167 00:09, 19 April 2009 (UTC)
And under Windows ?
i have the same problem((( what to do??? it doesnt work under windows(((
[edit] Login error CIWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
- MediaWiki version: 1.14
- PHP version: 5.2.1
- MySQL version: 5.0
- URL: Private Network, it is not externally accesible.
Hi,
I just installed the latest version of Media Wiki from your website, as I thought I had a problem with the older version.
The older version would allow access to the wiki pages using hostname & IP while using Firefox. If i wanted to use IE, I would need to use only the IP address of the Wiki.
Now with the latest version of the Wiki, I have the same problem again! i.e. when I try to login using Hostname while using IE, I get the same error again:
Login error CIWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
Even though cookies are enabled and this has been tested from various different machines.
I am running it on Server 2003 R2, all updates, with the above versions of software.
On Google I have come across a few people with the same issue, but there were no solutions provided.
Please can some one shed any light on this?
many thanks. impee.
—82.44.93.236 08:40, 9 April 2009 (UTC)
[edit] GNU diff3 not found (Debian Etch)
- MediaWiki version: 1.14.0
- PHP version: PHP 5.2.0-8+etch13
- MySQL version: 5.0.32 (Ver 14.12, GNU Linux)
- URL: intranet
The MediaWiki 1.14.0 Installation installation page returns the following errors on a GNU Linux system (Debian Etch) running Plesk 8.6. The wiki is located in an accessible subdomain: http://wiki.domain
- Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/lib/php5) is not within the allowed path(s): (/var/www/vhosts/domain/subdomains/wiki/httpdocs:/tmp) in /var/www/vhosts/domain/subdomains/wiki/httpdocs/config/index.php on line 441
- Warning: Your session.save_path value (/var/lib/php5) appears to be invalid or is not writable. PHP needs to be able to save data to this location for correct session operation.
- GNU diff3 not found.
- Script URI path: empty
If I run diff3 in a terminal (/usr/bin/diff3 --version) the correct information is returned:
diff3 (GNU diffutils) 2.8.1 Copyright (C) 2002 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Written by Randy Smith.
What's the problem with the "open_basedir restriction" and why MediaWiki couldn't find the diff3 command? Thanks in advance.
—RIMOLA 15:15, 10 April 2009 (UTC)
[edit] Newly installed mediawiki missing standard appearance/skin. How do I get these to work?
- MediaWiki: 1.10.4
- PHP: 5.2.6 (apache2handler)
- MySQL: 5.0.45
- URL: http://lettvin.net/wiki
I have installed mediawiki before, on ubuntu, without this problem.
I am new to my godaddy virtual private server running RedHat Fedora core.
See http://lettvin.net/wiki/index.php/Godaddy for installation details.
As you will see, mediawiki seems to have lost its skin and organization.
What needs to be done to restore a skin and page organization?
—24.60.117.38 22:47, 15 April 2009 (UTC)
[edit] install failed to create table but connect success
- MediaWiki version: 1.6.12
- PHP version: 4.3.9
- MySQL version: Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (x86_64) using readline 4.3
- URL: intranet
Since my company already use Apache/2.0.52 set up a webserver. So what i only need to do is to build my own mysql and install mediawiki. Mysql is running now, but when i install mediawiki, run index.php, fill in everything need, then only following info displayed. Since mediawiki can connect to mysql, why it cannot create table? Does any specialist no the reason? Thanks!
Generating configuration file... * Database type: mysql * Attempting to connect to database server as hspice...success. * Connected to 4.1.20 * Database mysql exists * Creating tables... using MySQL 4 table defs...Query "CREATE TABLE `user` ( user_id int(5) unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL default , user_newpassword tinyblob NOT NULL default , user_email tinytext NOT NULL default , user_options blob NOT NULL default , user_touched char(14) binary NOT NULL default , user_token char(32) binary NOT NULL default , user_email_authenticated CHAR(14) BINARY, user_email_token CHAR(32) BINARY, user_email_token_expires CHAR(14) BINARY, user_registration CHAR(14) BINARY, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "Access denied for user 'hspice'@'%' to database 'mysql' (10.130.25.194:3306)".
—61.170.194.191 02:44, 19 April 2009 (UTC)
- Your database user to have the CREATE privilege for your database. If you don't want to give that privilege to the "hspice" user, you can use the superuser to handle the wiki installation (the installer has separate fields for you to enter the superuser credentials if you want to do this). —Emufarmers(T|C) 04:52, 19 April 2009 (UTC)
[edit] Install problem. Stuck on install. "Please set up wiki first" message keeps appearing
- MediaWiki version: 1.14.0
- PHP version: 5.1.6
- MySQL version: 5.x
- URL: http://wiki.quattroworld.com
I followed the instructions and installed the Wiki. No problems so far!! Then it tells me to move the LocalSettings.php file to the root directory and change the name or remove the config directory. Done and done. I go to the index page hoping to see something cool and I get the "Please set up the wiki first" message!? It is not finding the LocalSettings.php file. It is there and I set chmod to 600 and tried chown several different users including root.
I am very excited to get this up and running and I can't get past this step.
Please help!
Josh@QuattroWorld.com
—71.112.47.222 22:20, 21 April 2009 (UTC) Also - just for clarification: I moved ALL the files out of the MediaWiki_1.14.0 folder and into the root httpdocs folder.
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
I get authenticated by typing in the right user name and password but then I get sent to the main page and it shows my IP address and still wants me to log in as if I had not.
—96.35.139.178 22:00, 28 April 2009 (UTC)
[edit] MediaWiki System Support
[edit] (RESOLVED) All web pages I access from IE or Firefox look lined up verticaly
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.45
- URL: still in the intranet space
I am running Apache 2.2.10 on Fedora 8. It does no matter which skin I appply. I have installed a few additional skins: Daddio, Drupal and WordPress. When a new user logs in, the page look changes but all the UI elements are still lined up vertically.
Thank you for your time and help, Alex —Alexkovsky 18:30, 5 December 2008 (UTC)
- Most likely your issue is described here (including a solution)
- Tamalotes 05:59, 18 January 2009 (UTC)
[edit] How can I put our Bulletin Board in our MediaWiki?
- MediaWiki version:1.7.1
- PHP version: 5.2.0-8+etch11
- MySQL version: 5.0.32-Debian_7etch6-log
- URL: local
So my problem is, I want to take our Bulletin Board into our Mediawiki!
Are there any opportunitys? I've got no idea except the Copy-Paste function!
But we have so many textes in it that it will be stupid to copy all the textes :)
Many Thanks
Marc — 08:54, 10 December 2008 (UTC)
[edit] Merging data from Confluence into MediaWiki
- MediaWiki version: 1.13.2
- PHP version: 5.1.6 (apache2handler)
- MySQL version: 5.0.16-standard-log
- URL: internal
Hello,
I have been using Confluence and MediaWiki side by side for a while now. All users have stopped confluence and now use MediaWiki but i am trying to merge the data over from confluence into the existing MediaWiki. I am wondering if somebody has accomplished this migration before and how it is done. Thanks
-Anthony acaiafa@mypublisher.com December 12 2008 —65.242.204.162 23:35, 12 December 2008 (UTC)
[edit] MediaWiki sites / scan for buzzwords
- MediaWiki version: 1.13.3
- PHP version: 5.2.0-8+etch13
- MySQL version: 5
- URL: ---
Hi everyone ;-)
Are there any Tools for MediaWiki that scans the entire Page for Page-Buzzwords and automatically sets a Link to the existing Site?
Example: maybe i´m writing an article with a topic like "server-management" and in this article is a word like "SQL-Server"... this tool should automatically sets the reference to the exiting Page "SQL-Server"...
Greetings,
Seth —62.96.20.21 10:51, 19 December 2008 (UTC)
[edit] Username specifications
- MediaWiki version: 1.13.0
- PHP version: 5.2.5
- MySQL version: 5.0.51a
- URL: (intranet)
Why does a username must start with a capitalized letter? Is this just for formal reasons or does it produce a conflict with the system, PHP or MySQL?
I'd like to add a tilde to the names of ex-users like "~ Alfred" to get them sorted below the active users. Will it work that way?
Thank you very much and hava merry x-mas :o) —85.115.0.242 16:17, 19 December 2008 (UTC)
- Not an answer to your issue, but Why dont you just apend a Z or a Z- to the beginning of the username, this allows you to conform to the requirements, it sorts the user to the end of the list, and if anyone asks you could say that those are sleeping users. --Luminary 22:45, 2 February 2009 (UTC)
Hi Luminary, thanks for your idea, but it is not quite the seperation of sleeping users I have in mind. Meanwhile I browsed the user list of the Wikipedia and found numerous different letters and symbols that are listed below the alphabet. Obviously the technical demand is only not to use a small letter, but anything else. On my test-environment the tilde-combination seem to work properly. I think I'll do it that way. But it's really a pity, that none of the staff is answering this simple question :o( Bye --62.214.242.56 21:48, 7 February 2009 (UTC)
[edit] Configuring MediaWiki With nginx
- MediaWiki version: 1.13.3
- PHP version: 5.2.5 (apache2handler)
- MySQL version: 4.1.22-standard
- URL: http://www.zeldawiki.org/
Hello, all - I'm experiencing quite the dilemma. I've recently moved to nginx from apache, but there seem to be no resources to configure URL rewriting with nginx and MediaWiki. As a result, all of the image pages on Zelda Wiki.org produce a 404 error. I'd like to keep my URL structure the same (as in, site.com/pagetitle), but have no idea how to configure nginx to support this. If anybody has any clue how they would go about configuring MediaWiki with nginx, please help!
Thanks for your time! —69.115.161.97 00:20, 25 December 2008 (UTC)
[edit] HTML rendering order vs. Transclusion
- MediaWiki version: 1.14alpha (r43900)
- PHP version: 5.2.1
- MySQL version: 5.0.22
- URL: http://reformedword.org
Meta uses a template H that just does this:
<span title="{{{1}}}">{{[2}}}</span>
That is, it takes the first parameter and makes it the roll-over (hover) text for the second parameter. My problem is when I try to do this:
<span title="{{:{{{1}}}}}">{{{2}}}</span>
That is, take the first parameter as a page (hopefully small) to transclude and make it be the text of the roll over. My suspicion is that there is some rule of HTML rendering order or allowed moves that prevents the text from being transcluded before the HTML is rendered. When I look at the source of the page on my wiki, I see a span without any title= attribute at all. Do I need to use Manual:$wgRawHtml or one of the extensions, or is there some other variable which might help me? Thanks for your time. —Aquatiki 17:23, 28 December 2008 (UTC)
[edit] Notification on changes without login
- MediaWiki version: 1.13.3
- PHP version: 5.2.4
- MySQL version: 5.0.51
We use our wiki to announce changes on our network. Every user is encouraged to watch the news page so he is getting updates via email. The problem is that after such an email is sent, the user has to visit the news page in order to get further notifications. Furthermore visiting only is not sufficient, he has to log in.
Is it possible to configure MediaWiki to send out notification-emails whether the user has visited the page since the last change or not?
—Windy 14:03, 5 January 2009 (UTC)
[edit] Admin accounts?
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
I need to know how handle admin side that is checking the article and deleting it if it is not following regulations in my customised Wikipedia which I have installed last week for my organisation. In other words I want to know the procedure to set admin side after its installation, which will take care of deleting the contents with unwanted or wrong information.
Rakesh Pandita, Software Deveoper —Rakesh.pandita 04:48, 6 January 2009 (UTC)
[edit] how to send automatic Emails to users when a New page is created
- MediaWiki version: 1.12
- PHP version: 5.0
- MySQL version: 5.0
- URL: intranet
Wanted to know if there is a way to intimate all wiki users whenever a New page is created ?
Thanx —59.164.116.156 17:38, 7 January 2009 (UTC)
[edit] Installed MW, confirmation screen ok, goto home page and get IE blank page
- MediaWiki version: 1.13.1
- PHP version: 5.0.5
- MySQL version:
- URL: Internal network can not suppply
When I go to main page (http://192.168.1.9/index.php?title=Main_Page) says Ie cannot display page.
Installation report:
Please include all of the lines below when reporting installation problems. PHP 5.0.5 installed Found database drivers for: MySQL 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 server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (d:\apps\php505\sessiondata) appears to be valid. PHP is configured with no memory_limit. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: D:\data\Inetpub\wwwweb_wiki Script URI path: Installing MediaWiki with php file extensions 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 fwwiki...success. Connected to 4.1.16-nt; enabling MySQL 4.1/5.0 charset mode Attempting to create database... Created database fwwiki Creating tables... done. Initializing statistics... Created sysop account admin2. Creating LocalSettings.php
—Rjdjohnston 22:17, 8 January 2009 (UTC)
[edit] Editing Conflicts that won't go away.
- MediaWiki 1.12.0
- PHP 5.2.6 (cgi-fcgi)
- MySQL 5.0.51-log
- URL: http://securitywire.org
I am repeatedly running into Editing Conflict errors - even when I am the ONLY user editing. How can I just turn this off? Because doing as it says and merging my changes only resorts to another Editing Conflict. Im in a conflict loop and its driving me crazy.
—oldr4ver 14:42, 9 January 2009 (UTC)
[edit] a wiki where users can claim their record, and upload documents
- MediaWiki version: 1.13.3
- PHP version: 5.1.1
- MySQL version: 5.1
- URL: none yet
We're working on a project whereby we need the notion of a claimant-- someone who owns the John Doe record, because they are indeed John Doe, and then they upload 1-n documents in html, word or pdf format, which will be converted to html if not html to start, that any other user can peruse, and comment upon. Will MediaWiki support such an endeavour?
—Petecamp 20:39, 10 January 2009 (UTC)
[edit] (RESOLVED) MediaWiki editor is removing the leading spaces at the front of lines when editting
- MediaWiki version: 1.10.0
- PHP version: 5.0.3
- MySQL version: 5.0.41
- URL: internal intranet, no public url
If I create a page with lines with leadings spaces (e.g. a block of formatted source code within source tags) and save it, it is displayed correctly, with the lines in a box. But when I edit the page again, within the editor the leading spaces are all removed from the text, and I have to remember to put them all back in again manually. I have searched the web and the help pages but cannot find what setting is causing this in my MediaWiki. Help would be appreciated! Thanks, Cathy Hemsley.
- Note: I have found what appears to be the fault, by debugging the source code. It is the SelectCategory and SelectCategoryTagCloud extensions that are causing the problem, afaics, when they strip out the categories they are using 'trim' to remove white space: if I change this in the code to 'rtrim' it seems OK.
- —213.106.210.154 09:57, 13 January 2009 (UTC)
[edit] (RESOLVED) authorisation system
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
I would like to ask if there is any authorisation system in MediaWIki. I need to know if MediaWiki supports authorisation permission to confirm the content (eg. editor write something and then moderator confirm content to make it visible on the webpage). Thanks for your help.
—89.76.156.101 10:11, 14 January 2009 (UTC)
- You should be able to do this with the FlaggedRevs extension. —Emufarmers(T|C) 06:21, 15 January 2009 (UTC)
[edit] (RESOLVED) No wikisysop acct
- MediaWiki version: 1.13.3
- PHP version: 4.4.9
- MySQL version: 5.0.67
I installed MediaWiki for the first time and it seems to be running fine, but it appears I did not create a wikisysop account. How do I change this manually? I don't want to to reinstall.—Steve3849 08:12, 15 January 2009 (UTC)
- Sorry, the account exists. I was not being case sensitive. Problem solved. Steve3849 08:36, 15 January 2009 (UTC)
[edit] Access error when creating an article
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.51b-community-nt
When trying to create an article I get:
Access error
or:
Permission errors - You do not have permission to edit pages in the Page namespace.
This doesn't appear with discussion pages.
—91.78.223.109 19:18, 15 January 2009 (UTC)
I assume, like me, that you followed the example as per http://www.mediawiki.org/wiki/Manual:Preventing_access#1.10_upwards , and tried to setup your wiki such that only syspos could edit pages. The value that goes inside the array() part is for rights, not user groups, which was the mistake I made. So try something like array( 'editinterface' );, as by default, only syspos have that right.
[edit] New Skin problem
- MediaWiki version: 1.9.3
- PHP version: 5.0
- MySQL version: 5.0
- URL: http://www.thegeckocam.com/wiki/index.php?title=Hoofdpagina
Hi I've just installed a new skin and set it but the problem is, it only starts when I log in my own site but it doesn't show when you just look at the site and not log in.
Can somebody help me because then my site is finisht.
Thanks Greetfull.
--77.164.218.186 10:58, 16 January 2009 (UTC)
[edit] Cant write swedish letters å, ä and ö
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0
- URL: http://www.skoltidningswiki.se/
i cant use the swedish letters å,ä and ö if i do so i get error 500 in internet explorer and just a white page in Firefox when clicking submit
—Itanium 22:14, 16 January 2009 (UTC)
Add this to you LocalSettings.php:
ini_set( 'memory_limit', '32M' );
Had the same problem but this solved it.
[edit] Deleting error
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (apache2handler)
- MySQL version: 5.0.67-community
When trying to delete an article I get 500 Internal Server Error...
Ph-Menace Owner 18:55, 17 January 2009 (UTC)
[edit] blank pages
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Hi there,
i got a strange problem:
After editing a site, by clicking on save or preview, all i get is a blank page. I am really helpless. Every hint is appreaciated.
—62.214.217.175 06:09, 21 January 2009 (UTC)
- Did you check Manual:Errors and Symptoms#You see a Blank Page? --:bdk: 09:38, 22 January 2009 (UTC)
[edit] Case insensitivity article names for Russian language
- MediaWiki version: 1.12.3
- PHP version: 5.2.8 (apache2handler)
- MySQL version: 5.1.30-community
- URL:
Hello!
I`ve got the following problem - MediaWiki treats Russian article`s name in case sensitive way. For example, "RUSSIAN ARTICLE" and "Russian article" (in Russian symbols) are treated as different articles, while "ENGLISH ARTICLE" and "English article" are treated as the same article. How may I make MediaWiki to be case insensitive for article names in Russian language? Is there any config param of tweak available?
Thank you in advance!
Gleb.
—81.211.120.22 09:53, 22 January 2009 (UTC)
[edit] Can Not Edit Sidebar (SOLVED)
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-log
- URL: http://karaoke.kjams.com/wiki/Main_Page
- Auth_phpBB version: 3.0.3 (2008-03-03)
I've googled. I've searched high and low. I've looked in the forums, I've looked everywhere. In all these places I see people who have the exact same problem as I do, and nobody has offered a solution that actually works.
I am the sysop, I own the wiki. But there is no edit tab on the Sidebar page.
http://kjams.com/screenshots/no_edit_sidebar.png
I am using Auth_phpBB, and i suspect it is interfering (however removing it did not solve the problem, but that also does not rule it out). And yes I tried ?action=edit, to no avail. Why am i able to delete a page (an obviously sysop priv) but I can't edit it?
I would be satisfied to know how to grant myself or a specific user permission to edit the Sidebar.
—Davecotter 00:54, 25 January 2009 (UTC)
Update: I solved this by deleting the page and re-creating it. Now i have edit privs again Davecotter 21:51, 25 January 2009 (UTC)
[edit] Error
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
(all this doesn't work)
I can't access my wiki, I get this error: Error, Setup.php must be included from the file scope, after DefaultSettings.php
My host: http://klas1s1.oxyhost.com/wiki/
—62.140.137.30 19:56, 25 January 2009 (UTC)
[edit] Strange output of contents
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.51a
- URL: intranet only
Hello,
I encounter misformatting on our intranet website. We have a running mediawiki on our intranet since July 2008. We didn't have had any problems, neither formatting nor anything else. And we didn't manupulate the database or contents through any other tools but mediawiki only! But since today apparently random errors are occuring, without having done anything on the server (no update or something like that):
- our sitename is shown as "{{{ITENAME}}}" on recently edited pages, which is the strongest hint I can give
- the letters before and after some line endings are getting scrambled, even when no editing is done, but only saving the unchanged contents once again.
I have difficulties to produce the error to show the effects more clearly, but I think, the misformatting of {{{ITENAME}}} should be enough to get a clue ??
Norbert —84.145.134.116 12:38, 27 January 2009 (UTC)
Update: I found a description of a similar bug on bugzilla.wikimedia. The solution was to raise the memory limit for php above 20Mb, but our setting is already 128Mb, so it should be no memory issue
—Norbert 14:17, 27 January 2009 (UTC)
[edit] Creating templates
- MediaWiki version: 1.13.1
- PHP version: 5.2.6 (isapi)
- MySQL version: 5.0.67-community-nt
- URL:
Is it possible to create a template or checklist from which each new entry can be created? We want each user in our organization to use the same list of categories when creating a new page, and we thought that a checklist, where they could simply select the appropriate categories, would be the most convenient and help avoid human error or data-entry issues. A template would be similarly helpful.
—Sputnika08 16:46, 27 January 2009 (UTC)
- MediaWiki version: 1.10.2
- PHP version: 5.2.2
- MySQL version: 5.0.41
- URL: intranet only
For some WIKIs that are running in our Intranet, I need to authenticate our users using LDAP and the following two WIKI groups: Readers (testgroup) and Writers (testgroup2). Anonymous should not be able to read the WIKI pages.
my problem is, that using the syntax:
$wgLDAPRequiredGroups = array(
"testLDAPdomain"=>array(
"cn=testgroup,ou=groups,dc=LDAP,dc=example,dc=com",
"cn=testgroup2,ou=groups,dc=LDAP,dc=example,dc=com"
),
I cannot define different rights for users in the testgroup than the users in the testgroup2 have. This mean, if a user is in one of each two groups, he will always get the Writers access.
Can you please explain how I can define two groups, with different rights (Readers & Writers)?
—194.150.244.93 12:22, 29 January 2009 (UTC)Alex Durrer
[edit] LDAP Authentication
- MediaWiki version: 1.12.0
- PHP version: 5.1.6
- MySQL version: 5.0.22
- URL: Intranet only
For some WIKIs that are running in our Intranet, I need to authenticate our users using LDAP and the following two WIKI groups: Readers (testgroup) and Writers (testgroup2). Anonymous should not be able to read the WIKI pages.
my problem is, that using the syntax:
$wgLDAPRequiredGroups = array(
"testLDAPdomain"=>array(
"cn=testgroup,ou=groups,dc=LDAP,dc=example,dc=com",
"cn=testgroup2,ou=groups,dc=LDAP,dc=example,dc=com"
),
I cannot define different rights for users in the testgroup than the users in the testgroup2 have. This mean, if a user is in one of each two groups, he will always get the Writers access.
Can you please explain how I can define two groups, with different rights (Readers & Writers)?
—194.150.244.93 12:28, 29 January 2009 (UTC) Alex Durrer
[edit] I can see my editing only when i'm logged in
- MediaWiki: 1.6.10
- PHP: 4.3.9 (apache2handler)
- MySQL: 4.1.22
- URL: http://socialwork.wiki.co.il
Since last week, i can only see my editing on my wiki site, when i'm logged in. When i'm signing out of my wiki site, trying to see the changes i made - The old page data appears, without the changes i made. I tried to check in different computers, but the problem persists. More strangely that there are few pages that does work - I can edit them and see the changes i make, even when i'm logged out. I tried to find any differences between the pages who works to those that doesn't work - didn't find any...
Most Regards, Energidi 08:47, 2 February 2009 (UTC)
[edit] Unable to create or edit after pretty URLs installed.
- MediaWiki version: 1.12.0
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.67-community-log
- URL:
Hello,
I recently installed pretty URLs using http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access
After running into problems with pages not displaying I found some solutions and got the wiki to display.
Here are my changes to teh LocalSettings.php
$wgScriptPath = "/wiki"; # Path to the actual files (right part of first rewrite rule). Should already be there $wgArticlePath = "/$1"; # Virtual path (left part of first rewrite rule). MUST be DIFFERENT from the path above! $wgUsePathInfo = true;
$actions = array('view', 'edit', 'watch', 'unwatch', 'delete','revert', 'rollback', 'protect',
'unprotect','info','markpatrolled','validate','render','deletetrackback','print',
'dublincore','creativecommons','credits','submit','viewsource','history','purge');
foreach ($actions as $a)
$wgActionPaths[$a] = "$wgScriptPath/action/$a/$1";
Here is my .htaccess file
RewriteEngine On RewriteRule ^([^/]*)$ /wiki/index.php?title=$1 RewriteRule ^/([^/]*)$ /wiki/index.php?title=$1 Options +FollowSymLinks
The wiki displays properly, but I am not unable to edit content, create content or search. When searching it always comes up with no results.
—76.246.107.198 21:28, 4 February 2009 (UTC)
[edit] MediaWiki start page
- MediaWiki version: 1.13.3
- PHP version: 5.1.6 (apache2handler)
- MySQL version: 5.0.45
- URL: http://www.nutripedia.se/wiki/
Hello dudes! :-)
I have installed MediaWiki and used the short url as pointed out here: http://www.mediawiki.org/wiki/Short_URL#Setup_steps (I asked my webhost to check httpd.conf) And it works fine. My issue is that I want the entrance to be loading the MediaWiki script as well. So that http://www.nutripedia.se/ loads up MediaWiki Start page. How would you go about to do that? :-)
Happy for any answers I can get, I'm a newbie on MediaWiki.. Cheers, Erik
—193.11.226.25 21:42, 5 February 2009 (UTC)
[edit] Running MediaWiki inside a template like phpBB3
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi)
- MySQL version: 5.0.67-community-log
- URL:
I feel like it would help others if there were a solution to this.
Most of my site is based on phpBB3. That allows for creating template pages and inserting a .php page within the standard framework. I tried to simply run the index.php from inside the phpBB template, but there were problems with finding files / directory paths. I manually edited some of the paths just to see if it might work, but there were other problems - calling member function getVal() on a on-object, for example.
PhpBB is installed in the root directory, and MediaWiki is inside /wiki. I guess it might solve some problems to put MediaWiki in the root directory, but that would be pretty bad for organization.
I also tried including the phpBB header code in the MediaWiki file but that didn't work well at all.
Since there's an excellent extension to share logins, it would be fantastic to be able to share the header from phpBB3 and keep the site continuity. Does anyone have any ideas how to accomplish this?
Thank you very much for your time,
Matt
—75.34.66.85 20:35, 6 February 2009 (UTC)
[edit] $wgGroupPermissions['*']['edit'] = false causes the "edit" link to be shown
- MediaWiki version: 1.5.8
- PHP version: 5.2.5 (cgi-fcgi)
- MySQL version: 5.0.67-log
- URL:
I thought that $wgGroupPermissions['*']['edit'] = false; in LocalSettings.php could cause the "edit" link not to appear when an user is not logged in (documentation doesn't say it explicitly), but maybe I was wrong. Can you help me to hide the "edit" link when the user is not logged in?
Thanks Jaime —190.8.102.216 20:21, 7 February 2009 (UTC)
- Upgrade MediaWiki. —Emufarmers(T|C) 04:34, 8 February 2009 (UTC)
[edit] Problem with character set caused by maintainance/update.php
- MediaWiki version: 1.13.4
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
- URL:
Hi all, I try to upgrade from mediawiki 1.12.0 to mediawiki 1.13.4 and I watch corrupted non-ascii characters. Each character is displayed as 2 characters, it seems to be, that it displays the 2 bytes of the corresponding utf8 value as sepparate characters.
To find out what causes the problem I did the following:
- I made 2 copies of the database, one to test with 1.12.0 and one to test the upgrade.
- I made a additional copy of my mediawiki 1.12.0 and I configure it to use the first database copy. It works fine.
- I install 1.13.4, copy the images directory and configure it to use the second database copy. Now I perform the upgrade.php script.
- I can connect to mediawiki 1.13.4, but any non-ascii caracter is corrupted (2 characters). The copy of 1.12.0 is not changed and working.
- Now I configure the 1.12.0 installation to use the upgraded database, the characters are corrupted in the same form like on 1.13.4.
I switch back to the unchanged database schema and anything is o.k.
The output of mysql status:
mysql Ver 14.12 Distrib 5.0.67, for suse-linux-gnu (x86_64) using readline 5.2 Connection id: 351 Current database: wikidb_latin1 Current user: root@localhost SSL: Not in use Current pager: less Using outfile: Using delimiter: ; Server version: 5.0.67 SUSE MySQL RPM Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client characterset: latin1 Conn. characterset: latin1 UNIX socket: /var/lib/mysql/mysql.sock Uptime: 1 hour 22 min 31 sec
What is to do to perform a upgrade without corruption of data?
--TWerner 14:55, 16 February 2009 (UTC) —TWerner 14:55, 16 February 2009 (UTC)
[edit] Is there a way to 'delay' upload of a page change, pending approval by an admin?
- MediaWiki version: .5rc4 (CVS REL1_5 200508302300) special version EnotifWiki v3.55 + FCKeditor 2.0
- PHP version: 5.1.2 (isapi)
- MySQL version: 5.0.7-beta-nt-log
- URL:
We are contemplating enabling our current internal wiki to be public-facing, such that non-employees would have read/edit access to the wiki. Is there a way to somehow 'delay' their edits until/unless approved by an admin? I know that admins are able to 'roll back' a page to a previous version, thus removing any graffiti or unwanted content. Thanks, Matt
—209.234.212.2 21:20, 16 February 2009 (UTC)
- Use the FlaggedRevs extension. —Emufarmers(T|C) 22:26, 16 February 2009 (UTC)
[edit] Skin won't load after short URL edit
- MediaWiki version: 1.13.4
- PHP version: 5.2.8
- MySQL version: 5.0.67-community
- URL: http://ivantoar.co.cc/wikicked
I am installing MediaWiki in shared hosting. I install it under http://ivantoar.co.cc/wikicked. (on a subdirectory). I tried to make my URL short, but after completing the steps, my wiki skin doesn't load. Everytime I use alias in my htaccess file, it shows me internal server error 500. What should I do?
—118.137.18.176 11:02, 17 February 2009 (UTC)
- Use a different method. You will not be able to use aliases on shared hosting. —Emufarmers(T|C) 23:42, 17 February 2009 (UTC)
Reply-------
So can please you give me the different method?
- There are lots of them listed on the short URL page. —Emufarmers(T|C) 17:40, 18 February 2009 (UTC)
[edit] Can I start Outlook with MediaWiki?
- MediaWiki version: 1.12.0 (r1)
- PHP version: 5.2.5 (apache2handler)
- MySQL version: 5.0.51a
- URL: intranet
Hi,
I would like to start e.g. Outlook by clicking a link in my wiki. Is this somehow possible?
(I know the "mailto" feature, but thats not what I'm looking for)
Best regards, —dvL 10:22, 20 February 2009 (UTC)
Edit: I've found this Extension. You can start e.g. Outlook by typing <ext>outlook://</ext>..
[edit] Replicating Wiki to a second machine
- MediaWiki version: 1.13.1
- PHP version: 5.2.4
- MySQL version: 5.0.45
- URL: intranet.
My wiki is hosted on a single machine (Machine A) for the use of a group of people. I have set up a second machine (Machine B) with the same setup as above to work as a back up machine. What I want to happen is for Machine A to be the master machine and then have Machine B update itself from Machine A.
I have looked at replication on the MYSQL pages, but setting up a replica doesn't seem to replicate the actual data.
Is there a Guide on how to have the Wiki replicate itself?
While I can find some info about some of the settings within wiki (e.g. Manual:$wgDBservers ) but I'm not sure how to use them.
Thanks.
—161.12.7.4 11:35, 24 February 2009 (UTC) JB (not logged in)
[edit] Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert)
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: www.private.domain
Getting the following error:
Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert):2
from <math>2</math>
All the relevant directories are rwx, texvc excutes fine from the command line as user apache and produces the correct equation png file..
There seems to be lots of reports of this problem around the web but no real solutions!!
Any help would be appreciated! Thanks
—129.78.64.101 07:15, 3 March 2009 (UTC)
[edit] Stripped down non-editable version of Mediawiki?
- MediaWiki version: 1.14
- PHP version: 5
- MySQL version: 5
- URL: n/a
I am running Mediawiki on a subdomain (edit.example.com) to serve as the backend for my public site (www.example.com), which is running a separate copy of Mediawiki, both connected to the same database. I do NOT want the www.example version to be user-editable. The edit.example subdomain is only accessible from within my LAN, not to the world.
Since ALL management of the wiki will happen at edit.example, is there a way to strip down the code running at www.example to remove all edit functionality, user logins, maintenance scripts, many special pages, etc.? This would, in theory, be more secure (fewer attack vectors) and faster (less code to execute).
To do this, there would either need to be a 'non-editable' branch of Mediawiki, or good documentation on how to safely neuter a copy of the current Mediawiki version.
—Jonathan Kovaciny 18:08, 3 March 2009 (UTC)
[edit] CPU load at 100% while loading a page. normal?
- MediaWiki version: 1.14.0
- PHP version: 5.1.2
- MySQL version: 5.0.18
- URL: http://wiki.ereterya.com
Hello
when i am loading a page on my owm mediawiki my cpu load is gonig up to 100% during the page is loading. it is the same problem under windows and under linux suse. on my live system this effects the other sites because apache need's all cpu for loading my mediawiki. is this normal? —87.176.126.124 12:06, 6 March 2009 (UTC)
- Add more caching or get a better server. —Emufarmers(T|C) 05:54, 7 March 2009 (UTC)
[edit] The misspelling problem of wiktionary
- MediaWiki version: 1.15alpha (r47457)
- PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
- MySQL version: 4.0.40-wikimedia-log
- URL:
Hi, I mostly edit the Dutch wiktionary (nl.wiktionary.org). I have no idea where to put this question, because it may actually involve adding functionality to the software.
Many wiktionaries get confromted by 'common misspellings', e.g. "usefull" instead of "useful". Of course one could create a lemma e.g. with a redirect, but this is not a very elegant within wiktionary, because the same word that is a misspelling in one language could be legitimate word in another. Generating lemma's just for non-existent misspelled words is ugly, if only because there is no end to how far one can go with that and it inflates the lemma count.
Best solution would be if you could put an invisible tag on the right page ("useful" in this case) that would prompt the search function to respond with "Did you mean 'useful?'" if someone ran the wrong spelling "usefull" through the Go or Search buttons. Is there such a magic tag? (I don't think so but I can be wrong), if not, could such a magic word be added to the software?
Jcwf 23:42, 6 March 2009 (UTC)
[edit] CPU load at 100% while loading a page. normal? Not only on one System
- MediaWiki version: 1.14.0
- PHP version: 5.1.2
- MySQL version: 5.0.18
- URL: http://wiki.ereterya.com
Hello
when i am loading a page on my owm mediawiki my cpu load is gonig up to 100% during the page is loading. it is the same problem under windows and under linux suse. on my live system this effects the other sites because apache need's all cpu for loading my mediawiki. is this normal? —87.176.126.124 12:06, 6 March 2009 (UTC)
Add more caching or get a better server. —Emufarmers(T|C) 05:54, 7 March 2009 (UTC)
But i have the same problem on two different systems. an my windows system is a 2003 server with 2.8 GHz and 1GB Ram. I think this should be enough for an empty mediawiki? --87.176.61.157 11:27, 7 March 2009 (UTC)
[edit] sysop and bureaucrat rights not effective
- MediaWiki version: 1.14.0-45.fc10.x86_64
- PHP version: 5.2.6-5.x86_64(apache2handler)
- MySQL version: 5.0.67-2.fc10.x86_64
- URL:
Hi. I have some problem, where sysop and bureaucrat rights not effective. User in Sysop or Admin groups does not have rights: delete articles and images and other. I have upgrade from version mediawiki-1.11.2-1.el5 to version 1.13 and have this trouble. Then I have upgrade to 1.14 and trouble is present yet. What can I do? Thank.
Ivan.
—Sigru 00:52, 11 March 2009 (UTC)
[edit] Swapping username for real name?
- MediaWiki 1.14
- PHP 5.2.8
- MySQL 5.0.51a
How can I go about swapping Username for Real Name when displaying pages? We're using LDAP to log in to mediawiki but our LDAP id's are in the form of unintuitive numbers (i.e. 123456), is there a way to show a users Real Name (if they've filled it in in preferences) instead of their Username for edits etc. So when a page is edited it would show John Smith next to the edit rather than 123456, the username actually used to log in doesn't need to change so I'm not after making any backend changes, only displaying the Real Name in place of the Username. --62.172.72.131 16:09, 12 March 2009 (UTC)
[edit] Problems after moving MW site
- MediaWiki version: 1.13.2
- PHP version: 5.1.6
- MySQL version: 5.0.45
- URL: NA, internal
I have recently upgraded a server from openSuse to CentOS after dumping the mysql db and backing up all files for MediaWiki.
Previously, the site was located in /src/htdocs (I think)
but is now located in /var/www/html/Content/htdocs
There did not appear to be a setting for $IP anywhere in localsettings.php, so at the very top I added
$IP="/var/www/html/Content/htdocs";
But when I go to the site (http://serverip/Content/htdocs/ and db settings are all correct of course), it seems to redirect to an index.php5 file and the error is
"The requested URL /Content/htdocs/index.php5/Brinkman_Lab_Wiki was not found on this server"
Looking at the blw_apge table in mysql I can see that "Brinkman_Lab_Wiki" is the name of one of the wiki pages? but I am not sure why its not loading?
Any suggestions? —142.103.207.10 20:39, 13 March 2009 (UTC)
- Are you sure that $wgScriptPath is correct in your LocalSettings.php? iAlex 22:37, 20 March 2009 (UTC)
[edit] Revision IDs: Showing in history pages
- MediaWiki version: 11.0 (update to 13.4/13.5 planned)
- PHP version: 5.2.5
- MySQL version: 5.0.51
- URL: internal
Hello! Is it possible to show the revision ids in the history pages? In a "hidden" form they are there in the cur/prev links in each row, but for a certain purpose it would be more convenient to have them shown explicitly. Thanks -- JörgM 84.156.130.207 08:21, 15 March 2009 (UTC)
[edit] Accessing media wiki through a virtual host
Product Version
MediaWiki 1.14.0
PHP 5.1.6 (apache2handler)
MySQL 5.0.45
I have a virtual host setup in apache for my wiki. However, when I try to access it by typing in my virtual host name, I don't get any of the formating or logos and the links don't work. I tried the virtual host extension script. Now when I type in my virtual host name I go to the index page /var/www/. If I put anything beyond my server name for the virtual host extension script I get A 404 error. Thanks in advance for you help.
—24.121.224.132 01:16, 23 March 2009 (UTC)
[edit] Max upload size problem
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.67.d7-ourdelta-log
- URL:
I have LocalSettings set to $wgMaxUploadSize = '15MB'; However, Special:Upload reports Maximum file size: 8 MB. This was reported here but not actually resolved. My host is Godaddy. Thanks (: Tempp 04:40, 24 March 2009 (UTC)
[edit] Protection Notification
- MediaWiki version: 1.14
- PHP version: 5.2.9
- MySQL version: 5.1
- URL: intranet
its been requested to have the ability that when a page is protected by an admin and a reason is selected, to have that status and reason posted on the page itself. currently the only way a user can tell a page is protected or why is taht the edit feature is missing. you can see the reason in the revision history but is there a way to disply this info as a header or something on the page when you protect the page?
Thanks for any help you can provide.
—209.37.4.38 18:30, 27 March 2009 (UTC)
[edit] Remove the automatic uppercase in the import form
- MediaWiki version: 1.14.0
- PHP 5.2.6-0.1 (cgi-fcgi)
- MySQL 5.0.32-Debian_7etch4-log
- URL: http://wiki.mangas-tv.com
In the import page, when I choose a file, the first letter in the rename field change into an UpperCase... How can I disable this feature as I want all my files in lowercase.
—KroNoxt 06:11, 31 March 2009 (UTC)
[edit] Vanilla forums integration users
- MediaWiki version: 1.14.0
- PHP version: 5.2.9
- MySQL version: 5.0.77
- URL: None yet
I am trying to integrate Vanilla forums and Mediawiki .. I only need user integration. I have seen that there is an extension for this but this doesnot work...
"$wgAuth = new AuthPlugin_Vanilla($wgDBserver, $wgDBuser, $wgDBpassword, $wgDBname, "lum_");" ---they used the username for the database and in the "AuthPlugin_Vanilla.php" they use the same username to login to the Wiki.
Please tell me what could be the problem.. and a working code would be helpful.. Thank you.
—203.35.135.136 11:51, 31 March 2009 (UTC)
[edit] auto-generate a template showing all of the items in a category
- MediaWiki version: 1.12.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.51a-log
- URL: http://www.bogleheads.org/wiki/index.php/Main_Page
Is it possible to auto-generate a template showing all of the items in a category? For example, this Navigation Template simply lists every item in this Category. Is it possible please to have the template automatically regenerated every time a new page is added to the category? —Dan Kohn 16:09, 1 April 2009 (UTC)
- I guess the Extension:DynamicPageList can sort of resolve your problem... Kronoxt 04:16, 7 April 2009 (UTC)
[edit] Failed to confirm the E-Mail
- MediaWiki version: 1.2.0
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL: http://www.laube.ilohost.com/laube/laubenpedia/index.php?title=Hauptseite
I've copied the code for blocking all pages for non emailconfirmed users and edited the whitelist in the LocalSettings.php. Now, if a guest want to register he get the link to confirm the mail. This page (Special:ConfirmEmail/) is already added to the whitelist but it didn't work. How can i fix it? There is a ModRewrite after "Special:ConfirmEmail/". Can I use the RegExp's to solve the problem?
Some code from LocalSettings.php:
$wgGroupPermissions['*']['createaccount'] = true;
$wgWhitelistRead = array("Hauptseite", ... , "Special:Userlogin", "Spezial:Einstellungen", "Special:ConfirmEmail", "Spezial:E-Mail_bestaetigen");
# Disable for everyone.
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;
# Disable for users, too: by default 'user' is allowed to edit, even if '*' is not.
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['user']['read'] = false;
# Make it so users with confirmed e-mail addresses are in the group.
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
# Hide group from user list.
$wgImplicitGroups = array( 'emailconfirmed' );
# Finally, set it to true for the desired group.
$wgGroupPermissions['emailconfirmed']['edit'] = true;
$wgGroupPermissions['emailconfirmed']['read'] = true;
—Dofalschehase 08:25, 6 April 2009 (UTC)
[edit] Elminate spaces
Is there any way to have a function that will elminate spaces. For example: Transform "Hi bye" into "Hibye"? Erwin Springer 18:08, 10 April 2009 (UTC)
[edit] Unable to edit anything in Wiki - Logged into Master Account
- MediaWiki version: 1.14.0
- PHP version: 5.2.8 (apache2handler)
- MySQL version: 5.0.67-community
- URL: http://www.skippyw.comuf.com
Hello. I am logged into my master account on my wiki made at setup, Richard. Today, I have logged on and tried to edit some pages, even ones I didn't protect, and this error comes up: "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. " I also get another error, it says, "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please hit "back" and reload the page you came from, then try again." I have already logged out, then back in, but the error still shows. My E-Mail address, to contact me, is RMM3117@aol.com. —99.185.246.228 22:19, 13 April 2009 (UTC)
- Hm. I have had this trouble with an older MW version (1.9, I guess) - usually, when trying to work on ignoring that message, I found myself logged out at least on one of the next pages if I remember right (you usually should recognize this on the status in the right upper edge - it shows then again a "log in"); a new login (without logging out myself manually) usually resolved this problem (as if the session cookie had to be set twice to be fixed to my browsers cache). At the moment I don't get this message - probably the servers of my provider have been changed during the last 24 months (and I don't always work on my page), and meanwhile my MW is 1.13. -- JörgM 84.156.139.76 15:36, 24 April 2009 (UTC)
[edit] loss of session data error when visiting non-existing Category pages
- MediaWiki: 1.11.0
- PHP: 5.0.4 (apache2handler)
- PostgreSQL: PostgreSQL 8.1.9 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
- URL: http://example.com/?title=Category:2009_Photos&action=edit (non-public wiki)
I consistently get a this error message when visiting a Category page that does not yet exist:
-
- Sorry! We could not process your edit due to a loss of session data.
- Because this wiki has raw HTML enabled, the preview is hidden as a precaution against JavaScript attacks.
- If this is a legitimate edit attempt, please try again. If it still doesn't work, try logging out and logging back in.
My session is valid, as I never get this error editing any other non-existing regular pages.
If I add some text to the category page and save, the error goes away.
If you don't know how to fix the problem, at least let me know where to start looking in the media wiki source, and I should be able to figure it out.
Thanks, —Danbrice 13:50, 25 April 2009 (UTC)
[edit] Red links where there should be blue links
- MediaWiki version: latest
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: http://wikademia.org/Special:Statistics
My custom user types display to the edit page, but the page is already created. There are red links where there should be blue. Thanks. —Wikademia 05:20, 26 April 2009 (UTC)
[edit] Problem with day limit in Special:Recentchanges
- MediaWiki version: 1.13.4
- PHP version: 5.2.9 (cgi-fcgi)
- MySQL version: 5.0.67-community
- URL: http://joergmaske.de/wiki/ (but needs access rights except for mainpage)
Hello! Don't know why, but my Special:Recentchanges does not want to give recentchanges for more than 7 days. Also the setting in user preferences is always set back to 7 days. First I thought, the quite new $wgRCLinkDays and $wgRCLinkLimits settings in my LocalSettings.php would have a bad influence (I made an array with 60 and 180 days for having a better overview after not having edited some months), but commenting out these lines did not have any result. Shorter recentdays (1 and 3) are shown, but not more than 7. Any suggestions? Thanks in advance. -- JörgM 84.156.195.21 13:19, 26 April 2009 (UTC)
- Adjust $wgRCMaxAge. —Emufarmers(T|C) 20:22, 26 April 2009 (UTC)
-
- Thanks for this tip! Do you know why it worked on an 1.9- and 1.12-wiki? Had added 60 and 180 days in the SpecialRecentchanges.php file, and I know that there have been shown changes older than 7 days, I think at least some months back. Perhaps because there were no change entries for some months? Regards -- JörgM 84.156.161.201 06:39, 28 April 2009 (UTC)
[edit] FULLPAGENAME and other magic words do not appear to work
- MediaWiki version: latest
- PHP version: 5
- MySQL version: 5
- URL: http://wikademia.org/Philebus
how do i enable the missing "templates"/magicwords @ http://wikademia.org/Philebus ? (FULLPAGENAME & "fullurl:"). —Wikademia 20:31, 26 April 2009 (UTC)
- Not included in release version of MW?
- Does Extension:ExpandTemplates have anything to do with it?
-
-
- Hm. Magic word {{FULLPAGENAME}} gives the full page name of the current page. From 1.15 on there shall be added the name of another wiki page (see Help:Magic words. So this page here is Project:Support desk, main page is Main page. (Look what I have written in this answer's source code and compare it to the respective output.)
- Same with {{fullurl}}, but there you have to add the respective page's name. This page is http://www.mediawiki.org/wiki/Project:Support_desk/Sections/System.
- But remember: This works just for pages of this wiki (and with interlanguage wiki links where the wikis are setup and linked correctly, like the different wikipedias). It probably won't work for those interwiki links at the bottom of your Philebus page, if you haven't setup de, fr ... wikis (probably http://de.wikademia.org/Philebos is expected for the German page de:Philebos, for example). If you want to link from wikademia to the respective wikipedias, you have to write the full wikipedia page urls yourself. -- JörgM 84.156.161.201 07:11, 28 April 2009 (UTC)
-
[edit] (RESOLVED) Html tags < > - Everytime you submit preview, save or changes you got redirected to website homepage "wgSitename"
Wiki info
- MediaWiki version: 1.14.0
- Semantic MediaWiki version: 1.4.2
- PHP version: 5.2.8 (cgi)
- PHP memory limit: 64M
- MySQL version: 4.1.22-max
- URL: http://wikimanga.net
- Wiki language: Spanish
- Direct link to Version
Detailed problem
Well I'm experiencing a strange behaviour, every time to try to submit preview for a new or created article, that contains "html tags" (< & >), I got redirected to the website homepage (the same value as "wgSitename"). I tried to activate the debug mode but I did get any info U.U Any idea for this problem?
You can check this behaviour going here. Try introducing any html tag.
P.S.: Our server upgraded the last PHP version from 5.2.5 to 5.2.8 a pair of weeks ago, but the problem appeared two days ago suddenly. —Neoshinji 20:15, 1 May 2009 (UTC)
-
- I have recieved the following message from my hosting service.
- "You were receiving the error due to mod_security restrictions on the server." They have disabled the mod security but the problem is not resolved yet U.U --Neoshinji 22:43, 1 May 2009 (UTC)
-
-
- I had checked all, inclusive I had cloned my wiki into other hosting, but the problem was not mine. It was the hosting service, after 5 days of nightmare, requesting everytime to my hosting servico to disable the mod_security, finally I have found a good pal on support service. It was very simple, but you need to know what to do. Add this lines on the .htaccess placed on the public_html root. This code will disable the mod_security.
-
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
-
-
- Problem solved!! --Neoshinji 07:11, 5 May 2009 (UTC)
-
Italic text
[edit] Problem with the search engine
- MediaWiki version: 1.12.0
- PHP version: 5.2.3 (cgi-fcgi)
- MySQL version: 5.0.24-community-nt
- URL: not published yet
Hi there,
I have a small problem with the wiki search engine and I hope you can give me a hint how to solve it: If I include a template into one of my pages and search for a word which occurs in the template, then the page isn't shown in the results of my query. I think, the reason for it is, that the wiki search engine only searches in the source code of the pages. Over there you can of course only find the name of the template, but not its content.
1st question: is that right? 2nd question: which possibilities are there to solve the problem? Will it be solved if I update to MediaWiki 1.14.0? Or do I have to include something like the Google Custom Search Engine Extension
Thank you very much & have a nice day —Scboehm 07:19, 6 May 2009 (UTC)
- To 1) Have a look at Help:Searching#How it works – so your thoughts seem to be right. -- JörgM 84.156.189.40 19:35, 6 May 2009 (UTC)
[edit] MediaWiki Database Support
[edit] (Resolved) Wired Data after upgrading of Debian
- MediaWiki version: 1.11
- PHP version: 5.2
- MySQL version: 5.0 / Lastest Debian 5.0
- URL: http://wiki.seemannsreise.de
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] Text table question
- MediaWiki version: SVN build TortoiseSVN
- PHP version: LATEST
- MySQL version: LATEST
- URL:
I installed the latest, it works well. However, I'm on WAMP, and I have PHPMyadmin, how do I view the text table?? AC —82.42.237.84 13:10, 20 December 2008 (UTC)
- I don't really get your question, if you have PHPMyAdmin and you want to see the text table just do so. --IvanStepaniuk 15:37, 28 January 2009 (UTC)
[edit] Page links with national characters disappeared after database migration
- MediaWiki: 1.10alpha
- PHP: 5.2.6 (ucgi5)
- MySQL: 5.0.66a-log
- URL: http://www.krokpokroku.pl/wiki/index.php?title=Inspiracje
- MediaWiki: 1.13.3
- PHP: 5.2.6 (cgi-fcgi)
- MySQL: 5.0.67-log
- URL: http://mat.extremefaith.info/kpk/mediawiki-1.13.3/index.php?title=Inspiracje
Hello,
I need help with the following problem.
I am moving a MediaWiki based webpage from one server to another. After exporting the database and importing it to the new server I got the message "1271: Illegal mix of collations for operation ' IN ' (mysql.extremefaith.info)". So I updated MediaWiki to the newest stable version (1.13.3) which caused the change of the $wgDBmysql5 variable value to "true" and that solved the problem.
Yet another one appeared. Although the content of the present pages remained unchanged (all the national characters were present) all the links with national characters became "red" (f.ex. "Śnieżnobiałe światło") and I can't access the content of those pages. What's more when I add the content manually some pages still remain "red". When I click on this kind of edited-"red" page I can see the content but it's being opened in "edit" tab by default. All the tables have "latin2_general_ci" collation set.
Could you please help me to fix the "red" links with national characters?
(You can see the red links f.ex. here: http://mat.extremefaith.info/kpk/mediawiki-1.13.3/index.php?title=Teksty_pie%C5%9Bni)
—Smatric 19:38, 27 December 2008 (UTC)
[edit] Content is no longer visible, and I cannot log in to my account
- MediaWiki version: 1.13.3
- PHP version: 5.2.8
- MySQL version: 5.0.67
All my pages are showing me the "There is currently no text in this page..." message, and I cannnot log in to my account. I can view the 'recent changes' page. I can't see the history of any pages, yet I can see the diffs. My web host recently upgraded from MySQL 4 to 5, so perhaps it's something to do with that.
Does anyone know of something I can do to restore my wiki? Being able to view the diffs, I think the content is still in there somewhere.
—WabsBio 10:24, 19 January 2009 (UTC)
I have the same problem. I checked the DB. The content still there. How to solve this problem?
--Nasario 11:30, 12 February 2009 (UTC)
[edit] (RESOLVED) Can't view content pages - DB Error!
- MediaWiki version: 1.13 (upgraded from 1.11)
- PHP version: 5.2.6
- MySQL version: 5.0.45-community-nt
- URL: http://www.bandwiki.net/
We recently updated to ver.1.13 from 1.11 as well as changed over to a new server for both our site and db server. When we view any content page we recieve the following error:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: SELECT page_id, page_namespace, page_title, page_len, page_is_redirect, pp_value FROM `sb_wiki_page` LEFT JOIN `sb_wiki_page_props` ON pp_propname='hiddencat' AND pp_page=page_id WHERE (page_namespace=14 AND page_title='Band♪Wiki_Extensions')
from within function "OutputPage::addCategoryLinks". MySQL returned error "1146: Table 'nwpos09_bandwiki.sb_wiki_page_props' doesn't exist (lord.my-hosting-panel.com)".”
The same error pretty-much occurs with 'sb_wiki_protected_titles' when viewing pages like the 'Privacy Policy' as well.
—64.91.123.139 14:11, 19 January 2009 (UTC)
- Run the update script. —Emufarmers(T|C) 14:38, 19 January 2009 (UTC)
[edit] Database error
- MediaWiki version: 1.14alpha (r4589)
- PHP version: 5.2-4-2ubuntu5wm (apache2handler)
- MySQL version: 4.0.40-wikipedia-log
- URL: http://www.marinegouge.com
When trying to access this page, I get the 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 "MediaWikiBagOStuff::_doinsert". MySQL returned error "1044: Access denied for user: 'dbo164288558@%' to database 'db164288558' (db388.perfora.net)". Retrieved from "http://marinegouge.com/mediawiki-1.6.6/index.php?title=Main_Page"
I cannot access anything on this page. How can I fix this?
paul_jones880@yahoo.com
—12.219.78.192 03:03, 21 January 2009 (UTC)
- Sounds like your database user's permissions got mauled. If you can't fix the permissions yourself, complain to your host. —Emufarmers(T|C) 13:19, 21 January 2009 (UTC)
[edit] Column user_id corrupted?
- MediaWiki version: 1.12
- PHP version: Unsure
- MySQL version: 5.0.45
- URL:
—74.0.37.138 22:45, 22 January 2009 (UTC)
After much investigation is appears that the column user_id in mySQL got deleted. Now all my users can see the wiki and even anonymously edit any page they would like. But they cannot login with their user ID's and cannot register. Anyone have any idea how I can fix this? I'm not a super mySQL user so as explicit detail as possible will be greatly appreciated.
Fixed: mysql>ALTER TABLE aw_user ADD COLUMN user_id INT(5) NOT NULL PRIMARY KEY AUTO_INCREMENT;
[edit] [Solved] Database error when registered user or Admin try to modify Main page contents
- MediaWiki version: 1.13.3
- PHP version: 5
- MySQL version:
- URL: http://www.4copter.com/mediawiki
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§ion=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 "§ion=1" the page can be modified also by registred user and Admin.
- Why solved ? where ? I experienced the very same problem.
- MediaWiki version: 1.14.0
- PHP version: 5.2
- MySQL version: 5.0.51-community
- free host: http://www.000webhost.com
- URL: http://www.brunehaud.be
I will hide editsection until a solution will be found.
[edit] Database query error after minor mysql upgrade
- MediaWiki version: 1.10.1
- PHP version: PHP: 5.2.0-8+etch13 (apache2handler)
- MySQL version: 5.0.32-Debian_7etch8-log
- URL: intranet
Hello, I have few MW installations on an intranet, after upgrading mysql from 5.0.32-7etch6 to 5.0.32-7etch8 I got all my MW failing with the same following error.
Original exception: exception 'DBQueryError' with message 'A database error has occurred Query: SELECT value,exptime FROM `objectcache` WHERE keyname='mw_ultra:messages-hash' Function: MediaWikiBagOStuff::_doquery Error: 1033 Incorrect information in file: './mw_ultra/objectcache.frm' (localhost) ' in /home/albafotonica.com/ultra/includes/Database.php:806 ...
I have no idea what happened, and could not repair the error. Fortunately I have dumped all my databases before the upgrade, dropping the MW databases and putting everything where it was solved the problem. But i still wonder what happened, I googled for the error with no luck (except same symptoms when upgrading from some mysql4 versions as the FRM format changed somehow, but its not the case). Perhaps someone can throw some light over this, I believe it can happen to many people using Debian stable, and not everyone remembers to backup before upgrading.
—IvanStepaniuk 10:30, 26 January 2009 (UTC)
- It seems that this error is related to changes in the InnoDB (binary log sizes mismatch during upgrade?). Restoring the backup was probably the fast/safe solution but not the only one. This is not MW related, I will try to track down the problem somewhere else anyway. --IvanStepaniuk 11:47, 27 January 2009 (UTC)
[edit] My wiki is inaccesible
- MediaWiki version: 1.13
- PHP version: 5.2.8
- MySQL version: 5.0.67-community
- URL: http://wikimh.netsons.org
Hello, probably i have modified incorrectly LocalSetting.php and so when i go to my wiki appears:
‘’ Warning: require_once(/extensions/UserRightsList/UserRightsList.php) [function.require-once]: failed to open stream: No such file or directory in /home/wikimh/public_html/LocalSettings.php on line 19
Fatal error: require_once() [function.require]: Failed opening required '/extensions/UserRightsList/UserRightsList.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wikimh/public_html/LocalSettings.php on line 19 ‘’
I don't understand what is the problem and i don't succeed in resolving it.
Thanks in advance
—Mark 54 14:10, 26 January 2009 (UTC)Mark
- Replace line 19 with
require_once("$IP/extensions/UserRightsList/UserRightsList.php");—Emufarmers(T|C) 20:50, 26 January 2009 (UTC)
Thanks, but now appears "line 115". What and where are the line 115 and line 19? —Mark 54 23:10, 26 January 2009 (UTC)Mark
- What's the new error? —Emufarmers(T|C) 04:19, 27 January 2009 (UTC)
Unfortunately i don't know. I had modified only LocalSettings.php: before there was "line 19", now there is "line 115". —Mark 54 15:25, 27 January 2009 (UTC)Mark
- His new error says (from his url)
- "...failed to open stream: No such file or directory in /home/wikimh/public_html/LocalSettings.php on line 115"
- So it's basically the same error, on another line (115) referencing the same file. Doesn't really make sense, as that file is already "required" by line 19. You can probably comment that line adding # at the begin of the line 115. Perhaps you should try to recover a working copy of your LocalSettings file, or generate a new one if you are not familiar with PHP. --IvanStepaniuk 16:58, 27 January 2009 (UTC)
Thanks. How do i recover a working copy of LocalSettings.php or how do i generate a new one? Unfortunately i am not fimiliar with PHP and very inexperienced. —Mark 54 21:10, 27 January 2009 (UTC)Mark
- Thanks, Ivan. I hate when my brain stops working. :)
- Just remove or comment out line 115; you probably added the require_once line twice. —Emufarmers(T|C) 00:07, 28 January 2009 (UTC)
This is my LocalSettings.php file: (My Localsettings file is in my user page) —Mark 54 14:45, 28 January 2009 (UTC)Mark
- I have edited your question ading source tags, now i see "[...]"!, change that whole line to just $wgRemoveGroups['bureaucrat'] = false; --IvanStepaniuk 16:13, 28 January 2009 (UTC)
I decide to write [...] not to write the complete user rights' list, but [...] there isn't in my localsettings.php; so in this file there isn't ***. Please, don't consider *** and [...] . —Mark 54 18:52, 28 January 2009 (UTC)Mark
- Mark, it is very difficult to tell if there is an error in what you have posted, try to post your file again (perhaps in your user page instead, not here), and do not modify anything but passwrords and sensitive info. Anyway, now I see your problem is the database connection, so either your user or password is incorrect, or the database is just not there. I think the best you can do if you are just starting, is to start over, carefully following the indications on the Manual:Installation guide, good luck! --IvanStepaniuk 23:43, 28 January 2009 (UTC)
I have posted my LocalSettings.php file in my user page. I have assured myself that the password and the user are correct. In my wiki's database there are many files, so starting over is a big problem for me :( How can i generate a new Localsettings.php file? Or how do i recover the files which are in my database? Thanks for your help.
PS I have tried to modify my LocalSettings.php and now there is this message: "Error, Setup.php must be included from the file scope, after DefaultSettings.php ". —Mark 54 20:44, 30 January 2009 (UTC)Mark
[edit] Error installing MySQL database
- MediaWiki version: MediaWiki 1.13.3
- PHP version: PHP 5.2.5
- MySQL version: Don't know
- URL: www.dcoxdictionary.com
How do you install the mySQL database? I get an error that says to check the database username and password. I have gone into control panel on my site and created the database, and gave myself a user and password, and then set my privileges to all. Still will not get past that point. Anybody can help me?
David Cox —189.242.40.41 05:10, 31 January 2009 (UTC)
[edit] Recover all files in my wiki
- MediaWiki version: 1.12.0
- PHP version: 5.2.8
- MySQL version: 5.0.67-community
- URL: http://wikimh.netsons.org
Hello, i have modified incorrectly my LocalSettings.php and now my wiki is inaccesible. So i want to star over and install another wiki. How do i recover the files which are in my wiki to transfer them to another database? I don't find them in my database. Thanks in advance.
—Mark 54 09:53, 1 February 2009 (UTC)Mark
[edit] MySQL error on UserPageViewTracker
- MediaWiki version: MediaWiki 1.13.3
- PHP version: PHP 5.2.8-0.dotdeb.1 (cgi-fcgi)
- MySQL version: MySQL 5.0.67-0.dotdeb.1
- URL: www.b40317.nl/wiki
I followed the instructions on: http://www.mediawiki.org/wiki/Extension:UserPageViewTracker
All went well and a table user_page_views was created. It all went wrong when I ran "UserPageHits.sql" as prescribed. Upon doing so I received an error as follows:
#1142 - CREATE VIEW command denied to user 'bnl'@'localhost' for table 'user_page_hits'
The UserPageHits.sql is copy pasted as follows:
CREATE VIEW `user_page_hits` AS
SELECT `u`.`user_name` AS `user_name`,
`u`.`user_real_name` AS `user_real_name`,
`p`.`page_namespace` AS `page_namespace`,
`p`.`page_title` AS `page_title`,
`v`.`hits` AS `hits`,
`v`.`last` AS `last`
FROM ((`user` `u` JOIN `page` `p`) JOIN `user_page_views` `v`)
WHERE ((`u`.`user_id` = `v`.`user_id`) AND (`p`.`page_id` = `v`.`page_id`))
ORDER BY `u`.`user_id`,`v`.`hits` DESC;
Can anyone help me out what I have to do differently? Cheers.
Menno
—82.217.71.172 21:42, 5 February 2009 (UTC)
- It is possible that your database user does not have the CREATE VIEW privilege granted, did you try to grant all privileges for your user for this database?
GRANT ALL PRIVILEGES ON `your-mediawiki-database-name` . * TO 'bnl'@'localhost';
--IvanStepaniuk 10:07, 6 February 2009 (UTC)
Cheers Ivan, Can't do apparently; when I run your advice, I get the following feed back:
#1044 - Access denied for user 'bnl'@'localhost' to database 'my-mediawiki-database-name'
Menno
--82.217.71.172 09:20, 7 February 2009 (UTC)
[edit] Wiki wont load
- MediaWiki version: 1.11.0
- PHP version: 5.2.6
- MySQL version: 4.1.22
- URL: http://seekcreativity.com/splash/wiki/
I just went to my wiki one day and I saw this... I used InnoDB
MediaWiki internal error.
Original exception: exception 'DBQueryError' with message 'A database error has occurred Query: SELECT value,exptime FROM `wiki_objectcache` WHERE keyname='seekcrea_wiki1-wiki_:messages-hash' Function: MediaWikiBagOStuff::_doquery Error: 1146 Table 'seekcrea_wiki1.wiki_objectcache' doesn't exist (localhost) ' in /home/seekcrea/public_html/splash/wiki/includes/Database.php:824 Stack trace:
- 0 /home/seekcrea/public_html/splash/wiki/includes/Database.php(779): Database->reportQueryError('Table 'seekcrea...', 1146, 'SELECT value,ex...', 'MediaWikiBagOSt...', false)
- 1 /home/seekcrea/public_html/splash/wiki/includes/BagOStuff.php(405): Database->query('SELECT value,ex...', 'MediaWikiBagOSt...')
- 2 /home/seekcrea/public_html/splash/wiki/includes/BagOStuff.php(300): MediaWikiBagOStuff->_doquery('SELECT value,ex...')
- 3 /home/seekcrea/public_html/splash/wiki/includes/BagOStuff.php(234): SqlBagOStuff->_query('SELECT value,ex...', 'seekcrea_wiki1-...')
- 4 /home/seekcrea/public_html/splash/wiki/includes/MessageCache.php(205): SqlBagOStuff->get('seekcrea_wiki1-...')
- 5 /home/seekcrea/public_html/splash/wiki/includes/MessageCache.php(441): MessageCache->load()
- 6 /home/seekcrea/public_html/splash/wiki/includes/GlobalFunctions.php(467): MessageCache->get('mainpage', true, true)
- 7 /home/seekcrea/public_html/splash/wiki/includes/GlobalFunctions.php(421): wfMsgGetKey('mainpage', true, true, true)
- 8 /home/seekcrea/public_html/splash/wiki/includes/GlobalFunctions.php(368): wfMsgReal('mainpage', Array, true, true)
- 9 /home/seekcrea/public_html/splash/wiki/includes/Title.php(268): wfMsgForContent('mainpage')
- 10 /home/seekcrea/public_html/splash/wiki/includes/Wiki.php(92): Title::newMainPage()
- 11 /home/seekcrea/public_html/splash/wiki/index.php(58): MediaWiki->checkInitialQueries(NULL, 'view', Object(StubObject), Object(WebRequest), Object(StubContLang))
- 12 {main}
Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject(): Table 'seekcrea_wiki1.wiki_page' doesn't exist (localhost)' in /home/seekcrea/public_html/splash/wiki/includes/Database.php:953 Stack trace:
- 0 /home/seekcrea/public_html/splash/wiki/includes/MessageCache.php(314): Database->fetchObject(false)
- 1 /home/seekcrea/public_html/splash/wiki/includes/MessageCache.php(251): MessageCache->loadFromDB()
- 2 /home/seekcrea/public_html/splash/wiki/includes/MessageCache.php(441): MessageCache->load()
- 3 /home/seekcrea/public_html/splash/wiki/includes/GlobalFunctions.php(467): MessageCache->get('databaseerror', true, false)
- 4 /home/seekcrea/public_html/splash/wiki/includes/GlobalFunctions.php(421): wfMsgGetKey('databaseerror', true, false, true)
- 5 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(23): wfMsgReal('databaseerror', Array)
- 6 /home/seekcrea/public_html/splash/wiki/includes/Database.php(276): MWException->msg('databaseerror', 'Database error')
- 7 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(125): DBQueryError->getPageTitle()
- 8 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(88): MWException->htmlHeader()
- 9 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(111): MWException->reportHTML()
- 10 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(191): MWException->report()
- 11 /home/seekcrea/public_html/splash/wiki/includes/Exception.php(225): wfReportException(Object(DBQueryError))
- 12 [internal function]: wfExceptionHandler(Object(DBQueryError))
- 13 {main}
—Chavoc 22:23, 9 February 2009 (UTC)
- Make sure that you're connecting to the right database, and that you're using the right database prefix. If you are, then you're missing some tables, and will need to restore from a backup. —Emufarmers(T|C) 21:46, 10 February 2009 (UTC)
While none of that information has changed... I have noticed errors when viewing the tables with phpMyAdmin... All except the search index seem to be broken. This exact same thing has happened to annother media wiki of mine on annother server, with a completly different set up. Unfortunatly my backup was lost when I had a personal harddrive failure (didnt backup the backup.) Why might this have happened ONLY to 2 media wiki databases, when all the other databases on the mysql servers stay fine? Are there any tools out there that I could run that can try and recover corrupt InnoDB tables? --Chavoc 00:33, 11 February 2009 (UTC)
- I would guess that the other databases on the servers aren't using InnoDB. You could try repairing the tables in phpMyAdmin; you could also dump, drop, and recreate the tables[1]; and, of course, you could just ask your host for a backup (whether or not they'll have one to give you depends on the host). —Emufarmers(T|C) 12:31, 11 February 2009 (UTC)
[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] SAMPLE COMMANDS & OUTPUT
- "mediawiki=# \d mediawiki.ipblocks
- ERROR: expected "[" to start datum, but got "4 [ 1 0 0 0 ]})}"; length = 0
- mediawiki=# select * from mediawiki.ipblocks;
- ipb_id | ipb_address | ipb_user | ipb_by | ipb_reason | ipb_timestamp | ipb_auto | ipb_anon_only | ipb_create_account | ipb_enable_autoblock | ipb_expiry | ipb_range_start | ipb_range_end | ipb_deleted | ipb_block_email"
- "/usr/local/pgsql/bin/pg_dump mediawiki -v -U postgres -f mediawiki_dump.sql
- .
- .
- .
- pg_dump: finding default expressions of table "ipblocks"
- pg_dump: SQL command failed
- pg_dump: Error message from server: ERROR: expected "[" to start datum, but got "4 [ 1 0 0 0 ]})}"; length = 0
- pg_dump: The command was: SELECT tableoid, oid, adnum, pg_catalog.pg_get_expr(adbin, adrelid) AS adsrc FROM pg_catalog.pg_attrdef WHERE adrelid = '16637'::pg_catalog.oid
- pg_dump: *** aborted because of error"
- Any ideas on how to fix this would be appreciated.
—216.187.127.35 16:18, 11 February 2009 (UTC) jdext
RESOLVED: Issue no longer encountered after restarting postgresql.
- MediaWiki version: 1.13.2
- PHP version: 5.2.8
- MySQL version: - using postgresql 8.3
- URL:
I am trying to restore from a previous backup. After I restore the database in Postgres and try to connect to my wiki, I receive the following error:
Could not determine the numeric version from !
I am clueless whats going wrong. Please help.
—122.166.21.40 06:54, 17 February 2009 (UTC)
[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] Can't contact the database server: Unknown error, Technical Problem
- MediaWiki version: 1.13.4
- PHP version: 5
- MySQL version:
- URL:
When i try editing any page by editing section wise, i get he following error
******* (mysite) 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)
—58.27.155.168 18:10, 17 February 2009 (UTC)Jawad Ahmed
- MediaWiki version: 1.13.5
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-community
- URL:http://www.wikiarmero.site90.com
I have the same problem/error. With same host 000webhost. But its so interesting that if you change by hand in navigator adress bar §ion=X to §ion=0, then work and open edit section page 0, with other number dont work. Anyone can help us?
--88.1.227.38 16:24, 25 March 2009 (UTC)
- MediaWiki version: 1.14.0
- PHP version: 5.2.*
- MySQL version: 5.0.51-community
- URL:
Got the same problem ... same hoster... can't delete Files pretty disgusting this happens only if want to delete a article
-- 87.212.44.67 15:24, 3 May 2009 (UTC)
- MediaWiki version: 1.14.0
- PHP version: 5.2.9
- MySQL version: 5.0.67
- URL: http://stafleu.netne.net
Also got the problem when editing sections on the same server (000webhost.com). I found out the problem probably arises due to the maximum of two DB connections enforced by the server, while editing sections opens at least three simultaneous connections. Haven't checked deletes though.
Possible solution: more close statements? Don't know where they can be safely added though...
--[[]] 15:24, 3 May 2009 (UTC)
[edit] [SOLVED] Articles content location for new developments
- MediaWiki version: 1.10.0
- PHP version: 5
- MySQL version: 5.0.27
- URL: localhost
I'm looking for the articles content, where they're phisically stored. I would like to reach them with some php code, to develop my own pages, for my company.
I've been trying for days to find them in the database (with the blob fields) or in some obscure text file within the mediawiki folder, but nothing to do.
Can anyone help ? Thanks a lot !
Edit : OK, found it. PHPMyAdmin just can't display the BLOB fields properly. I used the MySQL Query Browser Tool
—138.102.135.242 09:42, 20 February 2009 (UTC)
[edit] Error with Postgres Upgrade to 1.14.0
- MediaWiki version: 1.12alpha (r26964) upgrade to 1.14.0
- PHP version: 5.2.0-8+etch13(apache2handler)
- Postgres version: 8.2.12
- URL: Internal
When running the schema update the following happens
# php update.php --aconf ../AdminSettings.php
MediaWiki 1.14.0 Updater
Going to run database updates for wikidb
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds...0
... search_path for user "wikiuser" looks correct (mediawiki, public)
... default value of "client_min_messages" is correctly set to "error" for user "wikiuser"
... default value of "DateStyle" is correctly set to "ISO, YMD" for user "wikiuser"
...
... column "ipblocks.ipb_block_email" is already of type "smallint"
... column "ipblocks.ipb_address" is already of type "text"
Changing column type of "ipblocks.ipb_deleted" from "char" to "smallint"
Warning: pg_query(): Query failed: ERROR: default for column "ipb_deleted" cannot be cast to type "pg_catalog.int2" in /x1/www/mediawiki-1.14.0/includes/db/DatabasePostgres.php on line 578
A database error has occurred
Query: ALTER TABLE ipblocks ALTER ipb_deleted TYPE smallint USING ipb_deleted::smallint;
COMMIT;
Function:
Error: 1 ERROR: default for column "ipb_deleted" cannot be cast to type "pg_catalog.int2"
Backtrace:
#0 /x1/www/mediawiki-1.14.0/includes/db/Database.php(591): DatabasePostgres->reportQueryError('ERROR: default...', 1, 'ALTER TABLE ipb...', '', false)
#1 /x1/www/mediawiki-1.14.0/maintenance/updaters.inc(1626): Database->query('ALTER TABLE ipb...')
#2 /x1/www/mediawiki-1.14.0/maintenance/updaters.inc(1068): do_postgres_updates()
#3 /x1/www/mediawiki-1.14.0/maintenance/update.php(62): do_all_updates(false, true)
#4 {main}
The Wiki seems to run fine though...., but the error is disturbing.
—Cleopold73 22:27, 26 February 2009 (UTC)
- This has been fixed in subversion. You can fix your system in one of two ways:
- Run this SQL directly inside your database: ALTER TABLE ipblocks ALTER ipb_deleted TYPE smallint USING ipb_deleted::smallint DEFAULT 0
- Edit your updaters.inc file: find the spot that says "ipb_deleted::smallint", change it to "ipb_deleted::smallint DEFAULT 0", and then rerun the updater (by running php update.php or running the installer via the web page)
[edit] Creating Groups
- MediaWiki version: 1.13.4
- PHP version: 5.2.8
- MySQL version: 5.2
- URL:
How do I create Groups on Mediawiki?
—84.174.213.154 19:55, 2 March 2009 (UTC)
[edit] Getting table 'page' is full errors when trying to create article
- MediaWiki version: 1.13.2
- PHP version: 5.2.6-pl2-gentoo
- MySQL version: 5.0.26
- URL: http://www.bloomingpedia.org/
Hello, I've been running this wiki for quite a while without issues of this kind. Recently, the server that the database is on crashed. After this we have had some strange errors from Mediawiki related to the database. I tried running CHECK TABLE on each of the mediawiki tables and they all reported ok, so I'm not sure where the error lies. Here is the specific error I'm getting when trying to create an article:
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 "Article::insertOn". MySQL returned error "1114: The table 'page' is full (db-hostname-omitted)".
Thanks for your help. -- Deltaray 15:06, 9 March 2009 (UTC)
- Is the disk at or near capacity? If you don't run your server yourself, you should contact your host; otherwise, start reading up on MySQL error 1114. —Emufarmers(T|C) 20:50, 9 March 2009 (UTC)
- Thanks, appearently my innodb file reached its configured max capacity of 128MB. Sillyness. I'll have to break out the tables into multiple files when I get a chance. -- Deltaray 12:53, 10 March 2009 (UTC)
[edit] Error when attempting full export of wiki with a postgres db
- MediaWiki version: 1.14.0
- PHP version: 5.1.2 (apache2handler)
- PostgreSQL version: 8.3.3 (running on a different machine)
- URL: http://intranet.izazi.com/wiki (sorry, it is not open, but I can give you access if required)
Hi, I am trying to do a full xml export of my wiki with the following command:
php5 -d error_reporting=E_ERROR maintenance/dumpBackup.php --full
After switching on exception reporting, I get this output:
minotaur:/srv/www/htdocs/mediawiki-1.14.0 # php5 -d error_reporting=E_ERROR maintenance/dumpBackup.php --full
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3" xml:lang="en">
<siteinfo>
<sitename>IzaziWiki</sitename>
<base>http://minotaur/wiki/Main_Page</base>
<generator>MediaWiki 1.14.0</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2">Media</namespace>
<namespace key="-1">Special</namespace>
<namespace key="0" />
<namespace key="1">Talk</namespace>
<namespace key="2">User</namespace>
<namespace key="3">User talk</namespace>
<namespace key="4">IzaziWiki</namespace>
<namespace key="5">IzaziWiki talk</namespace>
<namespace key="6">File</namespace>
<namespace key="7">File talk</namespace>
<namespace key="8">MediaWiki</namespace>
<namespace key="9">MediaWiki talk</namespace>
<namespace key="10">Template</namespace>
<namespace key="11">Template talk</namespace>
<namespace key="12">Help</namespace>
<namespace key="13">Help talk</namespace>
<namespace key="14">Category</namespace>
<namespace key="15">Category talk</namespace>
<namespace key="100">Developers</namespace>
</namespaces>
</siteinfo>
A database error has occurred
Query: SELECT /*! STRAIGHT_JOIN */ * FROM
page ,
revision ,
pagecontent
WHERE page_id=rev_page AND rev_text_id=old_id
ORDER BY page_id
Function: WikiExporter::dumpFrom
Error: 0 No database connection
Backtrace:
#0 /srv/www/htdocs/mediawiki-1.14.0/includes/db/Database.php(591): DatabasePostgres->reportQueryError('No database con...', 0, 'SELECT /*! STR...', 'WikiExporter::d...', false)
#1 /srv/www/htdocs/mediawiki-1.14.0/includes/Export.php(260): Database->query('SELECT /*! STR...', 'WikiExporter::d...')
#2 /srv/www/htdocs/mediawiki-1.14.0/includes/Export.php(95): WikiExporter->dumpFrom('')
#3 /srv/www/htdocs/mediawiki-1.14.0/maintenance/backup.inc(207): WikiExporter->allPages()
#4 /srv/www/htdocs/mediawiki-1.14.0/maintenance/dumpBackup.php(63): BackupDumper->dump(0, 0)
#5 {main}
From what I can gather it is because no database connection is available. However, my wiki appears to be fully functional. I can edit pages etc. I can even connect to the Postgres db using PgAdmin. I can only assume there is some additional settings I need to change when using a postgres database? Or is such an export not supported for Postgres? Please help.
—Johan Hoogenboezem 07:47, 19 March 2009 (UTC)
- Did you set up AdminSettings.php?. —Emufarmers(T|C) 08:16, 19 March 2009 (UTC)
- Boy, you're quick. I just tried it and came back to close the issue before someone read it :-). That solved the problem all right. Thanks for the help. Johan Hoogenboezem 08:23, 19 March 2009 (UTC)
[edit] MySQL returned error "1205: Lock wait timeout exceeded"
- MediaWiki version: mediawiki-1.14.0
- PHP version: PHP Version 5.2.6
- MySQL version: MySQL client version: 4.1.11
- URL: http://wiki.freeearth.org.cn/index.php?title=FC22Q来A去
- Server version: 4.1.25-Debian_mt1
I can login successfully. When I edit a page, I can see preview. But when I want to save page, it shows the error below:
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 "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)".
Then I logout, and wait for hours. I login and try to save the page again, it also breaks..
Util now, I cannot edit the page anymore.(I try to use another user name, it breaks also) The page was locked forever..
Any help would be appreciated.
thank you, Michael
—Wxiluo 09:01, 22 March 2009 (UTC)
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
[edit] Database error
- Wiki location: http://www.larp.pl/
- SQL errorrs: http://www.larp.pl/Fantazjada
- http://www.larp.pl/Kategoria:LARP
- Version: http://www.larp.pl/Specjalna:Wersja
Pls help. Abdel
—79.184.179.156 14:23, 3 April 2009 (UTC)
[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] SELECTing and INSERTing pages vom Outside into WikiDB
- MediaWiki version: 1.5
- PHP version: 5
- MySQL version: 5
- URL: (internal)
Is it possible to insert and query pages from a program other than MediaWiki? MediaWiki-Pages should be integrated in another project like SELECT * FROM (???) WHERE [Pagetitle] LIKE '10--%' or INSERT INTO (???) VALUES (Title, Pagecontent);
—88.77.128.127 14:04, 6 April 2009 (UTC)
[edit] Statistics page is broken
- MediaWiki version: 1.14.0
- PHP version: 5+
- MySQL version: 5+
- URL: http://wikademia.org/Special:Statistics
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 "SiteStatsUpdate::cacheUpdate". MySQL returned error "1054: Unknown column 'ss_active_users' in 'field list' (mysql.wikademia.org)".
My statistics page does not work. —Wikademia 07:11, 13 April 2009 (UTC)
[edit] Media Wiki is blank after upgrading MySQL version
- MediaWiki version: 1.13.3
- PHP version: 5.2.9
- MySQL version: 5.0.67-community
- URL: http://podcast.eternaltruthministry.com
We have been running fine on MySQL 4 for a while now, but today when I went to my site it was completely blank. It has no record of any page and says my user id does not exist.
My first thought was that I got hacked, so I checked and my database size is the same as my backups, and all data looks like it is there in the current db.
I checked the db connection settings in the LocalSettings.php file and everything looks good there. What's weird is that there are no mysql connection errors, or errors of any kind displaying.
So why I mentioned MySQL 4, this week my host upgraded all of their servers to mysql 5. It is the only change to the system that I can find, but I don't know why this doesn't work anymore.
I'm having the same problem on 3/4 of my MediaWiki sites (http://www.ipTVwiki.com & http://www.zssites.net/wiki).
Do you have any ideas what I can check or what might be causing this problem?
Thank you.
—MasterZ 01:36, 14 April 2009 (UTC)
- MediaWiki version: 1.12.0
- PHP version: 5.2.4 (apache2handler)
- MySQL version: 5.0.45-community-nt
- URL:
how to create new tables which i need to use in an extension? any standard / recommended practice to create new tables and use it in a extension?
—192.8.211.11 11:04, 14 April 2009 (UTC)
[edit] Searching the wiki
- MediaWiki version:1.13.2
- PHP 5.1.6 (apache2handler)
- MySQL 5.0.27
Searching the WIKI Hi I am not sure I posted in the right sections sorry if it is not. I am trying to search my wiki for ip addresses, however only i keep getting results that in terms of posts made by that ip address. I wish to obtain posts that contain the ip address I am looking for. Any help obtained will be fully appreciated.
—200.125.161.205 12:38, 21 April 2009 (UTC)
[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] Wiki Encoding Problem
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.22
- URL: http://wiki.balata-albalad.org/
I have the same problem as here: http://www.mediawiki.org/wiki/Project:Support_desk/Archives/Database/001#.28RESOLVED.29_Wiki_Encoding_Problem
I installed the wiki on my localhost and it worked fine, but I installed it on my webserver: http://wiki.balata-albalad.org/
it gives me:
Content Encoding Error (content_encoding_error) Server response could not be decoded using encoding type returned by server. This is typically caused by a Web Site presenting a content encoding header of one type, and then encoding the data differently. For assistance, contact your network support team.
I am using Arabic, and it's the first time I am installing on my webserver, any help please..
PS:
it works fine using the link:
http://wiki.balata-albalad.org/index.php?title=الصفحة_الرئيسية
but it displays that error if I used:
http://wiki.balata-albalad.org/
Thanks in advance --Ibro84 14:37, 30 April 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
[edit] Strange behaviour after install, PHP problem?
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.45
- URL: http://www.mikakunii.net/mikawiki
A very strange behaviour of wiki after install: articles are not shown at all although content is present: try edit to see that its present, or follow http://www.mikakunii.net/MikaWiki that is working on the same database (that 2nd wiki was istalled after that problem did appear on the 1st).
During install process I had some warnings ( intall_log.txt for complete reference): I tried asking my hosting service assistance and they told me that the cause maybe was more due an error configuring mediawiki than a server problem. I installed same version on a localhost doing the same install procedure and everything has gone well so I suppose its a PHP error and not a configuration error, maybe am I wrong? I don't think its a mysql issue as the 2nd installation of mediawiki works good on the same database. And as the install procedure build everything was necessary I thought also its more concerning PHP than a installation error itself.
Notice warning during install procedure:
Warning: is_dir(): open_basedir restriction in effect. File(/opt/pieroni/php5/session) is not within the allowed path(s):(/var/www/vhosts/mikakunii.net/httpdocs:/tmp) in /var/www/vhosts/mikakunii.net/httpdocs/mikawiki/config/index.php on line 438 Warning: Your session.save_path value (/opt/pieroni/php5/session) appears to be invalid or is not writable. PHP needs to be able to save data to this location for correct session operation.
Maybe this is the main problem or a sign of a lack of PHP config on server? Please help me, thank you. I tried to do my best... but can't solve this alone.
--Federicodip 18:47, 15 December 2008 (UTC)
[edit] Parse error
- MediaWiki version:
- PHP version 5.2.5
- MySQL version4.1.22-standard
- URL:
I am trying to move a wiki from one location to another. I keep getting this error:
Parse error: syntax error, unexpected T_NEW in /home/XXXX/public_html/wiki/includes/GlobalFunctions.php on line 1494
What can i do? i imported the database, updated the localsettings and everything seem to be allright.
a fresh install of media wiki works fine. all of the files are identical.
when i change the localsettings to the fresh mediawiki install it works fine.
—89.139.135.106 18:10, 31 December 2008 (UTC)
[edit] Permission problem with Apache: cannot reproduce in Apache debug mode
- MediaWiki version: 1.13.3
- PHP version: 5.2.6-5
- MySQL version: 5.0.67-2
- URL:
I'm using Apache 2.2.10-2. If I run Apache as a service on my Linux box, I get PHP permission errors in the HTTPD logs:
PHP Warning: Unknown: failed to open stream: Permission denied in Unknoxn on line 0 PHP Fatal error: Unknown: failed opening required '/var/www/html/mediawiki/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
However if I start Apache in debug mode with
> /usr/sbin/httpd -X
Mediawiki works fine. The httpd process is running under the same UID (apache) both times. Any ideas? Thanks.
—69.12.144.158 05:57, 5 January 2009 (UTC)
- Assuming you're running PHP as an Apache module, the Apache user needs to be able to read the entire /mediawiki directory. /var/www is usually owned by the Apache user anyway, but if not, make it readable to all:
chmod -R 755 /var/www/html/mediawiki- If you're in a multi-user environment, then you should be a bit more cautious:
chgrp -R apache /var/www/html/mediawiki; chmod -R 750 /var/www/html/mediawiki- —Emufarmers(T|C) 15:47, 5 January 2009 (UTC)
[edit] (RESOLVED) Parser Error
- MediaWiki version: Latest
- PHP version: 5.2.5
- MySQL version: 5.0.51a-community
- URL: wiki.gamesnation.co.cc
When i'm moving the LocalSettings.php or something it says me an error:
Fatal error: Class 'ParserOutput' not found in /home2/fenzon/public_html/wiki/includes/parser/Parser.php on line 178
What should i do now?
—94.67.155.172 17:33, 15 January 2009 (UTC)
- I don't see any errors when I visit the site. —Emufarmers(T|C) 04:28, 16 January 2009 (UTC)
[edit] Strange error after backuping
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.45
- URL: http://web223.sydney.webhoster.ag/user/david_b/homepages/vwikika
Hey guys, I installed the backup-script of http://www.mediawiki.org/wiki/User:Flominator/Backup_MW and it works. Then I tried to exec it with a cronjob. I entered the command on my web-interface. Minutes later I want to log in to my Wiki as the error (see below) appeared. The cronjob hasn't been started yet! I absolutely don't know what to do. MediaWiki crashes in reason of copying files?!
Thank you for your help! David
THE ERROR:
Warning: require_once(/var/www/html/web223/html/user/david_b/homepages/vwikika/StartProfiler.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/web223/html/user/david_b/homepages/vwikika/includes/WebStart.php on line 78
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/web223/html/user/david_b/homepages/vwikika/StartProfiler.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/web223/html/user/david_b/homepages/vwikika/includes/WebStart.php on line 78
//edit I upload the StartProfiler.php again and now I got the information: MediaWiki 1.13.2 - Please set up the wiki first.
—Trop 21:33, 15 January 2009 (UTC)
- Re-upload all the wiki files. Rerun the installer or manually recreate LocalSettings.php if you destroyed your copy. —Emufarmers(T|C) 04:28, 16 January 2009 (UTC)
-
- I re-upload all files and it works. Thank you! But isn't this strange? I mean I didn't change any files and the wiki chrashed ^^
[edit] Maximum execution time during import
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 with Suhosin-Patch 0.9.6.3 with eAccelerator v0.9.5.3
- MySQL version: 5.0
- URL:
I want to import one page from wikipedia.org to my wiki, so I exported page from wikipedia and got *.xml Then I exported this file to my wiki, and so apache began use 80% cpu and then stoped process with error:
[Tue Jan 27 15:15:53 2009] [error] [client my_ip] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mywiki.ru/htdocs/languages/Language.php on line 2482, referer: http://mywiki.ru/index.php/Special:Import
—89.19.34.75 15:54, 27 January 2009 (UTC)
- Are you sure you only exported that one page? If so, temporarily increase max_execution_time in php.ini, or use another import method. —Emufarmers(T|C) 22:17, 27 January 2009 (UTC)
[edit] How to Avoid 'Login Required' Error page.
- MediaWiki version: 1.13.3
- PHP version: 5.0.67
- MySQL version: 5.0.16
- URL: gefsr.com
I've setup a private internal mediawiki with users unable to create accounts (admin only). I can't figure out how to avoid (or redirect) the 'Login Required' error page and have the Login page (Special:Userlogin) be the first page up (and then modify its text to welcome users, etc).
The only suggestion I've found is to use this in LocalSettings.php :
$wgRedirectMustLogin = true;
$wgRedirectLoggedIn = true;
neither of which work (though I did manage to redirect the useless 'you are now logged in' page to the main page).
Or, perhaps there's a way to include login within the MainPage? (and then whitelist the main page)
I'm a beginner, thanking you in advance!
Graz
—Graz 19:10, 7 February 2009 (UTC)
[edit] php global settings enabled error when installing mediawiki
- MediaWiki version: latest version
- PHP version: latest version
- MySQL version: latest version
Hi, ive just installed wikimedia on my website. everything works. But when i was installing, i got the "php global settings are enabled, please disable this option (if you can)error"
I was wondering what i need to do to diasble this option.
—NickGeller 21:00, 7 February 2009 (UTC)
[edit] 500 Internal Server Error (only on one single page)
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.45
- URL:
Hi, I just found some Threads with the similar topic but I didn't find a solution yet.
The following errors occurs only on one (didn't find another ^^) page:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost 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.
I don't have access to my php.ini. Tried to active logs by using the LocalSettings.php but it didn't works.
Any idea :/ ?
David
—Trop 09:36, 11 February 2009 (UTC)
Problem solved! The reason was a category which was subcategory of itself. Each page which was categorized with this category responsed with an error. Also the category page itself.
I deleted the relevant row in the SQL "Category links" table and now it works again...
--Trop 19:15, 12 February 2009 (UTC)
[edit] IE 7 has trouble loading pages
- MediaWiki version: 1.13
- PHP version: 5
- MySQL version: 3.23
- URL:
We have been using MediaWiki for about a month with no problems. Over the last two days something has changed. Even though we have not changed any of our settings. Primarly IE7 has problems loading pages about every 10th time. Error log shows a [20-Feb-2009 13:00:44] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 223430368 bytes) in Unknown on line 0 everytime there is an error on the page. I should note that if you refresh or hit back enough times the page will eventually load. And it is not a specific page.
—24.213.187.250 21:29, 20 February 2009 (UTC)
[edit] GlobalFunctions.php error on MW 1.14.0
I have a problem with MediaWiki 1.14.0. Everytime I go to the Special:Preferences... I'll get this error message on top of the page: Warning: urlencode() expects parameter 1 to be string, object given in /home/www/myserver/wiki/includes/GlobalFunctions.php on line 1141. How do I fix this issue? Specs: MediaWiki 1.14.0, PHP 5.0.5 (cgi), MySQL 4.xx and no extensions. Fresh install (not update). --Rtmm 18:11, 22 February 2009 (UTC)
I am seeing the same problem. Mine was an upgrade from MW 1.5.5 to MW 1.14.0. PHP 5.1.4, MySQL 4.1. The page seems to work properly, but it has the warning message displayed at the top. DM
- A var_dump shows that an Title object is given to urlencode() at line 1141.
- A temporary patch can be
if(is_object($value) && strtolower(get_class($value)) == "title") { $value = $value->mTextform; }
- inserted before line 1140
- FrViPofm 21:58, 2 March 2009 (UTC)
Another possible workaround is to disable warnings by adding this to the top of index.php: error_reporting(0);
[edit] Mediawiki 1.14.0 Call to undefined method Interwiki::fetch()
- MediaWiki version: 1.14.0
- PHP version: 5.1.6
- MySQL version: 5.0.22
- URL: private mediawiki
After upgrading from 1.13.4 to 1.14.0, I am facing PHP error on Title.php (my Main Page contains interwiki links): PHP Fatal error: Call to undefined method Interwiki::fetch() in /bases/html/mediawiki-1.14.0/includes/Title.php on line 678
Could you please tell me if it is a Mediawiki bug or a problem of installation/configuration somewhere ? (I only untar 1.14.0 to new dir then replace images, extension, LocalSettings.php and AdminSettings.php with those set (and working) for previous 1.13.4)
—64.208.49.22 13:29, 24 February 2009 (UTC)
- probably due to Extension:SpecialInterwiki
- * comment the line require_once( "$IP/extensions/SpecialInterwiki.php" ); from LocalSettings.php
- * or upgrade tot the latest version of the extension.
- success - Arent 12:23, 30 March 2009 (UTC)
[edit] Fatal error: Class 'ArrayIterator' not found in /usr/local/www/mediawiki/includes/StringUtils.php on line 179
- MediaWiki version: 1.14
- PHP version: php5-5.2.8
- MySQL version: mysql-server-5.1.30
- URL: Internal
AFter config and moving file LocalSettings.php to root. I point my browser to the wiki page and get:
Fatal error: Class 'ArrayIterator' not found in /usr/local/www/mediawiki/includes/StringUtils.php on line 179
Any ideas? THanks all
—65.242.79.69 21:38, 26 February 2009 (UTC)
- ArrayIterator is part of the Standard PHP Library, so you need to have PHP compiled without --disable-spl. iAlex 07:41, 9 March 2009 (UTC)
[edit] Class 'ArrayIterator' not found
- MediaWiki version: 1.14
- PHP version: 5.2.8
- MySQL version: 4.1.22
- URL: private
I get this error since update: Fatal error: Class 'ArrayIterator' not found in wiki/includes/StringUtils.php on line 179
Seems to be the same problem -> http://www.mediawiki.org/wiki/Project:Support_desk#Fatal_error:_Class_.27ArrayIterator.27_not_found_in_.2Fusr.2Flocal.2Fwww.2Fmediawiki.2Fincludes.2FStringUtils.php_on_line_179
Also I get some warnings. Maybe they are related/useful.
Warning: debug_backtrace() has been disabled for security reasons in wiki/includes/GlobalFunctions.php on line 873
Warning: array_slice() expects parameter 1 to be array, null given in wiki/includes/GlobalFunctions.php on line 873
Warning: ini_set() has been disabled for security reasons in wiki/includes/db/Database.php on line 433
Warning: ini_set() has been disabled for security reasons in wiki/includes/db/Database.php on line 440
—89.27.231.126 18:53, 1 March 2009 (UTC)
Update
In my whole life I only wrote a few lines of php code. So I don't know much about php code but anyway I looked into the code:
static function explode( $separator, $subject ) { if ( substr_count( $subject, $separator ) > 1000 ) { return new ExplodeIterator( $separator, $subject ); } else { return new ArrayIterator( explode( $separator, $subject ) ); } }
First I read on the internet, that the ArrayIterator constructor is not public and you have to use getIterator() on an ArrayObject. But if it is still true, I'm confused most ppl have no problems.
But there is more. “return new ArrayIterator( explode( $separator, $subject ) )” looks like endless recursion.
--89.27.231.126 19:31, 1 March 2009 (UTC)
[edit] dumpBackup.php error - tries to use root even with LocalSettings.php
- MediaWiki version: 1.14
- PHP version: 5.1.6
- MySQL version: 5.0.45
- URL: Intranet only
I have a AdminSettings.php in my maintenance folder (created from the template in the wiki directory) that contains database connection user and password. The scripts in the Maintenance folder that I have tried run successfully, including scripts that seem to be getting information from the database, however dumpBackup.php will not run successfully.
When I run php dumpBackup.php --full > wiki.xml it says DB connection error: Access denied for user 'root'@'localhost' (using password: NO). It is not getting the db connection information from AdminSettings.php. AdminSettings.php is owned by apache:apache, and I have tried setting to 660, 770, 666, 777, with no change. It is now set back to 600, and other scripts seem to be still working fine.
I have got around the issue by placing $wgDBadminuser and $wgDBadminpassword lines (copied exactly from AdminSettings.php) directly into a copy of dumpBackup.php. It then works fine.
Any ideas why it won't work as it's intended to?
—220.245.120.79 00:08, 9 March 2009 (UTC)
- Configure AdminSettings.php. —Emufarmers(T|C) 00:13, 9 March 2009 (UTC)
My Apologies - my original post had a typo. Corrected in post. That's what happens when you try and log it the next morning not in front of it LOL.
AdminSettings.php IS configured with $wgDBadminuser and $wgDBadminpassword, and other scripts work fine. dumpBackup.php continues to try and use root, disregarding the connection strings in AdminSettings.php.
—220.244.29.69 06:41, 9 March 2009 (UTC)
[edit] Fatal error: Class 'ArrayIterator' not found in /usr/local/www/apache22/data/wiki/includes/StringUtils.php on line 179
- MediaWiki version: 1.14.0
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL: internal link
I got this error on my FreeBSD 7.1 system, directly after moving the LocalSettings.php file. The solution provided in this section did not solve the problem in my case.
I edited the StringUtils.php page from line 179 to skip using the ArrayIterator. I edited the 'else' part to test.
Note that my wiki shows at this point. Before I only got a browser http 500 error message with the fatal error in the (apache22) web server error log.
I noticed also the class for the ArrayIterator is not present in the file like the class for ExplodeIterator.
Now I can see the main page, but it only shows the main heading and it looks I can edit but not save the edited pages (or the fonts are white?) In the error log I notice more errors.
Hope part of this info helps finding out the actual problem here.
—82.148.222.98 15:25, 17 March 2009 (UTC)
- MediaWiki version: 1.14
- PHP version: 5
- MySQL version:
- URL: http://dfwebdev:9042/index.php?title=Main_Page
I am getting HTTP 500 internal server error
[edit] Blank login page and php error cannot redeclare class skintemplate
- MediaWiki version: 1.14.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.77
- URL: Internal Only
I'm outside of my scope of experience here so please phrase your answers without assuming I know lots of things (I haven't even really begun to understand the levels of dependencies).
I have successfully installed Mediawiki on a local box and had successfully created and edited some pages. I had also successfully uploaded images to some of those pages.
All of a sudden whenever I try to upload an images I get told I have to login, however when I go to the login/create account page it's just blank.
I checked the httpd logs and found the following message......
[error] [client 192.168.1.12] PHP Fatal error: Cannot redeclare class SkinTemplate in /var/www/html/wiki/includes/SkinTemplate.php on line 997, referer: http://192.168.1.240/wiki/index.php?title=Special:Upload&wpDestFile=someimage.jpg
I've looked at SkinTemplate.php and line 997 doesn't have a redeclare command (I'm not really sure what this is doing as this is well outside my experience zone)...
The code block near to line 997 is......
/** * Code for extensions to hook into to provide per-page CSS, see * extensions/PageCSS/PageCSS.php for an implementation of this. * * @private */ function setupPageCss() { wfProfileIn( __METHOD__ ); $out = false; wfRunHooks( 'SkinTemplateSetupPageCss', array( &$out ) ); wfProfileOut( __METHOD__ ); return $out; } }
However it's the very last } that's actually on line 997, I'm assuming that the last } causes the commands to be executed and that's why the error is flagging up there.
If anyone could give me some pointers I'd be very grateful as I'm stuck here and because I don't understand the dependencies I could spend hours trying to solve what may be a trivial fault.
Thanks in advance. —79.73.111.66 04:24, 5 April 2009 (UTC)
[edit] Fatal error when trying to create a modified monobook theme
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 4.1.25
- URL: removed for now.
What I am trying to accomplish is to create a slightly modified version of the monobook theme. Steps: 1) I made a copy of the Monobook.php, MonoBook.deps.php, and monobook folder. 2) Replaced all instances of 'Monobook' or 'monobook' (aware of case-sensitivity) with 'Greencurrent' or 'greencurrent' within the copied files and renamed the files themselves.
The result is a fatal error:
Fatal error: Class 'GreencurrentSkinTemplate' not found in [serverpath]/html/wiki/includes/SkinTemplate.php on line 128
While I would love to resolve this, I am equally keen to know how I would go about debugging this myself!
—Maltebeckmann 13:41, 7 April 2009 (UTC)
[edit] $wgForeignFileRepos php errors
- MediaWiki version: 1.14
- PHP version: 5+
- MySQL version: 5+
- URL: http://wikademia.org/File:Animation_exmaple-animatic.jpg
These image pages give errors at the top of the page:
- http://wikademia.org/File:Animation_exmaple-animatic.jpg
- http://wikademia.org/File:Chicago_Downtown_Aerial_View.jpg
- http://selfindulgence.org/File:Vallée_du_Marcadau_5.JPG
- http://selfindulgence.org/File:White_headed_bird_in_zoo_heidelberg.jpg
These image pages do not seem to give errors at the top of the page:
- http://wikademia.org/File:Nasa.florida.750pix.jpg
- http://wikademia.org/File:Animation_example-inked_drawing.png
- http://wikademia.org/File:Shadow_Hand_Bulb_large.jpg
I think I'm using the normal $wgForeignFileRepos for Commons defaults... I'm not sure why this is happening. If I could have all the pages display cleanly, it would be super great; and if anyone can help me fix it, I will be very very grateful. Thank you! —Wikademia 04:52, 13 April 2009 (UTC)
[edit] Call to undefined method Category::getText() in CategoryPage.php
- MediaWiki version:1.14
- PHP version: 5.2.8(apache2handler)
- MySQL version: 5.1.30
- URL: intranet!
Hi, following happened: I create Page "D", add(with category-syntax)to Category "A", works fine! But when adding Page "D" to new Category "B" and add this Category also to Category "A" I get this error: Fatal error: Call to undefined method Category::getText() in C:\xampp\htdocs\wiki\includes\CategoryPage.php on line 151
147 function addSubcategory( $title, $sortkey, $pageLength ) { 148 global $wgContLang; 149 // Subcategory; strip the 'Category' namespace from the link text. 150 $this->children[] = $this->getSkin()->makeKnownLinkObj( 151 $title, $wgContLang->convertHtml( $title->getText() ) );
please help me!!! Thanks in advance!!!
—Freezone 08:42, 20 April 2009 (UTC)
I got it! It's not allowed, to link Cat A and B on Page C and Cat A on Cat C. I know that it's written in WIki Rules, to be not recommended, but now I'm smarter: This is forbidden!!!
—Freezone 08:42, 23 April 2009 (UTC)
[edit] Redirect to an older version despite a newer one ist already reviewed
- MediaWiki version: 1.15alpha (r48811)
- PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
- MySQL version: 5.1.33-log
- URL: http://de.wikipedia.org
An an unlogged user of de.wikipedia.org, if I call honsik, I will be redirected to Gerd Honsik, and there appeares an older version as the last reviewed ("gesichtet"). But there exists an other reviewed version just some 4 versions later than the first mentioned: dies later reviewed version appears in the history of versions as reviewed by the user benutzer:Eintragung ins Nichts. If I go to honsik as logged in user Benutzer:Machtjan X, the link brings the last and recent version. Only if I log out and quit the browser and start it newly again, the link brings the older version again. - Thank you for excusing my poor English - now my question: Indicates the mentioned behavior of the wiki a bug? Here the diff in question: [2]
—Machtjan X 13:54, 27 April 2009 (UTC)
[edit] PHP Fatal Error
- MediaWiki version: Can not connect to tell!
- PHP version: 2.2.11 (Unix)
- MySQL version: 5.0.77-community
- URL: www.taxationsupport.net/wiki/index.php
Suddenly getting the following on all pages
PHP Fatal error: Call to a member function lcfirst() on a non-object in /home/taxation/public_html/wiki/includes/GlobalFunctions.php on line 490
No new extensions have been installed for some time. GlobalFunctions.php has not been updated.
Any ideas please?
—213.48.94.65 10:28, 28 April 2009 (UTC)
[edit] Can't create Directory (mkdir - php-func) under XAMPP Windows XP
- MediaWiki version: 1.14.0
- PHP version: 5.1.6
- MySQL version: 5.0.24a-community-nt
- URL:
Hi, i get this error, if i try to upload an image into my wiki: Warning: mkdir() [function.mkdir]: No such file or directory in D:\Programme\xampp\htdocs\mediawiki\includes\GlobalFunctions.php on line 1943 ... Interner Fehler (Internal Error)
Das Verzeichnis „public/7/7a“ konnte nicht angelegt werden.
—217.94.53.101 13:04, 5 May 2009 (UTC)
- Try the fix listed on bug 18656. —Emufarmers(T|C) 18:51, 5 May 2009 (UTC)
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Hello Mediawiki Team, Great software, however I get these errors when i try to install it on my website:
Warning: exec() has been disabled for security reasons in /home/studitco/public_html/wiki/config/index.php on line 2005
Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/studitco/public_html/wiki/config/index.php on line 2010
Warning: Invalid argument supplied for foreach() in /home/studitco/public_html/wiki/config/index.php on line 2013
It tells me also that the database name is invalid.
Help is appreciated. Thanks
—78.86.229.50 18:11, 8 May 2009 (UTC)
[edit] PHP Warning
- MediaWiki version: 1.14
- PHP version: 5.2
- MySQL version: 5.02 readline 5.2
- URL: intern highschool project on server that is only available via SSH , sry cannnot give you log in data :/
Warning: dba_open(/var/lib/mediawiki/images/tmp/mw-cache-wikidb.db,cl) [function.dba-open]: No such handler: db3 in /usr/share/mediawiki/includes/BagOStuff.php on line 715
—84.46.46.128 01:32, 9 May 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] "The upload directory (public) is missing"
I upgraded my wiki to use MW 1.14, and now users cannot upload files anymore. When files are tried to upload, the user gets redirected to a page titled "Internal error", which tells him/her the following: "The upload directory (public) is missing and could not be created by the webserver."
Where should such a file exist? --Erkkimon
- I was running in to the same issue on my wiki after having upgraded to MW 1.14. All of my permissions looked as if they where set right, but to verify I ran the following commands under UNIX from in the images directory:
find . -type d -exec chmod 777 {} \;find . -type f -exec chmod 666 {} \;
- After that I was able to upload the files with out any issue. I think the permissions on the thumb directory was the issue.
- Razor77 02:40, 19 March 2009 (UTC)
[edit] Uploading any kind of file fails - loops back to empty upload form
- MediaWiki version: 1.13.2
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.67-community
- Installed Extensions:
- ParserFunctions version: 1.1.1 (stable)
- BoardVote version: r37462 (stable)
- MultipleUpload version: 1.0 (stable)
- Google Maps Extension version: 0.9.3) (beta)
I am having problems using the MediaWiki upload feature. The upload form will load fine, which I fill in with the location of a image or other allowed file type plus write a small description beneath.
The problems begin when I press the upload button, because the upload page will load up again with all fields blank. Attempting a refresh at this point in time would ask if I wanted to resend the post/get data generated from the form on the previous page.. so something is coming out of the form. I then checked the upload log, and there was no records of any uploaded files. I checked the location where the images should have been stored via FTP according to LocalSettings.php and the folder remained empty, aside from the "README" file which was there right from the word go. And yes, the folder had the correct CHMOD permissions.
I enabled error reporting via php.ini and repeated the above steps however no issues were reported either before or after the form's "upload file" button was pressed. (I hard refreshed and attempted uploading again to make sure it wasn't a cache problem too)
Also, I went ahead and turned off the extensions that were installed to check if they were causing the problem before running the above steps yet again. This wasn't the case.
Changing the skin I was using made no difference to the problem. I also tried setting $wgHashedUploadDirectory to false to see if this could have been the cause. No luck, though.
As a last resort I set $wgAllowCopyUploads to true, uploaded a file via FTP into a public directory and then brought it into the wiki that way.. again, no luck at all as it just reloaded the upload form blank.
Is anybody able to shed some light on this problem?
—Marquisite 11:56, 4 January 2009 (UTC)
[edit] Uploading is disabled and whatever I do I can't set it to on
- MediaWiki version: 1.12.0
- PHP version: 5.2.6
- MySQL version: 4.0.24
- URL:
When logged in as WikiSysop (the only user on the system so far) and I try and upload an image in my Wiki (version 1.12.0) I get the following message:-
"File uploads are disabled on Systems."
I have followed the instructions at:-
mediawiki.org/wiki/Manual:Configuring_file_uploads
I have confirmed the following settings:-
file_uploads = On
Check Apache aliases - I have not been able to check, would this cause the above message?
www.mydomain.com/wiki/images is set to 755 I have also tried 777
Safe Mode is off
$wgEnableUploads = true;
As far as I can see there are no permissions set in LocalSettings.php in fact no variables at all with the text "permissions" in them.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
upload_max_filesize is 8Mb
—Southcot 08:23, 15 January 2009 (UTC)
[edit] Uploading large file results in an empty upload form.
- MediaWiki version: 1.13.2
- PHP version: 5.2.5
- MySQL version: 5.0.51a
- URL: (internal)
I am having trouble uploading large pdf files, smaller files work fine. When I upload a file of around 24MB, it brings me to a new upload form with all the fields empty. I checked the uploaded file log and there is nothing that hints at the file that I attempted to upload. Hitting reload also gives me a "resend" option. The 'Maximum File Size' is shown as 32MB on the page.
I have changed the following parameters in my php.ini file:
memory_limit = 256M
post_max_size = 256M
upload_max_filesize = 256M
I have also added the following variables to the LocalSettings.php file:
$wgUploadSizeWarning = 268435456;
$wgMaxUploadSize = 268435456;
I have restarted my Apache server everytime I changed these variables. Even after changing these variables the Maximum File Size stays at 32MB.
This seems to be a similar issue to what Marquisite is having, with the exception that smaller files do upload fine.
I was wondering if someone could help me with this issue as I would like to be able to upload files with sizes up to 256MB.
Thank you,
Chris —65.206.53.253 17:04, 27 January 2009 (UTC)
[edit] $wgUploadSizeWarning does not work
- MediaWiki version: 1.13.3
- PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
- MySQL version: 5.0.51a-3ubuntu5.4
- URL: Intranet
I have changed the maximum filesize for uploads in my php.ini and it works. In order to warn users who are trying to upload larger files I have also changed $wgUploadSizeWarning in my LocalSettings.php but MediaWiki does not display any warning. It only reports an error message saying the uploaded file would be empty and there could be a typing error in the filename. What's wrong?
—Gandalf der Graue 09:20, 5 February 2009 (UTC)
[edit] How to add Media files directly in filesystem?
- MediaWiki version: 1.13.4
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL:
I have a large set of files that I want to be available for inclusion in wiki pages via the [[Media:]] tag. They are too many to practically add to the wiki one by one using the Special:Upload page.
How can I, via bulk filesystem operations (like copying), make them available to the wiki so that they will appear in the Special:ImageList page?
—66.54.188.4 21:10, 13 February 2009 (UTC)
- Use the importImages.php maintenance script. —Emufarmers(T|C) 23:35, 13 February 2009 (UTC)
Even easier, if you don't have commandline access: The Special:UploadLocal extension.
[edit] (RESOLVED) unable to delete files
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache)
- MySQL version: 5.0.67-log
Error deleting file: Could not create directory "deleted/d/2/n"
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"
the chmod on /images/deleted is 777
—Zoidberg 18:27, 14 February 2009 (UTC)
- Make sure $wgFileStore isn't set to use the wrong directory. Have uploads worked fine with $wgHashedUploadDirectory set to true? If not, or if all else fails, just set
$wgFileStore['deleted']['hash'] = 0;—Emufarmers(T|C) 22:59, 14 February 2009 (UTC)
Thank you, Emufarmers
the uploads didint work with "$wgHashedUploadDirectory" set to "true".
i changed "$wgFileStore" from 3 to 0 - and now i can delete files!
Thank you very much! --Zoidberg 14:19, 15 February 2009 (UTC)
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (isapi)
- MySQL version: 5.0.51b-community-nt
- URL: Not yet live.
Hey Support,
In the uploads area it says you can upload .mp4 files.
I have uploaded them and i can get them to play. I have installed the ext. called "player" but i can get the to play in there either.
Am i missing somthing somewhere do i need to allow php to play them or any thing along those lines.
Thanks.
—194.106.220.19 11:11, 18 February 2009 (UTC)
[edit] (SOLVED) How to disable the USERNAME prefix on images uploaded. Avoid to be added the USERNAME
- MediaWiki version: 1.14.0
- PHP version: 5.2.5 (cgi)
- MySQL version: 4.1.22-standard
- URL: http://wikimanga.net
It's something simple, how to disable the function "USERNAME prefix" when you upload an image to the wiki.
Thanks for advance ^,^ —Neoshinji 04:27, 27 February 2009 (UTC)
-
- Well, I have found the response, the mediawiki core was not responsible for this problem, if you have the extension KeepYourHandsToYourself then you need to know it is a characteristic introduced on the version 0.2.
-
- To remove this annoying problem you can delete the code related.
[edit] uploading files - public/9/97
Hi - I have mediawiki 1.14.0 - and I'm a bit new to this.. installed apache2triad 1.5.4 to install php, apache and mysql. apache 2.2.0 mysql 5.0.18 PHP 5.1.2 Everything loads fine - you can look at this at [3]
I have been playing all up on this one problem for about 15 hours so far, and I've exhausted google and the web - well as far as I could find out. I have the same problem that a few people have had when uploading files. the damned error of Could not create directory "public/9/97". with a different file - it's creating a different directory (or at least it's trying to) eg:public/6/63 or such.
I have been through the normal things you check and played a little bit, but I'm just after a little bit of clarification to see if I have stuffed something up somewhere. Media wiki is in E:\apache2triad\htdocs\mediawiki- and within that folder is the 'images' folder that is supposed to be the upload folder. Here is a copy of my LocalSettings.php document.
I have recieved the error of [28-Feb-2009 17:25:27] PHP Warning: mkdir(): No such file or directory in E:\apache2triad\htdocs\mediawiki-\includes\GlobalFunctions.php on line 1943 <-- from my php log, but I have no idea what this means if anything.. I have logged in safe mode and changed the permissions to allow everything on the images folder. and I have enabled file uploads in php.ini.
if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }
$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
require_once( "$IP/includes/DefaultSettings.php" );
- If PHP's memory limit is very low, some operations may fail.
- ini_set( 'memory_limit', '20M' );
if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } }
-
- Uncomment this to disable output compression
- $wgDisableOutputCompression = true;
$wgSitename = "Steve";
-
- The URL base path to the directory containing the wiki;
- defaults for all runtime URL paths are based off of this.
- For more information on customizing the URLs please see:
- http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "/mediawiki-"; $wgScriptExtension = ".php";
-
- UPO means: this is also a user preference option
$wgEnableEmail = true; $wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "pearse.s@iinet.net.au"; $wgPasswordSender = "pearse.s@iinet.net.au";
$wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;
-
- Database settings
$wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "wikimedia"; $wgDBuser = "root"; $wgDBpassword = "stevesteve";
- MySQL specific settings
$wgDBprefix = "";
- MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
- Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = true;
-
- Shared memory settings
$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array();
-
- To enable image uploads, make sure the 'images' directory
- is writable, then set this to true:
$wgEnableUploads = true;
- $wgUseImageMagick = true;
- $wgImageMagickConvertCommand = "/usr/bin/convert";
$wgUploadDirectory = "{$IP}/images";
-
- $wgUploadPath = "$wgScriptPath/images"
-
- If you use ImageMagick (or any other shell command) on a
- Linux server, this will need to be set to the name of an
- available UTF-8 locale
- $wgShellLocale = "en_US.UTF-8";
-
- If you want to use image uploads under safe mode,
- create the directories images/archive, images/thumb and
- images/temp, and make them all writable. Then uncomment
- this, if it's not already uncommented:
- $wgHashedUploadDirectory = true;
- $wgFileStore = 1
- If you have the appropriate support software installed
- you can enable inline LaTeX equations:
- $wgUseTeX = false;
- $wgUploadDirectory =
$wgLocalInterwiki = strtolower( $wgSitename );
Does anyone have any hints or tips that they can point my way.... would be a lifesaver..
Thanks
- Apache needs write access to images. If you're running PHP in safe_mode, it needs to be able to create new directories. If all else fails, just set
$wgHashedUploadDirectory = false;in LocalSettings.php. —Emufarmers(T|C) 22:45, 1 March 2009 (UTC)
[edit] internal error when upload
- MediaWiki version: 1.14.0
- PHP version: 5.2
- MySQL version: > 4.1
- URL: wiki.d3bn.net
file not found "C:\WINDOWS\Temp\php44E9.tmp"
—218.81.77.194 13:02, 17 March 2009 (UTC)
- MediaWiki version: 1.14
- PHP version: 5
- MySQL version: /
- URL: internal
I added the ZIP extention to the allowed files with $wgFileExtensions[] = "zip" but whenever I try to upload one I get an error message in German saying:
"Diese Datei kann nicht hochgeladen werden, da der Internet Explorer sie als „application/zip“ erkennt, welcher ein nicht erlaubter potentiell gefährlicher Dateityp ist."
meaning: this file can not be uloaded, since the Internet Explorer recognized it as "application/zip", which is a not allowed, potential dangerous filetype.
How can I avoid this?
—193.246.86.39 14:04, 24 March 2009 (UTC)-
[edit] Error Internet Explorer application/zip when uploading a ZIP file
- MediaWiki version: 1.1.4
- PHP version: 5
- MySQL version:
- URL: internal
After adding .zip as an allowed file for uploading i get the following error msg in German:
Diese Datei kann nicht hochgeladen werden, da der Internet Explorer sie als „application/zip“ erkennt, welcher ein nicht erlaubter potentiell gefährlicher Dateityp ist.
this means in english that this file cannot be uploaded because the Internet Explorer recognizes it as "application/zip", which is a not allowed and potentially dangerous file type."
This error message also appears when trying to upload from another browswer (tested with Opera / Firefox)
—193.246.86.39 15:20, 24 March 2009 (UTC)
[edit] Upload-Error by using standard types like png, pdf
- MediaWiki version: 1.9.3
- PHP version: 5.0.5 (apache2handler)
- MySQL version: 4.1.14-nt
- URL: Intranet / LAN
Hello, I have got a virtual server with Windows XP and XAMPP. I installed MediaWiki and I wanted to upload some files and my problem is now, that nearly 90% of all my uploads were canceled with an error that the file were damaged or wrong names. I tried different types of files from jpg to png, zip and pdf. Configurated the LocalSettings.php and looked into the mime.types and mimemagic.php and all types, which I had tested were in this files. I tested it on a local machine an it works without problems.
So I don't know where the problem could be or what I can do now.
Perhaps someone has got an idea?
EDIT: added titel!
—171.24.253.44 07:31, 1 April 2009 (UTC)
[edit] Loading Image
- MediaWiki version:
I do not understand how to load images to my new page which is already set up to display them. my page is http://en.wikipedia.org/wiki/Navy_Oilers.
I can identify the images with the browser set up but that is as far as I can understand. I am not a programer. There are two images
- http://navy.memorieshop.com/Oilers/Kawishiwi-1956.jpg a United States ship commissioning photo given to me when the ship was commissioned.
- http://navy.memorieshop.com/Oilers/Mispillion-Longer.jpg from the Navsource.com web site
—Navyoiler 15:30, 9 April 2009 (UTC)
[edit] FastCGI error when uploading
Product Version MediaWiki 1.13.3 PHP 5.2.8 (cgi-fcgi) MySQL 5.1.30-community
- URL: Our WIKI is only internal. So I can not give you the url, but it is the basic upload link.
When uploading a file from a slow link or over VPN my users are getting the following error.
FastCGI Error The FastCGI Handler was unable to process the request. ________________________________________ Error Details: • The FastCGI process exceeded configured request timeout • Error Number: 995 (0x800703e3). • Error Description: The I/O operation has been aborted because of either a thread exit or an application request. HTTP Error 500 - Server Error. Internet Information Services (IIS)
Tim Carfrey tcarfrey@deloitte.com—167.219.0.140 15:01, 13 April 2009 (UTC)
Is there an update on this?
[edit] Error-message after Uploading on 1.14.0
I've got still the problem mentioned in autumn 2008.....on using GD (cause I can't use ImageMagick due to blocked calls to escapeshellarg and passthru)
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8140 bytes) in /var/www/xyz/html/wiki/includes/media/Bitmap.php on line 192
MediaWiki: 1.14.0 PHP: 5.2.9 MySql: 5.0.51 php-mem: 32MB
Message seems to be independent on size of pic ! (will occur, if the pic has 483kB and even the size is 58,6 or 21,6 kB....)
—Red_Ant 23:22, 17 April 2009 (UTC)
- Increase the memory limit. —Emufarmers(T|C) 08:24, 18 April 2009 (UTC)
-
- I increased from 32M (server-default) to 64M and it seems to work......thank you
Red ant 15:59, 19 April 2009 (UTC)
- I increased from 32M (server-default) to 64M and it seems to work......thank you
[edit] uploading files on mediawiki 1.13.5
- MediaWiki version: 1.13.5
- PHP version: php 5
- MySQL version: mySQL 5.0
- URL: http://www.asicdesign-world.com/wiki/index.php?title=Special:Upload
I am new user of wiki and setting up wiki on my Godaddy hosted windows account. I sucess fully set up wiki but when i am trying to upload files it if giving me error message like
Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\3069877\html\wiki\includes\GlobalFunctions.php on line 1837
I have enabled the $wgEnableUpload = true ; in the LocalSettings.php
I think it is something related to permission but can not able to resolve it. can you help me resolving it. Thanks send me details on jaymin.jasoliya@gmail.com
—71.137.208.99 06:52, 21 April 2009 (UTC)
[edit] Unable to upload images after update from 1.12. to 1.14
- MediaWiki version: 1.14.0
- PHP version: 5.26
- MySQL version: 5
- URL: Private intranet
I updated using the first method and all went well.
Browsing around the wiki, adding or editing is no problem.
The issue I have is that I cannot upload anything. once I submit an image I just get a white screen.
below is the results in my log file.
session_set_cookie_params: "0", "/", "", "1", "1" Unstubbing $wgParser on call of $wgParser::setFunctionHook from xsl_setup Unstubbing $wgContLang on call of $wgContLang::getMagic from MagicWord::load Fully initialised Language::loadLocalisation(): got localisation for en from source Unstubbing $wgMessageCache on call of $wgMessageCache::get from wfMsgGetKey Unstubbing $wgLang on call of $wgLang::getCode from wfGetLangObj Unstubbing $wgUser on call of $wgUser::getOption from StubUserLang::_newObject Cache miss for user 18 Connecting to localhost wikidb... Connected Logged in from session Connecting to localhost wikidb... Connected MessageCache::load: Loading en... got from global cache WebRequest::getFileName() '2008MCA.PNG' normalized to '2008MCA.PNG' User::isBlocked: enter User::getBlockedStatus: checking... IP: 143.115.170.6 Block::load: '', '18', 1 User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked() User::isBlocked: enter User::getBlockedStatus: already loaded. User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked() User::isBlocked: enter User::getBlockedStatus: already loaded. User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked() User::isBlocked: enter User::getBlockedStatus: already loaded. FileCache negative MISS for 2008MCA.PNG File::getPropsFromPath: Getting file info for /tmp/phpfliXuK MimeMagic::__construct: loading mime types from /webdocs/cp/wiki/includes/mime.types MimeMagic::__construct: loading mime info from /webdocs/cp/wiki/includes/mime.info
Any ideas?
images/ is world writable (not safe but I was just testing)
—Masterkeedu 20:13, 22 April 2009 (UTC)
[edit] (Resolved)Zip Files can't be uploaded
- MediaWiki version: MediaWiki 1.14.0
- PHP version: PHP 5.2.6 (apache2handler)
- MySQL version: MySQL 5.0.67
- URL:
Italic text
Since 1.14 it isn't possible to load any zip files in the system. Do have a solution to load zip files to mediawiki?
See aslo my Localsettings.php and the orginal error message
A part of my Localsettings.php
$wgEnableUploads = true; $wgCheckFileExtensions = true; $wgFileExtensions = array('png', 'zip', 'jpg', 'jpeg', 'ppt', 'doc', 'xls', 'pdf', 'gif', 'tiff');
Error Message from IE:
Upload warning Files of the MIME type "application/zip" are not allowed to be uploaded.
—194.7.161.147 09:34, 24 April 2009 (UTC)
- Adjust $wgMimeTypeBlacklist. —Emufarmers(T|C) 00:30, 25 April 2009 (UTC)
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
nature of zonouz
A study on Zonouz nature
What should i change in the Localsettings.php? Can you please help?
[edit] Very slow uploads and non-starting uploads
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: localhost, release soon
- OS: Mac OS 10.5.6
Sometimes, far too often, upload slows to the point of just not working. It seems that the page gets stuck updating, nothing is uploaded. This happens via localhost as well as when logged in from an external. I have rather a lot of data to upload so this is something of an issue for me.
—130.237.175.237 15:00, 7 May 2009 (UTC)
[edit] Image Support
[edit] images not working at all suddenly
I am an architecture professor and not a php/web/wiki guru and so am really stuck. last year my architecture studio made a really great wiki with literally thousands of images on it. the wiki still works except that NONE of the images appear now. No thumbnails show up, just the image name, and when you try to bring that image up i get the following error message:
Not Found The requested URL /images/Wikisplashbeach.jpg was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Its strange as the wiki worked one day and then the next day this happened and nothing had actually altered the wiki.
As I said, i dont know how to do much in terms of scripting so any help would be appreciated. —70.140.186.159 23:26, 21 November 2008 (UTC)
- Enable $wgHashedUploadDirectory. —Emufarmers(T|C) 07:40, 22 November 2008 (UTC)
-
- ah, ha, that was uncommented but set to false. I commented it and while the images do not show, at least not when I dig down to the image page the image will appear. but it still does not appear in the wiki page itself. Now altering that setting does not seem to have any effect.
[edit] Zu große Dateien "magick" werden abgelegt (German)
- MediaWiki version: 1.10.1
- PHP version: 5.2.6
- MySQL version: 5.0.37
- URL: http://www.wikiwaldhof.de
Hallo, habe ein Megagroßes Problem und mein Provider will mir sogar kündigen wenn ich dieses Problem nicht behebe. Habe eine MediaWiki-version 1.10.1 mit ca. 10.000 Seiten und 2.300 Bilder.
Mein Account wurde von goneo inzwischen schon bestimmt zum 20 mal gesperrt, weil übergroße Dateien im Temporären Verzeichnis /tmp (Linux) abgelegt werden.
So wie es ausschaut sind dies Dateien von ImageMagick
Beispiel:
> -rw------- 1 12242f422 wheel 1.5G Oct 8 04:48 magick-IoHUlkZS > -rw------- 1 12242f422 wheel 1.5G Oct 8 04:47 magick-PqaESSJn ...
Ich weiß wirklich nicht wo diese herkommen und wie ich das Problem beseitigen kann. Hat jemand eine Idee für mich??? Kann ich zum Beispiel auch die neuste Version installieren so das meine Daten nicht verloren gehen? Es war ja schließlich sehr viel arbeit, die auch umfangreich genutzt wird.
components vom mediawiki:
Ald-Hjl-Koord-de.kmz Call Cite DynamicPageList EmbedURL.php ExtensionFunctions.php Inputbox ParserFunctions Picasa2 Picasa2.php Player RateArticle.php Ratings SearchSuggest Wgraph WikiChat.php YouTubeTag.php audio-player audio-player.php dewplayer.swf firestats firestats-mediawiki.php flashmp3.php gallery googleVideo.php lmo mp3.php tab5.php urlify.php wikipdf
Ich würde Euch sehr danken.
Viele Grüße Stefan —194.5.134.185 13:03, 28 November 2008 (UTC)
[edit] Blank images not being handled correctly.
- MediaWiki version: 1.13.2
- PHP version: 5.2.5
- MySQL version: 4.1.22-max-log
- URL: http://www.recipesrealm.com/wiki
Hi, I have installed mediawiki to my site using my server's, Affilorama, auto-installation, but it is not handling image files as it should. I have made the "image folder" writable and set $wgEnableUploads = true; I have altered very little else so it should be working correctly. Images can be uploaded, but the blank frame which should appear if the named image does not exist is not. The blank frame which I refer to is the one which links to the upload screen with the message "No file by this name exists, you can upload it." I have tried many ways to resolve this issue and have just completed a re-installation.
Any help would be greatly appreciated.
Many thanks, Colin —89.242.245.151 13:01, 11 December 2008 (UTC)
[edit] Add external images
- MediaWiki 1.13.2
- PHP 5.2.6 (cgi)
- MySQL 5.0.67-log
I've been trying to add external images with a hyperlink to affiliates. I've yet to enable external linking, but uploaded the banner and added:
[[Image:15765.gif|link=http://send.onenetworkdirect.net/z/15765/CD113969/]]
But for some reason, link= shows up in the title. I've checked wiki logs and such and tried others like click or click-url... i've tried adding the url in quotes but no luck.
Have i missed a setting?
—216.221.84.194 21:15, 12 December 2008 (UTC)
[edit] (RESOLVED) passthru() disabled
- MediaWiki version: 1.13
- PHP version: 5
- MySQL version:4.1.12
- URL:
My hosting provider disabled 'passthru()' function and I am getting the following warning message when I try to include an thumbnail using the following syntax [[Image:Example.jpg|center|thumb|'''100px'''|Sunflowers]]
Warning: passthru() has been disabled for security reasons in /<HOME>/<DOMAIN>/<PUBLIC_ROOT>/includes/GlobalFunctions.php on line 2030
How to thumbnail without using this function
Thanks in advance
PS: exec() is also disabled
—59.160.174.12 13:34, 6 January 2009 (UTC)
In LocalSettings.php; set $wgUseImageMagick = false.
[edit] Thumbnail images not being displayed correctly.
- MediaWiki version: 1.13.3
- PHP version: 5.2.5 (cgi)
- MySQL version: 4.1.22-standard-log
- URL: internal
Can someone please help me or direct me to the correct area.
I am displaying thumbnail images of .png files and they are being displayed incorrectly. The top 10% (approx) of the thumbnail image is white and the bottom 10% is gone. A sample can be found here http://www.darrenw.net/badthumb.JPG I have coloured the white bit in red. When you compare the thumbnail with the full image you can see the bottom bit is gone. Its like the image has been moved down during the thumbnail creation.
The image is a .png file 640x512.
I am displaying the thumbnail like this:
[[image:myimage.png|thumb|left|270px|comment]]
Can someone please help or provide me with some clues as to what's going on.
Thanks in advance, Darren.
—203.134.124.36 02:37, 7 January 2009 (UTC)
[edit] (RESOLVED) Image Linking Problem
- MediaWiki version: 1.13.2
- PHP version: 5.2.0-8+etch13 (apache2handler)
- MySQL version: 5.0.32-Debian_7etch8-log
- URL: http://cabsav.grapevinenet.com.au/kb/index.php/Main_Page
Hey guys, I can't create a hyperlink link from any of my images.
I tried following the instructions here but the images keep being linked back to themselves.
Code I have tried include the following:
[[Image:Connection.gif|link=Connection_Guides]]
[[Image:Email.gif|link=http://www.google.com/]]
Am I missing a plugin or something?
Thanks for all your help
—Mickeylieu 03:01, 15 January 2009 (UTC)
- The link parameter is only available in MediaWiki 1.14+. Use the Click extension, upgrade to SVN, or just wait until 1.14 is released (should be any day now). —Emufarmers(T|C) 06:18, 15 January 2009 (UTC)
-
- That is awesome, thanks man!!! :D Mickeylieu 04:20, 21 January 2009 (UTC)
[edit] (RESOLVED) upload page
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.51a
- URL: http://www.zonstraal.be
Can somebody tell me where to change the value, "500MB" on the "Special:Upload" page? This is after the text "maximum uploadsize" I search everywhere but can't find it.
Thanks in advance. Jan Bakker (B)
—94.110.29.6 17:29, 18 January 2009 (UTC)
- The value is automatically set to $wgMaxUploadSize or upload_max_filesize, whichever is smaller. The value should automatically accurately represent the maximum size of uploads, but if you want to hardcode it, change the $1 in the MediaWiki:Upload-maxfilesize system message. —Emufarmers(T|C) 20:50, 18 January 2009 (UTC)
[edit] Click Images to Page Within Category, Not Image Page
- MediaWiki: 1.10.1 (upgrading to 1.14 when out)
- PHP: 5.2.6 (apache2handler)
- MySQL: 5.0.67-standard-log
- URL: http://www.masa.asn.au/masawiki/index.php/Main_Page
What I would like to do is generate a list of images, which you then click on and it takes you to a page. I see this will be added to the core of 1.14. However, I would really like to be able to do this via categories, as it would make it much easier to maintain the list long term, as things change, need to be updated etc. Something like you add the category to the image, then within that tag you put the page you want it to link to when you click on the image thumbnail displayed within the category list. Does that make sense? —Dr DBW | talk 00:19, 22 January 2009 (UTC)
- Thinking about it further, it seems that if the image linking was available within the gallery tag, that would be good as well. Anyone know if that is possible? Just going to have a search around myself now. --Dr DBW | talk 23:04, 22 January 2009 (UTC)
[edit] (RESOLVED) Link a article with a picture
- MediaWiki: 1.13.2
- PHP: 5.2.0-8+etch13(cgi-fcgi)
- MySQL: 5.0.32-Debian_7etch8-log
- URL:
Hi I'm trying to link a article with a picture. I think the right command must be [[Image:Pic.jpg|link=Main_Page]]. But it still open the pictures information instead of the link to the "main-page".
thanks for help —The preceding unsigned comment was added by 212.101.18.161 (talk • contribs) 08:12, 22 January 2009. Please sign your posts with ~~~~!
- See three threads above:
- "The link parameter is only available in MediaWiki 1.14+. Use the Click extension, upgrade to SVN, or just wait until 1.14 is released (should be any day now). —Emufarmers(T|C) 06:18, 15 January 2009 (UTC)"
- --:bdk: 09:08, 22 January 2009 (UTC)
[edit] Empty textfield after save or preview with MSIE
- MediaWiki: 1.13.2
- PHP: 5.2.5 (apache2handler)
- MySQL: 5.0.45-community-nt-log
- Windows Server 2003
- URL: (internal wiki)
When I try to edit an save a page with MSIE, I sometimes (about 50%) get after clicking on 'Save page' an edit page with no content in the wpTextbox1. The same happens sometimes when clicking 'Show preview'. It never happens with Firefox.
80.67.144.184 13:55, 28 January 2009 (UTC)
[edit] (RESOLVED) Easy way to rename image ?
- MediaWiki version: any
May be its dumb question... i try to find any good path to rename some images in already installed and filled wiki and found nothing. As i know wikipedia use special bot for this task. I can't find any more specific info, bot courses etc.... and i not want bot, i want just button like "article rename". No... reupload not good way for me, one or two images can be reuploaded, 100 or 200 cannot :(
I try found any extension and again found nothing :(
—78.107.42.94 09:54, 30 January 2009 (UTC)
- As a guess, would require a script to do this, that renames the files as well as changing the database. As for the wikipedia bot, you probably need to contact the person that runs the bot, or wrote it. If you can track that one, they should be happy to help you out. --Dr DBW | talk 05:08, 13 February 2009 (UTC)
-
- Or just enable $wgAllowImageMoving. —Emufarmers(T|C) 14:56, 13 February 2009 (UTC)
[edit] I can't display the Logo and images
- MediaWiki version: 1.13.3
- PHP version: 5.1.6
- MySQL version: 5.022
- URL: http://www.nspcommunity.net/wiki/index.php/Main_Page
(1) the Logo ($wgLogo) does not show in all the pages - I can see it only when I in the edit page.
(2) the icons in the Help:Contents page do not show up. This include the Languages icon at the bottom of the page.
(3) There are some other images which do not show up.
Thanks in advance.
Abe
—Amichelen 23:49, 3 February 2009 (UTC)
- Set
$wgLogo = "{$wgScriptPath}/wikilogo.gif";—Emufarmers(T|C) 02:55, 4 February 2009 (UTC)
[edit] Image are redirecting to Main page
- MediaWiki version: 1.13.4
- PHP version: 5.2.0-8+etch13 (apache2handler)
- MySQL version: 5.0.60-enterprise-gpl-log
- URL:
My MW runs on php server with safe mode, which I can't turn off. I did things that are writen on Safe mode, now I can upload image, everything is OK, but when I click to name of uploaded image, I don't see picture, but it redirects me to my Main page. Where is the problem? —Jagro 23:08, 7 February 2009 (UTC)
[edit] Problem with large image resizing
- MediaWiki version: 1.13.2
- PHP version: 5.2.8-pl2-gentoo
- MySQL version: 5.0.70-log
- URL:
Sounds like I have a bug on my mediawiki setup, with thumb generation I guess.
I posted a large jpg of the logo of my school, and the resized image is clearly lacking some stuff ...
I'm not using any kind of plugin that would modify the way mw is handling images.
Does anyone have a clue about what's going on ? Thank you.
—Bertrand.roussel 21:22, 9 February 2009 (UTC)
[edit] Editor Icons do not show up
- MediaWiki version:1.13.3
- PHP version: 5.1.6
- MySQL version:5.0.22
- URL: http://www.elthvcc.org/gswiki
I do not see the icons (images) (for Bold, Italic, etc.) in the editor. Also, I cannot see the icons in the Help page (Image:Geographylogo.png, Image:PD-icon.svg)
Please help.
Thank you.
Abe
—Amichelen 19:13, 15 February 2009 (UTC)
[edit] Problems with internal link option with embedded images
- MediaWiki version: 1.13.4
- PHP version: 5.2.5
- MySQL version: 5.0.45
- URL: n/a
- Extensions: FCKeditor, Quiz
I am having problems linking to pages from embedded images in my project, when I do, even if the image is coded to link to a page, say the main page for example, it invariably links to the image page created when the image was uploaded. I have no interest in hotlinking, or inline linking, I just wish to redirect links from images to other internal pages inside my own wiki. Browsing the image pages for support with image link formats yields the following code:
[[Image:ExampleImage.jpg|link=PageName]]
The above yields an embedded image with a hovering cursor caption"link=Pagename"
All I want to do is embed an image, and make the image itself a clickable link to another page inside my wiki. I've noticed that anything a I put after a pipe "|" is interpreted as a caption and is injected into the hovering tool tip, if I am not mistaken it is supposed to the "alt=" functionality. I would like to know if there is a line I need to uncomment, add or what ever I have to do make image links work properly, as well as use the rest of the piped image options such as:
link=
url=
alt=
[[Image:ExampleImage.jpg|link=]]
The last one making it so the image doesn't link to anything
I'd appreciate any help with this, and thank you in advance for your time
—76.113.135.28 19:29, 21 February 2009 (UTC)
- Upgrade to MediaWiki 1.14. —Emufarmers(T|C) 03:03, 22 February 2009 (UTC)
I did upgraded to 1.14 Emu, and it still doesn't work.
- 1.14 has this feature and the markup you posted appears to be correct, so I don't see any obvious reason why it wouldn't work. Try purging the page, in case it hasn't re-parsed the markup since the update. If that doesn't fix it, then you might want to try seeing whether it works with FCKeditor disabled. —Emufarmers(T|C) 11:27, 25 February 2009 (UTC)
[edit] Recent Image Feed to Webpage
Anyone got ideas on how can set up a feed of recent images to a webpage? Have got something set up to collect recent edits and new pages http://www.masa.asn.au/masa/content/view/245/1/ and would like to have something similar for new images. --Dr DBW | talk 23:32, 25 February 2009 (UTC)
- from the IRC channel I got the suggestion that the API may be able to help. Using that you can get wikitext of the new images page, so might be able to use that to generate the webpage. Still looking into it. --Dr DBW | talk 05:01, 6 March 2009 (UTC)
[edit] Image link in conjunction with frame
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0
I'm not sure if this is a bug or just I'm missing something. If we want image with no link (external or file page) we use:
[[File:Example.jpg|link=|caption]]
However if we add the frame parameter it creates the link to the image page again like.
[[File:Example.jpg|link=|caption|frame]]
In the documentation is says that link cannot be used in conjunction with thumb, as this is always meant to link to the larger version of the image. But how about using just frame with no thumb? I just want to have an image with caption and no link.
Thanks in advance! —Rocco08 18:46, 2 March 2009 (UTC)
[edit] (RESOLVED) Cannot Upload Some File Types
- MediaWiki version: 1.14
- PHP version: 5.26
- MySQL version: 5.1.30
- URL:
wiki 1.14 can not upload files suchs as *.zip, *.xlsx, *.docx . Please help. —153.108.64.1 07:29, 4 March 2009 (UTC)
- Manual:$wgFileExtensions --Dr DBW | talk 00:47, 5 March 2009 (UTC)
[edit] Images which don't link anywhere.
Basically I have downloaded Click extension and I can link a picture to a article but I want a picture which does not link anywhere. Is that possible. 86.136.108.50 17:47, 9 March 2009 (UTC)
- MediaWiki: 1.13.2
- PHP: 5.2.8 (cgi-fcgi)
- MySQL: 5.0.32-Debian_7etch8-log
- Url: http://www.userdirectory.co.uk
[edit] Image specifications not working, the piping doesn't function.
- MediaWiki version: 1.13.4
- PHP version: 5
- MySQL version: 5
- URL: http://www.myrealestatetool.com/help
For some reason, when I try using pipes to format my images, like this:
[[Image:demo1.jpg|thumb]] I get an internal server error. If I just have [[demo1.jpg]] it works just fine. I need to be able to format the images to thumbnails and include alignment. What can I do to fix this?
—65.41.141.243 19:18, 9 March 2009 (UTC)
- MediaWiki version: 1.10.1
- PHP version: 5.2.0
- MySQL version: 5.0.15
- URL:
Hello,
I am using wiki for some time now, and it has become an important being in my organization. I was wondering though, if there is a way to keep all the images in the database instead of the Images folder, I was looking for a solution and found nothing yet, hopefully you can help,
Thanks.
—87.68.84.143 13:50, 18 March 2009 (UTC)
[edit] Adjust image to 100% of screen
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.32-Debian_7etch8-log
- URL: http://www.hugs.no
I really need this!
Cause it's so many different PCs that are going to look at the Wiki. And it looks crazy at some!
—83.109.7.174 16:15, 24 March 2009 (UTC)
[edit] images in /images/ folder do not load
- MediaWiki version: 1.14.0
- PHP version: 5.2.5 (cgi-fcgi)
- MySQL version: 5.0.51a-community-nt
- URL: http://212.37.244.173/dnwiki.en
Using ftp, I uploaded a few images to the /images/ folder. I try to link on a page using: but it does not show the image. When I try to upload the same image it is showing in the document which I do not want. I run the maintenance script rebuildImages.php but still I am getting the problem.
Thanks,
—212.37.244.173 07:06, 15 April 2009 (UTC)
First and foremost, I am no expert, but I am just wondering why you are using ftp and not the "Upload file" link that comes with your MediaWiki. — PM Poon 17:32, 1 May 2009 (UTC)
[edit] Slideshow in MediaWiki
- MediaWiki version: 1.13.3
- PHP version: 5.2.6-5 (apache2handler)
- MySQL version: 5.0.32-Debian_7etch6-log
- URL: http://rafnem.hi.is/hiwiki/index.php/Main_Page
I am getting acquainted with MediaWiki in connection with a school information project. This is very promising and started me thinking of a wider application: Would it be possible to use MediaWiki for a photogallery, with thumbnails and slide show for all photos belonging to different categories?
- I have a collection of photos, say for the years 1942-1972.
- I put one photo in each article in the wiki, describing what is taking place, and categorizing it, by year, by name of the people seen in the photo and any other imaginable feature.
- If I after this choose the category "1957" all photos belonging to that category should be presented in a thumbnail gallery with the option of a slideshow and all or part of the description. If I choose the category "Vehicle" all photos in that category would be presented, ordered by year.
The same goes for many pictures in a single article. Even using the
<gallery></gallery>
tag I can't see an easy way to move between the pictures, I have to back out of each one and drill down to the next.
—Icepalm 11:52, 19 April 2009 (UTC)
[edit] Error creating thumbnail: convert.exe: unable to open image :Permission denied @ blob.c/OpenBlob/2439
- MediaWiki version: 1.14
- PHP version: 5.2.4
- MySQL version: 5.0.5
- URL: http://mymoney.hatalasystemsgroup.com/Wiki/index.php?title=File:BWPositive.jpg
Been battling this for a few days now, it's been one thing after another. This is on Windows and IIS, as indicated by the error message. I seem to have run out of options I can think of/find. Any help would be appreciated.
—Chris 16:00, 20 April 2009 (UTC)
Hi Chris, I am no expert but I have encountered this problem before. Are you on shared hosting? If so, your webhost may not be allowing ImageMagick. Two of my webhosts use GD instead, in which case, you just need to set $wgUseImageMagick = false; and it will work fine. — PM Poon 17:26, 1 May 2009 (UTC)
[edit] $wgUseSharedUploads
- MediaWiki version: 1.14.0
- PHP version: 5.2.8
- MySQL version: 5.0.77-community
- URL: http://aseanpedia.com
Hi, I am operating multiple wikis and I think the use of $wgUseSharedUploads is a good idea. However, the instructions at Manual:$wgUseSharedUploads assume some background knowledge and are incomprehensible for a novice like me:
If you operate multiple wikis, you can define a shared upload path using $wgSharedUploadPath. If $wgUseSharedUploads is set, the wiki will look in the shared repository if no file of the given name is found in the local repository (for [[Image:..]], [[Media:..]] links). Thumbnails will also be looked for and generated in this directory. Uploads to the wiki will NOT be put there - they will be put into $wgUploadDirectory.
Supposing I create a new wiki called imagewiki.com and a database called Imagedb:
- How should I tweak my LocalSettings.php? Do I need to tweak both the LocalSettings.php for aseanpedia.com and also for imagewiki.com?
- Can I use a "false" (unregistered) domain name? — PM Poon 17:21, 1 May 2009 (UTC)
[edit] Thumbs are not centered
Look here Help:Images and scroll down to "Thumbs". The picture and the text is not centered within the lighter area arround it. --Lastwebpage 20:05, 7 May 2009 (UTC)
[edit] Formatting Support
[edit] Need help on adjusting the portlets to the top on monobook template
--Dr DBW | talk 23:19, 18 February 2009 (UTC)* MediaWiki version: 1.13.2
- PHP version: 5.2.5
- MySQL version: 5.0.51
- URL: on localhost so no url
Im using the monobook template and i want to customize it a little. What ive done in first place is to change the logo. My new logo is only 60px in height. Ive changed the logo img entry and the logo href entry in the main.css and adjusted the height there from 155px (default) to 60px. I expected that the portlets will come up a bit then, nearer to the top of the page. But nothing happens. The portlets are not moving to the top. Ive searched the css then for a option that may be necessary to change, but ive found nothing.
So my question: What should i do if i want the first portlet in my list to begin e.g. 20 px below the logo image?
Thanks in advance,
Martin —217.5.181.251 15:15, 5 December 2008 (UTC)
[edit] Templates, Where are files located and what do contents look like, e.g. language used?
- MediaWiki version: 1.13.1
- PHP version: 5.2.5 (cgi)
- MySQL version: 5.0.45
- URL: http://www.jefferson-wiki.com/wiki/
I am trying to customize an installation of MediaWiki and have run into problems. I can not find where I should place template files and what the contents of template files are to create custom pages. Essentially, I want to create a scaffold to help avoid the problems that can happen when there are blank pages. I want to give users a format for the material I want them to enter. For example, I want them to enter their topic, a brief summary of the topic, have a large edit box for them to enter their article text, have the ability to enter a list of examples, enter a list of related topics and finally to enter references or links to further reading. How can I create a template to do this and where does it go in the directory structure? What language do I use for the template text? Any examples would be very helpful!
Thank you, Steve —Duffsb 15:44, 16 December 2008 (UTC)
- Hm. Seems that you have found the template namespace and you are using it with templates, so this may have been resolved meanwhile? Best regards -- JörgM 84.156.163.108 08:27, 26 March 2009 (UTC)
[edit] How Do I change the link on successful login to another page other than main?
- MediaWiki version: 1.13.1
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-community-nt
- URL: private wiki on a usb key
I've installed the Mowes mediawiki package to test/learn and play with it.
What I want to be able to do is have a main page and after successful login instead of the link pointing back to the main page have it point to another page. I understand that Special pages are not editable like the rest.
Thanks Alan —Dragos 21:28, 17 December 2008 (UTC)
- Probably it's the system message MediaWiki:Returnto which you have to customize, accessible also via Special:AllMessages. It does not pointing back to the main page, but to the last page you have seen before logging in. Be careful, I don't know, if this message is just used after login. In doubt don't replace the link variable, just add the page you want to have a link to. -- JörgM 84.156.191.245 18:06, 5 May 2009 (UTC)
[edit] Can I force every user to use the same template when creating a new page?
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: N/A
Can I force every user to use the same template when "creating a new page"? The Template I want is very simple, with no parameters involved. I hope this template can be applied automatically without manually typing {{}} by users. Thank you!
—Coulomb 23:29, 27 December 2008 (UTC)Coulomb
- I guess you are looking for something like the mechanism we use on this page, cf. this URL, which adds an "editintro" and preloads one template. Well, there are some neat extensions at Category:Page creation extensions, namely Extension:InputBox. I don't know about any really forcing solution offhand, though (users are still able to create pages through "normal" …&action=edit URLs, or by manually removing template code from edit pages before saving). --:bdk: 02:38, 28 December 2008 (UTC)
-
- I think the mechanism used in this page is what I want! Could you tell me how to achieve this effect? Thank you!
- —Coulomb 10:35, 29 December 2008 (UTC)
-
-
- Well, on this support desk page we only use preloaded text for adding new sections to an already existing page; but we have an extra manual page for page creations, and that is what you want, I guess: Manual:Creating pages with preloaded text; it's linked from Extension:InputBox :-)
- I hope this helps. --:bdk: 14:02, 29 December 2008 (UTC)
- I tried a extension called NewArticleTemplate. It works just like you mentioned about preload page. My problem now is that the format I created in preload page is totally lost, because I use FCKeditor, a WYSIWYG one, as a default editor. For example, the double equal sign "== text ==" in wikitext is considered "normal equal sign" in FCKEditor. Do you have experience in this sort of stuff? —Coulomb 11:46, 30 December 2008 (UTC)
-
-
-
-
-
- Sorry for the late reply. Hmm, I don't know Extension:NewArticleTemplates in detail. Your question sounds as if you have to find your way through the "template jungle" first ;-) Do you still have problems with getting started? If yes, it would be best to describe how your preloaded template should look like (is it an infobox or such?). --:bdk: 16:13, 9 January 2009 (UTC)
-
-
-
[edit] Creating optional parameters in templates?
- MediaWiki version: 1.14alpha (r44990)
- PHP version: 5.1.6 (cgi-fcgi)
- MySQL version: 5.0.22-log
- URL: http://www.twcenter.net/wiki/Main_Page
I am trying to make an infobox template for a local wiki about PC game modifications, where people can enter several parameters such as Screenshot and Leader, but if they don't, then those fields should not appear in the infobox at all. My code at the moment is:
{| class="infobox" cellpadding="2" cellspacing="0" style="float:right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
|-
| colspan="2" style="text-align:center;" | {{#if: | | [[Image:{{{modscreenshot}}}]]}}<br>{{#if: | | {{{platform}}}}}
|-
! Era:
| {{#if: | | {{{era}}}}}
|-
! Mod Leader:
| {{#if: | | {{{leader}}}}}
|}
However, at present, the infobox still shows empty parameters; I want it to skip those altogether. The template is at http://www.twcenter.net/wiki/Template:Mod. Any help would be greatly appreciated. It Is Me Here t / c 14:54, 31 December 2008 (UTC)
- Hm. Haven't tried to program templates yet, but the following code
{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
|-
{{#if: {{{modscreenshot|}}} | colspan="2" style="text-align:center;" {{!}} [[Image:{{{modscreenshot}}}]]}}<br>{{#if: {{{platform|}}} | {{{platform}}}}}
|-
{{#if: {{{era|}}} | ! Era: || {{{era}}}}}
|-
{{#if: {{{leader|}}} | ! Mod Leader: || {{{leader}}}}}
|}
- gives the following result:
| {{{mod}}} |
- -- JörgM 84.156.191.245 18:44, 5 May 2009 (UTC)
- Oops. Does not work this way. I am testing a little bit on your wiki. -- JörgM 84.156.191.245 19:03, 5 May 2009 (UTC)
- Hm, okay, forget the code above :-). The following code
{| class="infobox" cellpadding="2" cellspacing="0" style="float: right; margin:5px 0 5px 5px; border:2px solid grey; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: large;" | {{{mod}}}
{{#if: {{{modscreenshot|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{modscreenshot}}}]]
}}
{{#if: {{{platform|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} {{{platform}}}
}}
{{#if: {{{era|}}}|
{{!-}}
! Era:
{{!}} {{{era}}}
}}
{{#if: {{{leader|}}}|
{{!-}}
! Mod Leader:
{{!}} {{{leader}}}
}}
|}
- gives the following result:
| {{{mod}}}
|
- I have changed it on your wiki and added those templates Template:! and Template:!- to your wiki. Seems to work, but test it. I also changed the word "Platform" in your guide to lowercase "platform", because you programmed the template with lowercase (so uppercase did not work). Perhaps have a look on the pages where the template is used if the usage is correctly done with lowercase. -- JörgM 84.156.191.245 21:14, 5 May 2009 (UTC)
[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 (talk • contribs) 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 (talk • contribs) 18:21, 13 January 2009. Please sign your posts with ~~~~!
[edit] Mediawiki FCKEditor overwrites my
headers with ==header== wiki markup
MediaWiki 1.13.2 PHP 5.2.6 (apache2handler) MySQL 5.0.51b-log I am using the FCKEditor extension.
- URL: Intranet only so not shareable
I have pages that have table headers with HTML \<\h\2\> markup, for example:
Welcome to WIKI
When I edit this page, the FCKEditor shows up, allowing me to edit in WYSIWYG mode or swict to Wikitext mode.
If I switch the page to Wikitext mode, all my \<\h\2\> headers like the above get REPLACED with wiki table header markup (the equals signs), so the above header becomes the following:
== Welcome to [[Wiki:Introduction|WIKI]] ==
This is really messing up my pages. Please can you advise if I can keep my \<\h\2\> and prevent this automagical overwriting with "==" wiki markup as soon as I switch to wikitext mode?
Many thanks
—195.167.195.200 10:14, 2 January 2009 (UTC)
[edit] (RESOLVED) Defining a custom edit section
Is there any way (possibly with an extension) to define custom edit sections in an article? I mean, getting the same functionality you get automatically when you place a header; an edit link that lets you edit a specific section of the wiki text, without showing the rest. In particular, I'm interested in getting an edit link for a a single table row (where the edit link would be in the final cell of the row. Is something like this possible? Thanks. 82.215.27.77 09:06, 7 January 2009 (UTC)
—161.12.7.4 10:02, 7 January 2009 (UTC)
- I don't know of a way to force an edit link without using a header. However, on our wiki, we had a similar need for row-by-row edit links and were able to use the exisitng header functionality to do so (see the example below). Keep in mind however, that since these are actual headers, we usucually used the __NOTOC__ since the table of contents would include the content of the first sell of each table row. Hope that helps. 63.192.83.15 00:05, 5 February 2009 (UTC)
[edit] row1 header |
row1col1 |
row1col2 |
[edit] row1 header |
row2col1 |
row2col2 |
Thanks for the suggestion. That does solve the problem, but by now, we've switched to a different solution. I doubt I can get people to start using tables again. 82.215.27.77 08:50, 18 February 2009 (UTC)
[edit] External File Links
- MediaWiki version: 1.11.0
- PHP version: WampServer 2.0c
- MySQL version: 5.0.51a
- URL: Internal
I am adding links to our internal media wiki site. The links are to documents stored on non local SAN storage accessed via a shared area. These files i do not want to upload to the Media Wiki site our old HTML site we would just use <a target="_blank" href="file://ab/cde/Shared/fgh/ij/klm/Group/docs/Bureaucracy/Whereabouts.xls"> WhereAbouts We have many files that use this form. The problem is i can not get mediawiki to display them nicely. I van only get it to show the whole link. I would like it to just show say WhereAbouts.XLS as a blue link which ou click and it then opens the file into excel or IE/excel.
—161.12.7.4 10:07, 7 January 2009 (UTC)
- Add the "file://" protocol to the $wgUrlProtocols. —The preceding unsigned comment was added by 80.156.6.164 (talk • contribs) 06:45, 7 May 2009. Please sign your posts with ~~~~!
[edit] couple of problems
- MediaWiki version: 1.11.2
- PHP version: 5.1.6
- MySQL version: 5.0.26-standard-log
- URL: Internal
Hello,
I am actually having a couple of problems. The first problem is when I compare our mediawiki to another, for templates, when building a new page, I am not able to select the template button and then click manual for a list of templates.
The second problem is style sheets are getting messed up by the FCK Editor... whenever I go from the Wiki Editor to just plain text mode, the style tags dissapear. The only work around is to put in the style tag and save directly without previewing, but if somebody goes to edit, they dissapear again.
The FCK editor is version FCKeditor extension (version fckeditor/mw-extension $Rev$ 2007) by Meta
The other wiki I compare it with has more hooks then ours but most notably they are using version FCKeditor (version fckeditor/mw-extension $Rev$ 2008) by Wikia... is that the reason for both of our problems by chance?
—64.86.141.133 15:33, 13 January 2009 (UTC)
[edit] (RESOLVED) Pages do not show up at category page
- MediaWiki version: 1.9.3
- PHP version: 5.2.1 (apache2handler)
- MySQL version: 5.0.37-community-nt
- URL: / (internal wiki)
Hello,
I have a problem with pages which do not show up on category page as expected.
I have created a template "Hinweis/Überarbeitung notwendig" (transl. Notice/Rework needed) which belongs to the category "Überarbeitung notwendig" (transl. Rework needed). This template is included in some pages which DO need rework. Now, I expect these pages to show up on the category page.
But only a few do.
The template looks like this:
<div style="border:black solid 1px;background-color:#FF9933;padding:5px;margin-bottom:20px;">
'''Hinweis:'''<br/>
Diese Seite benötigt vermutlich eine Überarbeitung. Die Diskussion dazu sollten auf der [[Diskussion:{{{Seite}}}|Diskussions-Seite]] geführt werden. Ist die Überarbeitung erfolgt bzw. als unnötigt erachtet worden, sollte dieser Hinweis entfernt werden.
{{{Benutzer}}}
</div>
[[Kategorie:Überarbeitung notwendig]]
This works on page '/Maritime Transportlogistik':
{{Hinweis/Überarbeitung notwendig|Seite=Maritime Transportlogistik|Benutzer=[[Benutzer:XY|XY]] 18:22, 19. Jan. 2009 (CET)}}
But do not work on '/XYZ-Integration' and '/SimCorp':
{{Hinweis/Überarbeitung notwendig|Seite=XYZ-Integration|Benutzer=[[Benutzer:XY|XY]] 18:16, 19. Jan. 2009 (CET)}}
{{Hinweis/Überarbeitung notwendig|Seite=SimCorp|Benutzer=[[Benutzer:Tiga|Tilo Gau]] 18:20, 19. Jan. 2009 (CET)}}
Did I something wrong or do templates & categories not work this way?
Thank you very much and best regards
TG —82.83.156.25 20:36, 19 January 2009 (UTC)
- Sounds like a cache issue. Did you try purging the pages in question? --:bdk: 09:20, 22 January 2009 (UTC)
-
- Thank you for this advise but it doesn't work. I have purged the page, the template and the category with no success. Strangly the page shows up on the category page after adding the category tag directly to the page and deleting it again. TG -- 87.193.172.106 16:57, 23 January 2009 (UTC)
-
-
- Hello again, as I have said in my last post, it works after a tempory insert of the category. Also it works for new pages. So I think this was a parsing/caching problem. Maybe I have added the category to the template AFTER I have inserted the template into the pages. So I will mark this thread as RESOLVED. Thank you very much. TG, 87.193.172.106 14:58, 27 January 2009 (UTC)
-
[edit] Changing the default skin without access to PHP files
- MediaWiki: 1.5.5
- PHP: 5.2.6 (cgi-fcgi)
- MySQL: 5.0.45-log
- URL: http://editthis.info/ctss/
I'm using MediaWiki on a wikifarm, EditThis.Info. I would like to change the default skin to something other than MonoBook, but I haven't got access to the PHP files and the administrator informs me that he can't edit the PHP files because all the wikis on the site use the same base files. Is there a way to change every user's default skin without access to the PHP files? I don't think there is.
Can someone help me figure out how to replicate the Classic skin or something like it in just CSS, so that I can add it to my Header file? Thanks. —72.171.0.147 21:22, 19 January 2009 (UTC)
- You could try playing around with your MediaWiki:Monobook.css and with current MediaWiki's wikistandard.css. Dunno how effectively you could imitate Classic on a MW 1.5 wiki this way, though. --:bdk: 09:29, 22 January 2009 (UTC)
[edit] Extra quote marks appearing
- MediaWiki version: 1.12.0
- PHP version: 5.2.5 (apache2handler)
- MySQL version: 5.0.51b-community-nt
- URL:
Using MediaWiki for our intranet everything was absolutely fine but after a recent Windows update and reboot any page containing quote marks has gone wrong. There are literally tens of quote marks where there should just be single ones so viewing pages look terrible. We have made no changes to any configuration files, php or Apache and approximately 500 pages are affected. Is there a quick way to remedy this so that the quotes are handled correctly?
—212.140.240.2 12:59, 20 January 2009 (UTC)Trev Warner
[edit] formatting PHP/CSS code
- MediaWiki version: 1.13
- PHP version: latest
- MySQL version: latest
- URL: http://www.bandwiki.net/
I want to edit my wiki's code so that I can place a banner down the right side of the page. I am not PHP proficient, and can't seem to figure out which mediawiki document to edit.
What I image in either I need to place a table with a fixed with (allowing for the size of the banner to its right) on the page, or modifying the div's so that the content of each page would only have a width of x00px.
Also wondering, if there would be anyway for me to use our main sites (ASP/SQL) banner rotation script to run within the mediawiki page. This probably can be down using inline-frames; right?
—64.91.123.139 15:34, 20 January 2009 (UTC)
- Haven't tried this yet, but how about a try with Extension:DynamicSkin, for example? If I understand it's usage right, you could add templates and scripts to your site without changing code, just by using standard wiki markup on a standard wiki page. But of course you would have to play with it to find the right way. -- JörgM 84.156.161.134 08:52, 7 May 2009 (UTC)
[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
==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]}}
==Open Issues==
The table below lists all issues still needing to be fixed.
{{#mssql: 10.5.1.5 | WikiUser | Redmap | TrackPlus360 | Select [Issue Number], Subsystem, Synopsys AS Synopsis FROM [Outstanding Issues] WHERE (Project LIKE '{{{1}}}') AND (Release LIKE '{{{2}}}') ORDER BY Subsystem}}
Every item in the table has the nowiki tags without the space. I believe it should be invisible.
—121.97.80.194 03:44, 21 January 2009 (UTC)
[edit] Delete all templates or undo import
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi)
- MySQL version: 5.0.67-community
- URL: http://adbandonados.info
Hi. I've tried to import a lot (a lot!) of templates of wikipedia.org. The thins went wrong (php timeout, etc) and I've imported serval times same templates. Now everything is a complete mess. Templates with loops all over arround. There is anyway to delete all templates at once, to start creating/importing it like it should be?
Thank you in adavance
—Luminoso 18:56, 21 January 2009 (UTC)
- No site with this URL. Given it up? -- JörgM 84.156.161.134 08:54, 7 May 2009 (UTC)
[edit] Changing default skin for all members
I try to change the default skin as written at Skin_configuration, but it won't work... Maybe I do something wrong. Can someone help me and describe step by step how to change the default skin for all users? Is there maybe an other way to do it? Thanks in advance
—84.27.51.65 03:50, 22 January 2009 (UTC)
- Did you mean Manual:Skin configuration? Which ways have you tried? --Dr DBW | talk 05:39, 22 January 2009 (UTC)
-
- "...like to change a large number of existing user's skin settings, they can use the script in the maintenance folder called userOptions.php. The syntax to use would be: $ php userOptions.php skin --old <old skin name> --new <new skin name>". But I think I did it wrong, I don't understand it. -84.27.51.65 14:23, 22 January 2009 (UTC)
-
-
- You really need to be more specific. You did what? Where did you do it? What was the exact command line? What output did you get, including error messages? What don't you understand? Remember, we have no idea what you have done, you level of knowledge etc. --Dr DBW | talk 23:19, 22 January 2009 (UTC)
-
-
-
-
- Well... I don't even know how to do that, do I have to put that line somewhere in the file named useroptions.php? And where do I add that line into that file? Do I have to open that file on line after saving? What do I have to do? Thanks... :-$ -77.165.129.87 02:23, 25 January 2009 (UTC)
-
-
-
-
-
-
- As it says on the page reference above, you have to run the script on the command line. Therefore, you have to be logged onto the server, using something like ssh, then enter the command and execute it. If you don't have that access, your provider may be able to do it for you, you will just have to ask. By the sound of it though, doing this is a bit above your skill level on this sort of thing. --Dr DBW | talk 01:59, 30 January 2009 (UTC)
-
-
-
[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 (talk • contribs) 08:23, 22 January 2009. Please sign your posts with ~~~~!
[edit] Intra-wiki link anchors don't work in tables
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 4.1.22
- URL: http://aiblog.nl/index.php?title=Competences
Intra-wiki links using an #-anchor will normally link you to the indicated site AND to the specific location within the site where the #-anchor is located. However, if I make such intra-wiki #-anchor links within TABLES, the link only leads to the appropriate page, BUT NOT to the #-anchor location.
For example: in the table on [6] I want every cell to refer to its correlating cell in the table on [7] (and vice versa). However, I always end up at the TOP OF THE PAGE, and not at the specific anchor-location.
It would be nice if you could fix this, since it would make Mediawiki even more usable than it already is!
Best regards, —Wouter Beek, me@wouterbeek.com
- Tables do not automatically generate anchors the way headers do. Use divs:
<div id="Learning_skills">'''[[Competences#Learning skills | Learning skills]]'''</div>—Emufarmers(T|C) 00:14, 28 January 2009 (UTC)
[edit] where is manual re subheadings navigation box
- MediaWiki version: 1.9.3
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL: molvray.com/govwiki
I'm trying to find the template or php code that automatically generates those handy navigation boxes from subheadings. It has to be somewhere, right? :-) I found the sidebar code, but I simply can't figure out how to search for this item. All help will be much appreciated! —Quixote7 21:50, 27 January 2009 (UTC)
- Are you looking for the __TOC__ magic word? —Emufarmers(T|C) 00:20, 28 January 2009 (UTC)
I think so! That looks like the right general idea, which is more than I can say for anything I found earlier. Thanks! Quixote7 02:29, 30 January 2009 (UTC)
[edit] How do I move the "table of contents" box to the RIGHT
- MediaWiki version: 1.13.3
- PHP version: 5.2.8
- MySQL version: 5.0
- URL:
How do I move the "table of contents" box to the RIGHT side, as seen here: http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia, when it is normally on the left as here: http://www.mediawiki.org/wiki/Help:Tables
- I am looking for how this is done by default.. I know I can embed this into one particular page with
{| align="right"
| __TOC__
|}
—Jwelcher 06:10, 28 January 2009 (UTC)
- TOC above starts in source code with
<table id="toc" class="toc" summary="Contents">
- so try to change behaviour by editing the class table.toc at your MediaWiki:Common.css. -- JörgM 84.156.188.128 21:32, 18 March 2009 (UTC)
[edit] Creating a Custom Infobox
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0.51a
- URL: http://naruto.wikipedia.com/wiki/
I am trying to create my own Infoboxes, I have been searching for the past few days but it seems like it's more of a clerical thing on another's end than my end. Any information would be great. I don't want to use already created Infoboxes, I want to make my own CUSTOM infobox.
—Moselekm 08:20, 30 January 2009 (UTC)
- So, what is your question then? Infoboxes are simply templates, you can set them up how ever you want. --Dr DBW | talk 02:32, 4 February 2009 (UTC)
[edit] I can see my editing only when i'm logged in
- MediaWiki: 1.6.10
- PHP: 4.3.9 (apache2handler)
- MySQL: 4.1.22
Since last week, i can only see my editing when i'm logged in. When i'm signing out of my wiki site, trying to see the changes i made - The old page appear, without the changes i made. I tried to check in different computers, but the problem persists. More strangely that there are few pages that does work - I can edit them and see the changes i made, even when i'm logged out. I tried to find any differences between those pages - didn't find any...
Energidi 20:24, 31 January 2009 (UTC)
[edit] How can I change all fonts to Tahoma?
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.0.67-community-log
- URL: http://wiki.navaa.ir/
I have installed MediaWiki on my website, and chosen Farsi language. The default font is not looking nice for Farsi, and I'd like to change all fonts to Tahoma (as do all Farsi sites). On my local server, in my computer, I tried to change all font names in front of all "font-family:" lines in all .css files to Tahoma, but nothing changed. What should I do to change the default used font?
—84.241.1.37 08:07, 1 February 2009 (UTC) Mani Pashaei Rad
- I have just tried to put
body {font-family: Tahoma;}
- to the MediaWiki:Common.css of my 1.13.4-wiki, and this works there. -- JörgM 84.156.188.128 21:16, 18 March 2009 (UTC)
[edit] Main Page Edit
- MediaWiki version: 1.13.3
- PHP version: 5.2.42-servage8
- MySQL version: 5.0
- URL: http://wiki.tdltinc.com
How can I remove the "Main Page" header at my Main Page? Like you did to your Main Page, there's no "Main Page" header on it. The "Welcome to MediaWiki.org" comes first. How can I customize my site? Please help... And how you did those like tables blocks?
Thanks for an advance reply. Please e-mail the answer to "tdltinc@yahoo.com".
—125.60.209.72 03:09, 6 February 2009 (UTC)
- Try adding
.page-Main_Page h1.firstHeading {display: none !important;}
- to your MediaWiki:Common.css. And the blocks looking like derived from tables are tables, though a little bit more complex than a simple wiki table. (Have a look below under #"Split" main page.) -- 84.156.161.134 09:20, 7 May 2009 (UTC)
[edit] Sections
- MediaWiki version: 1.13.3
- PHP version: 5.0
- MySQL version:
- URL:
Hi I am trying to find information for creating sections within articles that are constant throughout all articles (but not the homepage) and appear when someone is creating a new article.
For example if you look at http://www.wikihow.com/Become-a-Restaurant-Manager you will see sections such as 'Steps' and 'tips'. The same sections will appear if you try and create new page. All of these sections are also editable on their own. I am dying to find out how you create them, where you need to put code and what code...
Please help!!
Thanks Warren
—81.171.227.211 14:58, 6 February 2009 (UTC)
- Have a look above under #Can I force every user to use the same template when creating a new page?. -- JörgM 84.156.161.134 09:23, 7 May 2009 (UTC)
[edit] Getting external links (URL's) to open in another window
- MediaWiki version: 1.13.3
- PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
- MySQL version: 5.0.51a-3ubuntu5.4
- URL:
Is there a way of formatting a link (URL mainly, but could also be useful for internal links as well) to open in a new window? For example in the case of a URL, the html code would be something like this (written so MediaWiki will show it properly): <a href="someurl.com" target="_blank">Some URL</a>.
Thank you,
Marco van Beek
—83.136.69.10 16:44, 6 February 2009 (UTC)
- I think there is a setting for this. —The preceding unsigned comment was added by Wikademia (talk • contribs) 16:58, 26 April 2009. Please sign your posts with ~~~~!
[edit] Subsection edit
- MediaWiki version: 1.13.1
- PHP version: 5.2.0-8+etch11 (apache2handler)
- MySQL version: 5.0.32-Debian_7etch6-log
- URL:
Hi, i wanna create two subsections side by side, is this possible ? and if yes how can i manage this ??
For example == H2 == defined space length == H2 ==
thanks for ur Help
—84.179.142.87 10:39, 8 February 2009 (UTC)
- Probably just with a table. The following code
{| cellpadding="20"
|-
| width="350px" |
=== Headline ===
A lot of text ...
| width="350px" |
=== Headline ===
A lot of text ...
|}
- gives the following result:
[edit] HeadlineA lot of text ... |
[edit] HeadlineA lot of text ... |
- -- JörgM 84.156.161.134 09:38, 7 May 2009 (UTC)
[edit] Linking to social network sites
- MediaWiki version: 1.13.0
- PHP version: 5.2.5 (apache)
- MySQL version: MySQL 5.0.45-log
- URL:
I am thinking of linking to some social networks sites like Digg.com (but some Swedish alternatives instead).
I am making a link like <a href="www.link-to-social-site.com?url=CURRENT URL OF MY PAGE&titel=PAGE TITLE">"Digg" this"</a>
I want to know, how I trhough PHP can replace "CURRENT URL OF MY PAGE" with the current page of the site and also the same with the title. I suppose it would be something like <?php current url > or something.
Could anyone please help me out?
—Kristofer2 21:01, 8 February 2009 (UTC)
- Create a tag extension or parser function. —Emufarmers(T|C) 06:31, 9 February 2009 (UTC)
[edit] Questions about hide/show functions for Navboxes at bottom of articles
- MediaWiki version: 1.15alpha
- PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
- MySQL version: 4.0.40-wikimedia-log
- URL:
Hi there. I have a question about the hide/show and collapse/expand functions in the navboxes that are generally located at the bottom of articles. I am the admin on the Manx wikipedia and we there have been trying for a long time now to enable those functions, but so far to no avail (although we have had help from colleagues on other language projects). I was wondering if someone, if they have some time, would be able to have a look at the .css and .js on our site and see if there is something wrong that is stopping us from having those functions.
We would be very grateful for any assistance that could be given on this.
--MacTire02 14:31, 11 February 2009 (UTC)
- Has this probably been solved meanwhile? Here it seems to work. -- JörgM 84.156.183.81 19:45, 26 April 2009 (UTC)
[edit] How to enable the Wiki to display XML
- MediaWiki version: 1.13.0
- PHP version: 5.2.5
- MySQL version: 5.0.51a
- URL: http://www.afrigis.co.za/wiki
How to enable the Wiki to display XML. we type our xml code but we think there is something we need to enable to diplay our code.
—196.213.41.186 08:33, 17 February 2009 (UTC)
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Mediawiki has been placed on our intranet site. It is the most current version available. I am not sure about the PHP or MySQL version. We are having issues with the edit function. We have many clients interested in having the edit option appear in a table. At the moment this does not occur. Are there any extensions or templates that would force an edit (opposite of __NOEDITSECTION__) to occur? please e-mail at royalcub@hotmail.com --207.236.147.118 21:24, 17 February 2009 (UTC)
—207.236.147.118 21:24, 17 February 2009 (UTC)
[edit] (RESOLVED) Template inclusion with parameters and references doesn't work in this case
- MediaWiki version: 1.10.1
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-standard-log
- URL: http://www.masa.asn.au/masawiki/index.php/Main_Page
Are using templates in the follow format, which means can pass two parameters to it. The first is a date, second is a URL.
(http://tolweb.org): Maddison, D. R., K.-S., Schulz (eds.), ''The Tree of Life Web Project'', 1996-2006{{#if: {{{1|}}}|, Retrieved: {{{1}}}}}{{#if: {{{2|}}}|, {{{2}}}}}.
To use this template, use something like this:
<ref name="TOL 1 May 2007">{{Tree of Life|1 May 2007|http://tolweb.org/Octopodidae/20194/2007.02.16}}</ref>
That works fine, as the following gets displayed with the reference tag:
↑ 1.0 1.1 (http://tolweb.org): Maddison, D. R., K.-S., Schulz (eds.), The Tree of Life Web Project, 1996-2006, Retrieved: 1 May 2007, http://tolweb.org/Octopodidae/20194/2007.02.16.
Now, if the URL is of the form http://www.fishbase.org/Summary/SpeciesSummary.php?id=7217 then it does not work, the URL is left off. I think it may be the question mark. If so, any ideas on how to get around that? I think will go and check out more on templates, see what the question mark does ... —Dr DBW | talk 23:06, 18 February 2009 (UTC)
Actually, now it seems that the equals sign is the issue. If I replace the equal sign with the HTML encoding for it, %3D, it works fine.
Sorry, that is incorrect, need to use the ASCII code for the symbols. Have also worked out that the plus sign + also causes issues. --Dr DBW | talk 04:52, 19 February 2009 (UTC)
[edit] Changing Colors in links
I would like to change the colors pf the links in my wiki. Well, I could fix the 'usual' links, to existing pages, but not the red links to not (yet) existing pages. Where can I do that?
—77.165.129.87 01:31, 19 February 2009 (UTC)
- Have a look below at #(RESOLVED) Link color. -- JörgM 84.156.188.3 20:45, 8 May 2009 (UTC)
[edit] Language template does not work
- MediaWiki version: 1.13.4
- PHP version: 2.11.7
- MySQL version: 5.0.51b
- URL:
I have set up mediawiki in our intranet, but when I use language template, I have typed the {{languages}} in the edit page ,but it does not working. After saving source, it just show Template:Languages link in the page. Could you help me solve this? After I click show preview button, I can see the "{{languages}}" button is working in this site.
| Languages: |
English |
but it failed on mys —The preceding unsigned comment was added by 167.230.38.118 (talk • contribs) 08:41, 23 February 2009. Please sign your posts with ~~~~!
- Hm. Have you added a template named Template:Languages to your wiki? You have to do this first before using it. It's not delivered with MediaWiki. -- JörgM 84.156.188.3 20:45, 8 May 2009 (UTC)
[edit] Geshi Syntax problem
- MediaWiki version: 1.13
- PHP version: 5.2
- MySQL version: 5.0
- URL: localhost intranet
hi i downloaded a extension for my mediawiki page called geshi, this is for displaying tags, i use it for sql and plsql, now when i tag something like <source lang="plsql"> then is shows it all nicely how it is supposed to. but i cant make those nice little boxes like this one
nice box!
as soon as i add this
<source lang="plsql">
the nice box dissapears.
any help ?
example:
DECLARE number1 NUMBER(2); number2 NUMBER(2) := 17; text1 VARCHAR2(12) := 'Hello world'; text2 DATE := SYSDATE; -- current date and time BEGIN SELECT street_number INTO number1 FROM address WHERE name = 'Billa'; END;
crazy, here now it works without a problem the box stays, whyy does it dissapear on my wiki site?
any suggestions?
—84.253.46.121 10:00, 23 February 2009 (UTC)
[edit] How to change the Tabble of Contents so that it indents bullets not numbers
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Hi
I've created a 'table of contents' which looks like this:
1.
1.1 1.2 1.3
2.
2.1 2.2
But I want it to like like this i.e. with indented bullets and not indented numbers:
1.
• •
2.
• •
I can't figure out how to do this - can anyone help?
Many thanks
—Jandal99 20:30, 23 February 2009 (UTC)
- Hm. When looking at the source code of the table of contents above, it looks like
<ul> <li class="toclevel-1"><a href="#Formatting_Support"><span class="tocnumber">1</span> <span class="toctext">Formatting Support</span></a> <ul> <li class="toclevel-2"><a href="#Need_help_on_adjusting_the_portlets_to_the_top_on_monobook_template"><span class="tocnumber">1.1</span> <span class="toctext">Need help on adjusting the portlets to the top on monobook template</span></a></li>
- and so on. So I would try to change behaviour of classes like toclevel-2 and below at MediaWiki:Common.css with CSS like "list-style-type: disc/circle/square" (either one of those). -- JörgM 84.156.188.128 21:00, 18 March 2009 (UTC)
[edit] Special:ListUsers
- MediaWiki version: 1.14.0
Hi, I have to link to group members in article, like Sysops :Special:ListUsers&group=sysop|Sysops
but the result page is Special:ListUsers%26group%3Dsysop
How can i do this correctly? Regards
—217.247.185.52 14:15, 24 February 2009 (UTC)
- Link to Special:ListUsers/sysop. —Emufarmers(T|C) 06:20, 25 February 2009 (UTC)
[edit] How can I activate "Allow wiki markup (PHP)" for MW 1.6.8?
- MediaWiki version: 1.6.8
- PHP version: 5.2.6-1+lenny2 (apache2handler)
- MySQL version: 5.0.51a-24
- URL: within an Intranet ;-)
I would like to format the sidebar using WIKI syntax elements, as described at http://www.mediawiki.org/wiki/Manual:Navigation_bar#Allow_wiki_markup_.28PHP.29, but the instructions there refer to
- MediaWiki < 1.13.2 and to
- MediaWiki 1.13.2,
but not to the version which is provided to us here (1.6.8).
I looked into the file skins/Monobook.php of our installation, hoping that it contains the same lines to replace as specified for MediaWiki 1.13.2, but they are not identical, the lines of the Monobook.php file of version MediaWiki 1.13.2 and our version 1.6.8 with regard to the configuration of the sidebar. So I do not dare to replace the sidebar lines in that file with the lines that are specified at http://www.mediawiki.org/wiki/Manual:Navigation_bar#Allow_wiki_markup_.28PHP.29 for version 1.13.2.
How can I activate "Allow wiki markup (PHP)" for MW 1.6.8?
—195.127.43.185 10:45, 5 March 2009 (UTC)
- Upgrade MediaWiki. —Emufarmers(T|C) 01:25, 6 March 2009 (UTC)
--195.127.43.185 09:06, 9 March 2009 (UTC) Thanks for the advice. Fortunately I just got informed that we were provided the required access rights to upgrade our wiki ...
[edit] Since MediaWiki 1.14 Templates dont look like before
- MediaWiki version: 1.14.0
- PHP version: 5.2.9 (cgi-fcgi)
- MySQL version: 5.0.51a-24
- URL: de.narutopedia.eu
Hi, after I updated my MediaWiki, a few templates dont look like before. For example [8] What is the difference between 1.13 and 1.14, I always thought there are only technical changes, but now some templates dont look like before. I hope you have some ideas and can help me. Thank You --91.67.156.126 13:31, 7 March 2009 (UTC)
[edit] Problem with Extension:DynamicPageList
- MediaWiki version: 1.12.0 (r3238)
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.51b-community-nt
- URL: (intranet)
I am using a DPL to control some content on a page, providing a listing of other pages as follows:
<DPL>
category=*Capture Originating Requirements category = Lessons Learned count= addpagecounter=true ordermethod=counter order=descending
</DPL>
However, I recently discovered how to effectively use templates across this site that I'm building, so I converted this listing to the following so that I could use the listing to generate a list of pages on any of our main page categories: <DPL>
category=*{{PAGENAME}}
category = Lessons Learned
count=
addpagecounter=true
ordermethod=counter
order=descending
</DPL>
However, when I did this, the more generic apporach does not pick up on sub-category pages. When I use the absolute reference, I get a listing with all sub-categories, but using this relative reference only yields items that are specifically tagged with that category, and fails to provide any sub-categories.
Is this a problem or a feature? Any work arounds?
—205.175.225.24 16:23, 10 March 2009 (UTC)rwjorgen@rockwellcollins.com
[edit] (RESOLVED) film script templates needed
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.1.26-rc-5.1.26rc
- URL: http://kein-nichts.de/wiki/index.php5?title=Hauptseite
Hello there
Mr. Sven Hagge from the german Wikimedia Support Team referred to you. He said you could help. That would be awesome!
What we wanna do is using your Wiki for an Open Source film script. A project in pretty the same area like MediaWiki:)))
Therefore some templates in WYSIWYG-outfit would be extremely helpful for the script-like look and feel from scratch as well as for organizational reasons for the later workflow.
0. Basics: - Font: Courier New - basic margins: at 3,0 cm (both sides)
1. Scene Headers: - in CAPITAL letters; e.g. 4. HARRY JUMPS - numbered
2. Dialogue: - Tabstop at 4,0 cm - margin right side of 4,0 cm
3. Dialog description: - in brackets; e.g. (loudly crying) - Tabstop at 4,5 cm - margin right side of 4,5cm
4. Name of protagonist: - Tabstop 5,5 cm - CAPITAL letters; e.g. VIKTORIA
5. Scene fadings: - Tabstop at 16,0 cm - CAPITAL letters
That´s it! Would U support our project by delivering these templates? Would be great. ThanX, Stephan
—84.62.29.78 17:53, 11 March 2009 (UTC)
- Hello, Stephan, I could try it, but without warranty. If you agree, I will create an account over there for further arrangement. -- JörgM 84.156.130.207 09:30, 15 March 2009 (UTC)
Hi Jörg, (I hope this is the correct procedure to respond...) ... Actually I do not know what you mean by creating an account over there but I agree to everything what helps us! So: yes for sure please do so and please let me know about the further procedure. Could you get in touch to me via Email: info@sponduun.tv ? Perhaps that simplifies it for me:) Thanx so much, BR Stephan
[edit] Text Boxes with scroll bars in wiki?
- MediaWiki version: 1.14.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.77
- URL: intranet, unfortunately
Hi everyone-
I'm using a intranet wiki as a research lab notebook, in an effort to simplify documentation and enhance collaboration. Our lab does computational genomics, and sending emails back-and-forth between researchers is getting old. I would like a way to put text boxes in my wiki, a la google sites (example I'd like to copy):
http://sites.google.com/site/howdoidowikitextboxes/
Any Ideas? Thanks in advance.
—152.132.10.2 17:32, 13 March 2009 (UTC)
- Don't know how to arrange this just with wiki markup. But probably the whole will work similar to that page you mentioned if you enable raw HTML. (Be VERY careful before changing this setting to true.) Or try some of those extensions mentioned there. Any other suggestions? -- JörgM 84.156.179.240 22:28, 17 March 2009 (UTC)
[edit] TOC behaviour
(section headline added by 84.156.179.240 21:48, 17 March 2009 (UTC))
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
I have a page for documentation of an API. It is fairly large and the product owner doesn't want it broken up into multiple pages. The TOC is huge and causes formatting issues since it displays on the right side. Is there a way to force it to be located in a specific subsection and if not, have it initially minimized?
—206.28.72.1 17:56, 13 March 2009 (UTC)
- TOC usually is shown where you put the __TOC__ magic word (see Help:Magic words#Behaviour switches).
- For registered users there is a way to suppress a TOC by changing a preference at user preferences, miscellaneous. Perhaps this will help a little bit, but I haven't tried this yet.
- -- JörgM 84.156.179.240 22:15, 17 March 2009 (UTC)
[edit] Revision IDs: Special usage in templates
- MediaWiki version: 11.0
- PHP version: 5.2.5
- MySQL version: 5.0.51
- URL: internal
Hello! In addition to my question in the system section I am looking for a solution for the following problem: Incorporated in a template, I want to give a certain link to make it possible for the users of the page to compare the actual version of the page with a certain old version. I thought of something like
{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid=4457}}
The problem is the oldid parameter. For easy use in the template it would be great if this parameter could be added by MW itself. Of course, it could be used with a parameter like
{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{{1}}}}}}
but the oldid would have still to be determined by the person who inserts the template into a page. As those persons are not very familiar with MediaWiki insides (and are not really interested in), something like
{{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{last revisionid prior to certain date}}}}
e.g. {{fullurl:{{PAGENAME}}|diff={{REVISIONID}}&oldid={{last revisionid prior to 20090201}}}}
(where that last revisionid is determined by MW) would be somehow more convenient for them, as the date is given by a certain timeline of updating the whole contents of the site to the (internal) public. Any chance for that? -- JörgM 84.156.130.207 08:45, 15 March 2009 (UTC)
[edit] Parentheticals in {{PAGENAME}}
- MediaWiki version: 1.15alpha
- PHP version: 5.2.5 (apache)
- MySQL version: 4.0.40-wikimedia-log
- URL: http://la.wikipedia.org/wiki/Pagina_prima
Is there any way to use {{PAGENAME}} but remove parentheticals? For example if a page's name is "Titanic (film)" is there a way I can use {{PAGENAME}} to produce only "Titanic" on a template? Thanks!
—Secundus Zephyrus 20:01, 16 March 2009 (UTC)
[edit] (RESOLVED) How can I get a discussion/talk report in home page?
- MediaWiki version: 1.14.00
- PHP version: 5.x
- MySQL version: 4.x
- URL: http://mamedev.emulab.it/undumped
As stated in the "how to report" comments on main page of the wiki, we would like to encourage the use of the discussion/talk to receive error feedbacks. I wanted to setup a part of the home page to report a list of the last, say, 10 active talks, summarizing the talk (eg, reporting the first 200 characters of the discussion or similar) I tried to google about hints on this, but seraching for "mediawiki talk report" or similar returns a huge amount of talk:report about something mediawiki pages all over the world, and no hint on how I can proceed. Can anybody please give me a hint on how to start to build this feature? Eg: a template to fit to my pages? A special page/extension to load? Thanks a lot for help, patience and assistance. s_bastian
—212.17.198.19 11:03, 18 March 2009 (UTC)
-
- Problem solved, I just had to use the transclude function on special:recentchanges. I leave my question here for future reference
[edit] (RESOLVED) How can I change the toolbox section on sidebar?
- MediaWiki: 1.9.3
- PHP: 5.2.5 (cgi)
- MySQL: 4.1.22-standard-log
How can I change the toolbox section on the sidebar? The reason the I am looking for an answer is I am trying to change the destination page for Upload file page rather than using the default page. Thanks for the answer.
—Manco Capac 11:52, 18 March 2009 (UTC)
- There's something said about changing the sidebar including toolbox at Manual:Interface/Sidebar#Add or remove sections (JavaScript). Perhaps that helps for some steps ahead? -- JörgM 84.156.188.128 20:45, 18 March 2009 (UTC)
-
- Thanks for the answer. I have checked but unfortunatyely that explanation is not so understandable if you are not familiar with programming. Therefore ı need more explanation in order to understand which file I have to edit? Thnaks in advance for the answer. --Manco Capac 20:22, 24 March 2009 (UTC)
-
-
- According to that manual page the page to edit is your (!) MediaWiki:Common.js.
- Copy the whole code which is shown on Manual:Interface/Sidebar#Add or remove sections (JavaScript) in the section "code" to your MediaWiki:Common.js.
- Change the following section of the code:
- According to that manual page the page to edit is your (!) MediaWiki:Common.js.
-
function CustomizeModificationsOfSidebar() { //adds [[Special:CategoryTree]] to toolbox ModifySidebar("add", "toolbox", "CategoryTree", "http://en.wikipedia.org/wiki/Special:CategoryTree"); //removes [[Special:Upload]] from toolbox ModifySidebar("remove", "toolbox", "Upload file", "http://en.wikipedia.org/wiki/Special:Upload"); }
-
-
-
- to something like the following:
-
-
function CustomizeModificationsOfSidebar() { //removes [[Special:Upload]] from toolbox ModifySidebar("remove", "toolbox", "Upload file", "http://urlofyourstandardmediawikiuploadpage"); //adds [[whatever the pages name is]] to toolbox ModifySidebar("add", "toolbox", "Upload file", "http://urloftheuploadpageyouwanttouseinstead"); }
-
-
- Beware: You must have got admin rights to change your MediaWiki:Common.js! -- JörgM 84.156.192.48 21:53, 24 March 2009 (UTC)
-
- Thanks a lot. Great! Now It's working. Best regards, --Manco Capac 11:00, 25 March 2009 (UTC)
[edit] Templates: On the articles using a template the noinclude includeonly tags work great but provide a white line.
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0.45
- URL: http://wiki.sleepingfox.nl (Not editable for outsiders, sorry!)
This problem happens when using a predefined template on an article. The <includeonly><includeonly> and <noinclude></noinclude> which are added on the used template generate a white line-space in it's place. How can i keep it from generating that white space in it's place? (Besides it generating a line-space, it works as it should.)
Example: http://sleepingfox.nl/wiki/index.php/Adamant_Warhammer (Directly under the colorized paragraph)
When using firebug (firefox), you can see the white space is a <p>, and by messing around with the placement of <includeonly> I found out that this was causing it.
Thanks in advance for any help you might offer me.
—84.104.59.72 15:30, 21 March 2009 (UTC)
[edit] Uploading multiple image files?
- MediaWiki version: 1.6.8
- PHP version: 5.0.4
- MySQL version: 4.1.10a-nt
- URL:
How do I upload multiple images to the wiki that I'm using for internal documentation such as an installation guide.
—207.134.68.154 15:06, 26 March 2009 (UTC)
- There are for example the Extension:MultiUpload or the PHP script Manual:ImportImages.php. -- JörgM 84.156.135.245 22:06, 26 March 2009 (UTC)
-
- OK. But what about on the Windows side? [updated]
-
-
- Sorry, haven't seen your question update, moved it to a place where it can be seen in a better way. Yep, there are external programs like User:Wikademia mentions above. I tried Commonist, but this worked on Wikimedia Commons and failed to work on my own Wiki, though settings seemed to be correct. Haven't tried any other yet. -- JörgM 84.156.183.81 19:53, 26 April 2009 (UTC)
-
[edit] How to achieve such effect: http://www.colbest.com/
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
This is a site powered by other wiki software: http://www.colbest.com/
I am wondering does this effect could be achieved by Mediawiki. Could I just use some CSS/HTML to do the same thing in Mediawiki?
—Code263 12:24, 11 April 2009 (UTC)
- Which effect do you mean? All of those question marks which I get??? -- JörgM 84.156.139.76 15:42, 24 April 2009 (UTC)
- It looks like they are using special software. It could probably be achieved through CSS/HTML, and maybe some PHP hacking. I doubt it would be too simple, but probably decently doable given enough desire/motivation.
- Sorry for asking again, but which effect do you mean? I cannot see anything very special there, but I might be blind for it. -- JörgM 84.156.183.81 19:17, 26 April 2009 (UTC)
[edit] Editing the Sidebar
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0.37
- URL: prabhupadvision.com/info
I have tried reading the FAQ's but am still unsure of how to properly edit the sidebar. I want to remove the search and toolbox, leaving only the navigation section. I tried editing the Mediawiki:Sidebar page and removed everything except for
- navigation
- mainpage|mainpage-description
But the search and toolbox sections still remain. I am not sure what I need to do. I am guessing that there is a php or js file somewhere that I need to edit.
Can you please tell me where I can find that file or what I need to do to successfully remove the search and toolbox sections from the sidebar?
Thankyou
—121.245.117.115 06:14, 12 April 2009 (UTC)
- This could be a bug, or else maybe there is some setting hidden away somewhere. I could not do that either.
- I am afraid that this is not a bug, but a feature. Remember, MediaWiki is intended for Wikimedia projects where you usually need a search bar and the toolbox, so it probably it is not intended to remove both from the sidebar. (Sorry, this is just my personal opinion about, and I know this does not help to do removing. But MediaWiki programmers seem not to read the questions on the support desk ...) -- JörgM 84.156.183.81 19:29, 26 April 2009 (UTC)
[edit] TOC is not displayed for anonymous users
- MediaWiki version: 1.13.2
- PHP version: 5.0.4 (apache)
- MySQL version: 4.1.13
- URL:
I have a problem because TOC is not displayed for anons. As soon as a user is logged in, the TOC is properly displayed. All articles are started with the __TOC__ magic word as first line. Do you guys may know if this is due to a configuration error or if there's a setting somewhere to explicitly enable TOC for anonymous users?
After spending days with investigating the Manuals (for LocalSettings.php, Skins, User Preferences, etc), FAQs and even Google I run out of ideas on how to find a solution. Hope this posting will help to resolve this issue - any hint or help is thankfully appreciated.
—KlausDH 17:12, 22 April 2009 (UTC)
- Hm. A table of contents is just shown, if there are more than 3 headlines on the page. __TOC__ is just giving a place for the table of contents. To force a table of contents on the page, even if there are less than 4 headlines on it, use __FORCETOC__ (maybe with adding __TOC__ on the place where you want to have your TOCs). But I don't know if this helps you, your description seems to show a more complex problem ... Any URL for having a look onto those pages if the text above does not give a solution? -- JörgM 84.156.139.76 17:08, 24 April 2009 (UTC)
-
- First of all: Thanks a lot for your comment! Based on your hint I made a test with __FORCETOC__ but got the same result. Am just thinking of a solution to grant access for you to the wiki as it is operated as an intranet solution. --KlausDH 06:42, 6 May 2009 (UTC)
[edit] Many templates are not formatting properly
- MediaWiki version: 1.14.0
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: http://wikademia.org/Nagina_Group
@ Wikademia the template displays differently than at: http://en.wikipedia.org/wiki/Nagina_Group
Same with: http://wikademia.org/Sulphur_Springs_Municipal_Airport - The main template there should be smaller, have a border, and on the right side of the screen.
Many templates seem to not be working as they should. Why might this be? —Wikademia 13:12, 26 April 2009 (UTC)
- Concerning the template you first mentioned, there is missing at least the css class "infobox" in your MediaWiki:Common.css. As an alternative, you could put all those css code to the respective infobox templates. -- JörgM 84.156.183.81 19:14, 26 April 2009 (UTC)
[edit] YAML skin for MediaWiki
- MediaWiki version: 1.14
- PHP version: 5.1.2
- MySQL version: 5.0.x
- URL: localhost
- YAML: 3.0.6
Hello,
i developed a skin for MediaWiki based on the YAML Framework.
How is it possible to get this checked (css id's and classes) by MediaWiki experts?
At the moment the 1st version is getting checked by some yaml experts, but still some verifying of MediaWiki experts' needed.
And how is it possible to deploy this as an official skin option into further MediaWiki branches??
Kind Regards
Guido Palacios
[edit] Related Links
—91.46.184.179 22:28, 29 April 2009 (UTC)
- Ask on IRC or the mailing list. —Emufarmers(T|C) 03:11, 30 April 2009 (UTC)
[edit] 1)SVGs 2)Categorytree in sidebar 3)Autocollapse tables
- MediaWiki version: 13.3
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.2.6 (cgi-fcgi)
- URL: www.peacecorpswiki.org
1) Occasionally I get "Error creating thumbnail: convert: Non-conforming drawing primitive definition `polygon'." with SVG files. Tried suggestion on: http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Image_Thumbnails_not_working_and.2For_appearing Would you recommend changing to Batik as an alt SVG image render?
2)I would like to incorporate the category tree on my sidebar....with the Modern skin. The monobook skin displays the tree fine and the directions state it should run on with the modern skin: http://www.mediawiki.org/wiki/Extension:CategoryTree#Using_CategoryTree_in_the_Sidebar
3) I would like to auto collapse tables: http://www.mediawiki.org/wiki/Manual:Collapsible_tables Implemented this code in the appropriate location and NO tables could be collapsed with the the exception of the default TOC
—Mappc 15:02, 1 May 2009 (UTC)
- to 3) I tried the code on my 1.13.4 wiki, and it worked with simple tables (like shown on Manual:Collapsible tables) both in wiki markup and in html markup. So the code itself is working. -- JörgM 84.156.129.221 19:20, 1 May 2009 (UTC)
[edit] (RESOLVED) Link color
- MediaWiki version: 1.14.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.50sp1a-enterprise-gpl-log
- URL: http://conduit.wikia.com/
How can I change the color of the links in my Wiki? I'm referring to the existing pages links, not the red links. As you can see, they're sky blue, but I want to make them a darker blue, so they don't blend in with white backgrounds. I would really appreciate your help.
—SilverBlade784 19:15, 1 May 2009 (UTC)
- I just added
a {color: silver;}
- to my MediaWiki:Common.css: most of the internal links were changed to silver (just the user navigation bar on the top not). External links have a separate class "external text", so you would have to add this class, too, if you want to change their colour. Internal links to non-existing pages (those red links) have the class "new", so they should not be touched by a change. -- JörgM 84.156.129.221 19:38, 1 May 2009 (UTC)
Thanks, but is there a specific place in MediaWiki:Common.css to add that? I put it right at the botton of the code, and it hasn't changed the color of the links. —SilverBlade784 19:15, 3 May 2009 (UTC)
- Sorry, it seems this is caused by the Wikia wiki farm and it's usage of skins. If I am right you are using a skin named Monaco, and a dark variant of it. There's something about this at http://help.wikia.com/wiki/Help:Customizing_Monaco/Dark_skin, and I think you have to customize your page http://conduit.wikia.com/wiki/MediaWiki:Monaco.css instead of http://conduit.wikia.com/wiki/MediaWiki:Common.css. You should delete the color code for "a" on Common.css before adding it to Monaco.css. On the bottom of the page would be the best, but there are a lot of definitions for links on this page so you probably have to play a lot to find the right way. Maybe you better change just the existing color definitions for links. Color for internal links is A0E0FF, so check all the respective selectors where this colour is used.
- By the way, "silver" was just the colour I used to check the behaviour on my wiki. Which colour is appropriate on your wiki pages you have to find out yourself. -- JörgM 84.156.128.106 20:09, 4 May 2009 (UTC)
Thank you very much. It worked. I just added a new color to
#wikia_page a {
color:#5599ba;
}
I'll add "resolved" to the title of this post. --SilverBlade784 00:06, 5 May 2009 (UTC)
[edit] surely there is a way to download and install the Templates
- MediaWiki version: 1.14
- PHP version: 5.2.6-2ubuntu4.2
- MySQL version: 5.0.67
- URL: intranet
Hi,
I've copied some pages from wikipedia to the local mediawiki at our school, as examples of other schools' wiki pages for our students to ponder. But all of them use Templates, and those Templates in turn include other Templates... surely there is a way to download and install the Templates just as I downloaded and installed the mediawiki software itself? But I haven't been able to discover it. Can someone please point me to it? Thanks in advance.
—Jfmxl 05:03, 2 May 2009 (UTC)
- No, templates are usually simple MediaWiki pages like any standard article at Wikipedia, so you usually can copy them like a simple page. There's a special namespace for them, in English "Template:", but it's also possible to embed almost any other MediaWiki page as a template with {{pagename}} resp. {{:pagename}} if it's a page from the main namespace (see Help:Templates for a first overview). But beware: Simple templates can be complete, but complex templates, as you mentioned in your question, refer also often to MediaWiki:Common.css for Cascading Style Sheets or need Extension:ParserFunctions or something like that. Best is: Try to find out who made or worked on the templates you need and ask him/her for help, because there is no easy standard procedure – unfortunately. -- JörgM 84.156.143.47 09:19, 2 May 2009 (UTC)
Well... thanks I guess. No thanks I'm sure! It's just that this looks like a very messy job at this point as there are quite a few Templates involved. I hope that someone is looking into these 2nd generational problems with the wiki. Thanks again.
Jfmxl 14:25, 2 May 2009 (UTC)
[edit] "Split" main page
- MediaWiki version: 1.13
- PHP version: 5.2.6-1+lenny2
- MySQL version: 5.0.51a-24+lenny1-log
- URL:
Hi,
I use MediaWiki as my personal homepage. Now I would like to "split" my main page the same way as in http://www.mediawiki.org/wiki/MediaWiki. I do not know how to accomplish this.
How can I simply define these boxes and arrange them on the main page?
—212.183.54.101 10:47, 3 May 2009 (UTC)
- Basically it's a table with different cells. The cells are filled with other tables resp. templates containing tables. (That's an old HTML trick for columns and rows on a webpage, as far as HTML can't do it by default.) The frames are defined by css, probably at MediaWiki:Common.css, I think, but this can be done in the table's code as well, though it's blowing out the code. Below is a simple (but not elegant) example which at least works on one webpage (just all the text is omitted).
| Headline |
|
Text |
{{another template}} |
|
- -- JörgM 84.156.131.135 12:21, 3 May 2009 (UTC)
-
- Thank you very much!
- I just thought it would be something more sophisticated ;-)
- --Niki 15:15, 3 May 2009 (UTC)
[edit] Page is not displayed
- MediaWiki version: 1.14.0
- PHP version: 5.2.8
- MySQL version: 5.0.67
- URL: http://www.freeallegiance.org/FAW/index.php/Enforcement_FAQ (protected; this page is editable and also affected but you need an account to edit pages.)
The page is simply not rendered at all. But the problem is pretty weird.
Here's an outline of the page:
- What's new
- Pook's Rules of Conduct for Dummies
- Players' FAQ
- Boots
- Bans
- Issues management
- Commanders' FAQ
- Boot On Sight
- Acceptance of Players
- Newbie boot protection
- Lobby booting
- Commanders' rights
- Veteran Conduct
- Newbie Servers
- Veteran Players & New Accounts
- Directives to @Alleg
- Balanced teams and accepting newbies
- Misc
Sections 1 to 4.2 render just fine. Sections 1 to 4.3 give a blank page. Sections 4.1 to 6.2 render just fine, though! There are longer pages on the wiki, and pages with more templates. There currenly is some trouble with the database; however, this seems unrelated.
—Bp 10:31, 9 May 2009 (UTC)
- Hm. Difficult. But there are three things that let me (! I may be wrong, very wrong!) think about database, not formatting:
- All three pages "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox" are affected.
- I can't see ANY revisions of "Enforcement FAQ", "Enforcement FAQ/Sanbox" and "Enforcement FAQ/Sandbox", not only the actual revisions.
- Texts/codes of the actual revisions of "Enforcement FAQ" and "Enforcement FAQ/Sandbox" (the third I haven't tested) render fine when copying it to a page at my 1.13.4 wiki (except for the templates I don't have).
- By the way, the headline "What's new" is missing in the actual source code of "Enforcement FAQ".
- I don't know what to do, but I would at least try the following, if there are no better suggestions:
- Saving the texts of all the three pages. (At least those parts of the text which you want to use for these FAQ.)
- Deleting all three pages. (Best if they could be deleted from the database as well, but this needs command line access to the wiki for its maintenance tools, I think. Never have done this. Or use of Extension:SpecialDeleteOldRevisions2 or something like that. Or killing it directly in the database ;-).)
- Building the page new, sentence by sentence, paragraph by paragraph.
- But of course, there may be better suggestions. And if it's a problem with the database, there might be more problems, perhaps not detected yet. As it's probably no formatting problem, you might also ask in another section of the support desk (system or database). -- JörgM 84.156.129.191 12:54, 9 May 2009 (UTC)
-
- Thanks. I'll try and take it there. --Bp 13:21, 9 May 2009 (UTC)
-
-
- You have an unfinished upgrade; run the update script. —Emufarmers(T|C) 13:23, 9 May 2009 (UTC)
-
[edit] Extension Support
[edit] Use a template in the result of a tag extension.
- MediaWiki version: 1.14
- PHP version: 5.2.8
- MySQL version: 5.2.30
- URL: private wiki
I created an extension and I need it to return someting like
{{{MyTemplate|Result}}}
Then I need the parser to deal with the template.
- At first I tried :
return "{{{MyTemplate|Result}}}"
It printed the whole string, the parser didn't replace the {{{}}} ;
- Then I tried $parser->recursiveTagParse, the template hadn't been integrated in the final render, I just got "Result" as flat text.
Could you help me?
Thanks.
—193.186.8.8 13:45, 25 March 2009 (UTC)
[edit] Problem with GenericEditPage extensions
- MediaWiki version: 1.13.2
- PHP version: 5.2.6 (cgi)
- MySQL version: 5.0.68-log
- URL: http://www.streetkiss.com/mediawiki/
Hi , When I try to edit a page with the extension GenericEditPage it add "<layout name="" />" at the end of the article You can see the problem here : http://www.streetkiss.com/mediawiki/index.php?title=Test_Uniwiki if someone could help by leaving a message on the wiki page bellow or to my email : etienne.martin@streetkiss.com it would be very nice !
—Monsieur Martin 20:18, 15 December 2008 (UTC)
[edit] DPL-Error: Illegal mix of collations ... for operation 'concat' (localhost)
- MediaWiki version: 1.13.2
- PHP version: 5.2.2
- MySQL version: 5.0.41
- URL: localhost
Hallo,
I try to use the DPL extension. So I installed it and as an exampled I typed the following code:
<DPL> category = Management </DPL>
The result was this error message:
The DPL extension (version 1.7.4) produced a SQL-statement which lead to a Database error...
After the SQL-statement the Error message is shown:
The error message is: Illegal mix of collations (utf8_general_ci ...) for operation 'concat' (localhost).
Do I have to change any settings in my database? Or do you have any idea?
Thank you for your endeavors.
Uwe Henning —194.114.62.70 08:24, 16 December 2008 (UTC)
[edit] TinyMCE extension error
- MediaWiki version: 1.13.3
- PHP version: 5.2.0
- MySQL version: 2.9.11
- URL: Intranet
I installed TinyMCE extension and returned a error:
Fatal error: Call to undefined method Parser::stripToc() in C:\Arquivos de programas\EasyPHP 2.0b1\www\wiki\extensions\TinyMCE_MW.php on line 257
how fix this?
—Graffo 12:31, 18 December 2008 (UTC)
Same problem! How??? refal
Isnt there any fix for this? is this post visible to wikimedia admin? David
Yes, let's try to find a way to fix this. Does anyone know what the $q variable being passed in is? Ryan
[edit] Tex does not work
- MediaWiki 1.13.3:
- PHP version: 5.2.6
- MySQL version: 5.0.32-Debian_7etch8
- URL: http:www.eewiki.de
Latex does not working on my Webaccount by Sysprovide.de. I have only FTP-Upload. NO SSH! This is a part of my Configuration at the LocalSettings.php:
To enable image uploads, make sure the 'images' directory
is writable, then set this to true:
$wgEnableUploads = true;
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
$wgUseTeX = true;<br>
$wgTexvc = "/var/www/empty/web254/";
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
But it doesn't work. Do you have any idea? I have got only a bug report:
Parser-Fehler (Das temporäre Verzeichnis für mathematische Formeln kann nicht angelegt oder beschrieben werden.): a+b=c
He doesn't find the temp folder. Where is usually the temp and math folder in the wiki?
Regards
Sven Tesker —Tesker 18:17, 18 December 2008 (UTC)
- Hello, try an 'echo $wgTmpDirectory/tmp' and look if the path points to a directoy where you could write to. Check if the the directory have CHMOD 777. Good luck, TG 87.193.172.106 15:01, 27 January 2009 (UTC)
[edit] (RESOLVED) Configuring MediaWiki SMTP to send email to users
- MediaWiki: 1.11.0
- PHP: 5.2.5 (apache2handler)
- MySQL: 5.0.50-enterprise-gpl-nt-log
I am trying to configure the SMTP to send users email. I put the SMTP array of parameters in the localsettings.php file. But I get an error when I try to click the 'email password' dialog from the login page. In the error below, it mentions the incluses\UserMailer.php line 108.... that is the line ( require_once( 'Mail.php' );). Where is the Mail.php file located? I don't see it under the includes folder. Is there a wiki page the describes the complete instructions for configuring MediaWiki mail?
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in D:\apache\apache2.2\htdocs\mediawiki\includes\UserMailer.php on line 108 Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='D:\apache\apache2.2\htdocs\mediawiki;D:\apache\apache2.2\htdocs\mediawiki/includes;D:\apache\apache2.2\htdocs\mediawiki/languages;.;C:\php5\pear') in D:\apache\apache2.2\htdocs\mediawiki\includes\UserMailer.php on line 108
Melissa —Doughertyma 19:46, 23 December 2008 (UTC)
- As Manual:$wgSMTP tells you, you have to install PEAR's Mail package for it to work. --Sayuri 13:34, 16 January 2009 (UTC)
[edit] (RESOLVED) Extension:Farmer and transwiki problems
- MediaWiki version: SVN build
- PHP version: 5.26
- MySQL version:
- URL: Localhost
I installed Farmer, and it shows the special page - as it should do, but it won't let me create the wikis.
This is from my LocalSettings.php file:
$wgSharedTables = array(
'user' => $sharedPrefix . 'user',
'user_groups' => $sharedPrefix . 'user_groups',
'interwiki' => $sharedPrefix . 'interwiki',
'math' => $sharedPrefix . 'math',
);
require_once( 'extensions/ExtensionFunctions.php' );
require_once( 'farmer/Farmer.php' );
/* We use the internal _matchByURLHostname function to find the wiki name */
$wgFarmerSettings['wikiIdentifierFunction'] = array('MediaWikiFarmer', '_matchByURLHostname');
$wgFarmerSettings['dbAdminUser'] = 'root';
$wgFarmerSettings['dbAdminPassword'] = 'west';
$wgFarmerSettings['dbTablePrefixSeparator'] = '_-_';
$wgFarmerSettings['newDbSourceFile'] = realpath(dirname(__FILE__)) . '/extensions/farmer/daughterwiki.sql';
$wgFarmerSettings = array(
'configDirectory' => realpath(dirname(__FILE__)) . '/configs/',
'defaultWiki' => 'autowiki1',
'wikiIdentifierFunction' => array('MediaWikiFarmer', '_matchByURLHostname'),
'matchRegExp' => '',
'matchOffset' => null,
'matchServerNameSuffix' => 'localhost',
'onUnknownWiki' => array('MediaWikiFarmer', '_redirectTo'),
'redirectToURL' => 'http://127.0.0.1/',
'dbAdminUser' => 'root',
'dbAdminPassword' => 'west',
'newDbSourceFile' => realpath(dirname(__FILE__)) . '/daughterwiki.sql',
'dbTablePrefixSeparator' => '',
'dbTablePrefix' => '',
'defaultMessagesFunction' => array('MediaWikiFarmer', '_getDefaultMessages'),
'perWikiStorageRoot' => 'C:\xampp\htdocs\autowiki1',
'defaultSkin' => 'monobook',
);
$wgExtensionFunctions[] = 'MediaWikiFarmer_Initialize';
/**
* These should really go in the initialize function, but MediaWiki initializes
* $wgUser before the extensions are initialized. Seems like weird behavior,
* but OK.
*/
$wgGroupPermissions['*']['farmeradmin'] = false;
$wgGroupPermissions['sysop']['farmeradmin'] = true;
$wgGroupPermissions['*']['createwiki'] = false;
$wgGroupPermissions['sysop']['createwiki'] = true;
$wgAvailableRights[] = 'farmeradmin';
$wgAvailableRights[] = 'createwiki';
require_once('farmer/Farmer.php');
$wgFarmer = new MediaWikiFarmer($wgFarmerSettings);
$wgFarmer->run();
Whenever I try to run Special:Farmer this error occurs:
Fatal error: Call to undefined function wfmsghtml() in C:\xampp\htdocs\autowiki1\Farmer\MediaWikiFarmer.php on line 112
Also, when I try to transwiki some Wikimedia files with large page histories, this notice happens:
Fatal error: Maximum execution time of 120 seconds exceeded in C:\xampp\htdocs\autowiki1\includes\StringUtils.php on line 126
Anyone know how to fix this??
Thanks. --82.42.237.84 15:39, 30 December 2008 (UTC)
- Simplest fix? Don't use Farmer, it's very outdated extension. The actual bug might be caused by the fact that the wfMsgHtml() call is inside a throw new MWException() call - I don't know if you're supposed to translate exceptions and I don't think that MediaWiki core software does so. For the second error, increase your PHP's time limit by setting something like this in your wiki's LocalSettings.php: set_time_limit(900); --Sayuri 13:34, 16 January 2009 (UTC)
[edit] Userpages extension
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 4.1.22-standard
I wanna create a extension in order to display extra info (determined by a interface message) in the user page. What hooks I need to use (or to add)? Userpages are special pages? Thanks.
[edit] RSS feeds
- MediaWiki version: 1.13.2
- PHP version: 5.x
- MySQL version: 5
- URL:
Hi,
I have a requirement withing organisation to have RSS feed enabled for some pages i create. For example say one user is creating a page called 'Sales plan'. Now users who are interested in knowing updates happening to that page only should be able to add a RSS feed for updates of this "Sales Plan" page alone. The recent changes function for RSS/Atom feed gives feed xml every time a change is made to "any" page. What ever i have mentioned is it possible to do any extention or feature list of Mediwiki. Any help in this regard will be highly appreciated.
—122.166.42.202 11:59, 1 January 2009 (UTC)
[edit] Problem with Wgraph extension output not rendered by MediaWiki
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
- URL: n/a but the exact same problem can be seen on bottom of http://s23.org/wiki/Sandbox
Installed Wgraph extension. The images get produced ( confirmed ), however on the wiki page I can see only
<html><a href="/images/Wgraph/Main_Page_1.svg?1231800813" target=wgraph><img src="/images/Wgraph/Main_Page_1_thumb.png?1231800813" title="click for SVG .."></a> (made with <a href=http://semeb.com/dpldemo/Wgraph target=wgraph>Wgraph</a>) </html>
Tried to put $wgRawHtml = true in LocalSettings.php but this didn't change anything.
Solution: There is a problem with the way Wgraph inserts it's HTML output. To correct it, in your Wgraph.php file, find the lines
global $wgRawHtml;
$wgRawHtml = true;
and comment them out for security reasons. Then find the line:
return $result; // . $wgraph. ":". $thumbResolution ."/".$resolution. ' , '.$clipThumb . '---'. $clipImg;
and replace it with
return array( $result, noparse => true, isHTML => true );
More information on why this works can be found on http://jimbojw.com/wiki/index.php?title=Raw_HTML_Output_from_a_MediaWiki_Parser_Function
—78.90.3.108 23:11, 12 January 2009 (UTC)
[edit] (RESOLVED)Problem with sysop/bureaucrat permissions after creating account with UserLoadFromSession hook
- MediaWiki version: 1.13.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
- URL: http://ntm-igdev02.nott.ime.reuters.com/wiki/index.php/Main_Page (internal)
Apologies for the length of this post, but I'm utterly stymied after working on this for ages.
I am setting up 1.13.0 as a new system and will soon (I hope!) be migrating the content from an older version to it. This migration includes using our company SSO and I've successfully used the UserLoadFromSession hook to implement this. However, there is one glitch: I currently have two IDs, one original one (SS) for use without the hook and another (Sam.Sexton) that was created and is authenticated by the hook. Both of these are assigned as Sysop and Bureaucrat, but these permissions are only effective for the original user (SS) - as the other one (Sam.Sexton), I don't see the restricted special pages.
(first | last) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500) * SS ?(bureaucrat, sysop) * Sam.Sexton ?(bureaucrat, sysop) * WikiSysop ?(bureaucrat, sysop) (first | last) View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)
I have made the following observations and investigations.
- The database records I create with the hook differ from the original (SS) record in that:
- user_touched is initially nulls (\0\0\0 rather than NULL) despite my setting it - but this is corrected by later activity.
- user_email_token and user_email_token_expires for Sam.Sexton are NULL, but I've copied values from SS and that made no difference.
I've looked at Skin.php and added this hack to see what was going on:
/* Hack to see what's going on. Sam 090108 */
wfDebugBacktrace;
$rpages = SpecialPage::getRestrictedPages();
wfDebug("Restricted pages for $wgUser->mName\n");
foreach ( $rpages as $rpage) {
wfDebug(" $rpage\n");
}
/* end hack */
- but nothing was added to the debug file, which is receiving other debug info.
- I have even resorted to running truss on navigating to Special Pages as both users. There was a rather curious difference between the two - the one for Sam.Sexton (created with the hook) contained several calls to resolvepath that weren't in the truss for SS. This relates to symbolic link resolution - not unreasonably, as htdocs/wiki is a link to the files in my home dir for easy maintenance - and I've not seen any problems related to that arrangement. However, as I didn't get those calls for SS, I copied the files so that the link was removed and all files native - but that made no difference.
- My suspicions are that there's something I'm missing in the new account creation process, but for the life of me I can't see what! I suspect that there must be another criterion other than sysop/bureaucrat group membership required to see the restricted pages, but it's escaped my investigations so far. I'd be grateful for any illumination or suggestions on what else to check. Below is the code for the hook and a sample of the log for the db entry creation. Thanks in advance! Any constructive comments on the code will be welcomed - this is not an area in which I am overburdened with experience! ;-)
<?php
function fnUserAuthTGST($user, &$result) {
/* This function performs the user authentication for TGSTWiki and D3000Wiki.
It requires the following fields to be added to the default {prefix}_user table in the database:
user_employee_id tinytext
user_market_group tinytext
Ref: http://www.mediawiki.org/wiki/Manual:Hooks/UserLoadFromSession
http://svn.wikimedia.org/doc/classUser.html
*/
$fname = "UserAuthTGST::fnUserAuthTGST";
$SAFE = "https://safeqa.thomson.com/login/sso/SSOService?app=tgstwiki&returnURL=";
$errpage = "http://ntm-igdev02.nott.ime.reuters.com/wikiaccess.php";
$allowed = 300; # Five minutes diff is allowed.
logTGST("Page: " . $_SERVER['REQUEST_URI']);
if (isset($_COOKIE['TGSTWiki'])) {
$tgstcookie = $_COOKIE['TGSTWiki'];
logTGST("TGSTWiki cookie found");
if (isset($_REQUEST['digest'])) {
logTGST("digest exists as well - ignoring it.");
}
loadFromDatabaseTGST($user, $tgstcookie);
$result = 1; // This causes the rest of the authentication process to be skipped.
return(false); // As should this, according to the internal error report:
// Detected bug in an extension! Hook fnUserAuthTGST failed to return a value; should return true to continue hook processing or false to abort.
} elseif (isset($_REQUEST['digest'])) {
# Just back from SAFE - validate the result.
$digest = $_REQUEST['digest'];
$empid = $_REQUEST['uid'];
$email = $_REQUEST['email'];
$firstname = $_REQUEST['firstname'];
$lastname = $_REQUEST['lastname'];
$marketgroup = $_REQUEST['marketgroup'];
$intime = $_REQUEST['time'];
$returnurl = $_REQUEST['returnURL'];
$thispage = curPageURL();
$mytime = date("Y:m:d:H:i:s", time());
// Get the secret ...
$file = fopen("/usr/local/apache2/htdocs/wiki/TGST/conf/.SAFEkey", "r") or exit("Unable to open file!");
$secret = chop(fgets($file),"\n"); # Drop trailing LF
fclose($file);
$md5string = "$empid$intime$secret";
$mydigest = md5($md5string);
if ( "$digest" != "$mydigest" ) {
// Problem! Log secure info to file:
logTGST("Digests don't match for $email - unable to proceed.");
logTGST(" digest=$digest");
logTGST(" mydigest=$mydigest");
logTGST(" md5string=$md5string");
// ... and tell the user something interesting:
$errpage .= "?error=Digest%20mismatch";
$errpage .= "&digest=$digest&empid=$empid&email=$email&first=$firstname&last=$lastname&mg=$marketgroup&intime=$intime";
$errpage .= "&mytime=$mytime&returnurl=$returnurl";
// redirect to report error ...
http_redirect($errpage, array(), true, HTTP_REDIRECT);
}
$diff = valtime($intime);
if ( $diff > $allowed ) {
logTGST("Time difference ($diff) is too great for $email");
logTGST(" intime=$intime");
logTGST(" mytime=$mytime");
// ... and tell the user something interesting:
$errpage .= "?error=Time%20difference%20too%20great.";
$errpage .= "&digest=$digest&empid=$empid&email=$email&first=$firstname&last=$lastname&mg=$marketgroup&intime=$intime";
$errpage .= "&mytime=$mytime&returnurl=$returnurl";
$errpage .= "&timediff=&diff";
// redirect to report error ...
http_redirect($errpage, array(), true, HTTP_REDIRECT);
// $result not set so that authentication continues - and should fail.
return(true); // This should have the same effect.
}
logTGST("SAFE validation successful for $email");
# Validation successful - create cookie with all SAFE fields.
$tgstcookie = "$empid|$email|$firstname|$lastname|$marketgroup";
$tgstcookie = str_replace(' ', '%20', $tgstcookie);
# We'll start with a week and perhaps extend to a year....?
if ( setrawcookie("TGSTWiki", $tgstcookie, time()+7*24*60*60, '/', $_SERVER['SERVER_NAME']) ) {
logTGST(" cookie set successfully.");
} else {
logTGST(" cookie setting failed.");
}
// Now see if the user is already in the database ...
$user = loadFromDatabaseTGST($user, $tgstcookie);
$result = 1; // This causes the rest of the authentication process to be skipped.
return(false); // Ditto (see above)
} else { // No cookie, so we go to SAFE.
logTGST("TGSTWiki cookie not found - redirecting to SAFE.");
$SAFE .= curPageURL(); // Append this page's name
http_redirect($SAFE, array(), true, HTTP_REDIRECT);
} // No cookie
}
function loadFromDatabaseTGST($user, $tgstcookie) {
$fname = "UserAuthTGST::loadFromDatabaseTGST";
// Check whether user is in the database - if so, complete User.
logTGST("Entering $fname ...");
// Explode the cookie:
list ($empid, $email, $first, $last, $marketgroup) = explode("|", $tgstcookie, 5);
logTGST("Cookie exploded: $empid, $email, $first, $last, $marketgroup");
// Now see if the user is known ...
$dbr =& wfGetDB( DB_SLAVE );
$s = $dbr->selectRow( 'user', array('user_id'), array('user_employee_id' => $empid), $fname);
if ($s === false) {
logTGST("No entry found in db for employee id $empid - creating one ...");
$user = new User();
// MediaWiki requires names to start with a capital, so we have a stab at a reasonably formed name:
$temp = explode(".", substr($email,0,strpos($email,'@')));
$i = 0;
$lim = sizeof($temp);
while ( $i < $lim) {
$temp[$i] = ucwords($temp[$i]);
$i++;
}
$userName = implode(".", $temp);
$user->loadDefaults($userName); // Added as it's done this way in CentralAuth.
$user->mEmail = $email;
$user->mName = $userName; // Redundant given use of loadDefaults...?
$user->mEmployeeId = $empid;
$user->mRealName = "$first $last";
$user->mMarketGroup = $marketgroup;
$user->mEmailAuthenticated = wfTimestamp();
$user->mTouched = wfTimestamp();
logTGST(" mName = $user->mName");
logTGST(" mEmployeeId = $user->mEmployeeId");
logTGST(" mRealName = $user->mRealName");
logTGST(" mMarketGroup = $user->mMarketGroup");
logTGST(" mEmailAuthenticated = $user->mEmailAuthenticated");
logTGST(" mTouched = $user->mTouched");
$user->addToDatabase(); // No longer returns mId - it never did, but Roddy thought so!
logTGST("User added to database with ID $user->mId.");
} else {
$user->mId = $s->user_id;
logTGST("DB entry found for employee id $empid with user id $user->mId");
}
// Load the existing or newly-created user from the database ...
if ( !$user->loadFromDatabase() ) {
logTGST("loadFromDatabase failed for user ID $user-mId");
}
$user->saveToCache() ; # This loads the user's group membership! ###############################################
return $user;
}
function curPageURL() {
$pageURL = 'http';
if (isset($_SERVER['HTTPS'])) {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER['SERVER_PORT'] != "80") {
$pageURL .= $_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].$_SERVER['REQUEST_URI'];
} else {
$pageURL .= $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
}
return $pageURL;
}
function curPageName() {
return substr($_SERVER['SCRIPT_NAME'],strrpos($_SERVER['SCRIPT_NAME'],'/')+1);
}
function valtime($intime) {
// Check whether supplied time is within five minutes of now.
$time1 = implode(explode(":", $intime)); // Colonic irrigation!
// Play at being a Time Lord here for testing.
$inepoch = strtotime($time1); // Convert to epoch
$myepoch = time();
$diff = $myepoch - $inepoch;
return($diff);
}
function logTGST($message) {
// Log significant events during authentication if the log file exists.
$day = gmdate("Ymd");
$authlog = "/reuters/radt/local/log/TGSTWiki.authlog.$day";
$now = gmdate("Y-m-d H:i:s ");
if (file_exists($authlog)) {
if ($file = fopen($authlog, "a")) {
fputs($file, $now . $message . "\n");
fclose($file);
return(true);
} else {
return(false);
}
} else {
return(true);
}
}
?>
2009-01-13 15:08:39 Page: /wiki/index.php?title=Special:RecentChanges&feed=rss
2009-01-13 15:08:39 TGSTWiki cookie found
2009-01-13 15:08:39 Entering UserAuthTGST::loadFromDatabaseTGST ...
2009-01-13 15:08:39 Cookie exploded: 8009449, sam.sexton {at} thomsonreuters.com, Sam, Sexton, 11929
2009-01-13 15:08:39 No entry found in db for employee id 8009449 - creating one ...
2009-01-13 15:08:39 mName = Sam.Sexton
2009-01-13 15:08:39 mEmployeeId = 8009449
2009-01-13 15:08:39 mRealName = Sam Sexton
2009-01-13 15:08:39 mMarketGroup = 11929
2009-01-13 15:08:39 mEmailAuthenticated = 1231859319
2009-01-13 15:08:39 mTouched = 1231859319
2009-01-13 15:08:39 User added to database with ID 15.
—And 09:58, 14 January 2009 (UTC)
I've solved this myself at long last - for the full details, see https://bugzilla.wikimedia.org/show_bug.cgi?id=17077 but in a nutshell, the group membership array is emptied in loadFromDatabase() and you need to call saveToCache() afterwards to reload it. Obvious, innit?! ;-)
And 11:02, 21 January 2009 (UTC)
[edit] Help please! Sysop users dont have permissions!
- MediaWiki version: 1.13.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
Hello, i need urgent help, i installed mediawiki on my server, for some reason my admin account does not have any access to special pages like the sidebar and userrights page. says i need to be in the group. I AM in the group. Help help help please!
- And 16:20, 19 January 2009 (UTC) This appears to be related to my problem immediately above - which I have now reported as Bugzilla Bug 17077 - I suggest you watch that as I've not had any response here.
- And 10:26, 20 January 2009 (UTC) Do you have any more information on this? e.g. Do you use the standard account creation procedure or do you use an alternative method as I have above?
- And 11:12, 21 January 2009 (UTC) I've solved the problem above - so if you have custom code to create accounts, you probably need to do the same - add a call to $user-saveToCache() after loadFromDatabase().
[edit] (RESOLVED) Formatting problem after installing extensions
- MediaWiki 1.14alpha (r45489)
- PHP 5.2.4-2ubuntu5wm1 (apache2handler)
- MySQL 4.0.40-wikimedia-log
- URL: http://www.trialworks.com/wiki
After I install certain extensions, such as: require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); require_once("$IP/extensions/embed_document.php");
The font's all over the Wiki site appear bigger, affecting formatting. It's almost as if someone zoomed in to 125% size. If I add '#' to those lines it stops them from working, and returns to the layout to normal.
Not quite sure what keywords to search to even figure out what it may be. This is my first experience with MediaWiki.
—208.105.172.170 14:54, 15 January 2009 (UTC)
- I took a quick look and seems that a PHP file - or maybe even two - is adding a BOM into the generated HTML output. Usually the first line of a page's HTML source code is like this: <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">. Unfortunately on your wiki, something is adding a BOM before the first < tag. To remove the BOMs, you'll need a hex editor of some kind (I use the hex editor plugin for Notepad++) and then comes the tough part - you'll need to track down the files that have a BOM. It might be possible that it's either SyntaxHighlight GeSHi's some file or then it could be LocalSettings.php. --Sayuri 13:34, 16 January 2009 (UTC)
-
-
-
- That's Brilliant! I use Microsoft Expressions to edit various parts of the site (find it easy) and I used it to edit the PHP files. Although I do not see the line I am sure it's there, Expressions tries to put it in as a default. Thank you!!!
-
-
- Quick update: I took the LocalSettings.php originally made with Expressions, copied it to Notepad, made a new file, and overwrote the original. Problem resolved. - Thanks! Karl@trialworks.com
[edit] SQL Error on Extension:MantisIntegrations
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi)
- MySQL version: 5.0.68-log
- URL: http://www.gestioneacquario.org/wiki/index.php?title=MantisTest/it
Hi all, hi would like to use the Extension for Mantis Integration. I Installed the extension how described, but when i try to use it i got error shown on the page of my site. Can anyone help me?
THanks —Marcolino7 02:04, 17 January 2009 (UTC)
[edit] MediaWiki Extensions & Profiles
- MediaWiki version: 1.13.2
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 4.1.22-max-log
- URL: http://www.superwikia.com/wiki
Apparently their is a version conflict with the copy of MediaWiki that I am using and the extensions provided on all MediaWiki sister sites. I have the nightly release for 01/16/09 yet none of the extension have been installed properly. Also, as a general inference; the profile skins and other factory installed extension are not active. No adjustments can be made or images uploaded as well.
Please assist in this matter for the project is on a time sensitive basis.
Thank you... —Habatchii 03:36, 18 January 2009 (UTC)
[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] Ajax Rating Script
- MediaWiki version: 1.10.4
- PHP version: 5.2.6-2ubuntu4 (apache2handler)
- MySQL version: 5.0.67-0ubuntu6
- URL: (in my laptop not ready in the net)
I have a problem with installing the Ajax Rating script in my wiki. I have tried to install it first in a 1.13 version but failed and then I install the 1.10.4 because I have seen to be tested in that version. But when I finish the installation my wiki throw me this Warning: Cannot modify header information - headers already sent by (output started at /home/george/public_html/mediawiki/extensions/RateArticle.php:69) in /home/george/public_html/mediawiki/includes/WebResponse.php on line 10
I don't know what to do at all. The only solution I found is to install some other rating or reviewing extension
ps. In your extension matrix you are saying tha the version 2 is stable for all versions.I haven't find anywhere the version2 or a manual for instalation.
—80.221.45.68 08:55, 22 January 2009 (UTC) George Koloventzos
[edit] Cannot preload pages in Main namespace using PreloadManager
- MediaWiki version: 1.13.2
- PHP version: 5.2.6-2ubuntu4 (apache2handler)
- MySQL version: 5.0.67-0ubuntu6
- URL: Not available - is on a company intranet
- Relevant extensions:
- Extension:StubManager version: 1.3.2
- Extension:PreloadManager version 1.1.0
For our wiki we (a collegue and I) would like to have the capability to preload newly created pages with name space specific templates, including the main name space. It seems like Extension:PreloadManager should be able to help us acheive this, so we have installed the extensions StubManager and PreloadManager in accordance with the instructions (to the best of our knowledge). We have tested that we the extension works, when we try to preload a page in, e.g., the Template name space by creating a preload template on the page MediaWiki:PreloadManager/Template. That works fine!
However, we cannot figure out how to preload pages in the main name space?!? As we understand the documentation, we should have the main namespace preload template in MediaWiki:PreloadManager/Main, but that does not work for us. We have also tried to place it simply under MediaWiki:PreloadManager and MediaWiki:PreloadManager/(Main), but no success either. I have tried to enquire about this on Extension talk:PreloadManager for quite some days without success. That is the reason I am bringing the issue forth here on the Support desk to perhaps get more eyes on it hoping to find a solution.
In case it is not possible to preload main name space pages using PreloadManager, are there then other possibilities for doing that?
We would also like to enquire how we can preload the summary field shown during File upload with a fixed template?
Thank you for your time.
--Slaunger 22:42, 22 January 2009 (UTC)
[edit] FCKeditor
- MediaWiki 1.13.3
- PHP 5.2.8 (cgi-fcgi)
- MySQL 5.1.30-community
- URL: localhost
I'm ussing FCKeditor FCKeditor (Version fckeditor/mw-extension $Rev$ 2008) extension on my version 1.9.3 mediawiki version but a I'm update my mediawiki to 1.13.3 version. so the editor no work in mediawiki 1.9 FCKeditor extension (version fckeditor/mw-extension $Rev$ 2007) it's my problem :S
—200.74.136.91 01:05, 23 January 2009 (UTC)
[edit] (RESOLVED) Cite extension
- MediaWiki version: 1.13.3
- PHP version: 4.4.9
- MySQL version: 5.0.67
I'm attempting to install the Cite extension as directed at Extension:Cite/Cite.php#Installation. What does the phrase, "Note: Cite.php requires hooks in the main MediaWiki code found in HEAD", mean? Steve3849 05:38, 25 January 2009 (UTC)
- Although I do not know the answer to my above question I did see that in the additional files included in the 'Cite snapshot' there is a mention of 'hooks' in one file, "citeParserTests.txt". So, I included all the files in the Cite folder rather than just the aforementioned (3) files in the installation directions and the Cite extension now works fine. Steve3849 09:40, 25 January 2009 (UTC)
[edit] Activating MATH/Tex leads to "Failed to parse (PNG conversion failed)" because of wrong temp file name
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-community
- URL: private Wiki
Hi,
I want to activate Tex support in my mediawiki. I have followed the corresponding how to on mediawiki.org. But I get still the error:
Failed to parse (PNG conversion failed)
I digged into the code and came to the following point:
The Code fails in include/Math.php at this position
if( !file_exists( "$wgTmpDirectory/{$this->hash}.png" ) ) {
return $this->_error( 'math_image_error' );
}
When I echo'ed this line I get this on the screen:
C:\Programme\xampp\htdocs\wiki/images/tmp/daa63ef966cc412541190bc8794731de.png
But when I look into the directory I get the following file name:
6080_daa63ef966cc412541190bc8794731de.tex
Have anybody an idea what went wrong? Why is the file called '.tex' and is prefixed with '6080_'?
Thank you very much for your advise in advance ...
TG, —87.193.172.106 14:41, 27 January 2009 (UTC)
[edit] Print as PDF extension is not working
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 [apache 2 handler]
- MySQL version: 5.1.30 community
- URL:
Hi, I had installed the Pdf Export extension version 2.I'm able to see the Print as PDF option under the tool box menu. I had opened a page and i had pressed Print as Pdf option in the tool menu, the PDF is not generated, the browser is freeze,not able to navigate anywhere and it requires re launching the browser. Can you please give me a solution to solve this issue? I had tested this with both Firefox version 2 and IE 6.The version of adobe reader installed in my PC is 7. Thanks!!
Suresh
—121.241.133.245 11:28, 28 January 2009 (UTC)
[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] Special signs
- MediaWiki version: 1.12.0
- PHP version: 5.1.6
- MySQL version: 5.0.45
- URL: wiki.magion.nl
Dear missis/ mister,
I saw a "new" feature on www.wikipedia.com. It is a feature to add special signs to the text. Is this part of a new MediaWiki version or is this an exention. And if so, which one?
86.80.180.251 16:31, 28 January 2009 (UTC)
- What special signs are you talking about? —Emufarmers(T|C) 18:20, 28 January 2009 (UTC)
[edit] Fatal error when installing Cite extension
- MediaWiki version: 1.13
- PHP version:
- MySQL version:
- URL:www.discoveryourcause.org/founderssquare
I installed the Cite extension, but I get this error when I try to save a page:
Fatal error: Call to undefined method ParserOptions::getIsSectionPreview() in /home/ccritten/public_html/founderssquare/extensions/Cite/Cite_body.php on line 674
—65.88.12.130 22:03, 28 January 2009 (UTC)
- Use the version of Cite labeled 1.13.x in the extension distributor. —Emufarmers(T|C) 22:32, 28 January 2009 (UTC)
I get the same error, but in Line 699. 66.160.67.67 18:24, 7 April 2009 (UTC)
[edit] tag extensions: code to find tags
- MediaWiki version: 1.13.3
- PHP version: 5.2.8
- MySQL version: 5.1.30
Where in the mediawiki code can I find the code used to find instances of tags that I've defined in tag extensions? I need to identify the tags in my own code; would like to use the same technique.
—173.79.61.216 17:07, 29 January 2009 (UTC)Zev
[edit] LiveChat extensions
- MediaWiki version: 1.13.3
- PHP version:
- MySQL version:
- URL: localhost
- Chat: PhpFreeChat 1.2 ore 1.0-Beta11
Problem:
I have used your LiveChat guide when innstalling phpfreechat-1.0-beta11 but have problem whit after the install is complete. Only me as admin are able to log in to the chat. But all the users are not able to. What can I do, how do I edit the premission to let users login to the chat
-- Kimlorentz 14:14, 31 January 2009 (UTC), E-Mail: kselstoe@online.no
[edit] Extension:Intersection
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.67-community
- URL: http://www.tayyeb.org/wiki/index.php?title=Citizen_Journalism:Newsroom
I've installed Extension:Intersection to gather list of pages from various categories on a single page using DynamicPageList script but when I try to save page, sometime, it gives me a white page, some time error page and sometimes its saved but nothing appears. Please check this issue on my wiki. —Captain101 06:00, 2 February 2009 (UTC)
[edit] Farmer extension causes problems
- MediaWiki version: SVN build
- PHP version: 5.28
- MySQL version: 5.130
- URL: Localhost wiki, for internal usag
I tried installing Extension:Farmer but got the following errors:
Warning: require_once($IP/extensions/Farmer/Farmer.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\mywiki\LocalSettings.php on line 132 Fatal error: require_once() [function.require]: Failed opening required '$IP/extensions/Farmer/Farmer.php' (include_path='C:\xampp\htdocs\mywiki;C:\xampp\htd ocs\mywiki/includes;C:\xampp\htdocs\mywiki/languages;.;\xampp\php\pear\') in C:\xampp\htdocs\mywiki\LocalSettings.php on line 132
I am using Windows Vista Home Edition, and tried to ensure the configs directory of the extension was writable by the server, but cannot unset read-only on the folder. Anyone able to help?
—84.45.219.185 10:16, 2 February 2009 (UTC)
- You need to use
require_once( "$IP/extensions/Farmer/Farmer.php" );with double quotes ("") so that $IP is replaced with its value. iAlex 10:59, 2 February 2009 (UTC)
- For some reason that didn't work when I tried it with double quotes on my install. And how do you unset read-only on Vista?
IAlex, have you ever got this to work or not?? --84.45.219.185 11:14, 2 February 2009 (UTC)
[edit] ConfirmAccount/ConfirmEdit/reCaptcha problem
- MediaWiki version:1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: http://wiki.dctp.ws
I have experienced the same problem as this previous thread: [9]. However, I have already installed all appropriate version of ConfirmAccount, ConfirmEdit, and reCaptcha extensions, with appropriate reCaptcha keys. Now it still works since I have commented the lines related to these extensions-- where is the problem this time?
—Samuel Curtis 20:03, 5 February 2009 (UTC)
[edit] Error in installing FCKeditor
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0.51a -community-log
- URL: improvobiz.com/wiki
when I installed the extension FCKeditor per the instructions and just to check myself had my ISP TMDHosting install the FCKeditor extension I got the following error when trying to access Mediawiki:
Warning: require_once(/home/improvob/public_html/wiki/extensions/FCKeditor/fckeditor/fckeditor.php) [function.require-once]: failed to open stream: No such file or directory in /home/improvob/public_html/wiki/extensions/FCKeditor/FCKeditor.php on line 52
Fatal error: require_once() [function.require]: Failed opening required '/home/improvob/public_html/wiki/extensions/FCKeditor/fckeditor/fckeditor.php' (include_path='/home/improvob/public_html/wiki:/home/improvob/public_html/wiki/includes:/home/improvob/public_html/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/improvob/public_html/wiki/extensions/FCKeditor/FCKeditor.php on line 52
What am I doing wrong?
—Normandowe 04:16, 7 February 2009 (UTC)
- You still need to download the editor. —Emufarmers(T|C) 06:26, 7 February 2009 (UTC)
[edit] Gadgets Extension, Problem with Navigation_popups installation
- MediaWiki version: 1.12.0
- PHP version: 5.2.6 (apache)
- MySQL version: 5.0.51a-19
- URL: http://www.cnel.ufl.edu/itl
I installed the Gadgets extension, because I wanted to add the Navigation_popups gadget. After installing the correct version of Gadgets extension I added the Navigation_popups following these instructions:
- add Gadget-popups.js script - add Gadget-navpop.css script - add * Navigation_popups|popups.js|navpop.css in the Gadgets-definition page - create Gadget-Navigation_popups page for a description of the gadget
I then selected this gadget under the Preferences/Gadgets section, and I did bypass the browser's cache but the popup gadget still didn't work.
I installed another gadget, wikEd, to make sure that my installation procedure was correct, and this gadget works fine.
Can you tell me what I am missing on the Navigation_popups gadget installation?
Thank you,
—Erioni 03:10, 8 February 2009 (UTC)
[edit] (RESOLVED) {{#if...}}
- MediaWiki version: 1.6
- PHP version: 5.x
- MySQL version: 5.0.16
- URL: intranet
What extension implements {{#if ... }} ?
—129.21.241.9 21:38, 8 February 2009 (UTC)
- ParserFunctions. —Emufarmers(T|C) 05:37, 9 February 2009 (UTC)
[edit] (RESOLVED) Problem passing $user back from UserLoadFromSession hook
- MediaWiki 1.13.0
- PHP 5.2.6 (apache2handler)
- MySQL 5.0.67-log
- URL: (internal)
I am having a problem with the UserLoadFromSession hook.
In the hook, I use User::newFromName() to obtain the user object and if it's a new user, I authenticate it with our SSO service and add it to the database; otherwise I update $user and return, leaving $result as null. I've battled with this code a fair bit, but have learned from looking at CASAuthentication's use of this hook and believe that I'm now doing things "the right way". However, although $user is set up as expected when I leave the hook, $this in loadFromSession doesn't contain the values I've set up in the hook. I've even used the ugliness of var_dump to splat the $this array onto the screen and all the variables are null.
Here's the relevant part of the code and the deugging output. I can supply the full hook code if necessary, but am trying to keep this report as succinct as possible.
1. Bits of the hook:
<?php
global $wgHooks;
$wgHooks['UserLoadFromSession'][] = 'fnUserAuthTGST';
...
function fnUserAuthTGST($user, &$result) {
$fname = "D3UserAuthTGST::fnUserAuthTGST";
$SSO =
"https://xxxxxx.com/login/sso/SSOService?app=d3wiki&returnURL=";
$errpage = "http://d3wiki.xxxxx.com/d3wikiaccess.php";
$allowed = 300; # Five minutes diff is allowed.
logTGST("Page: " . $_SERVER['REQUEST_URI']);
....
// This returns the user object if it exists:
$u = User::newFromName($userName);
$uid = $u->getId();
logTGST("After newFromName, uid is $uid");
if ( $uid == 0 ) {
.....
$user = $u;
$myid = $user->getId(); // Trap this for debugging purposes ...
logTGST("About to exit hook with user->mId = $myid");
return true; // To continue loading the user...
} // fnUserAuthTGST
2. Hacked section of User.php:
private function loadFromSession() {
global $wgMemc, $wgCookiePrefix;
$result = null;
wfRunHooks( 'UserLoadFromSession', array( $this, &$result ) );
> wfDebugLog('TGST', ' TGST: loadFromSession result is ' . $result . "\n");
> wfDebugLog('TGST', " TGST: user id in \$this is $this->mId and name is $this->mName\n");
if ( $result !== null ) {
3. Output from logTGST and wfDebugLog:
2009-02-09 14:17:04 Cookie exploded: 1234567, Sam.Sexton@xxxx.com, Sam, Sexton 2009-02-09 14:17:04 After newFromName, uid is 3 2009-02-09 14:17:04 DB entry found for employee id 1234567 with user id 3 and name Sam.Sexton 2009-02-09 14:17:04 About to exit hook with user->mId = 3 2009-02-09 14:17:04 wikidbD3-d3_: TGST: loadFromSession result is 2009-02-09 14:17:04 wikidbD3-d3_: TGST: user id in $this is and name is
As indicated above, mId is set when leaving the hook, but immediately after the call to it, this (and other values) aren't set in $this.
I really can't see what I'm doing wrong - can anyone else? Or is it a real bug?
—And 10:34, 10 February 2009 (UTC)
-And 12:44, 10 February 2009 (UTC) Not exactly resolved, but I've realised that the updates to $user should not be passed back - reviewing the situation!
[edit] Convert wiki rss feeds to real files like feed.xml
- MediaWiki version: 1.13.1
- PHP version: 5.2.4 (apache2handler)
- MySQL version: 5.0.45
- URL: internal
There are some real good extension which allow me to create a rss feed of any page in my wiki. But like for the "Recent changes" and "New Pages" the rss feed is a link to the datatbase. Now I want to use a toolbar for my browser (www.conduit.com), which requires rss feeds as files like www.domian.com/feed.xml and not as a link to a datatbase. I didn't find any extension which is doing that. Is there one, or any other smart solution?
—80.153.145.11 09:42, 12 February 2009 (UTC)
[edit] call_user_func(Ikariam_ParserFunction_Setup) function.call-user-func: First argument is expected to be a valid callback
- MediaWiki version: 1.13.2
- PHP version: 5.1.6 (apache2handler)
- MySQL version: 5.0.45
- URL: vestia.ikariam-wiki.nl
I wanted to add my own parser to MediaWiki.
For example to parse: {{#IKcity: name | CityID | IslandID | Tag }}
So I started out with the obvious sample and rewrote it a bit to:
<?php
- Define a setup function
$wgExtensionFunctions[] = 'Ikariam_ParserFunction_Setup';
- Add a hook to initialise the magic word
$wgHooks['LanguageGetMagic'][] = 'Ikariam_ParserFunction_Magic';
function _Ikariam_ParserFunction_Setup() {
global $wgParser;
# Set a function hook associating the "example" magic word with our function
$wgParser->setFunctionHook( 'IKcity', 'Ikariam_ParserFunction_City' );
}
function Ikariam_ParserFunction_Magic( &$magicWords, $langCode ) {
# Add the magic word
# The first array element is case sensitive, in this case it is not case sensitive
# All remaining elements are synonyms for our parser function
$magicWords['IKcity'] = array( 0, 'IKcity' );
# unless we return true, other parser functions extensions won't get loaded.
return true;
}
function Ikariam_ParserFunction_City( &$parser, $param1 = , $param2 = , $param3 = , $param4 = ) {
# The parser function itself
# The input parameters are wikitext with templates expanded
# The output should be wikitext too
$output = "Stad : $param1\n";
$output .= "CityID : $param2\n";
$output .= "IslandID : $param3\n";
$output .= "Type : $param4\n";
return $output;
- return $parser->insertStripItem( $output, $parser->mStripState );
- return array($output, 'noparse' => true, 'isHTML' => true);
}
?>
And I added this to my LocalSettings.php file:
$wgIkariamServer = "http://s1.ikariam.nl/"; $wgIkariamImages = "http://ikariam-wiki.nl/images/"; require_once( "$IP/extensions/Ikariam/Ikariam.php" );
I have been reading and searching but the error is propably too obvious so it might be just in front of me but I can't seem to find where I went wrong.
Hugo.
—80.101.136.196 12:31, 14 February 2009 (UTC)
[edit] Checkuser Install Script
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (apache2handler)
- MySQL version: 5.1.30-community
- URL: localhost
I have put the checkuser extension files into the right place, but how do I run the install script? What program should I use? Thanks in advance, -Genius101 19:22, 16 February 2009 (UTC)
[edit] (RESOLVED) ConfirmAccount Extension causes blank page due to missing method pipeList()
- MediaWiki version: mediawiki-1.13.4
- PHP version: php-5.2.8-win32-installer.msi
- MySQL version: mysql-5.1.30-win32.exe
- URL: Internal usage
Hi. I'm new to this so bear with me. I'm using the ConfirmAccount-trunk-r47120.tar.gz extension. I have added the database tables and
require_once("$IP/extensions/ConfirmAccount/SpecialConfirmAccount.php"); to the LocalSettings.php.
If I go to the login page -> request one -> fill in form -> press ok. I get a mail to the address I gave in the form. I follow the link in
the mail and a page showing me the following is displayed: Your e-mail address has been confirmed and will be listed as such in your account request
If I now log on as sysop and go to Special Pages I have the Confirm Account Requests.
I click on that and a blank page is displayed. The error log gives me the following error:
[Tue Feb 17 17:35:38 2009] [error] [client xxx] (20024)The given path is misformatted or contained invalid characters:
Cannot map GET /mediawiki/index.php/Special:SpecialPages HTTP/1.1 to file, referer:
http://localhost/mediawiki/index.php?title=Special:UserLogin&action=submitlogin&type=login
[Tue Feb 17 17:35:40 2009] [error] [client xxx] (20024)The given path is misformatted or contained invalid characters:
Cannot map GET /mediawiki/index.php/Special:ConfirmAccounts HTTP/1.1 to file, referer:
http://localhost/mediawiki/index.php/Special:SpecialPages
[Tue Feb 17 17:35:40 2009] [error] [client xxx] PHP Fatal error: Call to undefined method Language::pipeList() in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\mediawiki\\extensions\\ConfirmAccount\\
ConfirmAccount_body.php on line 95, referer: http://localhost/mediawiki/index.php/Special:SpecialPages
I have searched the PHP files included in the extension and in MediaWiki and the only place I find a reference to
pipeList are several calls in ConfirmAccount_body.php. There is no method declaration done within Language.php or
any were else as far as I can tell.
I have tried to Google the problem without any success.
Any help is appreciated.
BR
/Niklas Toral
—192.138.116.230 16:50, 17 February 2009 (UTC)
- Use the version of ConfirmEdit designed for your version of MediaWiki. —Emufarmers(T|C) 23:37, 17 February 2009 (UTC)
As far as I know I am using the correct version. According to the description of extension Confirm Account 1.41 should work with MW 1.11 and up.
Se http://www.mediawiki.org/wiki/Extension:ConfirmAccount
I tried to find different versions of the ConfirmAccount code without success. If I click on Download Snapshot I get a message saying: No such
extension "ConfirmAccount" even though the extension is there in the list.
I also tried to download MW 1.11.1 to see if pipeList() was an available function in Language.php there but I can't find it there either.
Is there something I have missed?
BR
/Niklas Toral --192.138.116.230 07:27, 18 February 2009 (UTC)
- There are versions of the extension available for each MediaWiki branch 1.11 and up, but a given version of the extension may or may not work with a particular version of MediaWiki. Select the 1.13 version of the extension from the ExtensionDistributor; if it wasn't working before, it must have been a temporary problem, because it's working now. —Emufarmers(T|C) 01:17, 19 February 2009 (UTC)
Thanks! Downloadning version 1.13 of ConfirmAccount did solve the problem. I find it a bit strange thet there are newer versions available
that doesn't work with the latest release of MediaWiki. I also tried with version 1.14 of ConfirmAccount but then I got the following error:
[Thu Feb 19 08:23:09 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined method User::addNewUserLogEntry() in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\mediawiki\\extensions\\ConfirmAccount\\ConfirmAccount_body.php on line 568,
referer: http://localhost/mediawiki/index.php?title=Special:ConfirmAccounts/authors&acrid=3
Could it be that version 1.14 and Current version is aimed for a not yet released version of MediaWiki? I guess that it would be good to state
on Extension:ConfirmAccount which releases that work with the latest MediaWiki download.
—niklastoral 09:12, 19 February 2009 (UTC)
[edit] Perfect solution for adsense
- MediaWiki version: Latest
- PHP version: 5
- MySQL version:
- URL:
I have been searching to find an easy way to add adsense to wiki but it seem virtually impossible to do so. Every one is giving some hacks or extensions, i cannot understand these. Kindly some one help me. I am lost
—58.27.155.168 20:38, 17 February 2009 (UTC)Jawad AHmed
- The Google AdSense 2 extension works fine. —Emufarmers(T|C) 23:39, 17 February 2009 (UTC)
[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] MediaWiki 1.13.4 Install problem - can't find suitable mysql database driver
- MediaWiki version: 1.13.4
- PHP version: 5.1.6
- MySQL version: 14,14 Distrib 5.1.31
- URL: localhost
Please include all of the lines below when reporting installation problems.
* PHP 5.1.6 installed
Could not find a suitable database driver!
o For MySQL, compile PHP using --with-mysql, or install the mysql.so module
o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module
o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module
PHP was included with my RHEL ES 5.2 install and there doesn't seem to be a mysql.so module for RHEL ES 5.2. I googled for problem but solutions all seemed to apply to windows OS. Assistance will be greatly appreciated.
—69.232.227.233 00:21, 26 February 2009 (UTC)
[edit] How to calaulate word count of an article according to contributors?
- MediaWiki version: 1.14.0
- PHP version: 5.1.6
- MySQL version: 5.0.45
- URL:
For example: If an article is written by three contributors: A, B and C. When the article is finally stable and no more editing, is there any extension module that can help me calculate the word count written by each author?
—123.112.60.113 03:57, 28 February 2009 (UTC)
- MediaWiki version: 1.13.3
- PHP version: 5.2.8.
- MySQL version: between 5.0 and 5.1
- URL: ---
Hello, I'd like to ask if there is any possibility to modify the wikisearch to be able to search through file attachments. In my case, I often use to insert PDF, Word or Excel files to the Wikisites. So it would be very helpful if the Searchbox would also link these files if there is the a agreement to the search. But not only the Name of the file also in the file.
I can't find any extension to this problem so it would be great if you can show me some way to handle it.
Kind regards—192.35.17.30 09:57, 4 March 2009 (UTC)
[edit] how to search through file attachments
- MediaWiki version: 1.13.3
- PHP version: 5.2.8.
- MySQL version: between 5.0 and 5.1
- URL: ---
Hello, I'd like to ask if there is any possibility to modify the wikisearch to be able to search through file attachments. In my case, I often use to insert PDF, Word or Excel files to the Wikisites. So it would be very helpful if the Searchbox would also link these files if there is the a agreement to the search. But not only the Name of the file also in the file.
I can't find any extension to this problem so it would be great if you can show me some way to handle it.
Kind reagards—192.35.17.30 09:58, 4 March 2009 (UTC)
[edit] (RESOLVED) Which extension enables usage of If/else or switch - commands?
- MediaWiki version: 1.13.3
- PHP version: 5.2.4 (apache)
- MySQL version: 5.1.30
- URL: internal
Hello, Can anyone tell me the extension needed to enable usage of IF / ELSE or SWITCH() - commands ( it's used in this wiki for example: ffxiclopedia-template )
thx in advance, —93.198.158.15 16:40, 6 March 2009 (UTC)
-
- ParserFunctions. —Emufarmers(T|C) 05:51, 7 March 2009 (UTC)
-
-
- Thank you--87.180.249.165 14:11, 7 March 2009 (UTC)
-
[edit] Extension:ABC -> not available anymore?
- MediaWiki version: 1.13.3
- PHP version: 5.2.4 (apache)
- MySQL version: 5.1.30
- URL: not available
I tried downloading the Extension:ABC - but after clicking "Download Snapshot" I get this message:
Download MediaWiki extension
No such extension "ABC"
Select which extension you want to download:
- and there's no "ABC" available in dropdown-menu. Isn't it available anymore? and if it still is: how can I install it? thx,
—93.198.159.238 14:01, 9 March 2009 (UTC)
[edit] Can you have a survey/poll on 1.13.4
- MediaWiki version: 1.13.4
- PHP version: 5.2.6
- MySQL version:
- URL: http://www.theglobalidea.com
Mediawiki 1.13.4, We're just starting a wiki for disabled travelers and need to conduct surveys on the wiki.Can this be done? Site: http://www.theglobalidea.com
—69.181.69.255 19:47, 12 March 2009 (UTC)
[edit] Main Page Column Extensions?
- MediaWiki 1.14.0
- PHP 5.2.8 (apache2handler)
- MySQL 4.1.22-standard
I have noticed several wiki's now using something that goes along the lines of "<mainpage-endcolumn>, <mainpage-leftcolumn-start>, <mainpage-rightcolumn-start>". From what I can see this seems to be somewhat of an extension, but I cannot for the life of me, find it anywhere. I would like to know how (or what) I would have to do to potentially use this, so that I could have columns on my mainpage (as often seen on wiki's). So, then. What do I do to use this, or another forum to allow side by side columns? --TheSisko 23:11, 13 March 2009 (UTC)
[edit] Installation of Extension:TitleKey
- MediaWiki version: 1.13.1
- PHP version: 5.2.7
- MySQL version: 5.0.67-community-nt
- URL: localhost
I have a wiki that was running on a flash drive using WOS Portable that I then copied to my Windows Vista laptop, where it runs now. I would like to install Extension:TitleKey so that the search suggestions are case-insensitive, but the installation instructions are not very good. What specific commands do I need to do in order to "run the queries from titlekey.sql"? It would be nice if someone could update the installation instructions on the extension's page. Thanks.
—Imperator3733 18:22, 17 March 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] Permission denied
- MediaWiki: 1.13.2
- PHP: 5.2.6 (cgi-fcgi)
- MySQL: 5.0.67-community-nt
- URL: intranet
- extension: http://dev.openbig.net/index.php/Dev.openbig.net:Ratings
I'm trying to install an extension but i get this warning/failure:
[31-Mar-2009 11:00:28] PHP Warning: require_once($IP/extensions/Ratings/Ratings.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in $IP\LocalSettings.php on line 283
[31-Mar-2009 11:00:28] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '$IP/extensions/Ratings/Ratings.php' (include_path='$IP\mediawiki;$IP/includes;'$IP/languages;.;C:\php5\pear') in '$IP\LocalSettings.php on line 283
in line 283 of the Localsettings.php: require_once( "$IP/extensions/Ratings/Ratings.php" );
I'm a wiki beginner and i cant find any information about the permission that i need to get things work. And I dont know if it is a problem with the extension or if I must change something...
please help me
- I just had to select the Ratings folder, rightclick, properties, security and there enable everything (I didn't want to spend my time on finding out what exactly has to get the permission). AndiRay 14:27, 21 April 2009 (UTC)
[edit] IIS and LDAP
- MediaWiki version: latest (sorry couldnt find the version) i downloaded about a week ago
- PHP version: 5.2.9-1
- MySQL version: 5.0
- URL: internal corporate site
Please please please can someone tell me how to configure LDAP using IIS. ive searched the web for 2 days trying to find out and all i can find is Apache configs. Ive downloaded the info from this site and it still doesnt work can someone point me in the right direction or give me some pointers. i would rather figure this out by myself but ive almost hit "the wall" thanks a million
—62.189.175.212 16:12, 7 April 2009 (UTC)
- The LDAP Authentication extension supports IIS. —Emufarmers(T|C) 22:48, 8 April 2009 (UTC)
[edit] how to create new table and handle it in a extension
- MediaWiki version: 1.12.0
- PHP version: 5.2.4 (apache2handler)
- MySQL version: 5.0.45-community-nt
- URL:
how to create new tables which i need to use in an extension?
any standard / recommended practice to create new tables and use it in a extension?
can you list extensions, which is creating their own tables to store their extension specific data?
—192.8.211.11 11:12, 14 April 2009 (UTC) Prince Gerald
[edit] how to add a new tab (top right of the page)
- MediaWiki version: 1.14.0
- PHP version: 5.2.4
- MySQL version: 5.0.51
- URL: NONE
Hi, I have installed an extension (Tasks_Extension). I was able to add the special page link into my special page (Spécial:Pages_spéciales) but I don't know how to add the same link to the top right of the page (specialpages tabs).
I suppose is not so hard too do, so please help me :) !!!
—Bricecol 09:41, 17 April 2009 (UTC)
[edit] Document Management
- MediaWiki version: 1.14.0
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.0.45
- URL: http://www.dci-online.net/wiki/ (using password via .htaccess)
I wonder whether a plugin exists which provides simple document management functionality. So that you can upload files (pdf, doc, jpg, gif,...) and categorize them. Our club wants to replace the existing communication platform on nexo.com with a mediaWiki-installation to handle all documentation in one place.
Thanks in advance!
—88.77.154.190 15:14, 18 April 2009 (UTC)
[edit] Calendar for yearly events?
Hi, is there any calender extension which allows - besides the standard calendar features - to enter annual events like birthdays? --JazzmanDE 19:43, 20 April 2009 (UTC)
[edit] TableEdit 0.8 extension install fails . . . sql script errors
- MediaWiki version: 1.14
- PHP version: 5.2.5 with Suhosin-Patch 0.9.6.2
- MySQL version: 14.12 Distrib 5.0.26, for suse-linux (x86_64) using readline 5.1
- Web server version: apache2-2.2.3-16.21
- URL: Local Intranet
Hello, I have installed a local intranet version of media wiki in SLES 10 x86_64 running in Apache2. The defaults work great! However I wanted to add the TableEdit extension module to my wiki. I followed the directions exactly only to run into some Mysql database errors. Much google searching has not pointed me to a fix as of yet;
- I downloaded TableEdit.0.8.tgz - Extracted it into the extension directory ;
/srv/www/htdocs/wiki/extensions/TableEdit
- Followed the instructions in the INSTALL - ran the install command ;
mysql -u user -p < sql/TableEdit_tables.sql Enter password: ERROR 1046 (3D000) at line 7: No database selected
- So I did ;
mysql -u wikiuser -p
mysql> use wikidb
mysql> source /srv/www/htdocs/wiki/extensions/TableEdit/sql/TableEdit_tables.sql
Query OK, 0 rows affected (0.00 sec)
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'KEY `template` (`template`),
KEY `page_name` (`page_name`)
) ENGINE=MyISAM DE' at line 13
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'KEY `box_id` (`box_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 10
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'KEY `box_id` (`box_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 6
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'KEY `box_id` (`row_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 6
Any suggestions or a fix would be greatly appreciated!
Thank-you,
--
Ryan Letourneau
E-mail: rletourneau@keypics.com
— —68.179.65.201 00:05, 23 April 2009 (UTC)
- MediaWiki version: 1.14
- PHP version: 5.1.6.20
- MySQL version: 5.0.45-7
- URL:
1. How to configure number of issues listed per page in View of Issue Tracker extension. At present not able to see more than 30 Issue per user per project. Also the pages is missing with a pager to second page. However when queried with specific Issue ID the issue is shown with details.
Want a pager to the issue list along with the details of the Location and file name to configure the number of items in the Issue list.
—Yeshwanth 07:42, 24 April 2009 (UTC)
[edit] SocialProfile - install.php not working
- MediaWiki version: 1.14
- PHP version: PHP/5.2.6
- MySQL version: 5.0.67
- URL: xampp
I tried to run the install.php file per command line of firebug, but always get back a syntax-problem in line 93. But there is nothing wrong. I put the adminsettings.php in the maintenance-folder. I think, that the problem is the adminsettings.php. Maybe it's because of xampp. I have no clue.
Thanks
—84.144.102.111 10:19, 9 May 2009 (UTC)
- AdminSettings.php goes in the wiki root, not the maintenance directory. Beyond that, what is the error? —Emufarmers(T|C) 13:19, 9 May 2009 (UTC)
[edit] Miscellaneous (unsorted) Issues
[edit] Extend the searchbox with text messages
- MediaWiki version: 1.13.0rc1
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67-community
- URL: N.A.
I have to extend the search portlet with some links and text. For the beginning, I've put some hard coded text in myskin.php (yes, it's evil... ;-)) Now I have to make it multilanguage-capable, so I try to fix this hack. But how? I'd like to get a variable in the skin which I can trigger by a system text from the MediaWiki namespace. Something like <?php this->msg('foo') ?> that can be replaced by MediaWiki:Foo. Thanks für any hints (I'm more the php copy/paster, so please be merciful ;-)) --Elya 10:54, 24 November 2008 (UTC)
[edit] MATH
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.67
- Windows XP SP3
- URL:
I will activate the tag MATH. In the procedure I read : Run 'make' (or 'gmake' if GNU make is not your default make). This should produce the texvc executable.
I have downloaded MinGW but I don't know what I must do ! What meant "run make...".
—217.136.13.239 16:34, 26 November 2008 (UTC)
- In the MinGW/bin directory there must be an mingw32-make.exe. Copy and rename it to make.exe. Put these path into the %PATH% environment variable. Now start cmd.exe and go to the /wiki/math directory and execute 'make'. TG, 87.193.172.106 14:31, 27 January 2009 (UTC)
[edit] Problem after xampp update
- MediaWiki version: used to be 1.8.2.
- PHP version: was 5.0.4, now 5.2.4
- MySQL version: was 4.1.13, now 5.0.45
- URL: intranet only
Hello,
we used to have an wiki in our companys intranet. After we had to update our server to a newer xampp version (from 1.4.15 to 1.6.4) our wiki doesn't start. I do have the complete old xamp on a different drive, so all data should be save. The Error Message shown is: Can't contact the database server: Unknown database 'dewiki' (localhost) When I run the old xampp locally, I get following error when trying to access the wiki: '
Can I import the old database into the newer sql-database? How is this done, since I can't run the old wiki anymore?
Is it easier to install an all new Mediawiki 1.13.x and import an old export we made a couple of weeks ago? Is this export compatible to the new Mediawiki version?
Thank you for your help. Greetings --195.145.82.17 13:18, 27 November 2008 (UTC)
[edit] Different pages, different skins
- MediaWiki version: 1.12.0
- PHP version: 5.2.5 (cgi)
- MySQL version: 5.0.51a-community-log
I am trying to include pages with a dramatically different theme into my main wiki. (My main wiki has a fantasy skin and the pages I want to include are futuristic.) I'd like a different skin specific to those pages and which will load only for those pages. I don't want to simply install a new wiki for the futuristic-themed pages because there will only be a few of them.
Is there a way to set a specific skin on any individual page that is different from the wiki's default skin? —Iceofwolf 07:29, 2 December 2008 (UTC)
[edit] Creating archive of wiki project
Can I create an archive of my wiki project, e.g., CDROM or ohter meida for storage and documentation purposes? If so, how?
—63.80.243.2 21:26, 3 December 2008 (UTC)
[edit] Question, Language Dictionary
- MediaWiki version: 1.13.2
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.51b-community-nt-log
- URL: testing at localhost
Hello MediaWiki Team, I just started to use MediaWiki software last week. I have basic of PHP and MySQL. I want to make my own Language Dictionary Online for myself and my friends and hope it will be helpful when we live abroad. I see this site is making so good: http://tratu.baamboo.com/ They have: English-Vietnamese, Vietnamese-English, Vietnamese-French, French-Vietnamese ... Their links are:
- http://tratu.baamboo.com/dict/en_vn/special:allpages
- http://tratu.baamboo.com/dict/vn_en/special:allpages
- http://tratu.baamboo.com/dict/fr_vn/special:allpages
- http://tratu.baamboo.com/dict/vn_fr/special:allpages
I also asked them how-to's but they did not respond me. If I want to do by their way, for each dictionary I have to upload MediaWiki software to each folder: like bolded texts up (en_vn, vn_en ... ) ? I hope you will help me. Thank you very much —Thanhdat 22:16, 4 December 2008 (UTC)
[edit] Is there a way to force a group of pages in our wiki to have a particular skin?
- MediaWiki version: 1.12.0
- PHP version: 5.2.4-2ubuntu5.1 (apache2handler)
- MySQL version: 5.0.51a-3ubuntu5
- URL: not publicly available (is on company intranet)
I hope this is the appropriate place to post this question. (if not, my apologies!)
I'd like to find out if there is a way to force a group of pages in our wiki to have a particular skin.
The reason I am keen to do this is that we have a wiki which works great, but I would like to store help pages for an application we have in the wiki and link to those pages direct from the app. Although we wouldn't have concerns with people seeing the non-article stuff when viewing the pages from the rest of the wiki, for it to be streamlined when viewed from the application I thought it would be ideal if I gave it a simplified skin which I would design.
I have already found out that URLs can have the useskin=<skin-name> added (e.g. as is done in the Preview Skin page within the User Preferences pages), but following the links will revert you to your normal chosen skin.
Is there perhaps some way to adjust the skin, so that all the links contain useskin=<skin-name>? (I think this might have issues, since you appear to need the full pagename for useskin to work (e.g. ..../w/index.php?title=blah....&useskin=cologneblue as opposed to the short URLs).
If this isn't a smart way to go, I could consider different approaches (I run the box the wiki is on and could create a distinct wiki perhaps, although there might be disadvantages to this, such as needing to combine the user tables and maybe this would still pick up the user's preferred skin unless I re-coded things).
Any sensible suggestions gratefully received! Let me know if there's any more info you might need or if I need to clarify any points about my objective.
Many thanks, Neil —NStoker 12:41, 11 December 2008 (UTC)
[edit] Slowness
- MediaWiki version: 1.13.2
- PHP version: 5.2.6 (cgi-fcgi)
- MySQL version: 5.1.29-rc-community
- URL: intranet
We have installed MediaWiki on a Windows 2003 Server with IIS. Every time we access WikiMedia on it (locally or via another network computer) it takes a long time before it shows up. You can instantly see the title bar at the top showing the correct name, but it looks like it's waiting for something to continue. After about 10 seconds it shows the page. When you then go to another page it works perfect.
So, only when first accessing it will it take about 10 seconds to show the page.
Hopefully there's a solution for this.
—193.173.57.41 12:13, 12 December 2008 (UTC)
[edit] FAQ functionality support?
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
My question is: Does MediaWiki support FAQ functinality with a set of files (PHP) for the host to receive and answer questions from end user.
Or is this support desk function is the only one available?
Thanks! —204.64.79.29 16:40, 15 December 2008 (UTC)
[edit] Restoring Help Pages
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 5.0.51a
- URL: (local)
I transfered my existing phpwiki to MediaWiki using a third party perl script and it seems to have deleted all of the MediaWiki help pages. What is the best way to restore them?
—24.46.115.83 15:47, 18 December 2008 (UTC)
[edit] Clearing Spam out of Database
- MediaWiki: 1.5.7
- PHP: 4.4.8 (cgi-fcgi)
- MySQL: 4.1.21-log
- Extensions:
- Other: ConfirmEdit, Simple captcha implementation, by Brion Vibber
- Extension functions: confirmEditSetup
- URL: http://www.handicappedpets.biz/wiki
I am a Novice:
I've noticed that my database has filled up with 50 megs of Junk/Spam. They don't appear on the wiki - buy they are in the database.
The only way I can see to clear these entries out is one-by-one -- and that can take forever. Is there a method or extension that will let me clear out unwanted entries.
I do have direct access to the sql database with MyPHPAdmin if that helps.
Thank you Mark C. Robinson HandicappedPets.com
—70.20.42.13 15:00, 19 December 2008 (UTC)
[edit] Viewing an image uses in excess of 100MBytes of memory.
- MediaWiki version: 1.13.2
- PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
- MySQL version: 5.0.51a-3ubuntu5.4
- URL: http://localhost/mediawiki/index.php/Image:Electrolux_5995500930-011.png
Viewing an image uses in excess of 40MBytes of memory.
I had to increase the PHP memory to 80M in order to avoid the 'unable to allocated memory' error. Yes I have over 100K images. I have a significant number of images left to upload and would like to make sure the the memory image does not grow again. If you need I can open my firewall temporarily. Please let me know what I can do to help.
—24.6.151.162 16:01, 19 December 2008 (UTC)
- So what's the problem? —Emufarmers(T|C) 20:26, 19 December 2008 (UTC)
How much memory do you think a PHP script should use? It is recommended in this site that you should set the maximum PHP memory to 32MB not 80MB. Should I expect to increase the memory base on the number of images I have?
- Wikipedia and the other Wikimedia Foundation wikis all have a memory limit of 80MB. One article on this site says to raise the memory limit: it gives 32MB as an example, not a rule. —Emufarmers(T|C) 08:17, 21 December 2008 (UTC)
The PHP script just exceeded 80MB.. I would consider this an issue with the script.
>> Fatal error: Allowed memory size of 83886080 bytes exhausted (tried to allocate 86 bytes) in /usr/share/mediawiki/includes/filerepo/LocalFile.php on line 249
- I did a little research on the issue. Because of the nature of the content I have on my wiki there are one or two images that are duplicated many times with different names. This is not a problem for me as the images are very small. What I discovered is that the image view page searches and lists all of these duplicates. The resulting page is very large causing the memory issue. Can the scripts be modified to only list the first 100 or so?
[edit] Statistics
With the code : [[Special:Statistics|{{NUMBEROFARTICLES}}]] I can see automaticly how many pages there are on my wiki. Is there also a code to see how many pages has been vitites totally on my wiki ? Thanks...
—82.173.153.235 08:44, 21 December 2008 (UTC)
[edit] Custom Login Page & Passing Login Info
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.62
- URL: Currently its development site
Hi. I'm currently working on mediawiki on my company's project. I like to know is there any reference on creating custom login page? also I like to send logged in user from our secure page to (our)mediawiki site, so they are automatically logged in. Please advice.
—12.17.95.135 15:25, 22 December 2008 (UTC)
[edit] PHP shell for Windows Server 2003?
- MediaWiki version: 1.13.3
- PHP version: 5.2.5
- MySQL version: 4.1.22
- URL: http://mysticdragonorb.com/wiki/index.php?title=Main_Page
I have downloaded php shell; however, it claims to be for Linux and I don't think it will work on a windows server 2003 system. I can't run any of the maintenance scrips. Nothing else that claims to work for Linux has worked for me yet. Is there a way to just make the maintenance scrips work without the benefit of the php shell? Any suggestions? —Coop 05:38, 23 December 2008 (UTC) Well... I just built a Linux system and perhaps now I can have my cake and eat it too. --1/31/09
[edit] Can I require more information in "Create Account" Page?
- MediaWiki version: 1.13.2
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: N/A
Besides ID and password,I would like to require more information, such as birthday, when a user wants to register. Also, can I define which field is required and which one is not? Thank you!
—Coulomb 23:41, 27 December 2008 (UTC)Coulomb
[edit] Manual:Skinning is outdated
The article Manual:Skinning is outdated. Don't supports the categories. What I must do? Do I must include some template in the article?
[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] Created arricles by a user
Is there any way to see all the pages (articles) created by a user in a wiki?--117.196.166.166 08:01, 9 January 2009 (UTC)
- And 10:53, 14 January 2009 (UTC) You should have "my contributions" in the "personal tools" toolbox (or top right, depending on your skin) - this links to Special:Contributions/User.Name and you can just change the user name accordingly. However, this shows all pages that the user has edited as well as created, so it's not exactly what you need, but it's the closest I know of.
- The Special:NewPages function allows you to specify a user name, seeing all new pages that user has created recently. I think it only goes back to whatever you have the $rcMaxAge (IIRC) variable set to. --Greg (68.49.33.97 20:13, 17 January 2009 (UTC))
[edit] (RESOLVED) MediaWiki for Mac?
do you have any mediawiki download available for MacIntosh users?
Birgit Birgit.Woelker@ncc.edu —72.89.79.27 18:47, 9 January 2009 (UTC)
- MediaWiki is cross-platform software, and it runs well on *nix systems as MacOS X is one :-) So there are no different download options for different OS. --:bdk: 22:12, 9 January 2009 (UTC)
[edit] How do I get a main table of content for my wiki??
MediaWiki version: 1.13.2
PHP version: 5.1.6
MySQL version: 5.0.45
URL: local
Hello, I really need to get a table of content (A-Z index) on my main page or the portal page. I search the whole day but I didn't find it; hop it's quite easy... [10] --IP 12 January 2009
- Reply
- How to edit a page
add the heading between == heading 1 == == heading 2 == == heading 3 == == heading 4 ==
- --IP 12 January 2009
-
- Three suggestions (dunno what exactly you want to achieve):
- For a "normal toc" add the TOC magic word to the page in question (only works well if you already have at least one heading on the page); but a toc is automatically displayed if there are at least four headings (like ==A== to ==Z==), see en.wikipedia help).
- For an "A-Z index" include Special:Allpages by adding
{{Special:Allpages}}to a page – this will be displayed differently, depending on the total amount of articles in your wiki (either really all pages, or subsection links). - A neat alternative could be Extension:CategoryTree (if you have categorized all articles and have a main category).
- --:bdk: 02:13, 13 January 2009 (UTC)
- Three suggestions (dunno what exactly you want to achieve):
Thanks so much until now but this is not exactly what I need: I want to have a A-Z index on my main page. It's a special content in our wiki and if there is no table of content directly on the first page, people don't know which for which articles they should search. – Like in a book: index at the beginning. I don't want the users seachr for "all pages"...
I will search through the "how to edit". which is a super-useful page I didn't find before – just starting. --IP 14 January 2009
-
- Well, I can only see 8 "articles" in your wiki at the moment. Why not choose option 2 then?
- Please note, that Special:Allpages (default: main namespace) actually is MediaWiki's built-in A–Z index. I do not know of any other automated way to do what you want obviously.
- Another very basic option would be, of course, to simply edit your main page and manually add the pages in question with ordinary A–Z headings … --:bdk: 12:24, 19 January 2009 (UTC)
[edit] Email notification on deleted watched pages says "page created"
- MediaWiki version: 1.13.2
- PHP version: PHP 5.2.4-2ubuntu5.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 25 2008 22:10:31)
- MySQL version: Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
- URL: not a public wiki
I have configured a wiki working just fine, with email notifications activated - working great! However, when watching a page being deleted (and not being the user deleting the page, which would not generate a notification) the page is reported as being "created". That is a little misleading as least :)
Users set to be notified OnAllChanges gets the same message when a page is deleted: "created". I've been looking into the code and I guess the problem may be that "created" is selected when $this->oldid is unset, which probably also is true when pages are being deleted.
Thanks for a great project!
Regards
Rikard Mathisson, Senior Software Engineer —62.95.110.200 14:08, 13 January 2009 (UTC)
- Filed as bug 17016. Thanks for reporting! —Emufarmers(T|C) 06:44, 14 January 2009 (UTC)
[edit] (RESOLVED) Problem with Internet Explorer 7 (IE7)
- MediaWiki version: 1.13.0
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
- URL: n/a (it's internal anyway!)
I am posting this even though I've fixed the problem, in case anyone else encounters it.
With the above configuration, which worked well on Solaris 10/Apache 2.2.6 with IE6, Safari, Chrome and Firefox, when I went to the site using IE7, I never reached it - the status bar flickered away for ever and analysis of the traffic showed that etags were being bounced back and forth between the client and server. I installed Apache 2.11.0 no_ldap (from Sunfreeware) and the problem disappeared.
—And 10:21, 14 January 2009 (UTC)
[edit] External authentication
- MediaWiki version: 1.13.3
- PHP version: 5.2.6
- MySQL version: 5.0.51b
- URL:
My company uses a web based authentication for webpages. In a nutshell, a webpage would redirect to this authentication page which handles all userid/password input, etc. and then returns to the sending page with cookies. It's then up to the page owners to decide how they want to use that information. Is it possible to change the MediaWiki login code (easily, not rewriting MediaWiki) to perform this redirect and call my own .php code to handle the cookies? If so, any help would be appreciated. What files do I need to modify? What cookies/variables/etc do I need to set so MediaWiki knows who and what permissions the user has? etc. Thanks! —72.77.231.3 15:05, 14 January 2009 (UTC)
[edit] Page Language Selection
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi)
- MySQL version: 5.0.68-log
- URL: http://lnx.gestioneacquario.org/wiki/
Hi, Im very intrested to Language Selection's method used on Mediawiki.org. I tryed to install it on my wiki. I created the 2 templates Template:Language and Template:Language/Lang, and installed Extension:ParserFunctions. I created Page called like MyPage for default and MyPage/en for English. It seems to work when the page with default language is loaded, but if i load another page with different language, it seems that the Template is not able to recognize the language and the Template is not working.
Can you help me? There is an example on my site on Main Page.
Thanks
Marco
—195.103.112.184 15:09, 14 January 2009 (UTC)
[edit] (RESOLVED) ED
Hi, I would like to ask that you remove the page
encyclopediadramatica.com/Krystole
from your documents. These are all lies taken from some over dramatic loser who has no better then to belate others on their life. The pics are illigally optained from a private collection and are not for public viewing. It is sick what you let people blog about on your pages. These lies should not be aloud to be published due to the slander effect it could have on her. So i ask again for you to please remove this page from your archives. Thanks
Shawn Hele Shawnhele@hotmail.com —24.235.202.190 20:52, 14 January 2009 (UTC)
- MediaWiki is free software and can be used by everybody for whatever content. We here at mediawiki.org are not responsible neither for third party uses of MediaWiki nor for content that third parties add to their website (content issues are independent of the engine that is used to run a site), and we can't help with respective problems. – Please contact the actual owner (or contributors) of the site you're concerned about.
- In this precise case you might want to have a closer look at this article on Wikipedia first. I hope this helps. --:bdk: 12:24, 19 January 2009 (UTC)
[edit] x64 support
- MediaWiki version: mediawiki-1.13.2
- PHP version:5.2.6-2ubuntu4
- MySQL version: MySQL 5.0.67-0ubuntu6
does the engine work on x64 system? I have the following message on my x64 ubuntu instead the main and other pages
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 24 bytes) in /home/deda/Docs/Sites/wiki/includes/SpecialPage.php on line 161
On my x32 system MediaWiki works properly.
The parameter memory_limit is same in both systems (it's equal. 16M). I tryed to enlarge it in 64x to 25M but the bug is still recreated.
Daniil
- MediaWiki should work fine on x64 machines. Increase the memory limit until PHP stops running out of memory. If the error isn't changing, then your memory limit is probably being overriden in LocalSettings.php or an .htaccess file; the error you pasted indicates that the memory limit was 20MB, but you just said it was 16MB. —Emufarmers(T|C) 09:11, 18 January 2009 (UTC)
Thanks. I'll try it. Error above is from one intermediate result
[edit] (RESOLVED) Percent-encoding parentheses in links
- MediaWiki version: 1.13.3
- PHP version: 5.2.8 (cgi-fcgi)
- MySQL version: 5.0.67
- URL: http://www.charlibar.com/wiki/Accueil
Links that have some parentheses get percent-encoded (in the above URL, Test (1) is linked to Test_%281%29, which is ugly. Wikipedia sites do not show the problem. How to configure MediaWiki to not percent-encode these links? —Charlesb 13:48, 18 January 2009 (UTC)
- Wikipedia uses aliases instead of mod_rewrite. —Emufarmers(T|C) 05:57, 19 January 2009 (UTC)
-
- Thamks for the answer, but I don't see what is has to do with url rewriting? I'm talking about the hrefs of wiki links, so for me the percent-encoding is made at page generation.
-
- My server is down, so I reformulate my problem here:
-
- the following wiki markup [[Test (1)]] is rendered in the article page as
<a href="/wiki/Test_%281%29" title="Test (1)">Test (1)</a>. On wikipedia, it is rendered as
<a href="/wiki/Test_(1)" title="Test (1)">Test (1)</a>
- the following wiki markup [[Test (1)]] is rendered in the article page as
-
- So when the link is followed, on my site the user gets those percents in the adress bar, but not on Wikipedia. Sounds like a detail, but I'm curious
- --Charlesb 07:41, 19 January 2009 (UTC)
-
-
- I should have stated the connection: my testing indicates that wikis that use rewrite rules have parentheses encoded in links, while wikis that use aliases don't. —Emufarmers(T|C) 13:01, 19 January 2009 (UTC)
-
-
-
-
- OK, I trust you, but I think that there is something else. Alias or RewriteRule don't change the hrefs in page links, do they? Did you really test on the same server/config, switching from Alias to RewriteRule, and saw the difference? --Charlesb 23:45, 19 January 2009 (UTC)
-
-
-
-
- No, I was lazy. I checked two unrelated wikis that I knew used rewrite rules and found that they both had encoded parentheses in links, and then I checked two unrelated wikis that I knew used aliases and found that neither had encoded parentheses in links.
-
-
-
- I can't resist a challenge, though, so I went ahead and duplicated one of my wikis and changed its configuration to use rewrite rules. Parentheses in links remained unencoded. (I could have saved myself the trouble if I had thought more carefully about what you said and realized that my theory made no sense :)). Then I had an insight and did some more testing and determined that parentheses get encoded in 1.13.3 but not in 1.14/1.15. For confirmation, I checked the 1.14 patchnotes and found 'Unescape more "safe" characters when producing URLs, for added prettiness'. —Emufarmers(T|C) 13:11, 20 January 2009 (UTC)
-
-
-
-
- That's right, 1.14 behaves correctly. The code that does the job is in GlobalFunctions.php:
-
-
-
-
-
function wfUrlencode( $s ) {$s = urlencode( $s );$s = str_ireplace(array( '%3B','%3A','%40','%24','%21','%2A','%28','%29','%2C','%2F' ),array( ';', ':', '@', '$', '!', '*', '(', ')', ',', '/' ),$s);return $s;}
-
-
-
-
-
- Thanks a lot!--Charlesb 16:00, 25 January 2009 (UTC)
-
-
[edit] HTTP/500 when trying to edit a page
- MediaWiki version: 1.13.3
- PHP version: 5.2.6 (CGI)
- MySQL version: 5.0.67-community
- URL: protected/no external address
Summary: When I try to edit a page, I get a 500 Internal Server Error. Steps to trigger: Go to Main Page, click edit, press Save. Details: I have installed MediaWiki several times, and have never had this issue before. I am not certain if this has anything to do with the problem, but PHP has a lower memory limit than usual (this is not under my control). Also, I believe PHP is running as CGI.
Thanks ahead of time!
- Ben —69.249.106.162 02:52, 19 January 2009 (UTC)
[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 (talk • contribs) 07:57, 22 January 2009. Please sign your posts with ~~~~!
[edit] please remove this following ED page
I dont know which one
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Hi there,
It would appear as if that what I am about to complain about here, is often a complaint that is put forward to you on here from other people, and from reading the replies to other peoples similar complaints, it almost seems as if we are powerless to get any action done about it.
A malicious and slanderous profile has been made about me here >>>>> encyclopediadramatica.com/Robfalcon , and it would seem as if this website is provided to actually encourage and provoke this type of anti-social (and possibly illegal) behaviour, especially when you take note of the fact that if you join AE and attempt to delete the very article about yourself, you are given an automatic ban and then patronised about how butt-hurt you are. I find this operation as very biased and one sided, if other people are given the right and freedom to write up malicious and slanderous articles about somebody, then surely that somebody also has the right to delete and remove the very page about themselves?. This page even contains my real name and where I live in the country.
And from reading the reply you gave to somebody else, your main sentiment stressed to them was this wikipedia article here >>>>> en.wikipedia.org/wiki/Encyclopedia_dramatica. Im very sorry, but I find this so hard to swallow. If you went around doing this sought of behaviour in real life (like writing up a malicious and slanderous book or video documentary about somebody for example, and then putting it up for sale for mass viewing), im very sure you would be arrested for it and be charged for breaching the malicious communications act ect, but if you do it on the internet however, you have yourself a loophole for it.
My email address is here if you wish to resolve the issue this way >>> kraal7718@hotmail.co.uk
—Bokken1234 12:10, 24 January 2009 (UTC)
- This site documents the MediaWiki software. Because the software is free, nobody here can control how it is used. ED is a site that happens to use the MediaWiki software; ED is not hosted here. —Emufarmers(T|C) 02:01, 25 January 2009 (UTC)
[edit] Will this upgrading approach works?
Hi, I am so worried about upgrading that I am now 3 versions behind time. I was wondering whether this approach can work:
Hi, I am using Mediawiki software Version 1.10. I have not been updating the software for fear of messing it up. I was just wondering...
Supposing my Mediawiki folder is "Wiki". I upload the new version 1.13 in another folder called "Wiki1" and then do the following:
- Set the database to the existing one when I install the new software.
- Change the old Wiki folder name to Wiki2
- Change the new Wiki1 folder name to Wiki. — PM Poon 18:11, 24 January 2009 (UTC)
- If you're worried about messing things up, back up your wiki before you upgrade. Once you've done that, follow the upgrade instructions. —Emufarmers(T|C) 02:06, 25 January 2009 (UTC)
[edit] Range Block not working?
- MediaWiki version: 1.9.3
- PHP version: 5.1.4 (cgi-fcgi)
- MySQL version: 4.1.13-log
- URL: www.footysa.com
I'm writing as a sysop. The site is having very bad spam problems that are proving difficult to control. The owner is absent and uncontactable, so I tried some range blocks. However it refuses to do it claiming an Invalid IP range. The ranges are;
- 58.14.0.0/15
- 58.16.0.0/13
- 58.24.0.0/15
This is the start of a long effort to block Chinese IP's - which appear to be the source of the majority of the spam given the sites being advertised. My user name on the site concerned is Spybuster. TLPG HOME YACK 11:26, 25 January 2009 (UTC)
- Range blocks must use a CIDR affix between 16 and 32. —Emufarmers(T|C) 23:16, 25 January 2009 (UTC)
- Huh? I checked the range again through my own provider (banning everything from 58.14.0.0 to 58.23.255.255) and the first two ranges listed above are what I got back - including the CIDR affix. How can that be wrong? Unless - are you saying that these ranges can't be banned from a Wiki because of the CIDR limitation? TLPG HOME YACK 05:43, 26 January 2009 (UTC)
- Yes. Consult the range block documentation. —Emufarmers(T|C) 21:09, 26 January 2009 (UTC)
- Huh? I checked the range again through my own provider (banning everything from 58.14.0.0 to 58.23.255.255) and the first two ranges listed above are what I got back - including the CIDR affix. How can that be wrong? Unless - are you saying that these ranges can't be banned from a Wiki because of the CIDR limitation? TLPG HOME YACK 05:43, 26 January 2009 (UTC)
[edit] How to remove sitenotice from Main Page only
Hi, I would like to remove the sitenotice from my homepage only. How do I go about doing it? — PM Poon 15:53, 26 January 2009 (UTC)
[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:
- 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?
- 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?
- 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?
- Are there any good examples of public mediawikis sharing content in any of these ways with private ones?
- 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] header
- MediaWiki version: 1.12.0rc1
- PHP version: 5.1.6 (cgi)
- MySQL version: 5.0.67-community-log
- URL: http://www.spiriwiki.com/index.php?title=Hoofdpagina
How can I place an anouncement on my wiki, so that is is showned at the top of every page ? Greeting, Ivar
—82.173.153.235 13:08, 28 January 2009 (UTC)
- Edit http://www.spiriwiki.com/index.php?title=MediaWiki:Sitenotice —Emufarmers(T|C) 18:22, 28 January 2009 (UTC)
[edit] importDump does not import tag brackets
- MediaWiki version: 1.10.x and 1.13.3
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.67
- URL: (intranet)
I use dumpBackup to export my Wiki. When importing with importDump all < and > are gone. This is true for some html tags but also e.g. for math tags. The exported XML file contains the brackets as "<" and ">", the database does not contain anything anymore, so it is an import issue, not just a rendering problem. I tried to use "<" and ">" instead in the XML file - without success.
Ralf
—217.86.56.34 13:25, 28 January 2009 (UTC)
Update: Also stuff like " is removed... I tried on another system and there it works. Can it be that this is somehow related to some PHP settings? on the working system I have php 5.0.4 on the failing system i have 5.2.6. Configurations files look the similar (as far as I can see).
Ralf
--217.86.56.34 10:45, 29 January 2009 (UTC)
- This is a known issue (see bug 16554 for our bug). Unfortunately, it's an issue upstream with PHP and libxml2 (see PHP bug 45996 for their description). At the moment, the only known workarounds are to compile PHP with libexpat or downgrade libxml to a very old version (at least < 2.6.32). I had the same issue and I did the former (recompile with libexpat). ^demon 01:11, 8 February 2009 (UTC)
[edit] php dumpBackup.php error?
- MediaWiki version: 1.2.0
- PHP version: (I am using MAMP, Version 1.7.2)
- MySQL version: (I am using MAMP, Version 1.7.2)
- URL: http://localhost:8888/mediawiki/index.php/Main_Page (this is probably not very helpful, sorry)
I set $wgDBadminuser and $wgDBadminpassword in AdminSettings.uhp to the same as $wgDBuser and $wgDBpassword in LocalSetttings.php
And when I try to run dumpBackup.php:
php dumpBackup.php --full > filename
I got this error message:
DB connection error: Can't connect to local MySQL server through socket `/var/mysql/mysql.sock' (2) (localhost)
Any idea on what may be wrong and how to get around this?
—Skong 1999 19:35, 28 January 2009 (UTC)
[edit] Cannot Download Zip File
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
I'm unable to download the zip file for the latest version. I'm getting a page cannot be displayed in the browser. When I choose "Save target as" (on windows, IE) the file is not found. Anybody know why I can't download the file?
—Ndeptula 04:25, 30 January 2009 (UTC)
- The packages are tarballs, not ZIP files. Are you downloading from the primary link on the download page? —Emufarmers(T|C) 06:26, 30 January 2009 (UTC)
—91.66.168.204 11:19, 2 February 2009 (UTC)
[edit] Restrict change of pictures on user pages only to users
- MediaWiki version: 1.13
- PHP version:
- MySQL version:
- URL:
Hello, I want to configure mediawiki the way to restrict editing of userpages (with the ldap extension) only to users.
Is there a way to restrict uploaded pictures to that pages the same way?
Noone should be able to overwrite someone else's photo.
Thanks, Norbert
—91.66.168.204 11:21, 2 February 2009 (UTC)
[edit] SSL during login???
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Why is there no SSL during login to your site????
—69.3.103.229 18:59, 2 February 2009 (UTC)
- It's available if you need it. —Emufarmers(T|C) 08:51, 3 February 2009 (UTC)
[edit] UNTITLED
- MediaWiki version: 1.11.0
- PHP version: 5.25
- MySQL version: 5.0.45
- URL: http://166.1.10.62/wiki
Hi, we have a problem with user's being unable to open our wiki url page unless they have internet access/proxy setup. All user's with internet access and have the network proxy setup will work ok.
Any help on this matter would be appreaciated. Thanks
—194.217.113.142 16:24, 3 February 2009 (UTC)
[edit] Name Space Detetion
- MediaWiki version: 1.10.1
- PHP version: 5.2.0
- MySQL version: 5.0
- URL: (internal)
When using {{namespace}} is there a way to to it to replace to the null value you get when it's on an article? Like if null, return Article. I want to have a template that can say, "This {{NAMESPACE}} is blah blah,ect." But it doesn't work on articles. —190.140.123.122 00:41, 4 February 2009 (UTC)
[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] Need help moving wiki to a new server
- MediaWiki version: 1.6.10
- PHP version: 4.3.8
- MySQL version: 4.0.2 standard
- URL: not online
Hello - we are moving our wiki to a new server. I was told by our new host that I can just move my whole wiki directory to the new server and that I won't need to reinstall MediaWiki. What file(s) do I need to reconfigure - our database has a new name (same DB - just a new name). Thank you! —Lhaslauer 03:25, 5 February 2009 (UTC)
[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] 'editsection' without brackets?
In my own wiki, I removed the brackets from MediaWiki:Editsection-brackets, however, they are still shown in the wiki. How can I make these brackets disappear? --80.242.205.94 17:35, 8 February 2009 (UTC)
[edit] Gadget Extension, Problem with Navigation_popups installation
- MediaWiki version: 1.12.0
- PHP version: 5.2.6 (apache)
- MySQL version: 5.0.51a-19
- URL: http://www.cnel.ufl.edu/itl/index.php
I installed the Gadgets extension, because I wanted to add the Navigation_popups gadget. After installing the correct version of Gadgets extension I added the Navigation_popups following the instructions:
- add Gadget-popups.js script - add Gadget-navpop.css script - add * Navigation_popups|popups.js|navpop.css in the Gadgets-definition page - create Gadget-Navigation_popups page for a description of the gadget
I then selected this gadget under the Preferences/Gadgets section, and I did bypass the browser's cache but the popup gadget still didn't work.
I installed another gadget, wikEd, to make sure that my installation procedure was correct, and this gadget works fine.
Can you tell me what I am missing on the Navigation_popups gadget installation?
Thank you,
—Erioni 02:51, 8 February 2009 (UTC)
[edit] Accessing Wiki via LAN /DynDNS impossible
- MediaWiki version: 1.12.4
- PHP version:5.2
- MySQL version: 5
- URL: not available, that's the problem
My newly setup Webserver (Mac mini, Mac OS 10.4) is accessible via LAN and DynDNS (Apache-Welcomepage displays as expected). But when I want to see the also installed Wiki, mediawiki-software seems to somehow rewrite the URL (for exampe from xxx.dyndns.info/wiki to rars-mac-mini.local/wiki, with "rars-mac-mini.local" being the local LAN-name of this Mac) - making the browser stating a "not found" error of course. Since that only happens with the wiki, I ask if there's something in mediawiki-software which causes this rerouting?
—87.180.241.237 14:19, 8 February 2009 (UTC)
- MediaWiki is only following your webserver's settings. If for whatever reason you don't want to reconfigure them, just set $wgServerName yourself in LocalSettings.php. —Emufarmers(T|C) 22:38, 9 February 2009 (UTC)
-
- thank you, trying that today.--87.180.231.32 06:57, 12 February 2009 (UTC)
[edit] BlockMe
What is BlockMe? How can I test this feature in my wiki (mw 1.15)?—Kwj2772 14:50, 8 February 2009 (UTC)
- MediaWiki version: 1.6.7
- PHP version: 5.1.4-pl4-gentoo (apache2handler)
- MySQL version: 4.1.21-log
- URL:
I want to edit the wiki pages using scripting language like perl. So that i can edit the pages with automation. This is one of my requirement in the project. Please help me how to do it.
—148.87.1.167 11:25, 9 February 2009 (UTC)Sreekanth
[edit] Secure on XP?
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
General question, hence none of the above information. Is it possible to host a wiki open to the internet on a computer running XP while still being secure ie people cant damage that computer nor any others on my network? What precautions should I take? And do I need to take any if I use a Linux based OS instead? Thanks
—Tiddly Tom 19:40, 9 February 2009 (UTC)
- You should first ask whether it's safe to run a server in your environment; if you're concerned about the data on your computer or network and you don't really know what you're doing, then maybe you should find another host. As far as MediaWiki goes, it's designed to be secure, but running an application on a server always carries some amount of risk. —Emufarmers(T|C) 23:13, 9 February 2009 (UTC)
[edit] large page no longer loading
- MediaWiki version: 1.12.0
- PHP version: 5.1.6 (apache)
- MySQL version: 4.1.22 standard log
- URL: www.wikicrimeline.co.uk
Hello, I have a page on my wiki which I think is simply too large, for some time now it will simply not load, is there any way I can rectify this? I have very little by way of computer skills!
http://www.wikicrimeline.co.uk/index.php?title=Criminal_Justice_Act_2003
many thanks
—86.145.142.119 15:44, 11 February 2009 (UTC)
[edit] Custom Cookies Problem on Login and Discussion Pages
Product Version
MediaWiki 1.13.4
PHP 5.2.8 (apache2handler)
MySQL 5.1.30-community
visited from 127.0.0.1
I'm using the monobook skin and modified monobook.php to include setting a cookie. Everything works great and as expected until I click on "login" or "discussion" and then the cookie resets or becomes not available or something.
The cookie is set to http://www.domain.com and displayed using a variable. It is checked against a referrer containing the string "wiki" so that it doesn't get reset on the wiki. When I go to login or discussion (when logged in or not) the variable I use to display the cookie shows http://127.0.0.1/mediawiki/index.php/Main_Page even though it successfully finds "wiki" and does not enter the set cookie code or the set variable code. THe variable is $forumlink and the cookie is "returnToForumLink" so they shouldn't intersect with anything else.
I've output the steps to check and set the cookie and the steps between the main page and login are identical. Main page, and all the other links work, but login doesn't. The variables are all unique, and the cookie doesn't use any site prefix. I've located the function clearCookies, but it is not called on the login page. I've looked at all the other code that contains setcookie.
I don't use the &cookie array. I don't use $wgCookiePrefix. I'm guessing this is some kind of security measure, but I can't figure out what is going on. Is there some way I can work inside of the existing cookie structure and have my cookie come through on these two pages? OR Where is the security function that is doing this? (I can decipher and decide whether to bypass with this one value, I just can't find it.)
This is all done in PHP in monobook.php. This is my first wiki project, but I'm familiar with php.
TIA
—Jage 07:41, 13 February 2009 (UTC)
[edit] Site background
A MediaWiki site uses a background different from the default one (the grey book pages). What do I add to my monobook to make the default one appear? MassimoAr 19:11, 13 February 2009 (UTC)
[edit] 1) spam 2) security of our old version 3) email list to be notified of security updates
- MediaWiki version: 1.5.7
- PHP version: 4.4.9 (cgi-fcgi)
- MySQL version: 4.1.21-log
- URL: private
I am new at helping admin the wiki.
1) We are getting overrun with spam. I keep protecting everything but they create new articles. We have a ConfirmEdit captcha with the package but have never activated it. Is there any solution for spam with this old version? The other admin said he tried to close off registration but they still got through.
2) We have an older version. Is it a security risk?
3) Can I get on an email list to be notified of new releases and security updates?
Thanks for you patience, I KNOW how ignorant this sounds and you probably hear the same noob questions every day.
—CarolC 01:23, 14 February 2009 (UTC)
- 1) Most of the anti-spam measures will work with MediaWiki 1.6+.
- 2) Yes
- 3) Yes[11]
- —Emufarmers(T|C) 16:54, 14 February 2009 (UTC)
- MediaWiki version: 1.13.4
- PHP version: 5
- MySQL version: 5.0.67
- URL:
Dear Support
I have installed MediaWiki and it is running but how do i get it to link to Wikipedia, say if i do a search for anything in MediaWiki it will also check the Wikipedia site for answers?
—196.212.41.38 14:21, 16 February 2009 (UTC)
Regards
Neil Blignaut neilb@goggatrack.co.za
[edit] Importing JavaDoc to Wikimedia
- MediaWiki version: 1.12.0
- PHP version: 1.12.0
- MySQL version: 5.0.67-0ubuntu6
- URL: eawars.sytes.net / eawiki
Hello folks,
I wonder if it is possible to export a JavaDoc or Doxygen documentation into a wikimedia framework for developing purposes.
Thanks!
Pol
—88.8.42.250 19:35, 16 February 2009 (UTC)
[edit] Experienced an issue when upgrading from 1.12 to 1.13
- MediaWiki version: 1.13.4
- PHP version: 5.2.6
- MySQL version: 5.0.51
- URL:
The issue I experienced was vary particular. I have several wikis running on one server, with the same code and same database but different table prefixes. I re-ran the Configure script to update the code - filled everything out, etc. Then I went back to do it for the second wiki, and could not for the life of me find where to specify the table prefix. It did not appear until I had selected the other DB type and then selected MySQL again. It seems to me that it should have been there in the first place...
—96.226.117.15 04:21, 17 February 2009 (UTC)
[edit] Desktop Version or Recommendation
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
It would be great to have a limited desktop version of MediaWiki for writing and saving Wiki pages locally that could be automatically uploaded to sites using MediaWiki. Are there any programs that could be recommended that would be compatible with MediaWiki's formatting? greg.collver@gmail.com
—75.106.192.36 19:02, 19 February 2009 (UTC)
[edit] How to perform static export of mediawiki files ?
- MediaWiki version:1.13.4
- PHP version: PHP 5.2.1
- MySQL version: MySQL 5.0.33
- URL:
I have managed to install and create a number of wepages using Mediawiki Software in my computer. My intension is export these webpapges to a CDs/DVDs and keep all the links and the database unaltered so that my users will be able to view the pages using their personal laptops.
—41.222.89.98 05:53, 20 February 2009 (UTC)
- You could use the DumpHTML extension. —Emufarmers(T|C) 04:59, 21 February 2009 (UTC)
[edit] restricted wiki: incorrect german string
- MediaWiki version: 1.13.4
- PHP version: 5.2.6 (apache2handler)
- MySQL version: 5.0.45
- URL:
Hi,
A new MediaWiki, restricted (user cannot edit/ write/ create/ discuss) gives error message:
"Du bist nicht berechtigt, seiten bearbeiten. Gründe: "
correct means:
"Du bist nicht berechtigt, Seiten zu bearbeiten. Gründe: "
There is no String "seiten" in messages:
>grep "seiten" languages/messages/*|grep -v rseiten|grep -v tseiten|grep -v lseiten|grep -v sseiten|grep -v bseiten|grep -v nseiten
>
Other Wikis with same error :
wiki.piratenpartei.de/index.php?title=BB-Web:Vorschl%C3%A4ge_Vorhaben&action=edit
wiki.denog.de/index.php?title=DENOG-Wiki:%C3%9Cber_DENOG-Wiki&action=edit
Regards
—Sloat 23:54, 20 February 2009 (UTC)
- This is the same issue in almost every language. In later versions (from 1.14 on), we will be using MediaWiki:action-edit instead of MediaWiki:Right-edit for this use case. siebrand 09:52, 21 February 2009 (UTC)
Je nu ... i have to corr this? How? 50 percent of sites with primitive orthografik and grammar error. Kids will think, i'm stupid ...
like "you are not able Page edit"
--Sloat 18:04, 21 February 2009 (UTC)
Now i have changed MessagesDe.php to kill incorrekt $2 String:
'permissionserrorstext-withaction' => 'Du bist nicht berechtigt, $2. ...
to
'permissionserrorstext-withaction' => 'Du bist nicht berechtigt für diese Aktion. ...
--Sloat 19:22, 21 February 2009 (UTC)
[edit] {{SERVER}} link variable behavior
- MediaWiki version: 1.13.4
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL:
I have an extranet based on mediawiki 1.3.9 that I am upgrading to 1.13.4. Externally, the site is accessible only via https, but internally we use http. I also have other software packages that run on the same machine as mediawiki (e.g. we have bugzilla installed along side of mediawiki).
Under 1.3.9, it was easy to create a link in mediawiki to a package like bugzilla simply be using the {{SERVER}} variable. For external users, this would resolve to https://foo.bar.com and for my internal users it would resolve to http://foo.bar.local. Under 1.13.4, {{SERVER}} seems to resolve to the server when the page is saved, instead of when the page is loaded. So, if a page with a {{SERVER}} variable is edited externally, then the link is always set to the external protocol and domain name, like https://foo.bar.com; even when the page is accessed internally via http.
There is a fairly ugly work-around, specifically, I can make two fully qualified links for everything - one for external users and one for internal users. Is there a way under 1.13.4 to get the 1.3.9 behavior of {{SERVER}}? Or, is there another way of achieving the same thing?
Many thanks
—70.114.198.240 23:17, 22 February 2009 (UTC)
- I can't reproduce the problem you're describing: this test still uses the right protocol/server when it's accessed through the secure server. —Emufarmers(T|C) 03:38, 23 February 2009 (UTC)
-
- I edited the page on the secure server and it didn't change 'this test' page. It appears as though these are different pages. Maybe I didn't explain the situation very well. Let me try again.
- I have a mediawiki accessible internally and externally:
- External users --> HTTPS --> a_mediawiki_page <-- HTTP <-- Internal users
- e.g. External users --> https://external.foo.com/Main_Page --> /Main_Page <-- http://internal.foo.local/Main_Page <-- Internal users
- When editing a_mediawiki_page externally via HTTPS, the {{SERVER}} variable is thereafter permanently set to the external version of the link (e.g https://external.foo.com/link)
- When editing a_mediawiki_page internally via HTTP, the {{SERVER}} variable is thereafter permanently set to the internal version of the link (e.g https://internal.foo.local/link)
-
- Thanks for the help
-
-
- My guess is that your machine is using the same parser cache for both access methods. If {{SERVER}}/link for page Foo is yielding https://external.foo.com/link, try purging it with the non-secure access method; does the link changes to display http://internal.foo.com/link? —Emufarmers(T|C) 06:55, 25 February 2009 (UTC)
-
-
-
-
- Success! Many thanks for the help. Following your lead to look into parser caching, I added $wgParserCacheType=CACHE_NONE; to my LocalSettings.php. Both internal and external pages correctly use the current protocol and server name now. This was the final issue I needed resolved before migrating all of our extranets to the latest version of mediawiki. Once again, thanks for all the help!
-
-
[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] Untitled
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Dear Sirs
I'm trying to download some extensions from http://www.mediawiki.org/wiki/Special:ExtensionDistributor but all I get is "Invalid response from remote subversion client". Do you have a problem at the moment?
Thanks
Stuart Priest —144.32.212.169 09:23, 24 February 2009 (UTC)
[edit] Untitled
- MediaWiki version: 1.5.8
- PHP version: 5.2.5
- MySQL version: 5.0.67-community
- URL: www.intraflash.com
We have been using the JoomlaWiki, which integrate MediaWiki into a Joomla site, on other sites and now want to integrate MediaWiki in a new site. We have been informed that JoomlaWiki now longer will be developed/upgraded. As the present version we have of the JoomlaWiki is using a MediaWiki version 1.5.8 we have try to find out how and if it is possible to upgrade to the latest MediaWiki version but so far not been able to find any information.
If it not is possible to upgrade JoomlaWiki to the latest MediaWiki version how can we than integrate MediaWiki into our Joomla site. We know how to install MediaWiki but not how to integrate it to a Joomla 1.5.9.
Best regards, —Jason12 00:09, 28 February 2009 (UTC)
[edit] The requested URL /text/Hauptseite does not exist.
- MediaWiki version: 1.11.0
- PHP version: 5.2.0-8+etch13 (cgi-fcgi)
- MySQL version: 5.0.32-Debian_7etch8-log
- URL: http://andreasmgross.swiss-ecommerce.net/text/Hauptseite
and http://andreasmgross.de/text/Hauptseite
I want to move with my wiki from one server to the other and did the following: download all the files export the mysql-dbs with myphpadmin upload all the files create a new DB import all the tables into the new db edit localsettings.php regarding the new db-name, new user and password. localhost stayed the same. I first had an error on the password and got this message when I called my new uri: URL: http://andreasmgross.swiss-ecommerce.net
(Site-Name) has a problem
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: Access denied for user 'swisseco_kd0044'@'localhost' (using password: YES) (localhost))
When I corrected the password, I got this new error:
404 Not Found The requested URL /text/Hauptseite does not exist.
Hauptseite is german for mainpage
Now I need some help.
—Andreas Groß 20:22, 3 March 2009 (UTC)
[edit] Since 1.14 Templates dont look like before
- MediaWiki version: 1.14.0
- PHP version: 5.2.9 (cgi-fcgi)
- MySQL version: 5.0.51a-24
- URL: de.narutopedia.eu
Hi, after I updated my MediaWiki, a few templates dont look like before. For example [12] What is the difference between 1.13 and 1.14, I always thought there are only technical changes, but now some templates dont look like before. I hope you have some ideas and can help me. Thank You
—91.67.156.126 16:45, 5 March 2009 (UTC)
[edit] Shell Access
- MediaWiki version: N/A
- PHP version: N/A
- MySQL version: N/A
- URL: N/A
Do I need shell access to configure my wiki? i.e. edit the LocalSettings.php file? The hosting provider I'm looking at charges for that. Thanks, Genius101 21:55, 5 March 2009 (UTC)
Hi, nope, no shell access required unless you want to run some advanced maintenance scripts (as used on my previous MW installation where no shell access was available at all (even with charge !)). Localsettings.php can either be generated by the MW installer, or by you, locally and the uploaded via FTP. Jhf2442 17:22, 8 March 2009 (UTC)
- All right, thank you very much! Genius101 20:36, 9 March 2009 (UTC)
[edit] Support desk not available per default in site's search
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Hi there,
could you please add the Project: namespace to the default ones scanned by a search on this site ? This would make all the Support desk Q&A's available for default users who don't know/think about enabling it in the advanced search form.
TIA
—Jhf2442 17:17, 8 March 2009 (UTC)
- MediaWiki version: 1.11.0
- PHP version: 5.2.9 (isapi)
- MySQL version: 5.0.45-community-nt
- URL: (internal only - intranet)
I am trying to link to a document on my company's shared drive (P:\Documents\Wiki_Docs\instructions.doc). I have searched around for instructions on how to do this and I remain clueless. I'm not sure if I'm searching properly. Please help. Thanks!
—Dacunhap 18:12, 9 March 2009 (UTC)
[edit] RESOLVED New users...
- MediaWiki: 1.11.1
- PHP: 5.2.6 (cgi)
- MySQL: 5.0.67-community
- URL: medrevise.co.uk
At the moment, when an unregistered user clicks "edit", it says "The action you have requested is limited to users in the group user."
This is not very approachable for non technical users, so how do I customise this text; just to say something like: "Please register before you can contribute! At the moment, you have to be a member to change a page - however, you don't need to register to read pages, so feel free to browse the site."
Thanks, Chris
—91.84.226.53 14:42, 10 March 2009 (UTC)
- The message name is MediaWiki:Badaccess-groups, you can edit it to your own needs. mgrabovský | talk (DJ Jeri)
MW Support Team 14:58, 10 March 2009 (UTC)
-
- I changed that, but it still shows the same message - try clicking a red link on the site. Any ideas? Thanks for the quick response! 91.84.226.53 16:21, 10 March 2009 (UTC)
-
-
- The message you want to edit is actually MediaWiki:Badaccess-group1. —Emufarmers(T|C) 03:25, 11 March 2009 (UTC)
-
-
-
-
- Awesome. That worked. Thank you very much! MedRevise 09:36, 11 March 2009 (UTC)
-
-
[edit] Allowing blocked users to edit cetain pages
- MediaWiki version: 1.15alpha (r47457)
- PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
- MySQL version: 4.0.40-wikimedia-log
- URL:
When $wgBlockAllowsUTEdit is set to true, blocked users will be able to edit their own talk pages. However, is it possible to allow blocked users to edit certain pages(something like Wikipedia:Appealing)? Regards. --Bencmq 08:27, 15 March 2009 (UTC)
[edit] Automatically download content of wiki pages from edit fields
- MediaWiki version: 1.6.8
- PHP version: 5.2.6-1+lenny2 (apache2handler)
- MySQL version: 5.0.51a-24
- URL: Itranet-based MediaWiki
Hi,
How can I automatically download the content of a MediaWiki page containing the text of that page and its MediaWiki formatting characters and tags? Image you click the Edit button on a page: what you then see, that´s what I would like to retrieve.
I would like to download this kind of content by using a bash script on my local machine (Linux: cygwin).
- I do not have remote access to MySQL on the Wiki server (but I have access to the Wiki database via phpmyadmin installed on that server)
- I do not have shell access to the Wiki Server, so I cannot create exports of the Wiki by using a script on the server.
- I have FTP access to that server.
—195.127.43.185 10:39, 18 March 2009 (UTC)
- Use the API. http://example.com/w/api.php?action=query&prop=revisions&rvprop=content&titles=Foo|Bar —Emufarmers(T|C) 06:55, 19 March 2009 (UTC)
-
- Thank you for this hint, Emufarmers. But our MW is still version 1.6.8, and this version does not contain any api.php, and I do not have appropriate access rights to the wiki server (see above) to apply an upgrade to the latest MW version. The api.php included in 1.14 says that it can be used from MW 1.8 onwards, so this api.php cannot be used in our MW version (1.6.8). I will investigate for another solution, maybe it works with w3m and appropriate command line parameters? --195.127.43.185 11:21, 19 March 2009 (UTC)
[edit] basepagename not working in main namespace
- MediaWiki version: 1.14
- PHP version: 5 on IIS6
- MySQL version:
- URL: wiki.pmail.com
BASEPAGENAME does not show proper base page name, thus creates incorrect localization code when using Languages template
It works when in different namespaces than the main namespace
See http://wiki.pmail.com/index.php?title=Test/sv
cheers /Peter
—83.209.68.194 23:19, 18 March 2009 (UTC)
By explicitly defining {{Languages|Main_Page}} the Languages template works in the main namespace.
Case closed /Peter
[edit] upgrading a wiki family
How do I properly upgrade a wiki family? The upgrade instructions speak of running a maintenance script. Does this need to be done for every wiki, even though they all are the same code (via symlinks)? ⇔ ChristTrekker 03:40, 19 March 2009 (UTC)
- Yes, although you can run update.php for each wiki in the farm with a script like this one. —Emufarmers(T|C) 08:12, 19 March 2009 (UTC)
- Script has been removed, probably because it wasn't documented, and looked fairly dangerous if used wrongly... Any better solutions? --Naught101 08:58, 9 May 2009 (UTC)
[edit] Reverting image or uploaded file
- MediaWiki version: 1.12.0
- PHP version: 5.2.4
- Postgresql version: PostgreSQL 8.2.4 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.2.1 (SUSE Linux)
- URL: Internal Company site
I am getting the following error when I try to revert an image or any other uploaded file to a previous version.
A database error has occurred Query: SELECT oi_size,oi_width,oi_height,oi_bits,oi_media_type,oi_major_mime,oi_minor_mime,oi_metadata,oi_timestamp,oi_sha1,oi_user,oi_user_text,oi_description,oi_archive_name FROM oldimage WHERE oi_name = 'Bats_US.png' AND (oi_timestamp <= '20090210135833!Bats_US.png') ORDER BY oi_timestamp DESC LIMIT 1 Function: OldLocalFile::loadFromDB Error: 1 ERROR: invalid input syntax for type timestamp with time zone: "20090210135833!Bats_US.png"
Backtrace:
#0 /opt/wiki/mediawiki-1.12.0/includes/Database.php(799): DatabasePostgres->reportQueryError('ERROR: invalid...', 1, 'SELECT oi_size...', 'OldLocalFile::l...', false)
#1 /opt/wiki/mediawiki-1.12.0/includes/Database.php(1244): Database->query('SELECT oi_size...', 'OldLocalFile::l...')
#2 /opt/wiki/mediawiki-1.12.0/includes/Database.php(1263): Database->select('oldimage', Array, Array, 'OldLocalFile::l...', Array)
#3 /opt/wiki/mediawiki-1.12.0/includes/filerepo/OldLocalFile.php(170): Database->selectRow('oldimage', Array, Array, 'OldLocalFile::l...', Array)
#4 /opt/wiki/mediawiki-1.12.0/includes/filerepo/LocalFile.php(248): OldLocalFile->loadFromDB()
#5 /opt/wiki/mediawiki-1.12.0/includes/filerepo/LocalFile.php(449): LocalFile->load()
#6 /opt/wiki/mediawiki-1.12.0/includes/filerepo/FileRepo.php(90): LocalFile->exists()
#7 /opt/wiki/mediawiki-1.12.0/includes/filerepo/RepoGroup.php(66): FileRepo->findFile(Object(Title), '20090210135833!...')
#8 /opt/wiki/mediawiki-1.12.0/includes/GlobalFunctions.php(2318): RepoGroup->findFile(Object(Title), '20090210135833!...')
#9 /opt/wiki/mediawiki-1.12.0/includes/FileRevertForm.php(137): wfFindFile(Object(Title), '20090210135833!...')
#10 /opt/wiki/mediawiki-1.12.0/includes/FileRevertForm.php(58): FileRevertForm->haveOldVersion()
#11 /opt/wiki/mediawiki-1.12.0/includes/ImagePage.php(498): FileRevertForm->execute()
#12 /opt/wiki/mediawiki-1.12.0/includes/Wiki.php(404): ImagePage->revert()
#13 /opt/wiki/mediawiki-1.12.0/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
#14 /opt/wiki/mediawiki-1.12.0/index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#15 /opt/wiki/mediawiki-1.12.0/index.php5(1): require('/opt/wiki/media...')
#16 {main}
—Teamhonda81 19:07, 19 March 2009 (UTC)
- Upgrade to 1.13 or higher, this has been fixed. (Actually that fix should have been backported into the 1.12 branch...) -- Bryan (talk|commons) 22:18, 28 March 2009 (UTC)
[edit] RESOLVED basepagename not working in main namespace
By explicitly defining
the Languages template works in the main namespace.
Case closed /Peter
—Praktitps 21:27, 19 March 2009 (UTC)
[edit] RSS Feeds no longer showing coloured diffs since upgrade
- MediaWiki version: 1.13.4
- PHP version: 5.2.0-8+etch9~bpo31+1 (apache)
- MySQL version: 4.1.11-Debian_4sarge7-log
- URL: N/A (Intranet)
Since upgrading our MediaWiki version, coloured diffs are no longer appearing in the Recent Changes RSS feeds (I'm using Thunderbird). Instead it just displays the name of the heading of the section that was altered.
The settings in our DefaultSetting.php are;
$wgFeed = true; $wgFeedLimit = 50; $wgFeedCacheTimeout = 60; $wgFeedDiffCutoff = 32768;
Any help gratefully received!
—Danduq 16:09, 20 March 2009 (UTC)
[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] Can't remember wiki admin user name and password :(
- MediaWiki version: 1.5.1
- PHP version: 4.4.9 (cgi)
- MySQL version: 4.1.16-standard-log
- URL: http://www.montaloma.org/wiki/
I developed this wiki as a volunteer for my neighborhood a few years ago. Embarassingly, I can't remember the admin user name and password for my wiki. :( The wiki has been getting spammed a lot lately, and I'd like to remove all users and ask my users to re-sign up, but this time, I will moderate the sign-up process (approve each user myself). I should probably upgrade the wiki, too, but that's less important than being able to remove all of the spammers (of which there seem to be many). Is there a way to find out my admin user name and get my password reset?
cj (cheryl@cjasper.com)
—24.6.210.58 16:23, 28 March 2009 (UTC)
- Reset the password for the admin user (WikiSysop on your wiki). —Emufarmers(T|C) 21:40, 29 March 2009 (UTC)
[edit] Can't see the portal page
- MediaWiki version: 1.14.0
- PHP version: 5.2.5 in IIS6
- MySQL version: 5.0.24
- URL:
Before the question, I am apologetic for my poor english.
I have installed mediawiki in IIS following the installation manual. ([13])
After installation, When I click the portal I can see the 404 error page.
What am I doing, if I solve this problem.
—Probitas 04:31, 1 April 2009 (UTC)
[edit] Fatal error : loadbalancer.php on line 647 at startup
- MediaWiki version:1.14
- PHP version:
- MySQL version:4
- URL: http://pryam3d.free.fr/wiki
I just made an installation on my free website and I search for this error on the web and on your site but I cannot see any information wich could help me. Fatal error: Class 'DatabaseSql.free.fr' not found in /mnt/145/sdb/b/e/pryam3d/wiki/includes/db/LoadBalancer.php on line 647
Thanks in advance
—93.2.100.178 15:06, 4 April 2009 (UTC)
[edit] Fatal error : loadbalancer.php on line 647 at startup
- MediaWiki version:1.14
- PHP version:
- MySQL version:4
- URL: http://pryam3d.free.fr/wiki
I just made an installation on my free website and I search for this error on the web and on your site but I cannot see any information wich could help me. Fatal error: Class 'DatabaseSql.free.fr' not found in /mnt/145/sdb/b/e/pryam3d/wiki/includes/db/LoadBalancer.php on line 647
Thanks in advance
—93.2.100.178 15:12, 4 April 2009 (UTC)
[edit] RESOLVED: New install, but some strange problems when logging in and editting a page...
- MediaWiki version: 1.14.0
- PHP version: 5.2.8-1
- MySQL version: 5.1.32
- URL: (Unavailable from external)
I've installed the MediaWiki on to an existing (Windows XP Pro) hosted machine for internal use. This machine already had PHP and MySQL - which seem to work fine on other scripts (e.g. phpBB3) The original install/config ran fine - no errors reported. About the only other config Ive done is to set the logo to a different file. I have no extensions or addition skins etc. However, two things I notice :
- - Once users have created their account, unless they check 'remember me on this computer', the login, doesn't work. There is no error message, and although users are returned to the main page, MediWiki shows the IP at the top (and hence users aren't logged in).
- - Users (in the auto-authenticated and users groups) cannot edit pages - an error occurs when attempting to save stating '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. '
—JonandEl 14:02, 6 April 2009 (UTC)
OK - I fixed it. In the Manual: Errors pages on the install for MediaWiki, it states the PHP sessions aren't working properly (sic) - The help given is applicable to Unix/Linux systems, and I'm on Windows - and for me the problem was the default session.save_path in PHP.ini didn't exist. I simply created the default folder, and gave users write access, and viola ! Now, how do I change the title of this entry to be 'Resolved' ?! --JonandEl 09:04, 7 April 2009 (UTC)
[edit] RESOLVED Problem upgrading from 1.13 to 1.14
- MediaWiki version: 1.13.5
- PHP version: 5.2.6
- MySQL version: 5.0.67
- URL: Intranet only, no external access.
We run a farm of three small wikis, using Steve Rumbergs Method 1. The original install was Mediawiki 1.12.0
Yesterday I upgraded to 1.13.5 using the web installer method to allow me to upgrade each of the three prefixed sets of tables in my database. This worked fine. All the wikis worked correctly after the upgrade.
Today I tried to upgrade from 1.13.5 to 1.14.0 again using the same method, but after running through the web install for each of the 3 wikis, and it seeming to report the upgrade as a success, I end up with a blank screen when I test any of the wikis.
I tried using the new version of Localsettings.php that gets generated by the fresh install and adding all the custom sections from my original Localsettings, but still nothing, just a blank screen.
This is a copy of the install screen:
Please include all of the lines below when reporting installation problems.
* PHP 5.2.6 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. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP's memory_limit is 128M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * GNU diff3 not found. * Couldn't find GD library or ImageMagick; image thumbnailing disabled. * Installation directory: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\EECApedia * Script URI path: /eecapedia * Installing MediaWiki with php file extensions * 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 root...success. * Connected to mysql 5.0.67-community-nt; enabling MySQL 4.1/5.0 charset mode * Database eecapediadb exists * There are already MediaWiki tables in this database. Checking if updates are needed... * Warning: you requested the mysql5-binary schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4. * DB user account ok
...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards ...hitcounter table already exists. ...have rc_type field in recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. Already have pagelinks; skipping old links table updates. ...have rc_ip field in recentchanges table. ...image primary key already set. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. 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. ...page table already exists. ...have log_params field in logging table. logging table has correct log_title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...have ar_text_id field in archive table. ...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)). ...have img_media_type field in image table. ...already have pagelinks table. 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. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...transcache table already exists. ...have iw_trans field in interwiki table. ...trackbacks table already exists. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. ...have ipb_range_start field in ipblocks table. Setting page_random to a random value on rows where it equals 0...changed 0 rows ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. Checking for additional recent changes indices... ...index `rc_ns_usertext` seems ok. ...index `rc_user_text` seems ok. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks seems to be ok Checking if templatelinks index tl_namespace includes field tl_from... ...index tl_namespace on table templatelinks seems to be ok Checking if imagelinks index il_to includes field il_from... ...index il_to on table imagelinks seems to be ok ...have rc_old_len field in recentchanges table. ...have user_editcount field in user table. ...page_restrictions table already exists. ...have log_id field in logging table. ...have rev_parent_id field in revision table. ...have pr_id field in page_restrictions table. ...have rev_len field in revision table. ...have rc_deleted field in recentchanges table. ...have log_deleted field in logging table. ...have ar_deleted field in archive table. ...have ipb_deleted field in ipblocks table. ...have fa_deleted field in filearchive table. ...have ar_len field in archive table. ...have ipb_block_email field in ipblocks table. Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks seems to be ok ...have oi_metadata field in oldimage table. ...usertext,timestamp key on archive already exists. ...usertext,timestamp key on image already exists. ...usertext,timestamp key on oldimage already exists. ...have ar_page_id field in archive table. ...have img_sha1 field in image table. ...protected_titles table already exists. ...have ipb_by_text field in ipblocks table. ...page_props table already exists. ...updatelog table already exists. ...category table already exists. ...category table already populated. ...have ar_parent_id field in archive table. ...have user_last_timestamp field in user_newtalk table. ...rev_parent_id column already populated. protected_titles table has correct pt_title encoding. Checking filearchive indices... ...password hash format already changed ...have ss_active_users field in site_stats table. ...ss_active_users user count set... ...have ipb_allow_usertalk field in ipblocks table. Deleting old default messages (this may take a long time!)...Done Checking site_stats row...ok. Purging caches...done.
* Finished update checks. *
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.
After this upgrade not working, I just switched back to my old version of htdocs and everything worked fine. Is this an indicatior that the databse tables weren't upgaded to 1.14.0, or are the upgrades backwardly compatible with 1.13.5?
Any suggestions on why the 1.13.5 to 1.14.0 upgrade didn't work?
Cheers
Andrew
I GAVE UP ON THE THE MULTIPLE WIKIS FROM ONE MEDIAWIKI INSTALL THING AND JUST RUN EACH WIKI SEPERATLEY. lOADS EASIER AND EVERYTHING WORKS NOW
—210.48.49.107 02:28, 7 April 2009 (UTC)
[edit] Google Custom Search Engine
- MediaWiki version: 1.14
- PHP version:
- MySQL version:
- URL: http://aseanpedia.com
I managed to get the Google search box up with Google-coop.php but I am having problems with the display page. The instructions at Extension:Google Custom Search Engine says to paste the instructions on the display page but this requires rawhtml to be enabled, something that I am not comfortable with.
I tried to create GoogleSearch.php using the codes in Google-coop.php and incorporating the relevant codes for the display page but it returns a blank page when I placed <GoogleSearch /> in the text area of that page. Has anyone managed to solve this? I will be glad to receive your kind assistance. — PM Poon 14:42, 9 April 2009 (UTC)
[edit] Management of subjects
- MediaWiki version: wikipedia, wiktionary
- PHP version:
- MySQL version:
- URL:
I like the login idea you have. Please make any information you have to show to the public accessable strictly with an account. Mandatory registration is key for keeping order in our civilization. Use tracking to monitor behavioral patterns and establish trust with the information being researched by people.
—99.13.215.7 21:56, 9 April 2009 (UTC)
[edit] dots in pagenames
I am setting up a new MediaWiki site and would like to allow people to create a page for their business/website domain, the trouble I'm having is I can not create a page with the "." in it, for example "pagename" works fine but "pagename.com" does not, obviously your site has overcome this obstacle with MediaWiki, Do you know how this was solved? if not you who else would be the best person to ask, thanks for your help with this Njec1979 16:16, 10 April 2009 (UTC)
- Use a better method for short URLs. —Emufarmers(T|C) 02:23, 11 April 2009 (UTC)
== Administrator Login ==RESOLVED
- MediaWiki version: 1.14.0
- PHP version: 5.2.9-1 (apache2handler)
- MySQL version: 5.1.32-community-log
- URL: http://localhost/mywikipedia/index.php/
I do not know how to sign into my wikipedia as an administrator. I am unable to edit the administrator options. Please help me. I have tried creating an account, but that did not work.
—121.219.33.198 01:13, 12 April 2009 (UTC)
[edit] Edit link in target page
- MediaWiki version: 1.15alpha r49504
- PHP version: 5.1.6
- MySQL version: 5.0.45
- URL:
When I redirect a page the main edit link show to redirecting page, but the section links are show the target page. Why?
Thank. —84.3.166.39 17:43, 15 April 2009 (UTC)
- Could you please point towards the instance you refer to? —Anonymous DissidentTalk 15:10, 23 April 2009 (UTC)
[edit] SiteName in Hebrew = gibberish
- MediaWiki version: 1.14.0
- PHP version: 5.2.6 (apache)
- MySQL version: 5.0.67-log
When i installed the Wiki (in Hebrew), i filled the 'site name' with an Hebrew name and everything on the site worked perfect, but at the LocalSettings.php, the 'SiteName' was gibberish (רויקי) - until here - OK.
the prablem started when i tried to change the 'sitename'. if the site name is in Hebrew, the name of the wiki on the tab (haed tag) is gibberish (not the same gibberish in the LocklSettings.php) and the name is showing ok at the wiki (page headline: sitename:about). if i change the 'sitename' to gibberish, it showing ok in the Tab, but not in the Wiki.
what cen i do to fix the prablem?
sorry about the bad english--Zoidberg 05:26, 16 April 2009 (UTC)
[edit] $wgoverridesitefeed doesn't work properly
- MediaWiki version: 1.14.0
- PHP version: 5.2.9 (cgi-fcgi)
- MySQL version: 5.1.30
- URL: http://www.sitemanual.org
I'm trying to use a FeedBurner rss feed instead of the default site feed. I added $wgSiteFeed['rss'] = "http://feeds2.feedburner.com/sitemanualorg-RecentChangesen"; to localsettings.php
The rss feed for the site is still http://www.sitemanual.org/index.php?title=Special:RecentChanges&feed=rss
How can I fix this?
—68.48.61.123 11:47, 18 April 2009 (UTC)
[edit] Error sending mail: mailer error
- MediaWiki version: 1.11.1
- PHP version: 5.2.4-2ubuntu5.3
- MySQL version: 5.0.51a-3ubuntu5.1
- URL: Currently internal only
When users are attempting to get their passwords mailed back to them, they get the following error: Login error: Error sending mail: mailer error
This just started happening a bit ago, previously it was working with no difficulty. I'm not exactly an expert *nix admin, so I'm at a bit of a loss as to where to get going on this. I haven't seen anything in the manuals or documentation, nor has Google turned up anything terribly useful. Suggestions?
—Manymobile 15:07, 23 April 2009 (UTC)
I was faced with the problem of authentication on the server SMTP. Sending mail works after having been commented out the line in the file of PEAR library: .\PEAR\Net\SMTP.php ($Id: SMTP.php,v 1.64 2008/12/20 23:03:49 jon Exp $) The reason why not find out due to lack of time. Only problem is localized place.
Before
function auth($uid, $pwd , $method = '')
{
if (version_compare(PHP_VERSION, '5.1.0', '>=') && isset($this->_esmtp['STARTTLS'])) {
if (PEAR::isError($result = $this->_put('STARTTLS'))) {
return $result;
}
if (PEAR::isError($result = $this->_parseResponse(220))) {
return $result;
}
if (PEAR::isError($result = $this->_socket->enableCrypto(true, STREAM_CRYPTO_METHOD_TLS_CLIENT))) {
return $result;
} elseif ($result !== true) {
return PEAR::raiseError('STARTTLS failed');
}
/* Send EHLO again to recieve the AUTH string from the
* SMTP server. */
$this->_negotiate();
}
if (empty($this->_esmtp['AUTH'])) {
return PEAR::raiseError('SMTP server does not support authentication');
}
After
function auth($uid, $pwd , $method = '')
{
// if (version_compare(PHP_VERSION, '5.1.0', '>=') && isset($this->_esmtp['STARTTLS'])) {
// if (PEAR::isError($result = $this->_put('STARTTLS'))) {
// return $result;
// }
// if (PEAR::isError($result = $this->_parseResponse(220))) {
// return $result;
// }
// if (PEAR::isError($result = $this->_socket->enableCrypto(true, STREAM_CRYPTO_METHOD_TLS_CLIENT))) {
// return $result;
// } elseif ($result !== true) {
// return PEAR::raiseError('STARTTLS failed');
// }
// /* Send EHLO again to recieve the AUTH string from the
// * SMTP server. */
// $this->_negotiate();
// }
if (empty($this->_esmtp['AUTH'])) {
return PEAR::raiseError('SMTP server does not support authentication');
}
--82.144.216.141 05:42, 2 May 2009 (UTC)
[edit] Fatal error
- MediaWiki : 1.14.0
- PHP : 4
- the database : MySQL 5.0
Hello, in my wiki, I have many problems there :
- I can not open my account I created when I was installing Mediawiki into my domain name.
- A fatal-error message appears and I can't edit anything there. When I try to edit a new page, other than main page, my server says the page doesn't exist (in french) ; and I can't create this.
- This is the error message :
Fatal error: Class 'ArrayIterator' not found in /www/sites/1/ifrance.com/w/i/wikipedio/site/vikio/includes/StringUtils.php on line 179
(you can contact me here)
Best regards,
-- 83.199.68.206 15:58, 25 April 2009 (UTC)
- MediaWiki 1.7+ requires PHP 5. —Emufarmers(T|C) 06:34, 26 April 2009 (UTC)
- MediaWiki version:
- PHP version:
- MySQL version:
- URL:
Please,how to move movie to external harddrive thru VLC media player
—76.202.221.102 04:16, 27 April 2009 (UTC)
[edit] ::: Could not find a suitable database driver!
- MediaWiki version: mediawiki-1.14.0
- PHP version: 5.2.9-2
- MySQL version: 5.0
- URL:
I've installed apache,php, and mysql already. And i've done possible solutions on how i can solve my prob. Still, this error occurs. Below is the installation error i've encountered upon setting up wiki. It says "Could not find a suitable database driver!" ... :((
MediaWiki 1.14.0 Installation
* 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
Could not find a suitable database driver!
o For MySQL, compile PHP using --with-mysql, or install the mysql.so module
o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module
Can you help me so I can finally set up my wiki installation? Is there something that I've missed in setting up? I'm using windows xp. How can i install the mysql.so module?
I hope someone can help me figure this out.thanks guys!
—124.217.31.86 15:16, 27 April 2009 (UTC)
[edit] ::: [RESOLVED] Could not find a suitable database driver!
I figured this one out after a lot of researching. I've found an answer in mysql forum. It worked out. Thanks a bunch! I've found it here MySQL Forums :: Newbie :: Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module
If someone has a problem same as mine, maybe this could help you. Just try to read the contents on the above link. If ever you had trouble locating the link above, here's some of the texts in the mysql forum posted by: Merrill Lamont ()
* Following Daniel's suggestions and reading PHP's install.txt, I went through the PHP
installer(an MSI file),but then had to get the couple of files from the PHP zipped folder
(from the same installer page on the PHP site). I put libmysql.dll in the PHP folder
(evidently already part of the PATH system/environment variable), and php_mysql.dll in
the extension folder (I had to make one) within the PHP folder. Now that they're
placed,php.ini needs to know that the extension exists and where to find it. I entered
into php.ini the following two lines:
* extension=php_mysql.dll
extension_dir="C:\Program Files\PHP\ext"
* WikiMedia should move onto the happy setup form/page after restarting Apache - if that
doesn't work, reboot the machine, which is how I finally got it working.
Now, I'm reading about the configuration of wiki so I could finally finish setting up wiki. I hope everything will work now. AJA! ^_^
—124.217.31.86 15:16, 27 April 2009 (UTC)
[edit] Cannot Create Pages
I'm using Mediawiki 1.6 and whenever I or any of my users click "save page" it leads us to a blank screen and our browser reads "done".
As far as I can see, all the permissions are in place, so I'm really not sure what to do.
---
[edit] Link to edit pages @ Special:Statistics
- MediaWiki version: 1.14
- PHP version: 5
- MySQL version: 5
- URL: http://wikademia.org/Special:Statistics
@ http://wikademia.org/Special:Statistics - links to Meta:Import Meta:Rollback and Meta:Upload all link to the URL+&action=edit&redlink=1
But - the pages do exists, so I'm not sure how to have them just link properly to where they should.
Thanks. —Wikademia 03:34, 4 May 2009 (UTC)
- MediaWiki version: 1:1.12.0-2lenny
- PHP version: PHP/5.2.6-1
- MySQL version: 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
- URL: Not deployed yet...
Hi everyone. I am trying to remove the SpecialPages (Special:Specialpages) from the toolbox for all new users. I would like to keep it for sysops account only but I am now clueless about "how to do this..." or if there is a way that I can set it up when a user clicks on the SpecialPage link, he gets a message that the page is only available for admins.
Also, I would like to modify the Toolbox like I did for the Sidebar. Is anyone can help me with that?
Best regards,
—David
[edit] No sysop access
- MediaWiki version: 1.14.0
- PHP version: 5.2.5 (cgi)
- MySQL version: 5.0.45-community
- URL: http://www.gunownersresource.com/gorole/
I just moved my wiki from one server to another and ever since the migration:
- All the images are doing this and
- NO users have any sysop/bureaucrat access!
The image thing, I can deal with. Having no sysops for the wiki is killing me.
The user list shows "Admin (bureaucrat, sysop)" at the top of the list, just like it should, but that account can't access anything a normal user can't. If you filter the user list, all groups look empty. Updating to 1.14.0 didn't help with either issue and now I'm getting spammed because I can't lock any pages...
I like to think I'm a clever guy, but I'm not sufficiently geeky to figure this one out on my own. I need help... —Grugnir 15:12, 6 May 2009 (UTC)
- My gut reaction is that parts of the database were corrupted at some point in the migration (perhaps $wgDBmysql5 got changed?). Examine the database with phpMyAdmin or a similar tool. Take a look at the user groups table: do you see characters that look like �? If so, remove the corrupted records and restore one of your bureaucrats' permissions (you can ignore the part about registering a new account; just use the account of your choice, and then you can restore the other users' permissions with Special:Userrights).
- The image problem probably has the same cause; I was able to "fix" the image you linked to by purging it. I think the refreshLinks.php maintenance script might take care of the problem.
- For both of these issues (assuming I'm right about the cause), you could also re-import the database dump, this time making sure that $wgDBmysql5 is set to the same value as on the old server. Of course, you'd lose all changes made after the dump was generated; if this isn't acceptable, then just try to patch things up as above.
- For the spam problem, consult the "combating spam" article. Simply restricting editing temporarily is fine as a stopgap measure. —Emufarmers(T|C) 04:16, 7 May 2009 (UTC)
-
- YES!! You da man.
- I now have sysop access again. Now all I need to do is figure out how to get into the new server via SSH and I'll let you know how the image problem went. Thanks a heap, mate!--70.54.4.92 15:19, 7 May 2009 (UTC)

