Project:Support desk/old

__NEWSECTIONLINK__

How to create Template?
How to create template? --Gabeyg 20:17, 15 April 2007 (UTC)
 * Have a look at Help:Templates--24.20.69.240 21:19, 1 May 2007 (UTC)

Edit Toolbox disappeared after using skin in 1.9.2
The edit toolbox disappeared once I applied a skin. The skin has the code for toolbox intact and it works prior to 1.9.0 msg('toolbox') ?>

CreateAndPromote.php
I cannot find CreateAndPromote.php in the maintainance folder, please help

Problems upgrading mediawiki 1.4.5 to newer versions. German Umlaute are shown as question marks.
Hello,

i want to upgrade my mediawiki 1.4.5. to an actual version. First I tried directly to upgrade to version 1.9, but the upgrade script "upgrade1_5.php" to convert the database to utf fails with message:

Warning: fopen(maintenance/archives/patch-interwiki-trans.sql): failed to open stream: No such file or directory in /var/www/mediawiki/includes/Database.php on line 1959 Could not open "maintenance/archives/patch-interwiki-trans.sql".

I've tried also to update to version 1.5.8. Here the german Umlaute are shown as question marks.

Thanks

Daniel


 * There is an error in FiveUpgrade.inc

@@ -505,7 +505,7 @@                       $this->log( 'interwiki has iw_trans.' ); } else { $this->log( 'adding iw_trans...' ); -                      dbsource( 'maintenance/archives/patch-interwiki-trans.sql', $this->dbw ); +                      dbsource( 'archives/patch-interwiki-trans.sql', $this->dbw ); $this->log( 'added iw_trans.' ); }

SEARCH is Broke
I made a page.. and added content with a 3 letter abbreviation.. and MediaWiki does not pick it up...

The link would be my address:...?title=Chitchat:HEllo_ABC_123

then I would search for ABC and it shows no results unless i do a verbatim search

Any Ideas?


 * See THIS -- Big Brother 1984 20:31, 11 April 2007 (UTC)

ANSWER: As far I can see, the default searchengine in MediaWiki does NOT support substrings or wildcards. You may have a look at this page for integrating wildcard-search.

Installation failed
Hi, i hope i'am right place here for my question.. i tryed to download and install wikipedia dvd.. i try to installl but it says at the end "can not open ..../uninstall.exe.. i can finish installation then.. but if i now try to open the library i see the screen of it in backround and it says again..can not open uninstall.exe.. if i try to close notification there pop up 2 new one?

Editing Toolbox?
Is this possible? What I was hoping was to get Recent Changes to appear as an item within the Toolbox so as to have more convenient access to it from any page


 * I'm looking for a way to do this, too. So far i found only this: http://cs.wikipedia.org/wiki/MediaWiki:Common.js helix84 11:16, 15 March 2007 (UTC)

Stewards?
How do i setup stewards on a series of wikis?


 * I got it mostly setup with Special:Makesysop, but now how do i make Special:Userrights to where they can enter (username)@(wiki) to set the account memberships up?

2 wikis with one user table
I want to install a 2nd wiki with an own database on my server. But users on the 1st wiki shall also be able to login to the 2nd wiki. I think, the best way to realize this, is that the 2nd wiki shall use the user table of the 1st wiki, which is in another database. What do I have to change in the user login- and logincreation-formform, that the other database is used. Can anyone help me???

Thumbnails Folder in /wiki/images
I recently switched from GD2 to ImageMagick, but I found that all of the thumbnails that were generated previously stay there. If I want to force MediaWiki to regenerate ALL thumbnails (when someone visits the appropriate page, of course), can I simply delete the "thumb" folder? Kareeser|Talk! 18:28, 8 February 2007 (UTC)

How to Override Protect permission if the user is on a group with matching custom namespace?
Hello,

I was trying to find an entry point to override default permission to allow Protect/Unprotect for specific custom namespace depending on its group memebership as following scenario:
 * custom namespace: NS1
 * custom group: wikiGroupNS1
 * sample users: user1 and user2
 * user1 is part of wikiGroupNS1 while user2 is NOT.
 * user1 creates a new article: e.g. "NS1:Protection Test Article for NS1"
 * even though the user1 is NOT sysop, user1 can see Protect tab for any article on NS1 namespace and protect it since the user1 is on wikiGroupNS1
 * since user2 is not on wikiGroupNS1, Protect tab is NOT available.

I did my best research to override this for last a few days but I can't do it by myself with my limited PHP knowledge.

In fact, I was trying to use GroupWikiBase 1.2.0 patch and want to make the user self-serve on changing permissions right after they create a new page.

Could you help me to do this, please?

Thanks in advance...

Ypae 00:45, 9 February 2007 (UTC)

Update to 1.9.2 via phpshell fails
When running the update procedure to 1.9.2 I have to use the phpshell solution. I got it so far that the following occurs, for which I have no idea how to solve it:

$ php update.php --quick MediaWiki 1.9.2 Updater DB connection error: MySQL functions missing, have you compiled PHP with the --with-mysql option?

By now, the wiki worked properly, no problems with the data base.

What goes wrong?

Thanks for help in advance, Thorsten


 * Ran into this while upgrading to 1.9.3. Turned out PHP couldn't find the php.ini file that told it to load the mysql.dll. Can't remember the option to point to a specific ini file, but if you use --help you should be able to find it. (I'm using php 5.1.4)


 * I have the same problem to run maintenance script on my 1.9.3 with easyphp 2.0.0 (Apache 2.2.3 - PHP 5.2.0 - MySQL 5.0.27) and WinXp. php_mysql.dll is ok in my php.ini and the link to php is in my system path. --195.68.44.148 16:21, 11 May 2007 (UTC)

favicon.ico doesn't work

 * Status: im my wiki the favicon appears only by the url-band and on the tab in the firefox but not in the favorites. in the Internet Explorer appears no favicon.ico.
 * So i have searched ... and found out that the parameter could be set so -> $wgFavicon = "$wgScriptPath/logos/MySiteFavicon.ico"; but i have seen that the file by default must lay in the root directory where LocalSettings.php is and there is the favicon.ico saved. So i have tried many variations but it doesn't seems to work properly. i hope, you can help me.


 * I've seen a lot of flakey behavior with the favicon icon, and not just on my wiki -- The same thing happens on my PHPBB forum and an HTML site I run as well. Sometimes the icon appears, and sometimes it doesn't. I've never really understood why, but I'm guessing that this is not a "wiki only" problem. -- Big Brother 1984 20:36, 11 April 2007 (UTC)

Running Wiki under PHP v5 & mySQL v4 as binaries
Anyone know whether I can run MediaWiki under PHP v5 as a CGI binary, and under mySQL v4 as a binary?

My shared server runs PHP v4 and mySQL v3.23.58, and don't want to upgrade. But I believe that I can additionally run PHP v5 as a CGI binary, and possibly mySQL v4. --84.9.191.165 17:45, 12 February 2007 (UTC)

Problem with internal Tidy
Hello. I've installed libtidy and recompiled PHP 5.2.1 with --with-tidy, but it doesn't work (no error). Manual:$wgTidyInternal says that option is automatically enabled if Tidy is available in PHP. What should I do? I'm using MediaWiki SVN.

allowing [edit] box near title, but not allowing 'edit' on the top ?
hi!

is there a setting available where I can disallow the usage of the 'edit' link on the top of the page, while allowing to edit text-areas? (the edit-link near every title) ? I would need this setting by page.

Thanks! Vali

IE6 aligned tables won't render
Internet Explorer 6 does not render right or left aligned tables correctly, in our mediawiki 1.5.3. The tables appear as empty white areas. Strangely, IE6 can render the tables fine, in a plain html file outside the mediawiki environment. i have tried the style="float:right" method instead of the align="right" method, but no difference. I see on mediawiki.org some examples of right and left aligned tables, that do work on IE6. So it must be something about our environment. Any suggestions how to troubleshoot this? Here is an example URL:

http://www.santafe.edu/events/workshops/index.php/Inter-generational_Transmission_of_Wealth_in_Pre-modern_Societies

thanks in advance

Reuse MediaWiki code and Wikisyntax

 * 1) For an own GPL project, I'm planning to use techniques shown in MediaWiki and copy some stuff which seems to be very useful, such as the definition of $wgHtmlEntities in includes\Sanitizer.php. Who and how should I credit? -- 85.177.33.102 12:37, 16 February 2007 (UTC)
 * 2) Is there a complete Wikisyntax reference for MediaWiki? My project should be compatible to MediaWiki. -- 85.177.33.102 13:37, 16 February 2007 (UTC)
 * 1) I don't think that there is any legal need to credit anyone with GPL software, as I presume Mediawiki is, so long as you do not remove the copyright notices contained within the code. I.e. the credit is already in there. I think.

How do I hide the category namespace in the title, leaving only the category itself as the title?
On entering a category page, you will see the title is Category:Categoryname. The part to the left of the colon is the namespace, and the right part after the colon is the category name. Is it possible to hide the namespace part and only keep the category name as the title of the page? If so, how is this done?

BUG: Search results don't include categories
I was looking on wikipedia for the four principal ancient greek playwrights, so I searched for greek playwrights. Eventually I found what I was after, and in the process discovered that there's a category named Ancient Greek dramatists and playwrights. I would have found what I was after much more quickly if category names were included in the search.

Wikitable
I'd like to use the style of wikitables at www.wiki-site.com, where class=wikitable doesn't seem to work. I've been searching for a template or something, but can't find anything. Where is the code for a wikitable? Oh, and if anyone has any comments about the reliability and what have you of that site, that would also be welcome. Is my work safe there? Thanks. DirkvdM 18:37, 20 February 2007 (UTC)

Settings in MediaWiki:common.css disappear when mod_rewrite is turned on...
As stated in the title, all of my settings in common.css (a#new, #personal colour changes, etc...) disappear when mod_rewrite is activated in apache's httpd.conf, even when I don't use the rewriting engine at all. Is this a bug?

I'm using WAMP5 Server 1.6.6
 * Apache httpd 2.0.59
 * PHP Version 5.2.0
 * mySQL version 5.0.27

TIA! Kareeser|Talk! 21:35, 21 February 2007 (UTC)

Random html in wiki?
I want to use a random youtube clip generator for a page on my website. Basically everytime you logon you get a new video. Is there anything that will allow this? I use the code and random generators on this site dont seem to parse the code...

Scott drzodiac@gmail.com
 * Presumably you have to use some javascript or something to get randomisation. There is a good chance that the javascript will be stripped as a security measure to prevent people posting nasty code into wikis. You can try and find this security code and remove it (if you are the only person that posts to your site and don't need the security), or you can try and inject code directly into the database using something like phpmyadmin.
 * I know that Wookieepedia has a random search image. Maybe someone there can help. --Steinninn 13:54, 6 May 2007 (UTC)

Delete users
Hello I may be stupid to ask but I can't seem to find out how to delete a user from my wiki How do I do this??

I was testing creating users by email password and would like to remove my test user.


 * Deleting users is possible, if the user has made no edits, uploaded no files and caused no log entries, otherwise it becomes problematic in terms of the referential integrity of the data.


 * If you wish to prevent access to the account, scramble the password in the user table (something like "broken" would work; it isn't valid output for a password hash), or give the account an indefinite block.


 * If the account is listed when running maintenance/removeUnusedAccounts.php in --report mode, then it should be safe to delete from the user table, but it's advisable to take a backup of the database in case some unknown, undefined behaviour occurs. robchurch | talk 22:05, 23 February 2007 (UTC)


 * I want to ask something. I have tried to activate this "script" but i get only permission denied (with root rights)... so i tried to change the rights and after a  chmod 770 removeUnusedAccounts.php  i get this (the same result without the option --report)

root@udoc:/var/www/etc/test192/maintenance# ./removeUnusedAccounts.php --report ./removeUnusedAccounts.php: line 1: ?php: No such file or directory ./removeUnusedAccounts.php: line 3: /bin: is a directory ./removeUnusedAccounts.php: line 4: addwiki.php: command not found ./removeUnusedAccounts.php: line 5: addwiki.php: command not found ./removeUnusedAccounts.php: line 6: addwiki.php: command not found ./removeUnusedAccounts.php: line 7: addwiki.php: command not found ./removeUnusedAccounts.php: line 8: addwiki.php: command not found ./removeUnusedAccounts.php: line 9: syntax error near unexpected token `newline' ./removeUnusedAccounts.php: line 9: ` * @author Rob Church '
 * how can i delete unused accounts? --Conni 15:51, 19 March 2007 (UTC)


 * Run  --.anaconda 00:00, 20 March 2007 (UTC)


 * FYI, you have left out the key part of the command php at the start of the line, which tells the server to run a php file. --Dr DBW 03:13, 20 March 2007 (UTC)


 * Thanks for the help ... it get starting now ... i have some troubles with the permissions of the database, but i think i will get it run :) --Conni 15:11, 26 March 2007 (UTC)

Changing a page in an existing mediawiki by another program
Hi all,

I want a program that is run automatically by a crontab to update/create a page in my mediawiki for it's own. This program runs on another server thzan the wiki. How can I do this? I don't find an extension or documentation for this.

Thanks a lot, Tobias

Transwiki question
How, exactly do I enable a transwiki, like wikibooks and wiktionary do?? I would like to use it to import articles from Wikipedia (English!) --Westholm 11:57, 24 February 2007 (UTC)

User Group Name Length
Hello,

While configuring Extension:PageSecurity, I had to modify the length of user group names in the user group table. I moved it from CHAR(15) to VARCHAR(255). It seems to be OK but was not extensively tested. Do you think it is a safe modification or will it make the software unstable? I use Mediawiki 1.9.2 on EasyPHP 2.0b1 on XP Pro SP2 and PageSecurity 1.1.3

--Antoine Sirianni 16:15, 24 February 2007 (UTC)

Database tables
Which tables contain the text of the articles in them?? --82.42.237.84 22:29, 24 February 2007 (UTC)
 * That would be the text table. -- Duesentrieb ⇌ 22:41, 24 February 2007 (UTC)


 * Using phpmyadmin, I went to that table, but can't actually see any article text... why is this?? --82.42.237.84 22:43, 24 February 2007 (UTC)

Somethig bad...mediawiki
hi, I am korean wikipedian, use mediawiki. My computer is pentium III 450Mhz, Windows XP. I installed mediawiki in XP environment.

Some Problems...


 * 1. It is too slow. I use module...some say fastcgi is faster...how to use?
 * 2. Instant Commons...I want to use Commons images.
 * 3. I can't upload SVG file...how?

-- WonYong ( Talk / Contrib ) 01:35, 3 March 2007 (UTC)


 * Mediawiki is large and complex. It was build to scale to a few thousand hits per second an a dedicated server farm, not to be fast on a low-end computer. Actually, with windows XP on a P III, everything is slow, no?
 * Instant Commons would be nice. No one has written it yet.
 * Manual:Image_thumbnailing
 * -- Duesentrieb ⇌ 01:42, 3 March 2007 (UTC)


 * 3. I can't upload SVG file...how?
 * I can upload SVG file. See ko:user:멀뚱이/미디어위키 -- WonYong ( Talk / Contrib ) 14:12, 7 March 2007 (UTC)

Email confirmation black list?
$wgEmailConfirmToEdit requires users to confirm email address before they can edit. Is it possible to add a blacklist of email address domains, for example, to prevent users from signing up with email addresses from @hotmail.com and @gmail.com --84.9.191.165 16:02, 3 March 2007 (UTC)

SHORT URL
When I am trying the rewrite or the alias methods, What else should be in my .htaccess file besides what I am supposed to be adding? Should I put the .htaccess file in the public_html folder or public_html/w/ which is the folder I have the wiki in? When looking the the localsettings.php I see $wgScriptPath should I change = "/w"; or add the $wgArticlePath = "/wiki/$1"; I seem to be a little lost on this. --84.58.197.191 13:17, 5 March 2007 (UTC)

Warnings on upload
Does anyone have a solution for User:Flominator/Upload_problems? --Flominator 13:50, 6 March 2007 (UTC)

Problem with picture data storage after MySQL-Update
I got a problem in our wikiafter a MySQL-Update by the provider to version 5.0.33.

The wiki itself is running with version 1.6.9 due to PHP version 4.4.4. Normaly there should be an an article created, when uploading an image. But now the wiki says, that the image is not existing. But in the list of all uploaded files the image appears. If there was given a description when the image was uploaded, it even appears in the article.

Do you have an idea what bug that is?

MfG, Jasper

SQL-Error
Hi, I'm developing a MS-SQL PLugin for my company. Now I've found a problem:

After the SELECT TOP 1 * FROM `job` ORDER BY job_id follows a COMMIT-statement, but never before there was an BEGIN statement. Have you used the automatic-COMMIT? Is there a way to determine a COMMIT before a query happens, so that I can post a BEGIN? ( $this->mFlags & DBO_TRX ) didn't work, because mFlags is always 16 and DBO_TRX is 8, 16 & 8 = 0, so no BEGIN will be posted.

Greetings, Sven

Problem with apache and proxypass directive
Apache 2.0.54

apache only proxypass virtual host config file:  ServerName knowledgecenter.[domain] ServerAlias www.knowledgecenter.[domain] ProxyPass / http://[ip]/ ProxyPassReverse / http://[ip]/ RewriteEngine on   RewriteCond %{HTTP_HOST}    !^www\.knowledgecenter\.[domain] [NC] RewriteCond %{HTTP_HOST}   !^$ RewriteRule ^/(.*)         http://www.knowledgecenter.[domain]/$1 [L,R] 

connect from Safari (test and with Firefox 2) to host 'www.knowledgecenter.[domain]' and getting this error: "KnowledgeCenter uses cookies to log in users. You have cookies disabled. Please enable them and try again."

This error present only if I use proxypass redirection.

How-to fix this? tnx!

RunPHP Extension accessing template variables
Hello, I am trying to access template variables in some embedded php using the runPHP extension. Is there a way to reference the Template parameters? You can't simply reference the argument within the php block. Any ideas?

I want to do something like this in my article:

Here is the value from my template:

echo "Value from template: ".;

Thanks in advance for any help!

Fatal error: Cannot access protected property DatabaseMysql::$mOut in /home/censored/public_html/wiki/includes/Database.php on line 429
I receive the error "Fatal error: Cannot access protected property DatabaseMysql::$mOut in /home/censored/public_html/wiki/includes/Database.php on line 429" after a "successful" install of MediaWiki (latest version as of March 07, 2007, tarball) when I load /index.php. I haven't found very much good documentation about this issue, and that which I have found has not been helpful. If someone could please assist me, I'd appreciate it.
 * Write protection of the directories? Check chmod! --Flominator 11:10, 12 March 2007 (UTC)

There seems to be a problem with PHP 5.2 and the MediaWiki source. http://bugs.php.net/bug.php?id=37212 http://bugs.php.net/bug.php?id=34893 http://forum.java.sun.com/thread.jspa?threadID=5143859 Downgrading to PHP 5.1.4 solve the issue for me.

This seems to be a problem with eaccelerator. There is a patch.

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

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

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

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

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

Thanks, Ben.

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


 * 1) $cmd = $wgCustomConvertCommand;
 * 2) $cmd = str_replace( '%s', $src, str_replace( '%d', $dst, $cmd ) ); # Filenames
 * 3) $cmd = str_replace( '%h', $height, str_replace( '%w', $width, $cmd ) ); # Size

And instead add this : $cmd = $wgImageMagickConvertCommand. " -quality 85 -background white -geometry {$width} ". ($this->imagePath). " " . ($thumbPath);

It works with them but didn't work with me!!!

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

waiting for your help regards, Butmah

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

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

Thanks for indications. Chrus. 2007-04-29

Unable to block users as sysop after upgrade
Some time ago we upgraded our wiki from MW 1.5.x to 1.9. Recently I needed to block a user, but the following error occurred: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "Block::insert". MySQL returned error "1054: Unknown column 'ipb_enable_autoblock' in 'field list' (localhost)".

Apparently the database didn't upgrade properly. Researching here and elsewhere showed me that I must be the only one experiencing this issue. Can someone give me a hint to how to fix this?

Thanks in advance. --Orso B. Schmid 04:38, 12 March 2007 (UTC)


 * Did you follow Manual:Upgrading to 1.9? Especially, did you run the database upgrade script? -- Duesentrieb ⇌ 11:06, 12 March 2007 (UTC)
 * Yes. I followed the instructions to the letter. But I made the online upgrade, because for some reasons our provider do not let us access the database with PHPmyAdmin, or use shell or anything (Ipowerweb). Shouldn't the online upgrade be the same? --Orso B. Schmid 18:14, 12 March 2007 (UTC)

Install fails with DB Connection Error midway through install
I'm trying to install MediaWiki 1.9.3 with MySQL 5.0.27 and PhP 5.2.1; I'm using the config/setup script. It connects to my mysql db, checks the environment, proceeds to grant user permissions and then fails with: Deleting old default messages...DB connection error: Unknown error (mankato)

Does anyone know how to fix this? I've googled and googled and searched the mediawiki site with no luck.

Thanks,

Bobby


 * "Deleting old default messages..." potentially does a lot of queries if you are upgrading from an earlier version of MediaWiki. Perhaps there's some type of queries-per-minute restriction in effect? Perhaps look at the mysql error log and/or ask your hosting people -- Duesentrieb ⇌ 10:44, 13 March 2007 (UTC)

Thanks for your reply. I have not found any mysql error messages in /var/log/*; I did a vanilla install install of mysql on my own webserver (not hosted). I did not see any queries-per-minute restrictions but I have to confess I'm not a mysql expert. I'll look through a mysql book and check.

No relevant error messages in /usr/local/mysql/var/mankato.err

Is there any way to get more feedback from the install/setup script?

Also, I went and deleted the wikidb and wikiuser from my mysql instance and re-ran the install/configure script. Interesting that the first time I run the install script, it says that it failed in attempting to connect.

Attempting to connect to database server as root...failed with error [].

If I repeat the above procedure (delete everything from mysql and re-run install/configure), I get the same problem: fails first time and then second time I get mid-way through install and run into the "deleting old default messages" fails.

Update: problem solved. I deleted everything, and then I re-installed the wiki. The thing I did differently is I let the default 'localhost' stand instead of putting my web/db/wiki server's name in the field.

Can someone explain why that would have broken the install? I checked my root user and the fields for root for localhost, %, mankato, and FQDN all appeared the same. I'd like to solve this problem so that future install/upgrades will work.

Thanks,

Bobby


 * MySQL manages access by user@host, not just user. Per default, only root@localhost is supported, root@somethingelse will not work. Also, "localhost" is magic for MySQL, and not the same as 127.0.0.1: localhost maps to a unix socket (aka FIFO) to connect, not TCP. So, root access using anything but "localhost" will fail per default. Also, on some distributions (like debian and ubuntu), accessing MySQL via TCP is disabled completely per default.
 * The remaining question would be why it doesn't always fail immediately... -- Duesentrieb ⇌ 17:01, 13 March 2007 (UTC)

Thanks. I did verify that my mysql was listening on the main tcp port and that port was bound to various interfaces. I also had enabled the root user to be valid for various combinations of my hostname and FQDN. I think the problem was (and I still need to test this) is that I had not re-loaded privileges for the root user. I'm thinking that I updated the root privileges but then essentially did not flush them. Could this have been the problem? (I also turned off the dreaded SE linux.)

Thanks,

Bobby

Problems related to MediaWiki and PostgreSQL
Hi! I have successfully installed MediaWiki 1.8.4 on an Debian Etch system, which uses PostgreSQL 8.1 and Apache2. The default encoding is UTF-8.

After texvc was compiled and I changed the $wgUseTeX variable to true, the following error appears when I try to parse a mathematical expression, such as $$\sqrt{2}$$

Warning: pg_query [function.pg-query]: Query failed: ERROR: secuencia de bytes no válida para codificación «UTF8»: 0xd218 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". in /var/www/wiki/includes/DatabasePostgres.php on line 381

In Spanish, "secuencia de bytes no válida para codificación «UTF8»" means "invalid byte sequence for encoding «UTF8»".

The PostgreSQL database for the wiki defined the client_encoding variable to UTF-8.

Another MediaWiki installation was done on MySQL. Mathematical formulae are correctly displayed.

Could someone please provide some advice?

acces control by chapter instead of by page
Hi everyone,

Is there any ways or extentions to apply security or user permissions on a chapter (part of the page) ? I want to restrict edition on a chapter instead of the entire page.

Thanks for your help.

195.68.44.143 14:27, 16 March 2007 (UTC)

Content word cloud?
Hello everyone, is there any way to parse a wiki's content and produce a word cloud of the article words? How? Thanks in advance! Gryzor 14:41, 16 March 2007 (UTC)

Creating a 'Common' media repository
Hi every body !

I'm trying, for the ScoutWiki network to set up a common media repository (like Commons on Wikimedia). But I have big difficulties to set it up.

I have a local french scoutwiki here wich I configured as expected (I think):

// Allow using ScoutMedia

$wgUseSharedUploads		= true;

// ScoutMedia upload directory

$wgSharedUploadPath		= "http://media.scoutwiki.org/images";

// ScoutMedia upload directory structure

$wgHashedSharedUploadDirectory = true;

// descriptions communes pour ScoutMedia & autres

$wgFetchCommonsDescriptions = true;

$wgRepositoryBaseUrl = "http://media.scoutwiki.org/w/Image:";

But when I try to call (from http://media.scoutwiki.org ) on Scoutopedia (here ), the image is not included.

What do I have to do more to make it work ?

Thanks a lot :)

Best regards,

Cedsib 15:47, 16 March 2007 (UTC)

Joomla
Hi. I would like to have the ability to search my wiki's (I have 2) from within the Joomla search function. Does anyone know of a bot or method to achieve this please?


 * I would check the Joomla website and find a bot there that can do that. --Dr DBW 03:24, 30 March 2007 (UTC)

Joomla and wiki do not suit well

Answer : Forget about it. If you want you can try mambowiki component of joomla but it is an older version of mediawiki.

Searching
Hi Community,

I changed from JSP- to MediaWiki. Now I have a question about searching an article. I have an Article "MS CRM" for example. Typing "crm" in the search field doesn't find this article. Why? What can I do? An other Question: by default MediaWiki searches by articlename first. How can I configure to scan first the content? Is it possible to change the text of the textbuttons, like Wikipedia is doing that Benni


 * per default, MediaWiki uses MySQL's fulltext search index - which per default ignores words that are not at least four characters long. Look at the MySQL reference for changing that.
 * Interface text can be changed by editing MediaWiki:xxx pages. Look at Special:Allmessages to find the one you want. -- Duesentrieb ⇌ 14:19, 19 March 2007 (UTC)

I thank you for yout hint. I had to change the Pages searcharticle and searchbutton. How to change the MySQL's fulltext can be read here (german) http://dev.mysql.com/doc/refman/5.1/de/fulltext-fine-tuning.html '''But how to change searching full text after pressing Enter? Default ist searching Article.''' Benni

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

Radio buttons for diffs disappeared
Hello,

We recently installed 1.9.3 - http://jerusalem.perl.org.il/

We uploaded and edited some pages. There's a problem: When we view a page history, we don't see the radio buttons for selecting the versions for comparison.

Any ideas what could cause this? This is a clean install. We only locked it for anonymous editing using the instructions at http://meta.wikimedia.org/wiki/Preventing_Access

Any help will be appreciated.

Thanks in advance. --Amir E. Aharoni 12:45, 19 March 2007 (UTC)

Editing the Upload File page & link
Looking to change the upload file page and link within the toolbar to better reflect our storage procedures. Can't find the proper lines for either function in the database. Anyone have any experience with this before? Much appreciated. --Brookeb 22:55, 19 March 2007 (UTC)

Force TOC on all pages automatically
Hi,

I would like to know if there is a way to force all articles to have a TOC, instead of using for each page.

Thanks in advance for any support provided.

Kind regards,

Fabiano Antunes

wefrwerwerwer

Logo not appearing on all pages
I just downloaded the latest copy of MediaWiki, and I'm happy to report that the installation went flawlessly.

I just have one minor issue. The Logo that I defined in LocalSettings.php will work for some pages.

q$wgLogo = "sweep.gif";

But not on the main page. The gif is an animated gif, but I doubt that should have much of an effect, as it works on other pages, for example, on any discussion page.

Am I missing something obvious?


 * Clear your browser cache. -- Duesentrieb ⇌ 10:28, 20 March 2007 (UTC)


 * It doesn't seem to be a browser cache issue, as it occurs on client browsers that have never been to the site before.


 * $wgLogo must be in form of URL;
 * try $wgLogo="http://your_mediawiki_site/sweep.gif";
 * and put sweep.gif near LocalSettings.php.

Water marks
Hi, i have one importantly business, i need function, who do watermark on uploaded foto automatic. Are this function are in mediawiki? Please, very need, thanks. --88.222.212.231 15:23, 20 March 2007 (UTC)
 * no, that is not doablein mediawiki as it is. You'll need an external programto watermark the images. However mediawiki privides a page for each image where you can add the description, license and all information you need about the image. Drini 15:27, 20 March 2007 (UTC)

but i need watermarks on my photos, whos i upload in my encyclopedia... --88.222.212.231 15:33, 20 March 2007 (UTC)

so, any can help for me? --88.222.212.231 19:41, 21 March 2007 (UTC)


 * You could hypothetically write a script or something that would automatically call upon ImageMagick or another library to watermark the images, and implement that. At least, I think you could… --20:32, 13 May 2007 (UTC)

PD help border
I can't find how to get the thin blue border around a page, like this site uses in the help: namespace. Any ideas? Thanks Gary Kirk 15:28, 20 March 2007 (UTC)
 * See Common.css -- :Bdk: 13:53, 24 March 2007 (UTC)

Relevance status on my private Wiki
In my office we're running mediawiki in order to share info. I was wondering if it would be possible to have a "relevance" status on my searchs, just like the wikipedia.

Is it possible? How do I do it?

lower case first letter for username
Is it possible to allow the creation of usernames with a lower case first letter? What do I have to change in the config? --JuergenL 09:26, 22 March 2007 (UTC)


 * Don't know specifically, but there is an option that you need to set in LocalSettings.php to allow lower case in page titles. May be that influences usernames as well?  --Dr DBW 03:21, 30 March 2007 (UTC)

No, it's not possible; this is a restriction of the software. robchurch | talk 21:53, 13 April 2007 (UTC)

Search for "Lange" gets SpecialSearch.php non-Object-Error
Ive installed the MediaWiki 1.6.10 Software and ONLY changed the Monobook Stuff. I didnt changed anything in sourcecode on all other Files.

I get this Error:

Fatal error: Call to a member function on a non-object in /home/watch-wiki_com/www/includes/SpecialSearch.php on line 335

But only when Searching for "Lange" or "lange" or...its not case sensitive...

You can test it yourself here -> www.watch-wiki.de -> Search for "Lange" (or "lange" "lANGE" -> its equal)

Did anybody know how to fix this error?

Language toggle
I have seen a few posts regarding language, but none seem to address my question. Is it possible to have a toggle option that would allow users to change from one language to another, more specifically the navigation menus without having the users go into their preferences. Basically, I am dealing with French and English as my 2 main languages, and I was wondering if it would be possible to add an option in the navigation menu that would change the language setting from one language to the other.

I thought that maybe we could do 2 installs and have 2 Wikis running at the same time and link from one to the other. But when it comes to accounts and administration, it seems like twice the amount of work, etc. Any suggestions would be appreciated.

March 22nd, 2007 Acadian_jl

JSR 168 Compliance in MediaWiki?
My company is implementing an enterprise portal framework. It can do portlets of info from applications that are JSR 168 compliant. Is MediaWiki compliant with that standard? If not, are there plans to make it so in the future? We would love to be able to use this portal tool in conjunction with our rather large existing MediaWiki information store.

Image frame width in units other than pixels
I have tried to set image thumb width on Wikipedia in units other than pixels and it does not work. What I want is the following: "" This should display the image in a frame 1.5 inches wide independent of screen resolution. There should also be an ability to recognize other standard CSS length units: cm, mm, pc, pt, em, ex.

Instead, the only currently available options are either to set the width in pixels or to omit it and to hope that the user will set the default thumb width in user preferences.

Here is how the non-pixel width could be processed by the engine. At first it generates the image with the number of pixels determined by user preferences or by default settings (that is, as if the width was not specified at all). Then it scales the image as requested by adding the "width:" property to the style attribute of the tag. At the same time the tag should not contain width or height attributes.--Contra ventum 01:08, 23 March 2007 (UTC)


 * image thumbnails are rendered/scaled on the server, so this can not work. -- Duesentrieb ⇌ 01:44, 23 March 2007 (UTC)
 * The size of the image rendered by the server can always be the same (say, 180px), but if the returned page contains <img src="Picture.jpg" style="width: 1.5in;"/> then the browser will scale it to 1.5in. That is, the engine should not do the scaling itself, it should instruct the browser to do it.--Contra ventum 03:57, 23 March 2007 (UTC)
 * well, if you want the browser to do the scaling, you can always set Manual:$wgUseImageResize=false; in that case, it would indeed make sense to allow units like pt or ex. But mediawiki is specifically designed not to do that:
 * You don't want the browser to scale pictures up, that would look ugly. Images are used in several different sizes, so just giving a fixed thumbnail size for server-side rendering would not work (and 180px would be much to small).
 * uploaded images are often quite large, because people want to make full-resolution images available for viewing. Pictures on Commons and Wikipedia are often > 100KB, some are several MB large.
 * The are pages with hundreds of images - category pages show up to 200 per default, for example. Loading full the scale images would take very long, and asking the browser to scale 200 images with several megapixels each would take long again - and probably freeze the browser for a while.
 * Browser scaling also often yields pretty bad quality.
 * Some images can't be shown directly by the browser at all (SVG, DejaVu, etc), so they have to be rendered server side. And to do that, you need to know the desired size, in pixels.
 * So, client-side scaling is a bad idea in many cases. If you really want it, it may make sense to allow units other than pixels - but if you use them, you can't switch to server side scaling later on without manually adjusting all places where non-pixel units are used.
 * Mediawiki provides a per-user thumbnail size preference precisely to work around this issue. Its the best solution available at the moment, i'm afraid. -- Duesentrieb ⇌ 12:05, 23 March 2007 (UTC)
 * The problem with this solution is that a lot (if not the most) of Wikipedia articles explicitly set the sizes of the images to optimize the view for a particular resolution (typically 1024x768). For example, a portrait often needs a much smaller frame than a painting with lots of details. As a result, the pages look different in other resolutions and I have seen complains about it myself. In this case it is much better to scale pictures up than to leave them looking smaller than a postage stamp! Besides, the number of users who configure their preferences is tiny, we have to be realistic. Perhaps the solution needs to be slightly more complex, indeed. For example, a possibility to specify the size of the image in pixels rendered by the server (hidden from the browser) and the width. Or, when only non-pixel width is provided, the server could generate the image with the size corresponding to the preferred or the "typical" resolution.--Contra ventum 16:58, 23 March 2007 (UTC)
 * Oversampling could work. Would probably still cause more problems than it solves.
 * File a feature request on Bugzilla if you like. -- Duesentrieb ⇌ 01:46, 24 March 2007 (UTC)
 * Done!--Contra ventum 06:13, 25 March 2007 (UTC)

Artifacts on special pages after upgrade to 1.9.3
Wiki has been upgraded to version 1.9.3. Preferences - Language: Russian. Page headline contains strange artifact: .oubleredirect. For example: "Ниже показаны 14 результата, начиная с № 1.oubleredirect" What is in english: "Showing below up to 14 results starting with #1." But in english there is no .oubleredirect on the line end. I think, that .oubleredirect is cutting doubleredirect. Similar pages can be found easily by google. http://www.google.com/search?q=.oubleredirect

Error is in file MessagesRu.php - line 850: ... $2 .oubleredirect',


 * It's probably fixed in trunk. Thank you. --.anaconda 00:22, 3 May 2007 (UTC)

Can only add very little text. Otherwise page will not save.
Installed Wiki successfully. Everything seems to work, but: If I edit an article and there is more than about one line of text changed, the page does not save. I just see a white browser window.

Whats wrong?

Thanks, Frank.


 * YOu might have a *very* small limit to post-data length set. This is a PHP setting (and apache can have a limit too i think). Or there might be an issue with the database. crank up error reporting and look at the logs. -- Duesentrieb ⇌ 01:44, 24 March 2007 (UTC)

add a lot of files to gallery
Hi Community,

I want to add a lot of Datafiles to my MediaWikis gallery. uploading data by hand, the software puts a copy of the file in images/randomdir/randomdir/file.dat and adds a entry in the table filearchive. I want to use a small perl script to insert my files in the gallery, but how? (create entry with link to the file) I can create the fileinfo and metadata in filearchieve an page, but where have i to put the link to the file? Benni
 * look for maintenance/importImages.php or some such. -- Duesentrieb ⇌ 01:43, 24 March 2007 (UTC)


 * BTW your randomdir is just a 1 or 2 character prefix (first 1, then 2) to divide the images; i.e.  -Steve Sanbeg 19:31, 26 March 2007 (UTC)

I thank you Duesentrieb. Your Code snippet, Steve, was exactly the thing i needed big thx. Benni

There is a MediaWiki Extension that allows multiple file upload. I have mine set for 16 at a time. Works great.

German characters (and the like) are not correctly processed
I've installed wiki software on my own website. Unfortunately german characters like ö are not correctly processed. That is, if I enter (for example) ö in the search box and hit the GO button. The (web) page turns white and nothig happens (anymore). So the software holds. The exact thing happens when I enter a character like ö in the edit box to edit/submit a page. Is there some setting to set which tells wiki to accept and(correctly) process these kind of characters? Help!?! GertWillem


 * Should work without a problem (I'm using MediaWiki with german on two servers, not to speak of the german wikipedia, etc). All I can think of is a very strange database configuration. Look into the error logs (apache, php (if enabled), mysql, etc). -- Duesentrieb ⇌ 01:42, 24 March 2007 (UTC)

Indeed there are 2 warning and 1 error in de PHP log related to my problem (### has been added for privacy reasons):

PHP Warning: UtfNormal::loadData [<a href='function.loadData'>function.loadData</a>]: open_basedir restriction in effect. File(/usr/share/pear/UtfNormalData.inc) is not within the allowed path(s)

PHP Warning: UtfNormal::loadData(UtfNormalData.inc) [<a href='function.loadData'>function.loadData</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/###.nl/subdomains/wiki/httpdocs/includes/normal/UtfNormal.php on line 224, referer: ####

PHP Fatal error: UtfNormal::loadData [<a href='function.require'>function.require</a>]: Failed opening required 'UtfNormalData.inc' (include_path='/var/www/vhosts/###.nl/subdomains/wiki/httpdocs:/var/www/vhosts/###.nl/subdomains/wiki/httpdocs/includes:/var/www/vhosts/###.nl/subdomains/wiki/httpdocs/languages:.:/usr/share/pear') in /var/www/vhosts/###.nl/subdomains/wiki/httpdocs/includes/normal/UtfNormal.php on line 224, referer: http://wiki.####.nl/index.php?title=###&action=edit

What should I change/do? 84.87.99.20 14:39, 24 March 2007 (UTC)GertWillem


 * I am having the same exact problem... installed yesterday and it happens with every special characters and symbols. Please help.

I found out (by a search in Google) what the fault probably is (see http://www.sixapart.com/movabletype/kb/dynamic/open_basedir_re.html ): ''This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path"). The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.'' So apparently, in some php-configuration-file the open_base_dir setting must be changed to somthing else. This file seems to be httpd.conf. See http://us2.php.net/features.safe-mode for details how. 84.87.99.20 16:46, 25 March 2007 (UTC)GertWillem

Invisible pages
Is it possible to make a page invisible to people without certain permissions? Specifically, can I make a page that only SYSOP or higher can view and edit, while nobody else could even read the page? Thanks! ColinR 08:16, 24 March 2007 (UTC)
 * see preventing access and Category:Page Access Control Extensions. Beware Security issues with authorization extensions -- Duesentrieb ⇌ 10:42, 24 March 2007 (UTC)

Where can I find basic information on MediaWiki 1.4.4?
Specifically, I'm curious about whether it's supposed to have underlined links, and if it was ever known particularly for having glitches when you try to enter a given URL. -- 192.154.65.1 13:38, 24 March 2007 (UTC)

Curious
I'm curious about something -- whenever you fix a bug in the latest version, does each wiki site have to re-do the software just as if it were a new version? And if not, why not? -192.154.65.1 14:09, 24 March 2007 (UTC)


 * Not sure if this actually answers the question, but any site using MediaWiki has to install the updated software. I personally do this (but you will have to read the installation page etc for how they recommend it is done) by making a copy of the installed directory and database, and then reinstalling it within the same directory.  There is no patches between versions or anything like that provided, they are full installations. --Dr DBW 03:06, 30 March 2007 (UTC)

How you prevent displaying a html tag as text:
If I include the following

Test on my wiki, the final div tag is displayed as text. How do you prevent this? The fianl div tag does not appear in this wiki or on wikipedia.

Test

Is there a particular property that I need to set to prevent the div tag from appearing.Sslopek 17:29, 24 March 2007 (UTC)
 * The pages returned by wiki are valid XML and cannot contain unpaired tags. Note that your test has been replaced with Test  in the source of this page and I suspect that in the source returned by your wiki you will find &amp;lt;/div&amp;gt;</tt>, too.--Contra ventum 06:23, 25 March 2007 (UTC)

Upgrading from 1.4
As mentioned above some folks are having difficulty upgrading from 1.4.x. I have 1.4.2 (which appears to be hackable)! The upgrade instructions say that they should be good for 1.5 or above. There are no hits for "1.4" on this mediawiki site. Is the procedure any different? By the way, there are a lot of questions here but I don't see many answers.
 * And upon inspecting I may not have the required version of php (5) and upgrading from php 4 to php 5 is quite difficult it seems . If anyone knows of a site which explains how to upgrade php then please post it, so that we php4 users can use newer versions of Mediawiki.
 * On most systems, upgrading to php5 should be as easy as apt-get install php5</tt> -- Duesentrieb ⇌ 10:43, 26 March 2007 (UTC)

MediaWiki Version
MediaWiki version would appear near the "Powered by MediaWiki" (it would show "Powered by MediaWiki, Version XXX.XXX"). This is important because old engines don´t work well (see http://wikicars.org/es/Portal:Green_tuning ). --Macv 18:46, 25 March 2007 (UTC)


 * Please file feature requests on Bugzilla.
 * Anyway... perhaps showing the version in a tooltip (i.e. using a HTML title attribute) over the "powered by" logo would be nice. But you can always get the info by visiting Special:Version on your wiki. -- Duesentrieb ⇌ 10:40, 26 March 2007 (UTC)

extension work in preview but not after 'save pages'
Hi,

i just setting up mediawiki and attempted to install extension. But so far both "pdf" and "tree view" extension work fine in preview but after i click 'save pages', both of them failed to function correctlyl. Can someone please help me for this?


 * Sounds like a caching issue to me. Try purging caches, both server-side and client-side. -- Duesentrieb ⇌ 10:39, 26 March 2007 (UTC)

Discussion below article?
Is it possible to put the discussion page below the article, like the non-wiki http://www.php.net/manual/en/language.variables.php


 * Yes, there are some minor technical differences between content pages and talk pages, but for the rest it is a matter of policy whether a wiki allows people to edit the page itself for discussions.--Patrick 10:50, 26 March 2007 (UTC)


 * Thanks, but I still dont understand. How would I go about moving the discussion page to below the article? I dont think a users editing policy effect this.
 * You simply talk in a new section below the article. --Flominator 10:30, 31 March 2007 (UTC)
 * Thanks, sorry for my newbness, but how whould I go about doing that? I dont want the users to add sections that will appear in the article contents. A seperate section, available for viewing, but a discussion, rather than an article. Whats the difference between a "talk" page and the "discussion" tab page.


 * The table of contents lists all sections of the page, so also those in a bottom part for discussion. However, there may be a top-level header "Discussion" with lower-level headers for discussion items.


 * "Talk" and "Discussion" are the same. That link leads to the separate talk page. You make it link to the bottom part of the same page by putting #redirect article_name on it.--Patrick 09:15, 1 April 2007 (UTC)

Thanks for your help, but doesn't a redirect only work with no data on the page other than the redirect? When I put
 * 1) redirect article_name at the bottom of the page, it just appears as a link that doesn;t seem to go anywhere, if I put it at the top of the page, a redirect link appears but the article disappears


 * I mean that you make the separate talk page a redirect page to the bottom part of the content page.--Patrick 14:44, 5 April 2007 (UTC)

I committed an extension for this last night - I'll write a short description at Extension:TalkHere later today (watch for the link turning blue...) The TalkHere extension shows the talk page at the bottom of the article page, and also as an inline-editor for adding comments. -- Duesentrieb ⇌ 09:11, 4 April 2007 (UTC)

Awesome thanks! sounds just what I am after I will have a play around with it!!!
 * umm I couldn't get it to work, I added require_once( "$IP/extensions/TalkHere/TalkHere.php" ); but the wiki just gives a blank page. Do I have to configure $wgTalkHereNamespaces or something, how and where? Thanks. UPDATE seems to be a permission problem, changed permission on the extension files and now fixed.

history
comments on history of environmental science and things around us,like atomoshere

Headline text
i am so far learning about everything around us as something to do with earth Insert non-formatted text here --74.39.244.251 14:44, 26 March 2007 (UTC)everything thing around us is so cool there is something to learn something new everyday

#REDIRECT
I could not redirect to an article useing this command in my article!  #REDIRECT My New Article  after I submit this article I get " #REDIRECT My New Article" instead of a redirection page. Anybody knows whats wrong with this? I'm using 1.9.3.

Regards -- 213.217.33.154 18:52, 26 March 2007 (UTC)


 * After editing / adding a redirect, it loads up to the redirect page and does not get forwarded to the page it should be redirected to. This is totally normal behaviour. You should notice in the URL for the displayed page, it has a variable stating not to redirect.  To see the redirect work, actually load the page name, and the redirect should work.  --Dr DBW 02:55, 30 March 2007 (UTC)

How can I reset the WikiSysop password?
I used "php changePassword.php --user=WikiSysop --password=xxxx" but I can't login as WikiSysop with the changed password. Any help appreciated.

I have the same problem. I even deleted LocalSettings.php and I reinstalled Mediawiki with a new password, but it doesn't work. There seems to be a real problem with Sysop password.

$wgUser deleteOption?
I know there's a getOption and setOption method to $wgUser, but what if I wanted to "delete" an option, or set it to nothing? I tried passing "" to setOption, but no actual change was made. I briefly skimmed through includes/User.php, but didn't see anything that would remove an option. ZJH 07:03, 27 March 2007 (UTC)
 * Nevermind; I just realized that I wasn't hitting the condition that the setOption method was called within. ZJH 16:58, 27 March 2007 (UTC)

Change Search
Hello how can I change the search of MediaWiki to Terms like Kom* for searching for Kommmission or Kommision. I also want to implement suggestion function that tells me to use another Term in the right spelling. How can I do this?

--160.44.234.52 13:09, 27 March 2007 (UTC)

Answer: For the search with wildcards like *, see this entry: Mailing List

--217.82.94.19 07:52, 30 April 2007 (UTC)

Reverting Wiki
Hey, someone came to my wiki and destroyed it..us there anyway i can revert it?


 * On a mass basis, you will need a back up of the database. On a page by page basis, just look at the history and revert to the appropriate version there before the damage was done.  That is how it is done here on MediaWiki.org with vandals. --Dr DBW 02:53, 30 March 2007 (UTC)

PHP warnings in page headers and update.php after updating from 1.8.2 to 1.9.3
I updated our Intranet wiki from 1.8.2 to 1.9.3 using the shell based update.php script. It ran through all the way but printed some warnings: Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks has no field pl_from; adding Deleting old default messages..."" is not a valid magic thingie for "special" Warning: array_slice: The first argument should be an array in /var/www/mediawiki-1.9.3/languages/Language.php on line 1105 "" is not a valid magic thingie for "defaultsort" Warning: array_slice: The first argument should be an array in /var/www/mediawiki-1.9.3/languages/Language.php on line 1105 Done Purging caches...done. Done. linuxsrv1:/var/www/mediawiki-1.9.3/maintenance# cd ..

The Wiki does now run with version 1.9.3, but on every page I get 3 warnings in the header:

Warning: array_slice [function.array-slice]: The first argument should be an array in /var/www/mediawiki-1.9.3/languages/Language.php on line 1105 Warning: array_slice [function.array-slice]: The first argument should be an array in /var/www/mediawiki-1.9.3/languages/Language.php on line 1105 Warning: Invalid argument supplied for foreach in /var/www/mediawiki-1.9.3/includes/SpecialPage.php on line 199

There seem to be other users with the same problem, but I did not find a solution anywhere on the net. Why do these messages occur and how do I fix this? This error can also be observed on http://www.apple2games.com/wiki/Main_Page

Regards, Thomas Böhne


 * I tried to debug the problem today. I removed the temporary error_reporting(0), but the problem does not occur anymore. So I guess it was a caching problem with memcached, but unfortunately I cannot confirm this. For everybody else who ran into the same problem, I suggest restarting apache, memcached and the browser (probably clear the cache as well). Regards, Thomas Böhne

How to reset RSS/Atom Feed date
Hello,

I want to use the RSS- Feed feature with my wiki. The problem is that I've created some articles as the system time of the server was 20 years in the future. I corrected that, but the feed- reader will always show the last article created with the wrong system- time.

I've looked in the wiki database already and corrected all the false the date fields, but RSS- Feed still shows the wrong feed.

What can I do?

Thanks

Pelle


 * Ok, it works now. Don't know how. It would be good to know how the feed data are selected from the database. (For the next time...)

PHP Includes
Is there a way I can use "php include" in an article to dynamically import external information onto a page?

Thanks!


 * -Joe
 * Extension:Runphp --Flominator 10:28, 31 March 2007 (UTC)

I strongly advise not using the referenced extension; you should probably look at writing a parser hook extension which does what you want. Allowing users to add arbitrary PHP to a page is complete foolishness. robchurch | talk 17:31, 31 March 2007 (UTC)

Field 'rc_params' doesn't have a default value
I'm using an up-to-date (as of about 5 minutes ago) SVN version (r20778), and I am receiving the following error when trying to edit a page:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "RecentChange::save". MySQL returned error "1364: Field 'rc_params' doesn't have a default value (localhost)".

'rc_params' doesn't have a default value because it's a BLOB-type field that cannot have a default value. So I'm assuming that rc_params isn't being specifically set. So what should I do with this field? Is it necessary? Can I just delete it, as nothing is going into it anyway? Thanks! ZJH 17:30, 28 March 2007 (UTC)


 * I dropped it without any problems. Seems to be for a "deleted revisions" feature that is not part of the trunk yet. ZJH 19:01, 28 March 2007 (UTC)

It isn't, in fact, part of the revision deletion feature; it was just added in the same step. It will be used to solve some problems regarding log entries in recent changes and the watchlist.

The changes in question were reverted in Subversion, but the database changes would have been left behind if you'd already upgraded your database schema.

In general, we recommend not using the bleeding edge version of MediaWiki unless you are a developer or are capable of dealing with database upgrade changes in this manner. robchurch | talk 17:30, 31 March 2007 (UTC)

Content "disappears" after upgrade 1.6.7 -> 1.9.3
The reason I put "disappears" in quotes is that after doing the upgrade, going to Main Page or any other page only shows the page header with no content. The content is still there because if I click on the edit tab, the editing window has the text for the page in it. This happened to me once before when I moved the wiki from a development system to the production machine and for the life of me I cannot remember what I did to straighten it out. I ran the update.php script before starting up the apache server and there were no errors from that. So what is causing my content to not be rendered? Thanks. Chuck 00:01, 29 March 2007 (UTC)

Need help to transfer data from open wiki to media wiki
Hi,

We are using the open wiki site in production using MS Access DB. We are experiminting on using the Media wiki. We got Media wiki installed and configured so it's showing the main page, but now we need to know how we can migrate the existing data we have in open wiki site in production (MS Access) to this new site running on media wiki (MYSQL). Is there any utility of approach document available which we can refer to get this done?

Regards, Bipin

[[Media:Example.ogg]]


 * No experience with this, but comes to mind that should be able to use the manner in which export and import can be down from / to a MediaWiki installation. May be have a look at that, see the form of the files generated and get something similar constructed from your existing wiki, then should be able to import it into MediaWiki --Dr DBW 02:51, 30 March 2007 (UTC)

LocalSettings.php on IK.WP
Is there a particular URL to visit, to edit this file on the IK Wikipedia. I'm an admin there. -- Zanimum 20:51, 29 March 2007 (UTC)


 * The LocalSettings.php file for MediaWiki installations is currently located on the server and requires server access to be able to edit / change it. --Dr DBW 02:52, 30 March 2007 (UTC)
 * So whom would I contact in regards to this? A bureaucrat? A developer? --  Zanimum 19:19, 30 March 2007 (UTC)

The usual procedure is to file a bug report (product Wikimedia, component General/Unknown or Site requests) and give details of the requested configuration change. A system administrator will then process the request and make the required change. robchurch | talk 17:28, 31 March 2007 (UTC)

"nowiki" and "pre" tags do not work
The "nowiki" and "pre" tags do not work for me. When I try to use these tags on my wiki the text shows up with a bunch of random characters it looks similar to a password hash. What am I doing wrong?


 * What version of MediaWiki? robchurch | talk 17:39, 19 April 2007 (UTC)


 * I do have the same problem. I am using the Version 1.9.3, MySQL 5.0.27 and PHP 5.1.6. When I try to use these tags the text and later the source code show up like this �UNIQ37f2e94054ebe5d8-nowiki-00000001-QINU.

Email notifications not working
I installed Mediawiki and although I have ticked the box in my user preferences to receive an email when any changes are made I am not receiving such emails.

I cannot find any specific settings relating to email other than the settings in LocalSettings.php.

I have added the SMTP variable to force to try and force using PHP mail but this is not working either.
 * do you receive any error messages in logs? --Flominator 10:31, 31 March 2007 (UTC)

not that I can see :(

Update : This appears to be working now. I did not realize pages had to be watched.

User Rights
Hi, I want only system admin users to approve/disapprove any changes made by users. How can i do this? In my normal mediawiki installation everyone can make chages on texts. Thanks

Inkscape and PNGs
I've got the lateast MediaWiki from SVN installed on a windows machine. I can't seem to find a windows port of RSVG so i'm using Inkscape to do SVG to PNG conversion, however.. the png files Inkscape produces are not displaying properly in IE (the transparancy is all messed up). It looks like the alpha fix is not working on them.. though i have copied pngs from Wikipedia that do have working alpha, and they STILL wont' work under my installation! Is there something extra that has to be done to get proper transparancy in IE? Thanks! Ok
 * Wasn't there something that IE doesn't display transparent PNGs at all? --Flominator 10:25, 31 March 2007 (UTC)
 * No, it displays them, but only with some extra javascript hack.. but they work fine on Wikipedia.. as far as i can tell i'm using everything identically except i'm using Inkscape to generate the pngs instead of rsvg.. but still, even using the thumbnails from wikipedia doesn't work, so something must be wrong.. --Quasar 69.254.187.229 04:36, 1 April 2007 (UTC)

Hiding page title?
Several MediaWiki installs I've seen hide the title of their front page. How do I do this? --Johan 12:34, 31 March 2007 (UTC)

67.183.216.56 05:30, 3 April 2007 (UTC) I too am trying to figure this out... Any Suggestions? www.newwayswiki.org

Upgrade Issue
When Upgrading to 1.9.* I get the following error

Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:


 * (SQL query hidden)

from within function "RecentChange::save". MySQL returned error "1054: Unknown column 'rc_old_len' in 'field list' (localhost)".

I have run the upgrade.php script. Any ideas?


 * Apparently, the upgrade didn't actually occur; try again, noting any error output from the update script. robchurch | talk 21:48, 13 April 2007 (UTC)

Portable Media Wiki
Is it possible to run a cut down version of media wiki on my thumbdrive so I can go on-site, create some pages, then import them into my main wiki site. Thanks


 * no. Mediawiki is a web application. It needs a webserver and a database. It's build to be scalable, not to be small. -- Duesentrieb ⇌ 09:42, 3 April 2007 (UTC)

How to hide only one page to unlogged users ?

 * 

Hello, I looked for "How to hide only one page to unlogged users ?" and I found only some bad solutions : $wgGroupPermissions['*']['read'] = false;
 * install an extension (Mediawiki after 1.6.3) ;
 * forbidden anonymous to read All the Wiki, and then allow them to read "this page n⁰1 + this page n⁰2 + ...+ this page n⁰342" (actually unworkable), see :
 * 1) Disable readding line, for anounymous (not-logged-in => * ) :

$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );
 * 1) ... and enable anonymous to read the followings pages :

Al this is really not easily workable. Have we something in the other way, not by ( ForbiddenAll - TheseListOfPpages ), but in the better way : (AllowToReadAllpage -TheseListOfForbiddenPages ). "-" meaning minus. Have we something such : $wgWhitelistRead = array( "ALLPAGES", minus "The Really Important Page To Hide" ); ?

Answer is Welcome for this frequent question. -- answer also to my page =>Yug 17:41, 11 March 2007 (UTC)


 * Frequent question, frequent answer; MediaWiki was not designed to "hide" pieces of information, and it is not a straightforward operation. You are better off investigating software which is designed to do what you actually need. robchurch | talk 21:48, 13 April 2007 (UTC)

Oracle Support
Hello,

is ist possible to run MediaWiki in an Oracle Database?

Thanks

Jens


 * There used to be Oracle support, but I think it's unmaintained right now. Not sure about the status. Not too many people seem to want it. -- Duesentrieb ⇌ 09:41, 3 April 2007 (UTC)


 * River revived the experimental Oracle support, but I'm not sure if it's production grade at the moment. MediaWiki supports MySQL and PostgreSQL database backends; you would be well-advised to use one of those, or seek a wiki engine which your platform supports. robchurch | talk 21:46, 13 April 2007 (UTC)

CHCounter und Media Wiki
Hi,

had somebody install a Counter like CHCounter chcounter.org? Where must i include the Code?


 * Uh, just use MediaWiki's own counter? -- Duesentrieb ⇌ 09:41, 3 April 2007 (UTC)

Multiple wiki tables side by side
I have created 3 tables as such. I wanted to list the tables side by side and not one below the other. I did specify  and no. But still the tables list one below the other. How do I get them side by side. Please advice. Thanks.

Answer: by putting them into another table:

{|






 * }

Patrick 19:44, 2 April 2007 (UTC)


 * Thanks a bunch :)


 * --> I am sorry, one more Q. How do I force the smaller tables in the big table to be of the same size. Right now, with the images in them, their sizes vary.

Wiki-Syntax for tables is just a shorthand for HTML syntax, the rules and attributes are the same. You can even use HTML syntax to define tables. So, please refer to your favorite HTML manual or support channel. -- Duesentrieb ⇌ 09:40, 3 April 2007 (UTC)

Server side hosting
I've got a mediawiki installation on a home server but it has outgrown my hardware. Is there any ways to transfer the full mediawiki (with all config fils intact) package from my hard drive to a server side host? If so which site should I look for? I've done some searching on google but most want to create a new wiki, not move my existing one. Thank you! 212.159.16.175 17:43, 2 April 2007 (UTC)


 * Get some web hosting account with PHP 5, MySQL and shell access (shell access is not requirted for running mediawiki, but for things like backup, moving, etc, it's extremely annoying not to have it). Also ask for ImageMagick, and perhaps rsvg.
 * Follow the instructions on Manual:Moving a wiki. You can then copy a database dump to the webserver (consult the mysql documentation for making and importing dumps; beware charset issues; you may have to talk to your hosting people about renaming the database, using table prefixes, etc); Make an XML dump too, for good measure (use maintenance/dumpBackup.php from the command line). Finally, you can copy over the mediawiki program files and configuration - the configuration needs to be adapted for the new place of course (database name, user, password, etc - maybe some pathes need to change too). Alternatively, just install the latest version of mediawiki after importing the database, the conversion should be automatic, and you'll get a LocalSettings file that matches the new place.
 * Oh, and: all hosting is server side :P -- Duesentrieb ⇌ 09:39, 3 April 2007 (UTC)

Persistance whilsts using hooks
Hi, I am trying to write an extension that will extract data from a page, using the UnknownAction event handler. This is fine and it works ok. But with the data that i receive I want to set something in Editpage.php. So i use another hook AlternativeEdit. However by the time i have gone from extracting the datat in the UknownAction handler to the function called by the AlternativeEdt Hook, all my data is lost, because I have left the php extension script. I tried global functions and static functions but to no avail. the $wgSavedData is lost by the time i get to the function alternativeeditcallback.

so for example <?php $wgSavedData =""

['unknownevent'][]='unknowneventcallback'

['alternativeedit'][] = 'alternativeeditcallback'

function 'unknowneventcallback' global $wgReceive, $wgSavedData; if (action = 'someaction') {  $wgSavedData = $wgReceive->val('action') url rewrite to call edit }

function alternativeeditcallback(&$Edit) {  Edit->setsomefunction($wgSavedData) return Edit } ?php>

Perhaps i can store the data in a new table or something. In which case how do i have access to the database from here.


 * Global variables have to be declared as global in every scope you want to use them. See . -- Duesentrieb ⇌ 09:07, 4 April 2007 (UTC)

even if i have global $wgSavedData in the function alternativeeditcallback it makes no difference. Perphaps if i added it to the edit.php


 * Each an every function that uses it. global</tt> must be used to "import" global variables into a local scope. It does not make a variable be accessible everywhere. -- Duesentrieb ⇌ 13:13, 4 April 2007 (UTC)

Photo Sharing Script
i need Photo Sharing Script can u help me

my email

the_jackl@msn.com


 * An extremely vague question. You are going to have to put more information and details if you want a helpful reply. --Dr DBW 05:14, 5 April 2007 (UTC)

Uploading files
A couple of weeks ago, uploading a file on my own wiki worked as normal. Now when i try, i get the message:

Database error

Internal error

I can't figure out why this would happen if i havn't (consciously) changed any settings/includes etc. Is there anything that could be a common cause of this problem?

Thanks for any help.


 * Has your server provider upgraded something? --Dr DBW 05:13, 5 April 2007 (UTC)


 * make your wiki output more info:

$wgShowExceptionDetails = true; $wgShowSQLErrors = true; error_reporting(E_ALL); ini_set("display_errors", 1);
 * that should tell you what's going wrong. without that info, we can't help you either. -- Duesentrieb ⇌ 09:44, 6 April 2007 (UTC)

In/Out Board Extension?
I was wondering if anyone knows of an existing extension to add an employee in/out board to MediaWiki? Each user would need to manually click a button to mark themselves as in or out of the office. Then there would need to be an overall listing of who is in or out, preferably sorted into departments.


 * That functionality is unrelated to collaborative text editing, so it's out of the scope of mediawiki. It would not be hard to make an extension that integrates such a function into mediawiki though. But I don't really see a point, the "in/out" page can just as well be outside the wiki. -- Duesentrieb ⇌ 09:42, 6 April 2007 (UTC)

No confirmation emails from my wiki
My users are telling me that they do not receive confirmation emails when they request them. What can I do to fix this?


 * Check that PHP can actually send any mail. Set $wgSMTP is you want to use SMTP instead of the default sendmail (see DefaultSettings.php for details). -- Duesentrieb ⇌ 09:45, 6 April 2007 (UTC)

It's also worth checking the PHP and Sendmail error logs. robchurch | talk 21:44, 13 April 2007 (UTC)

Search results end up with a ":" in front of text
Whenever I try searching say XXX(Replace XXX with the text you're searching for). , my results always end up with " :XXX ". As you notice, every search also appears to contain a ":" in front of the text. Could there be a reason behind this? How can I get rid of this? P.S I did not do any modification or add-ons to any of the php or other pages, nor modify any SQL. Thanks.


 * This was an issue in older versions of MediaWiki due to the handling of links in the message in question, which has been corrected in newer versions. robchurch | talk 21:43, 13 April 2007 (UTC)

Display last 2 columns of an article?
Hi everybody!

Is it possible to show (on mainpage) the last 2 columns of an specific article?

Thanks and best regards, Andi


 * Last two columns?... what columns?... anyway, have a look at Extension:Labeled Section Transclusion -- Duesentrieb ⇌ 09:47, 6 April 2007 (UTC)

Symbols in editor cause MediaWiki to crash
I have noticed that the presence of the copyright symbol (©) and degree symbol in any editor document causes a blank page to appear when the "Save Page" button is pressed. No changes are made to the database, so apparently they cause some sort of internal error. If I remove the symbols (or use the &amp;copy; or &amp;deg; constructs), everything is ok. Why do these not work? I seem to have no problem with the symbols here on mediawiki.org, but they cause an exception on my website. -Rolypolyman 21:10, 5 April 2007 (UTC)


 * I guess it's a multibyte-character handling problem. check that you have php's mb-strings support installed. It could also be a problem with the database charset, but that seems less likely. -- Duesentrieb ⇌ 22:50, 5 April 2007 (UTC)


 * Check the PHP error log to find out what's happening, although Duesentrieb's first guesses aren't bad. robchurch | talk 01:32, 6 April 2007 (UTC)

rebuildrecentchanges.php doesn't rebuild size diffs
The rebuildrecentchanges.php maintenance script is really quite handy; when events you manually delete from the logging and archive tables still appear in the Recent Changes, you can simply run this script and it just removes those entries. Unfortunately, since it overwrites everything already in the Recent Changes table, it also removes the old_len and new_len values, which are very handy (because size comparisons show up in the change list). What would be wonderful is someone who knows something about how this script works updating it to also write in the old_len and new_len values in its rebuilt recentchanges table. –The preceding comment was added by Tuvok 01:43 6 April 2007


 * Please report bugs to Bugzilla -- Duesentrieb ⇌ 09:38, 6 April 2007 (UTC)


 * I'm not exactly sure it's a "bug", but I have. And gah! I forgot to sign above! — Tuvok[Talk/Contribs] 22:06, 9 April 2007 (UTC)

This is bug 9542. robchurch | talk 21:42, 13 April 2007 (UTC)

image uploading notworking
when i upload images i just get this on my wiki

Warning: fopen(/tmp/phpaaeePt) [function.fopen]: failed to open stream: No such file or directory in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/MacBinary.php on line 47

Warning: fseek: supplied argument is not a valid stream resource in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/MacBinary.php on line 102

Warning: fread: supplied argument is not a valid stream resource in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/MacBinary.php on line 103

Warning: fclose: supplied argument is not a valid stream resource in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/MacBinary.php on line 85

Warning: fopen(/tmp/phpaaeePt) [function.fopen]: failed to open stream: No such file or directory in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/DjVuImage.php on line 102

Warning: fopen(/tmp/phpaaeePt) [function.fopen]: failed to open stream: No such file or directory in /www/110mb.com/c/o/m/p/u/t/e/r/computerwiki/htdocs/wiki/includes/MimeMagic.php on line 358

and Upload warning The file is corrupt or has an incorrect extension. Please check the file and upload again. Retrieved from

have a look your selfs

http://computerwiki.110mb.com/

email me if you can help owie@hotmail.co.uk


 * Well, does the /tmp directory exist= is it writable and readable? Does data actually get written there? All we can see from the error message is "No such file or directory". -- Duesentrieb ⇌ 09:40, 6 April 2007 (UTC)

Clearing cache to see edits
I'm having this problem where I make a change (say to the mediawiki:sidebar) and then it updates, but as soon as i click on another link it shows the old sidebar. Until I clear my cache and reload. Why doesn't it figure out that i've changed it automatically? :-S Bouncingmolar 13:59, 6 April 2007 (UTC)


 * Because MediaWiki automatically caches things to ensure quick load times. putting ?action=purge behind your URL works as well. --Johan 10:22, 7 April 2007 (UTC)


 * CheersBouncingmolar 00:51, 8 April 2007 (UTC)

In general, caches are purged when a page is edited. The sidebar, however, is cached rather more aggressively and may not initially respond to edits. In this case, performing a manual purge on any page displaying the old sidebar should update the cache. robchurch | talk 21:40, 13 April 2007 (UTC)

CURENTUSER template ?
Hello. I there such a template wich replace by the current user name? I tryed :, , ... but and searched in help files but i didn't find a suitable one. It is for use in an input box such as : It is for a wikia project. Thanks by advance if you can help.--Ttibaut 22:47, 6 April 2007 (UTC)


 * how about ? That'll expand to the current user's signature. -- Duesentrieb ⇌ 00:16, 7 April 2007 (UTC)
 * Thanks but it makes this : . Impossible to use it in templates. I'm looking for something wich does only this :  .--Ttibaut 00:28, 7 April 2007 (UTC)
 * Its ok,  works. Thanks.--Ttibaut 01:02, 7 April 2007 (UTC)

type of date
I want to use jalali calendar.

Two/multiple synced columns layout?
There is a whole set of situations where I'd like to have two or more columns side by side, but not with free-flowing text, but where paragraph by paragraph is kept at the same level, regardless of the different text length. i.e. the paragraph starts must line up.

Examples: side-by-side translation of original language and english language text, or side by side of source and commentary, or side by side of text and expanded foot-note like information.

How is the best way of achieving something like this? I mean, tables, one row per paragraph and one column per category would work, but it's somewhat clumsy, and selecting text is also compromised doing that. So I wonder if there's a better way of dealing with this issue.
 * How about putting the two colums you want next to each other in one table and then creating a whole new table for the next columns? --Johan 19:37, 7 April 2007 (UTC)

Johan, that's sort of what I figured I knew how to do, but it's somewhat clumsy, particularly on longer texts. What I'd love to see is something like a way to mark up text. Say I have a speech by someone, and then I want to have marginals that comment on specific sections. Then I'd love to have a tag with which to mark up the comment, which I'd add in-line with the text, sort of like:

"....this is the text of the speeeeeech <someTag>this is a comment that notices that speeeeech was not only written like that in the manuscript, but also pronounced in an according fashion when the speech was presented</someTag> and here the speech continues...."

Then, the result would be a column with the full text of the speech, whereby the text would also selectable as a single flow, but next to it, there would be a column with the comments, but such that the comments would appear next to the section of the speech to which they belong.

As I said, it can be emulated by creating all the tables, but that defeats to a degree the point of a markup language, since it breaks up the logical flow of the text and is in essence no longer structural markup, but display description.--Rcfa 05:56, 8 May 2007 (UTC)

Media wiki
We are currently hosting with a server that requires all references in the php files to be ---.php5 and for all files to be called ---.php5, we are hving problems sorting this out, so are woondering if you have ever made a version like this (for other users) and would be grtefull if you could help us with this.


 * See User:Robchurch/Getting PHP 5 on a cheap host for advice. robchurch | talk 21:38, 13 April 2007 (UTC)

Extension:Wikiwyg installation
I don't know if this is the right place to ask, but I can't figure out how to install Extension:Wikiwyg I can't seem to follow the instructions.Bouncingmolar 00:54, 8 April 2007 (UTC)

Installation progress so far
I downloaded the stuff from http://svn.wikiwyg.net/code/trunk/ uploaded it to my host. I copied the entire wikiwyg directory to the public_html/wiki/extensions/ folder. Then I edited the /public_html/wiki/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php file so that it looked like this: if (! isset($wgWikiwygPath)) { $wgWikiwygPath = "$wgServer/wiki/extensions/wikiwyg"; }   if (! isset($wgWikiwygJsPath)) { $wgWikiwygJsPath = "$wgWikiwygPath/share/MediaWiki"; }   if (! isset($wgWikiwygCssPath)) { $wgWikiwygCssPath = "$wgWikiwygPath/share/MediaWiki/css"; }   if (! isset($wgWikiwygImagePath)) { $wgWikiwygImagePath = "$wgWikiwygPath/share/MediaWiki/images"; }   $wgOut->addScript("<style type=\"text/css\" I then edited the Localsettings.php file require_once("$IP/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php"); I had previously tried adding the EZparser file as well, but it caused errors on line 89... ? do I need it?  Without the EZparser installed, an option appears on the toolbox Wikiwyg Disabled I changed it to Wikiwyg Enabled but it didn't make any difference. Bouncingmolar 12:36, 9 April 2007 (UTC)
 * 1) Wikiwyg extension:

Can't seem to change top left logo, can't change footer backg nor add image

Logo does not appers in client browser
Hi,

I have configured LocalSettings.php to shwo logo on my intranet wiki. When check from the sevre meching th logo shows, but when open the page from client machine the logo does not shows, it just shows blank space. I have tried after installing a new browser but the same error.


 * Maybe you have linked it to somewhere on your hard drive (eg c:/directory/logo.gif) you need to have a link relative to your wikipage instead. Or else your intranet computers will look for the logo on each of their C: drives and its not on there its on the servers c:/ Bouncingmolar 13:16, 11 April 2007 (UTC)

thanks for the info & the solution worked, but there is still a smll problem, the logo is not showing on all the pages. it shows on the main page & only on the page when i open to edit any topic.

error code 126 when converting SVG images using inkscape
Hello,

Below you will find the debug log for an issue i am having. When i try to generate an SVG image i keep getting the same error message :

thumbnail failed on xxhost.be: error 126 "" from "/usr/bin/inkscape -z -w 744 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23/web/im ages/thumb/6/6e/Symbol_OK2.svg/744px-Symbol_OK2.svg.png'"

i have the same command running for another user and there it works nicely. When i try to execute the command under apache all works nicely and the image is rendered normally, when the command is called from within the wiki it doesn't work. Can somebody give me a clue from what is happening ?

Many thanks,

Herwig

the log file :

Image::canRender: SVG is ready! Image::canRender: SVG is ready! Image::canRender: SVG is ready! Image::canRender: SVG is ready! Image::canRender: SVG is ready! reallyRenderThumb SVG: /usr/bin/inkscape -z -w 744 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23/web/images/thumb/6/6e/Symbol_OK2.svg/744px-S ymbol_OK2.svg.png' wfShellExec: '/var/www/web23/web/bin/ulimit-tvf.sh' 30 102400 102400 /usr/bin/inkscape -z -w 744 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web2 3/web/images/thumb/6/6e/Symbol_OK2.svg/744px-Symbol_OK2.svg.png' thumbnail failed on host.be: error 126 "" from "/usr/bin/inkscape -z -w 744 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23/web/im ages/thumb/6/6e/Symbol_OK2.svg/744px-Symbol_OK2.svg.png'" makeImageLinkObj: '18'x'18', "Evenement" Image::canRender: SVG is ready! Image::canRender: SVG is ready! Image::canRender: SVG is ready! reallyRenderThumb SVG: /usr/bin/inkscape -z -w 18 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23/web/images/thumb/6/6e/Symbol_OK2.svg/18px-Sym bol_OK2.svg.png' wfShellExec: '/var/www/web23/web/bin/ulimit-tvf.sh' 30 102400 102400 /usr/bin/inkscape -z -w 18 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23 /web/images/thumb/6/6e/Symbol_OK2.svg/18px-Symbol_OK2.svg.png' thumbnail failed on host.be: error 126 "" from "/usr/bin/inkscape -z -w 18 -f '/var/www/web23/web/images/6/6e/Symbol_OK2.svg' -e '/var/www/web23/web/ima ges/thumb/6/6e/Symbol_OK2.svg/18px-Symbol_OK2.svg.png'" makeImageLinkObj: client-size set to '18 x 18' makeImageLinkObj2: '18'x'18'

Interwiki Transclusion
When I attempt to transclude a template from Wikipedia onto my site, the parameter "action=render" returns not only the template, but also all of the text between the &lt;noinlude> tags. I only want the template itself to be transcluded -- why would anybody want the template usage information to be included as well? Is there any way to transclude a template without including the &lt;noinlude> data? (See: Manual talk:$wgEnableScaryTranscluding for more info on this problem) -- Big Brother 1984 16:05, 11 April 2007 (UTC) <BR><BR><BR> UPDATE - In Parser.php there is a boolean named $forceRawInterwiki. It appears that by setting this to TRUE, it will request a page from an external wiki in "raw" format (in wiki-text format, not HTML). But when I try setting this to TRUE, I get the following error message:
 * [Template fetch failed for http://en.wikipedia.org/wiki/Template:user_en?action=raw; sorry]

When I try navigating to that page manually I get a HTTP Error 403 - Forbidden message in my browser. If I could get the remote site to send me the raw wiki data, my site should then be able to parse it and remove the &lt;noinlude> data. Does anybody know why this isn't working like it should? -- Big Brother 1984 10:00, 12 April 2007 (UTC)

Changing Search Word Size Parameter
Is there a way to have search or go, look for word that are 3 chars or more. Right now i believe there is a limit set at 5 chars. I am not talking about titles but actual body of the article. We have a lot of articles, and we use a lot of acronyms that are 3 chars wide. And we cannot use search to look for them. Any help would be nice.


 * It's a MySQL setting. You need to change the "ft_min_word_len" parameter in your MySQL config. (See: this article) -- Big Brother 1984 18:16, 11 April 2007 (UTC)

How can I find out witch Skin an User has set?
Hello I'm writing a Software that verify users against MediaWiki. Now I need to know in a other php-Page witch skin a user has set. Can I read is in the database?

Cheeers --160.44.234.52 11:18, 12 April 2007 (UTC)


 * Yes. It's in the user table in a blob field named user_options. Within the blob, the parameter is "skin=" -- Big Brother 1984 15:26, 12 April 2007 (UTC)

"Login successful", then "Not Logged in" - problems after web server move
I had a problem with my webserver and had to move it to a new virtual machine. The mediwiki DB wasn't modified in the process, and none of the files for mediwiki were changed. Now if I login in with a user, it'll say it's successful, but then it shows the user as not logged in as soon as you go off the "Login Successful" page.

Does anyone have an idea what the problem might be? --160.36.191.167 20:31, 12 April 2007 (UTC)


 * Could it be a cookie problem? I had a similar problem once (for a different reason) and I got around the problem by logging in from a computer that I had never logged in from before. Try deleting the cookie or try logging in from a new machine. -- Big Brother 1984 21:54, 12 April 2007 (UTC)

Sounds like the classic session loss problem; the server move might explain this. Check the value of session.save_path</tt> in PHP.ini</tt> points to a valid path which is read/write/execute for the user the web server is running under, e.g. Apache. robchurch | talk 21:36, 13 April 2007 (UTC)

--160.36.191.167 17:01, 16 April 2007 (UTC)
 * Bingo, When installed php (windows installer/IIS), it added the line: session.save_path="C:\DOCUME~1\myusername\LOCALS~1\Temp\php\session" to php.ini. It worked fine after commenting that out and restarting IIS.  Thanks guys!

wiki noob
Sorry I'm a wiki noob but I've spent ages trying to find the answer to these questions all round your site and links.

I have a web-based wiki currently with wetpaint. This is more of a hobby thing than a business thing so its got to be free or very cheap. Wetpaint doesn't allow me to backup/export my wiki. I want to create a database of resources that me and my friends can use to pool what we have. I'd like users to be able to export the wiki from time to time to keep it safe but also to allow access when the internet may be unavailable. I don't have a server (and I'm not likely to get one). Does this mean I can't use mediawiki or could i use the mediawiki software and get someone else to host it? (any suggestions as to where?) Would I be able to export my wiki to my local hardrive? Thank you!


 * To run the wiki software, you don't necessarily need a "server", but there is some server software that your PC needs to have loaded:
 * Web server software (i.e. - IIS, Apache)
 * Script software - PHP
 * Database software - MySQL
 * Once you get it set up, you can import export the database using some MySQL functions. If you want other users to be able to perform an export, you'd have to give them access to the database.
 * But I must ask... are you sure that you need a wiki? If you simply want to share a few articles between a couple people, I would suggest using a shared network drive with a few editable text files. It would be far less work. ^>^ -- Big Brother 1984 14:09, 13 April 2007 (UTC)

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; $wgShowIPinHeader = false; # For non-logged in users I am using this but I am not able to change after looging in. And I am not able to see my username after logging in, only its showing ip address

Could I create a wiki using mediawiki and get it hosted on someone else's server?
Sorry I'm a wiki noob but I've spent ages trying to find the answer to these questions all round your site and links.

I have a web-based wiki currently with wetpaint. This is more of a hobby thing than a business thing so its got to be free or very cheap. Wetpaint doesn't allow me to backup/export my wiki. I want to create a database of resources that me and my friends can use to pool what we have. I'd like users to be able to export the wiki from time to time to keep it safe but also to allow access when the internet may be unavailable. I don't have a server (and I'm not likely to get one). Does this mean I can't use mediawiki or could i use the mediawiki software and get someone else to host it? (any suggestions as to where?) Would I be able to export my wiki to my local hardrive? Thank you!
 * See Comparison of wiki farms for various hosting services, free and paid. Some use MediaWiki software.--24.20.69.240 07:08, 13 April 2007 (UTC)

Wikinews
I use http://en.wikinews.org/wiki/Template:Request to request articles (http://en.wikinews.org/wiki/Wikinews:Requested_articles). Because in the template is used  , does the date changes every day ?. I don´t want it change, because is a record of the news day. Regards. --193.144.127.247 14:00, 13 April 2007 (UTC)


 * Magic words such as  </tt> will be updated whenever the page is re-parsed, which means that the page content will change if the data changes. You can save the value when editing the page through substitution, e.g.   </tt>; the magic word is replaced with the value calculated at the time of saving, and this is saved into the content and does not change when the page is re-parsed. robchurch | talk 20:00, 13 April 2007 (UTC)

Dealing With SPAM
My wiki is conatntly being hit with spam links for stuff like viagra, ect...how can I prevent the links from showing up?


 * see Anti-spam_Features -- Duesentrieb ⇌ 12:21, 14 April 2007 (UTC)

Ampersand Problem
I am having a problem where all my &'s are getting converted to &amp;amp;'s This is not a problem usually but when trying to use some special links like in Extension:GoogleCalendar, that require &'s that actually look like & in the outputted html.

Eg. in the googlecalendar extension php: (this is not the actual code) will be output as <iframe src=""http://BLAH.com/embed?src=BLAH&amp;amp;ACTION2"> which causes the whole code to break.

Is there a way of making the &amp; be output as an & instead of an &amp;amp; Bouncingmolar 16:00, 14 April 2007 (UTC)


 * In fact, that's correct - ampersands in HTML content must be escaped as entities regardless of context, including inside links, etc. robchurch | talk 17:35, 19 April 2007 (UTC)


 * Any ideas how to fix it? - Bouncingmolar 10:23, 20 April 2007 (UTC)

I am still having this problem. I thought i read somewhere you can patch sql so that it doesn't change &'s into &amp;amp;'s i can't find that article anymore though. Bouncingmolar 07:46, 4 May 2007 (UTC)

patch apache

 * taken from Apache config patches If you're using URL rewriting and want to be able to use the ampersand (&) in page titles, you'll need to patch Apache to properly escape the character when generating the query string. A patch for Apache 1.3.26 is available as maintenance/apache-ampersand.diff in the MediaWiki source. (No patch is yet available for Apache 2.0.x.)


 * Change your mod_rewrite config like so:

RewriteEngine On   RewriteMap ampescape int:ampescape RewriteRule ^/wiki/(.*)$ /w/wiki.phtml?title=${ampescape:$1} [L] RewriteRule ^/wiki$ /w/wiki.phtml
 * This way, /wiki/AT&T correctly becomes /w/wiki.phtml?title=AT%26T instead of /w/wiki.phtml?title=AT&T, which breaks up into "title=AT" and a useless "T".

Maybe i meant patch apache not sql...? Bouncingmolar 13:13, 13 May 2007 (UTC)

Annoying white box around photos
http://www.startrek-horizons.com/lcars/index.php?title=Falkland

Don't know why, can't find the code for that white box that appears around my photo. Where's the code to change the hex value? I've looked everywhere!

Thanks.


 * In main.css ... I think you want the "div.thumb" section. -- Big Brother 1984 07:12, 15 April 2007 (UTC)

Counter
Hi,

had somebody install a Counter like STATCOUNTER? Where must i include the Code? --84.59.28.29 10:28, 15 April 2007 (UTC)


 * Have noticed a few people asking about this, haven't seen a way, but that doesn't mean much for me ;-) Anyway, MediaWiki does have a hit counter for each page in the wiki, which keeps track of the number of visits they get, Page_table. --Dr DBW 01:05, 10 May 2007 (UTC)


 * Actually, see Project:Support_desk --Dr DBW 01:16, 10 May 2007 (UTC)

Special:Import Batch / Automation
Hi! I just have a small question, does anyone know how can I automate Special:Import to import 1000+ xml files at ones?

How to upload the Template:Infobox Celebrity of Wikipedia into Mediawiki?
How to upload the Template:Infobox Celebrity of Wikipedia into Mediawiki? --Gabeyg 19:52, 15 April 2007 (UTC)


 * Export the template page from the wiki you get it from, then import it into your own wiki. --Dr DBW 05:16, 17 April 2007 (UTC)

Question
how do I use Transwiki on my own wiki?? wiktionary does it at wikt:Special:Log/import.

i want to import from wikipedia, how do i do this via transwiki?? --84.45.219.185 11:57, 16 April 2007 (UTC)


 * Transwiki is a procedure that they set up to allow content to be moved from one wiki to another. The entire thing is described in detail on this page here - Help:Transwiki --Dr DBW 00:16, 18 April 2007 (UTC)


 * I tried that, it didn't work... i set $wgImportsources, it didn't work... why?? --84.45.219.185 14:29, 18 April 2007 (UTC)


 * You tried what, what did it do and what did it say? You have to provide information for people to be able to provide advice.  I think you are confusing what Transwiki is actually for, it is a procedure set up to keep track information as it is moved from one wiki to another (as I understand it and as noted in the link I provided for you).  If you want to import information into your own wiki from wikipedia, then simply use export to get it out of wikipedia, then import to get it into yours.  Nothing to do with Transwiki. --Dr DBW 01:35, 10 May 2007 (UTC)

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

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

Regards

Andy

[edit] option jump to the left
During our last upgrade, the [edit] hyperlink on sections within articles moved from the far top right of the articles to the left of the heading. Has this happened to anyone else? Thanks for the assistance. --Brookeb 21:06, 16 April 2007 (UTC)


 * Add the following to main.css

.editsection { font-size:60%; float:right; }


 * --216.39.184.142 01:01, 9 May 2007 (UTC)

Template Alignment
I have spent hours searching this site, and copy/paste examples from wikipedia, but can't find an answer to this question:

I create a template and use it.. it works fine, but it always appears on the left hand side of the page.. how to I make it shift over to the right?


 * If it is a table, then you do it just like you do with any table within a wiki, for example (taken from a template on my wiki):

{| border="1" bgcolor=#6688aa width="210" cellpadding="5" align="right" --Dr DBW 05:15, 17 April 2007 (UTC)

Worked perfectly... thanks Dr DBW...

Sessionmanagement in MediaWiki
Hello I'm using the hook UserLoginComplete to set the php-Session for a other application. Sometimes this works, but not always. I this case I get the error that mediawiki was not able to set a cockie. Where can is finde more information about Sessionmanagement in MediaWiki? What is wrong? How can I use the Mediawiki-Session in an other program?

Cheers

Fatal error in mediawiki
We are having a problem with mediawiki that over time causes it to lock up and need to be have Apache restarted. Usually when editing, the below error shows up. Also, when you are editing and hit the save button, it returns a blank page. You have to refesh the page and this only works some of the time. We are running Apache 2.0.47, PHP 5.2.1, MySQL 5.0.27, MediaWiki 1.9.2, and Windows 2003 server. Please see errors below. Thank you.

[Mon Apr 16 06:22:13 2007] [error] [client 172.20.26.67] PHP Warning: require(D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes/SiteStats.php) [<a href='function.require'>function.require</a>]: failed to open stream: Invalid argument in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/Main_Page

[Mon Apr 16 06:22:13 2007] [error] [client 172.20.26.67] PHP Fatal error: require [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes/SiteStats.php' (include_path='D:\\IHS\\6.0\\htdocs\\en_US\\wiki;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/languages') in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/Main_Page

[Mon Apr 16 06:22:31 2007] [error] [client 172.20.26.67] PHP Warning: require(D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes/SiteStats.php) [<a href='function.require'>function.require</a>]: failed to open stream: Invalid argument in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/Main_Page

[Mon Apr 16 06:22:31 2007] [error] [client 172.20.26.67] PHP Fatal error: require [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes/SiteStats.php' (include_path='D:\\IHS\\6.0\\htdocs\\en_US\\wiki;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/languages') in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/Main_Page

I am setting the wiki, requiring users to register before edit. Now when testing the email confirmation, i ask for my password to be sent, but receive "Could not send confirmation mail. Check address for invalid characters."

however the mail address i am asking the password to be sent to, is perfect. any ideas what's the problem?

DB connection error
trying to install Mediawiki in OS X Server gave up on built in MySQL support, installed mysql-standard-4.1.22-apple-darwin8.5.1-i686 instead have PHP 5.2.1 entropy release running fine

Can't get past this error message:

MediaWiki 1.9.3 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.1 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 128M. If this is too low, installation may fail! Have zlib support; enabling output compression. Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /Users/admin/Sites/waves Script URI path: /~admin/waves Environment checked. You can install MediaWiki. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to 4.1.22-standard-log Database mwikidb exists There are already MediaWiki tables in this database. Checking if updates are needed... Granting user permissions... ...hitcounter table already exists. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...logging table already exists. ...user_newtalk table already exists. ...transcache table already exists. ...trackbacks table already exists. ...externallinks table already exists. ...job table already exists. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...querycachetwo table already exists. ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...have rc_type field in recentchanges table. ...have rc_ip field in recentchanges table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...have rc_old_len field in recentchanges table. ...have user_real_name field in user table. ...have user_token field in user table. ...have user_email_token field in user table. ...have user_registration field in user table. ...have log_params field in logging table. ...have ar_rev_id field in archive table. ...have ar_text_id field in archive table. ...have page_len field in page table. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have img_media_type field in image table. ...have ss_total_pages field in site_stats table. ...have iw_trans field in interwiki table. ...have ipb_range_start field in ipblocks table. ...have ss_images field in site_stats table. ...have ipb_anon_only field in ipblocks table. ...have ipb_enable_autoblock field in ipblocks table. ...have user_newpass_time field in user table. ...have user_editcount field in user table. ...already have interwiki table ...indexes seem up to 20031107 standards Already have pagelinks; skipping old links table updates. ...image primary key already set. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. Logging table has correct title encoding. ...page table already exists. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...already have pagelinks table. ...templatelinks table already exists No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. Setting page_random to a random value on rows where it equals 0...changed 0 rows Checking for additional recent changes indices... ...index on ( rc_namespace, rc_user_text ) seems to be ok ...index on ( rc_user_text, rc_timestamp ) seems to be ok ...redirect table already exists. 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 Deleting old default messages...DB connection error: Unknown error (132.181.249.158)

Any help possible? thanks, kei

png Images and icons not displaying on installation
I trying to install MediaWiki version 1.9.3 on a machine running Fedora, php 5.0.4, mySql 4.1.20. The installation goes fine but no .png images display (I just get the red cross in IE). So the mediawiki image and the icons on the editor are blank.

I have checked the path to the images (right click - properties) and they are in the correct place skins/common/images.

If I use the direct url to the image it also does not display, gif and jpegs work fine.

Please help, I have searched without success for a solution. I have even tried mediawiki version 1.8.2 and I get the same results. I have previously installed this same version on WAMP with success.

Some bot has deleted the content of more than 800 pages on my wiki. My backup is one week old. I can rollback by hand but it is gonna take me days .....Is it possible to have a SQL command or script that rollback all the pages that have been modified BY a certain user or DURING a range of time ?

Thanks,

LK

Rollback script or command
Some bot has deleted the content of more than 800 pages on my wiki. My backup is one week old. I can rollback by hand but it is gonna take me days .....Is it possible to have a SQL command or script that rollback all the pag--Soean 16:15, 19 April 2007 (UTC)es that have been modified BY a certain user or DURING a range of time ?

Thanks,

LK

How can you make my URL shorter?
My mediawiki main page address is http://gabeyg.myi.cc/mediawiki-1.9.3/index.php/Main_Page. But, I wanted to change to http://gabeyg.myi.cc/mediawiki-1.9.3/Main_Page or http://gabeyg.myi.cc/expertepedia/Main_Page. How can we do this task?


 * For changing mediawiki-1.9.3 to expertepedia, that is simple, you just move / rename the directory from one to the other/ As for the bith wih the .php code, there are details in the documentation on how to do this (don't recall where it is), search should find it. --Dr DBW 23:38, 19 April 2007 (UTC)

mediawiki: Title tags
Hi,

I'm brand new to using Wiki. I've created a wiki and would like to change the title tags and the meta tags. Can anybody help me? I've done searches in all the material and have been unsuccessfull in finding that information.

Thanks,

David

Redirect loop detected!
My provider updated the Server. Now this error comes:

''Internal error

Redirect loop detected!

This means the wiki got confused about what page was requested; this sometimes happens when moving a wiki to a new server or changing the server configuration.

Your web server was detected as possibly not supporting URL path components (PATH_INFO) correctly; check your LocalSettings.php for a customized $wgArticlePath setting and/or toggle $wgUsePathInfo to true.''

http://web355.xps8.microserver.de/so...php/Hauptseite

What should i do? --Soean 16:15, 19 April 2007 (UTC)

Do you fix this problem? I get the same error after installing mediawiki for the first time. I don't see a $wgArticlePath setting in the LocalSettings.php fille.

New PHP fatal error
When editing a page, saving, the going back to the previous page we get the below error and I have to restart Apache to get everything working again. We are running Apache 2.2.4, MediaWiki 1.9.2, PHP 5.2.1, Windows 2003 Server. Thanks.

[Thu Apr 19 12:55:55 2007] [error] [client 172.28.132.70] PHP Fatal error: Cannot redeclare wfprofilein (previously declared in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\ProfilerStub.php:7) in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\ProfilerStub.php on line 12, referer: http://wasasb2.fbfs.com/wiki/index.php/Workflow_Load_Balancing_with_F5_on_wasaupq9_and_wasaupq10

[Thu Apr 19 12:57:22 2007] [error] [client 172.28.132.221] PHP Fatal error: Cannot redeclare wfprofilein (previously declared in I:0) in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\ProfilerStub.php on line 12, referer: http://wasasb2.fbfs.com/wiki/index.php/WebSphere_Environments#WebSphere_v6.0_Test_Environment

I have trouble with my template.
I tried to copy the template of wikipedia, but it is mal-functioning. Template that I tried to copy was Template:Pp_template, Template:Infobox Celebrity, Template:Fundraising2 of Wikimedia. Can you tell me the complete code? And go to http://gabeyg.myi.cc/ for what is happening. Thanks --63.135.11.194 22:32, 19 April 2007 (UTC)


 * You need ParserFunctions.--Patrick 23:34, 19 April 2007 (UTC)


 * The complete code will be avaiable on the wikipedia page for the tempate i.e. for Template:Infobox Celebrity you get the code on, simply copy that to your own wiki. Now the reason it is probably not working (and this is a guess as you have not provided any details) is there are if statements within the celebrity template, so you have to have the ParserFunctions extension installed.  And you really should provide more information about what the actual problem is next time, makes it much easier for people to help you.  --Dr DBW 23:35, 19 April 2007 (UTC)

Thanks! Problems solved! --63.135.11.194 04:14, 20 April 2007 (UTC)

How to make private menus?
Is there a way of making menu options that only appear to certain users. I notice there are extra tabs as a sysop. Bouncingmolar 10:27, 20 April 2007 (UTC)

Enabling user styles for all users and readers
Is there a way you can turn a simple css user style into a skin which will be used for all pages by all users and readers? --41.201.214.3 18:00, 20 April 2007 (UTC)

How can we allow HTML?
I tried many extensions and codes to enable wholly html, it didn't work.


 * Manual:Configuration_settings --Dr DBW 00:26, 23 April 2007 (UTC)

How can you ban people from creating account?`
How can we?
 * You can disable account creation by unregistered users, but you would need to enable that right for another group (e.g. sysops) so someone can create accounts if they are necessary. Preventing access goes into detail about that. Tito<font color="#008000">xd (?!?) 05:27, 21 April 2007 (UTC)

I have problem with my new template.
My previous template problem was solved, but the http://gabeyg.myi.cc/mediawiki-1.9.3/index.php/Template:Infobox_celebrity

And http://gabeyg.myi.cc/mediawiki-1.9.3/index.php/Template:DonationForm/onetime

How can I solve this problem? Also, if I have Paypal account, how can you make Wikimediafoundation.org's donation page in my wiki page?


 * So what exactly is the problem? You need to provide details. --Dr DBW 00:25, 23 April 2007 (UTC)

The problem is that if you go to the link, the template is not accepting tag. How can we replace it in the wiki tag?

How can we change our mediawiki design?
How can we change design or skin or theme?


 * Skins --Dr DBW 00:19, 23 April 2007 (UTC)

Default text?
Hello,

When users create a new page in a specific namespace, is there any way to set default text which appears in the editor?

Thanks


 * Yes, have a look at Extension:Preloader, which does just that. robchurch | talk 19:30, 21 April 2007 (UTC)

customizing "editsection"
i want bigger icons beside the h1, small text links beside all others. which - i hope minor - template edit would do this?

-- voisard -atnospam- gmail.com april 21 2007
 * Modify MediaWiki:Common.css, or the skin files. Tito<font color="#008000">xd (?!?) 04:42, 26 April 2007 (UTC)

PLEASE HELP: Removing "External links" icon ande changing main page destination
I just moved "Main Page" to "Home" in my own wiki and the only problem I still have is that when somebody clicks on the logo, they get redirected to "Home", is there a way I can make the logo automaticly redirect to "Home"? And is there a way to prevent the "external links" from showing up? I deleted it but I still get that little "image not found" icon. Thanks!


 * Re link for the logo/image, no real idea, but suspect it is coded within the skin, so have a look at the files associated with the one you are using. Not really clear, but assume you want the url to be directly to "Home" and not get redirected via "Main Page", then to "Home". --Dr DBW 00:23, 23 April 2007 (UTC)
 * Re "external links", if you mean the little image that appears when you use an external link, such as RTAW Reefpedia, then that is done / handled via the skin you are using. You need to edit the css file for the skin you are using, and remove the part that tells it to put the image there. --Dr DBW 00:23, 23 April 2007 (UTC)

My reference tag is not working.
Hello. My reference tag is not working. When I use, it is not showing reference, but just the text, "Ref". The website is http://gabeyg.myi.cc/mediawiki-1.9.3/index.php/Test:Minseong
 * You need to install the Cite extension before it can work. Tito<font color="#008000">xd (?!?) 02:43, 22 April 2007 (UTC)

How do I enable cascading protection?
I have my own wiki, and I would like to enable cascading protection, as well as auto-expiring protections (I saw this somewhere on Meta, I think). Is/Are there (a) variable(s) I can set in LocalSettings.php to enable this, or what do I have to do? Repeated Google and MediaWiki.org/Meta searches turned up nothing. Thanks for helping! — Tuvok[Talk/Contribs] 20:37, 22 April 2007 (UTC)
 * Not really; it is more a matter of having to update to the SVN version of MediaWiki, or if you want to wait a couple of weeks, for the MediaWiki 1.10 stable release to be made available. Cascading protection was a feature first introduced in MediaWiki 1.10alpha, with the introduction of the page restrictions table, so you will need to run some upgrade scripts to be able to use it. See Manual:Upgrading for more details. Tito<font color="#008000">xd (?!?) 04:41, 26 April 2007 (UTC)
 * Ah, so the Wikimedia Foundation is using unreleased features? That explains it. Thanks for the answer. When's the update due to be released? — Tuvok[Talk/Contribs] 21:01, 28 April 2007 (UTC)
 * Yes; the Wikimedia Foundation uses alpha software. (See Special:Version.) As for when the next version will be released - probably next week. MediaWiki 1.10.0's release will be announced on mediawiki-l, and on the MediaWiki main page, under "News". Tito<font color="#008000">xd (?!?) 06:45, 6 May 2007 (UTC)
 * Yes! Thanks! And it's cool that Wikimedia uses 1.11 alpha. What better way to test than with ten million users? ;) I'll look for the announcement. — Tuvok[Talk/Contribs] 23:43, 6 May 2007 (UTC)

selective hit counting for Wikipedia pages
Over the past months a few collegues have been creating the Water supply and sanitation by country. A key motivation of this undertaking has been to increase the many times rudimentary or non-existant knowledge base on the water and sanitation sector in the region of Latin America and the Caribbean.

Nearly all colleagues (clients and other professionals) ask us how many users access our pages. However, since Wikipedia turns off the hit counting by default, as not to slow down their computers, we do now know. As these statistics are unknown to us, we can not underpin the argument that they should also invest their very limited time to add their knowledge to our pages or to create other pages of their own.

Our question is thus: Would it be possible to turn on hit counting selectively for a certain period for our pages? Some of the MediaWiki pages say that hit counters can be added, however, this is not clear if they can also be included on Wikipedia pages.

Any clarifications on this would be very appreciated!
 * Sorry, no, page hit counting is turned off in Wikipedia to manage the load on the servers. See w:Wikipedia:Technical_FAQ.--24.20.69.240 08:37, 24 April 2007 (UTC)

I can't upload any pictures
I'm new to MediaWiki and I very like it. My wiki language is Bulgarian. I installed it before 1 or 2 days in a free host. I now have the default install. My question is: My wiki says, that I can't upload images to it. How can I upload images to my wiki, because a wiki without images is nearly nothing to me. Yordan Darakchiev


 * If you searched on this site for 'upload', you would find the very first result is Manual:Configuring file uploads. pfctdayelise 13:18, 23 April 2007 (UTC)

I use a free host and they're not allowed. Sorry for the disturbing. :( I'll try a different host.

Question about left side.
How can you change the design of the left side of your website and navigation bar? Or can you tell me where to find file that stores left-side bar?
 * See Manual:Navigation bar.--24.20.69.240 08:30, 24 April 2007 (UTC)

Wildcard search
Hello.

Assuming I have the the word MyproductInternal in some wiki pages. I'll find it by searching for the whole word, by searching for myproduct, but not for myprod*. MediaWiki docs say that wildcard search is possible. And myprod is also longer than 5 characters. Why will this wildcard search not work? --Mfrieling 10:15, 24 April 2007 (UTC)

Installing Media Wiki on Windows Vista
Windows Vista interface has changed a great deal from XP. I am trying use the installation walkthrough for "Media Wiki for XP" to install it on Vista. But I am having lot of issues. Has anyone tried to install it on Vista ? If yes, is there a installation guide for installing MediaWiki on Windows Vista Platform ?

How can you change some special page?
How can you change special page like Special:Upload or search?


 * If you want to change the text that is shown, find that text on Special:Allmessages on your wiki and edit it. If you want to change how the pages work, you'll have to hack includes/SpecialUpload.php, etc -- Duesentrieb ⇌ 20:17, 25 April 2007 (UTC)

How can you add one more search panel(engine) in the left side?
??


 * Edit the skin files; the default is Monobook, and the skin template file is skins/monobook.php</tt>. Other skins have similar files. You might want to consult an HTML tutorial if unfamiliar with editing web pages. robchurch | talk 00:49, 29 April 2007 (UTC)

Where
Where do I download free wike media?


 * To download the MediaWiki software, see the Download page of this site.
 * To download a Wikimedia wiki database dump, see http://download.wikimedia.org.
 * robchurch | talk 00:49, 29 April 2007 (UTC)

How can you change the down part?
How can you change the down part of wiki site? (Like Privacy Policy link or...)

How can you get MediaWiki version 10 Alpha?
How?


 * See Download from SVN -- Duesentrieb ⇌ 20:19, 25 April 2007 (UTC)

Remove powered by logo / link
Is it allowed to remove the Powered by Logo / link? If so, please describe how to remove.

Many thanks, Cliff


 * Yes, it is allowed. You can determine what is shown in that place by editing the function getPoweredBy</tt> in Skin.php.
 * On the other hand, it's nice to give due credit. Perhaps it's enough for you to change it from the icon to an unobtrusive text, and make it link to your Special:Version page instead of mediawiki.org? Something like powered by MediaWiki maybe? -- Duesentrieb ⇌ 20:31, 25 April 2007 (UTC)

503 Service Unavailable - why?
I'm sure that I'm doing everyting allright but after installation I can see on my main page error "503 Service Unavailable". What is wrong with it? Could you check it? Here is phpinfo so you can check everything. I hope you'll check it and can answer me.


 * Looks ok to me. -- Duesentrieb ⇌ 20:35, 25 April 2007 (UTC)

Use MediaWiki session in an other programm
Hallo Is it possible to use change the scope of the session used in MediaWiki to use the session var wsUserName in an other program? Where can I do this?

Thanks --160.44.234.52 07:44, 25 April 2007 (UTC)

I found it:

if (isset($_COOKIE[mwikidb_session]))
 * session_id($_COOKIE[mwikidb_session]);

session_start;

Counter
Can I add a extern page hit counter to my MediaWiki? -how? --Sort22 08:50, 25 April 2007 (UTC)


 * Edit the skin template files; the default skin is Monobook, and the template file can be found in skins/monobook.php</tt>. Other skins have similar files. You will need to add the appropriate HTML or scripts to the header or page content. Consult the documentation of the counter service for more details on where to put it. robchurch | talk 00:44, 29 April 2007 (UTC)

Any way to show authorized files (or extension) on the Special:Upload page/form ?
It can be very interesting to provide such information on the upload page in order to inform before starting the upload.

This might be related to $wgTrustedMediaFormats...

I suppose the SpecialUpload.php should be edited in order to provide such information.

Since I'm new to PHP and MediaWiki, do anybody can provide this improvement ?


 * The easiest thing to do is to edit MediaWiki:Uploadtext on your wiki. That way, you can add more information about what media is appropriate for your site (license, content, etc).
 * Including information about allowed formats in the default message sounds like somethign that would be "nice to have".... It could list $wgFileExtensions as "allowed" or "recommended", depending on what $wgStrictFileExtensions is set to. -- Duesentrieb ⇌ 20:40, 25 April 2007 (UTC)

CSS Styles for Headers - Safari v Firefox
Sorry if this is the wrong place to post this - but i have searched all that the docs point to - and still can't see an answer.

headings like

=heading= and ==heading2==

are getting numbered automatically when i view under safari

BUT

under firefox i don't see that

i assume there must be a style control somewhere i need to change - but where - can anyone help ?


 * Numbered headings are a per-user setting (look at your preference page). Perhaps you where logged in in one, and not logged in when using the other browser? -- Duesentrieb ⇌ 20:44, 25 April 2007 (UTC)


 * My eternal thanks - that was exactly it ... and preferences changed - and all fixed. Wonderful

Install Help - Urgent
After stepping through all the land-mines involved with the installation, I can now see the "Please set up the wiki first" page, but this takes me to the following:

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

PHP 5.2.1 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module

Help for this issue is URGENT. Please respond to my wikipedia page. This is the second wiki I've installed, and I anticipated a 30-minute install (like the first installation). More:


 * Windows 2003
 * II6
 * MediaWiki 1.9.3
 * PHP 5.2.1
 * MySql 4.1


 * It's telling you that the PHP you have installed does not have a MySQL driver. You'll have to install it. This is a PHP/MySQL setup issue. The simplest way to resolve this is to use the XAMPP bundle - but that would mean using Apache instead of IIS -- Duesentrieb ⇌ 20:37, 26 April 2007 (UTC)


 * Thank you for your help, however I did get this fixed by copying the PHP directory from my first wiki site onto this machine. That did the trick. I still think there should be a "one-stop-shop" install that's a little easier! 71.248.72.141 20:25, 28 April 2007 (UTC)


 * You're running the quick installer, however, if the server is misconfigured, there's nothing we can do about it. robchurch | talk 00:47, 29 April 2007 (UTC)

Auto-numbered table rows
I want to create a table with automatically numbered rows. Ordered lists <ol> and # will not do it, is there a solution that will? Can I create a variable / template /counter that would handle this? --84.9.191.165 15:58, 26 April 2007 (UTC)
 * I don't think that's possible -- Duesentrieb ⇌ 20:35, 26 April 2007 (UTC)

Email Users
Is there a special page that will email all wiki users?
 * no. -- Duesentrieb ⇌ 12:12, 27 April 2007 (UTC)


 * Not in the core code, but there might be an extension which does this, or you could write a custom special page to do so. robchurch | talk 00:45, 29 April 2007 (UTC)

Shared Templates
Hello! I have three MediaWikis on the same Server. I want to share the Templates from my first MediaWiki with the other instances.

For example:
 * On the First wiki I've created a template calles Template:Test. I can use the Template with typing.
 * On my other wiki's i would like to use the Templates from the first wiki, too. So when I type, MediaWiki should use the Template from the first wiki.

Can someone tell me how to do this? Thanks!


 * Have a look at Manual:$wgEnableScaryTranscluding -- Duesentrieb ⇌ 17:04, 27 April 2007 (UTC)


 * Thanks!

CD or DVD copy?
I have set up a wiki for my company's product documentation website. It has been suggested that some customers may want "static" documentation that doesn't require internet access (I think it is dumb). Does anyone know how Wikipedia made their distributable CD-ROM? Is there an add-on or some extension that can be purchased?


 * The Wikipedia CD-ROM and DVD editions are published by third party organisations which often use a "proprietary" storage format and a custom viewing application. It is possible to generate a static HTML version of a MediaWiki wiki using maintenance/dumpHTML.php</tt>. robchurch | talk 00:47, 29 April 2007 (UTC)

Search Functionality Has been Broken
I used to have the search capability on my wiki. It appears now that it doesn't work. Is there anything that can be done DB wise to fix this issue?


 * You will need to provide more information on what "doesn't work"; error messages, unexpected behaviours, etc. before we can diagnose the issue. robchurch | talk 17:23, 10 May 2007 (UTC)

How can I add more special pages?
--Gabeyg 20:33, 29 April 2007 (UTC)
 * See Writing a new special page.--24.20.69.240 20:53, 29 April 2007 (UTC)

How can you add the skins i n the User preference column?
??--Gabeyg 20:57, 29 April 2007 (UTC)

Also, how can you change the default skin?
--Gabeyg 20:58, 29 April 2007 (UTC)
 * If you mean changing one`s own account skin as a user, see Help:Skins.To change the options for skins on a wiki at a system adminstrator level, see Manual:Skins.--24.20.69.240 22:33, 29 April 2007 (UTC)

How can you add the skins??
???

virus-like editing
Hi everybody Our site has recently been damaged by some unknown user (random IP adresses are shown), that adds up to 15 lines of very stupid URLs at the top of some pages. It started yesterday, and today the pages affected doubled. Is anybody getting the same problem? Does anybody knows how to stop it? thanks Erica


 * Sounds like your average wiki spam. See Anti-spam_Features -- Duesentrieb ⇌ 09:44, 30 April 2007 (UTC)


 * I'lll look at it, thanks. e.--24.192.18.190 14:40, 30 April 2007 (UTC)

How to make the categories with the same name?
Hi, everyone

I am a newbie for mediawiki. I want to make a category tree like this

Cat_A |- Cat_E Cat_B |- Cat_E

The contents in the Cat_Es of Cat_A and Cat_B contains different article. Is it possible to achieve it. I looked through the help document, but found no topic about this.

Thanks hywl51


 * No, it is not possible. Categories are not locations, they don't form a directory structure. Categories are collections of pages (and other categories). Just as with pages, there can be only one with a given name. You can use naming conventions to disambiguate, like wikipedia does - for example, Asia could contain Food (Asia) or better even, Asian food, and Europe would contain Foo (Europe) or European food; Food would contain both, Asian food and European food (note that categories and pages can be contained in more than one category). Using specific, descriptive names should help with your problem.
 * If all else fails, you can use structured names like Foo/Bar/Frob for your categories, indicating the hierarchy this way, and at the same time generating unique names. Note that the "/" in the name does not have a special meaning for mediawiki in this context. -- Duesentrieb ⇌ 09:51, 30 April 2007 (UTC)

Upgrading
I've got MediaWiki 1.3 running for my Wiki, now I need to upgrade it to 1.4, in a week's time. Then I'll upgrade to 1.5, and then 1.5.5, and then 1.6 up to the current version.

How do I upgrade from 1.3 to 1.4 properly, and then 1.4 to 1.5, and then from 1.5.5 to 1.6 - I did try upgrading from 1.5.5 to 1.6 once but it didn't quite work properly.

The reason I need to know this is that I'm doing a website project for uni, and a wiki was part of my project (I set the criteria for it myself!)

As it is I'm running a WAMP server.... if that's of any use.

All advice appreciated... --1qx 19:29, 30 April 2007 (UTC)


 * Upgrade directly to a current version. Follow the directions in the appropriately-named file "UPGRADING". --brion 19:46, 1 May 2007 (UTC)

How do you authorize users or make your wiki or author authorization available to only a few people.


 * You might take a peek at the FAQ. --brion 19:46, 1 May 2007 (UTC)

Skin code error...
I created the skin called, Aurora. It sometimes works fine, but in IE, it crashes. (The fonts get bigger!) Also, what is purpose in Monobook skin of MonoBook.deps.php?


 * A comment in the file explains its purpose. --brion 19:45, 1 May 2007 (UTC)

Upgrade 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 "". MySQL returned error "1146: Table 'wiki1.logging' doesn't exist (localhost)".'''

I got this error when I updated from 1.3 to 1.48 - what caused it?? --1qx 21:16, 30 April 2007 (UTC)


 * Upgrade to a current version, not to a very old one. Old bugs in the updaters should be fixed. --brion 19:44, 1 May 2007 (UTC)

Can't save "big" pages
Hello, I'm not able to edit my wiki.

If I edit a page, I'm able to write 1 or 2 lines and save the page. But if I try to edit more lines (e.g. a paragraph), the result is a white page.

My provider is easygiga.com and unfortunately, their technical support can't help me.

Please have a look at wikifribourg and try it!

Thanks in advance for your help and suggestions!

Stéphane


 * Look at the error logs (apache, php, mysql). You can also enable on-screen error reporting:

$wgShowExceptionDetails = true; $wgShowSQLErrors = true; error_reporting(E_ALL); ini_set("display_errors", 1);


 * remember to disable the error reporting again once you are done. -- Duesentrieb ⇌ 11:56, 1 May 2007 (UTC)

Thank you! I got these error messages:

Warning: UtfNormal::loadData [function.loadData]: open_basedir restriction in effect.

File(/usr/share/pear/UtfNormalData.inc) is not within the allowed path(s):

(/var/www/vhosts/helvete.ch/httpdocs:/tmp) in

/var/www/vhosts/helvete.ch/httpdocs/wikifribourg/includes/normal/UtfNormal.php on line 229

Warning: UtfNormal::loadData(UtfNormalData.inc) [function.loadData]: failed to open stream:

Operation not permitted in /var/www/vhosts/helvete.ch/httpdocs/wikifribourg/includes/normal/UtfNormal.php on line 229

Fatal error: UtfNormal::loadData [function.require]: Failed opening required UtfNormalData.inc'

(include_path='/var/www/vhosts/helvete.ch/httpdocs/wikifribourg:/var/www/vhosts/helvete.ch/httpdocs/wikifribourg/includes:/var/www/vhosts/helvete.ch/httpdocs/wikifribourg/languages:.:/usr/share/pear') in /var/www/vhosts/helvete.ch/httpdocs/wikifribourg/includes/normal/UtfNormal.php on line 229

What does that mean?

Thanks,

Stéphane

Stendon 22:56, 1 May 2007 (UTC)


 * it means that your hosting service is too restrictive about which files PHP may include. Show them the errors and ask them to fix it. -- Duesentrieb ⇌ 00:12, 2 May 2007 (UTC)

Herzlichen Dank Duesentrieb, I'll ask easygiga.com.

Stendon 06:11, 2 May 2007 (UTC)

I asked them, and they answered. They cannot do the fix just for one user. Obviously, it's not possible to have a wikimedia at easygiga.ch. Unfortunately...

Stendon 18:00, 2 May 2007 (UTC)

Cross categories
How can one know (i.e. in Wikipedia userboxes a user that is at the same time in some concrete categories ? I.e. in categories: photography and resident in the U.S. at the same time ?. We would have an engine for this cross searchings.


 * This type of search is pretty heavy and may bog down the server, especially if you want to take subcategories into account. For Wikipedia and other Wikimedia projects, have a look at http://tools.wikimedia.de/~daniel/WikiSense/CatScan.php -- Duesentrieb ⇌ 00:14, 2 May 2007 (UTC)

PHP Version 4.4.6
Is there a media wiki that supports PHP Version 4.4.6??


 * 1.6 does. Latest version is 1.6.10, see Download. --.anaconda 00:35, 3 May 2007 (UTC)

Can't delete article?
I just installed MediaWiki and am playing around. I created a test article which I would now like to remove, but when logged in as WikiSysop and I click the "Delete Page" button for the article, the page just refreshes and does nothing. Are there any logs that I can look into?
 * You can begin with Special:Log/delete. Tito<font color="#008000">xd (?!?) 02:50, 3 May 2007 (UTC)


 * Not sure what that means... If I go to Special Pages --> Log, I get a page with "No matching items in log."
 * It means that it wasn't deleted... which version of MediaWiki are you using? Tito<font color="#008000">xd (?!?) 03:10, 4 May 2007 (UTC)


 * I think the latest version - 1.9.3
 * You can check your version using Special:Version on your wiki. Tito<font color="#008000">xd (?!?) 06:40, 6 May 2007 (UTC)


 * My Versions page says:
 * * MediaWiki: 1.9.3
 * * PHP: 5.2.1 (cgi-fcgi)
 * * MySQL: 5.0.37-community-nt

round corners
how do i activate round corners in my mediawiki ?--77.128.37.174 14:46, 4 May 2007 (UTC)
 * Modify your Monobook.css (or Common.css, but that can have unexpected results in other skins). Tito<font color="#008000">xd (?!?) 06:39, 6 May 2007 (UTC)

Encryption/Decryption Process/Pages
I would like to say thank you to all of the developers, testers and users of the MediaWiki project as I have found this project to be a very good way to start to build a very helpful online community that can share their information, stories and any insight that they may have any on topic that they find would be helpful for the general public. I do have some questions if anyone gets a chance to answer them, namely I am wanting to integrate the login section of my own Wiki with my main site user's information, that is disable the registration basically on the Wiki itself so you register first through my main site and then can edit the Wiki at their free well. To do this I need direction on where the MediaWiki software does the encryption/description of the password information and basically how it does this. I have to be able to modify this to work with my current scheme so that I can directly copy the login information from the one database to the other to allow logins. If you have any suggestions or ideas that can point me in the right direction I would greatly appreciate them. Unfortunately I work more with .NET technologies up to this point so I am just learning PHP/MySQL environment and need all the help that I can get.

Where do I enter the commands to install extensions / patch
I am trying to follow some instructions from Extension:Read_Restrict. I have managed to so far install and use a functional mediawiki 1.9.3 and a few extensions without having to enter any commands, but I can't seem to figure this one out. There are commands like: prompt$ ln -s ../../main_wiki/config/index.php. prompt$ cd .. #Should now be in the family_wiki root First of all is there a way around them just by manually editing files and creating directories. Or do i have to use the commands. If i have to use the commands, would it be in "SSH telnet" (an option listed on my servers control panel) - Bouncingmolar 22:43, 5 May 2007 (UTC)


 * Those are unix commands that need to be executed at the command line. Using ssh is one method of logging into your server to be able to do that. --Dr DBW 08:46, 7 May 2007 (UTC)

Blank Page Titles
I have installed MediaWiki and it seems to be running fine. However, it's not displaying page titles correctly. Even though a page title is defined in the header, the page title appears as "Untitled Page". After viewing the Source Code for my pages it became apparent why. There is a blank page template being loaded before the MediaWiki page template is loaded. For example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Untitled Document

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

THE REST OF THE MEDIAWIKI PAGE

The page can be viewed here: http://www.outdoorbeta.com/beta

I have also tried it with the Monobook skin loaded and the same thing happens.

Could this be a result of the Short URL's feature I have enabled. Where would this blank HTML template be coming from?

Thanks

-Brett
 * I can't even access the page... try the Apache rewrite rules, and see if disabling them does anything. Tito<font color="#008000">xd (?!?) 06:37, 6 May 2007 (UTC)
 * Rewrite rules don't mess with page content. Looks like somethign is trying to mangle the HTML, and breaks it. Some hosts try to inject ads that way. Or it's a broken "web scrubber" on the client computer. I'm pretty confident to top part is not generated by mediawiki (different dtd, different character set - both will also cause problems with display) -- Duesentrieb ⇌ 12:37, 6 May 2007 (UTC)

Added reminder in Ubuntu install of mediawiki to run apt-get update after changing the repository list.

Counter
Hi,

had somebody install a Counter like CHCounter chcounter.org? Where must i include the Code? --84.59.30.105 18:45, 6 May 2007 (UTC)


 * Have noticed a few people asking about this, haven't seen a way, but that doesn't mean much for me ;-) Anyway, MediaWiki does have a hit counter for each page in the wiki, which keeps track of the number of visits they get, Page_table. --Dr DBW 01:05, 10 May 2007 (UTC)


 * Actually, see Project:Support_desk --Dr DBW 01:29, 10 May 2007 (UTC)

Categories and UI in MediaWiki...?
Hello everyone,

One of my upcoming projects is an acronym dictionary where each acronym someone can search for can have one or more unique meanings, and apply to one or more very specific entities. I have a pre-defined list of what those entities are, and generally speaking, the community would not see much need to expand it beyond that list on a routine basis. The acronyms and definitions would expand considerably and frequently.

I thought a Wiki-based model would be best as this is the kind of thing that can grow virally with the user base. Plus, the sheer volume of acronyms to enter would be prohibitive for any one person to manage, and I believe in making this a community-driven project. I have a listing of a few hundred acronyms initially that I'll be putting in myself to get it started.

So I've installed MediaWiki, mostly because it seemed to be the most comprehensive and flexible. I have no experience with wiki software as a platform behind any of my prior projects, so this is new to me.

I'm willing to stick it out with MediaWiki IF it can actually be configured to work with this project. I'm open to switching to something else as well if the wiki model simply isn't designed for this type of thing. The trouble is, I'm not sure what would be best to use. I'm particularly unclear on how I would use MediaWiki to stipulate which organization(s) a particular entry applies to. I'd PREFER to do that at the database level, rather than expecting users to put it into the main content for a particular entry.

Now I know the wiki software supports categories, and that a particular page (acronym and its definitions) could be listed in multiple categories. But what I'm concerned about is the editing interface. The market this project is targeted to is going to have VERY few users willing to learn wikitext, or use codes in any way to edit the content or assign categories. It would be preferable if the "edit" page for an entry could have checkboxes, a list box, or some other UI method for easily selecting one or more categories.

My main requirements are below. Anyone have any thoughts on how -- or IF -- I can use MediaWiki to not only create this kind taxonomy, but allow a more user-friendly UI for selecting the categories a page would fall under?

--Dan

What I need:


 * GNU/free or nearly free license.
 * Complete control over the UI design, branding, etc.
 * Ability to have any number of users who can login to add or edit entries.
 * Ability to have some users with certain administrative rights.
 * Allowed content should include text and images at a minimum.
 * Searchable using internal functionality -- meaning I don't want to rely on a free Google Search thing.
 * Ability to apply a taxonomy to the acronyms and definitions (in other words, having a single entry apply to one or more organizations.)
 * Highly scalable -- can handle thousands of new entries this year.
 * MySQL database support.

Preferred additional features:


 * Preferably PHP-based as it has been YEARS since I last did anything meaningful in Perl, etc. and I'd rather not relearn a language just to write a few plugins.
 * HTML or wikitext allowed in the main content for each entry.
 * RSS feeds
 * Easy cross reference lists
 * AJAX search results display. Not at all necessary, but it'd be nice.
 * WYSIWYG editor for the content

What I don't care one way or the other about:


 * Open source
 * SSL support
 * LDAP integration, enterprise mail system integration, etc.

What I don't want:

entry
 * Blog software, or integrated comment functionality for each individual


 * Well, MediaWiki can tackle most of those issues. You have complete control over the GUI by modifying the skin files, you can restrict who does what via user rights, you can upload text and images, has MySQL backend support, and has scaled to the size of the English Wikipedia, approximately 1.7 million entries. It also contains RSS feeds built in. However, it has its limitations; WYSIWYG is not going to be in MediaWiki any time soon (there's some work on that, but who knows what will happen with it), and AJAX is available, but not currently for search. MediaWiki also counts with the ability to use and create extensions, which may or may not solve some of your problems. I'm not sure what you mean by "easy cross reference lists" and by the taxonomy, but you may be interested in the English Wikipedia's concept of disambiguation pages. Tito<font color="#008000">xd (?!?) 00:43, 7 May 2007 (UTC)

How can I protect certain namespace?
??


 * For protection against editing, see Manual:$wgNamespaceProtection (since MW 1.10). For other kind s of protection, see Extension:Lockdown (also works qith 1.9, but read-protection has a lot of leaks before 1.10) and other extensions in Category:Page Access Control Extensions. -- Duesentrieb ⇌ 22:32, 6 May 2007 (UTC)

Local language
Hi. I'm currently changing the some of the messages on is.wikipedia.org that have not been translated. But this has no effect on wiki pages outside. For example here I have set the settings to icelandic, but many of the messages are still in English, although I've translated them on the Icelandic Wikipedia. Can I help in translating the main message lists in Icelandic? --Steinninn 22:45, 6 May 2007 (UTC)
 * Yeah, you definitely can, and it would be very nice. :)</tt>
 * First, make a list of the messages that you've translated. You'll need it later.
 * Go to Special:Allmessages on the Icelandic Wikipedia. Click on the "PHP" output option
 * Copy the line for each of the messages onto a text file.
 * Post the text file as a new bug on BugZilla.
 * If you make a lot of changes, you may want to download MediaWiki, modify the message files directly, and upload patches. However, the above procedure will work too, albeit it is slightly slower. Tito<font color="#008000">xd (?!?) 00:36, 7 May 2007 (UTC)

How do i access to maintenance folder?
Hi;

I'm new to MediaWiki; I just wonder how can i access to maintenance folder? and also where is the admin control panel?

Please explain

Thank you very much.
 * The same way as to reset any other password, and the procedure is described in the FAQ. There is no admin control panel, per se... Tito<font color="#008000">xd (?!?) 19:46, 8 May 2007 (UTC)

Ubuntu installation
Regards

Hi,

The procedure for installing MediaWiki on Ubuntu destroyed my installation of Apache. The symlinks broke my httpd.conf.


 * Complain to the maintainer of the ubuntu package. MediaWiki comes as a simple tarball, and the installation does dot normally involve symlinks. -- Duesentrieb ⇌ 21:27, 8 May 2007 (UTC)

Change Skin, Missing Toolbar
Followed these instructions and made a modified version of MonoBook. New skin is missing the edit toolbar, if I switch back to MonoBook it reappears. Is there some other change necessary that's not mentioned?

--216.39.184.142 00:56, 9 May 2007 (UTC)

php 4.4.4 AND php 5.1.6 installed on server - running mediawiki under php 5.0?
Greetings,

I have a server that has a php 4.4.4 AND php 5.1.6 installed. I uploaded mediawiki and when I try to run it, I got the following error:

"PHP 5.0.0 or higher is required. ABORTING."

I then added the following .htacess file and placed in in the "admin" directory:

AddType x-mapp-php5 .php

Now when I try to access the wiki, raw PHP is being displayed on the page. In Safari MAC OS, an actual wiki.php file is downloaded.

"getVal( 'action', 'view' ); $title = $wgRequest->getVal( 'title' );... "

Any help would be greatly appreciated.

Thanks
 * Check the instructions at User:Robchurch/Getting PHP 5 on a cheap host. That sounds like an issue with the Apache server not recognizing the file. Tito<font color="#008000">xd (?!?) 05:13, 9 May 2007 (UTC)

=
Thanks! That did the trick.

Logging into different Wikis with the same user name
Hi. On Wikimedia I have created the user name 'Gris'. It is working fine on Wikimedia. However it does not work anywhere else I have tried such as on Wikipedia and Mediawiki. I come to the conclusion that i need to create separate accounts for each Wiki in the Wiki Foundation Wikiverse. Is this correct? If not and my password and username should work on all Wiki Foundation wikis, can i have some help please? And if my password shouldn't work on all Wiki Foundation wikis I think it would be a good idea if it did, so could someone direct me to the appropriate place to suggest this. Thanks.
 * Currently you need to create an account on each wiki site. A single user login (SUL) system has long been proposed, but the implementation is tricky (there are more than 800 wikimedia projects, some with several hundreds of thousands of user accounts, and ther ewill be a lot of name conflicts). It's largely written now as far as I know, and should go live in a few weeks (or months). See meta:Help:Unified login for more information. -- Duesentrieb ⇌ 16:58, 9 May 2007 (UTC)

Hardware and OS Recommendations
We are a small recruitment company wanting to use MediaWiki for
 * company policies, procedures and processes
 * How To Guides
 * Manuals etc. etc

Two dumb questions
 * Where can I find the hardware requirements for MediaWiki?
 * OS and other software requirements?

Reason for this is twofold. Either I have to house our own hardware at a hosting centre or I will host MediaWiki on Hosting Centre's hardware

Dave


 * Have a look at Installation and Manual:Installation. Basically, MediaWiki needs a standard LAMP environment, plus some external tools like ImageMagick if you want to use more advanced features. Linux is the preferred OS, though any OS that runs Apache/PHP/MySQL can be made to work. Hardware requirements very much depend on you total requests and edit/view ratio. a couple of visits per minute are probably fine on a shared host.
 * If you go with a shared host, make sure you have shell (ssh) access - MediaWiki can be installed and run without that, but backup, update, trouble shooting, etc is a pain without shell access.
 * Also keep in mind that MediaWiki is designed to be scalable, not lean. It tends to use a lot of RAM, especially if you enable the various caching options to improve speed. -- Duesentrieb ⇌ 19:51, 9 May 2007 (UTC)

Broken on hosting username change
I recently accidentally changed the username on my hosting account (something that can't be easily changed back, as my host hates me). As such, it wasn't surprising that MW decided to crap out. However, I fixed the few instances of the hosting account username in LocalSettings.php and it's still dead. Take a look-see: http://wiki.getaportal.com

Awesome, innit? Actually, it completely sucks. Help would be awesome. Thanks in advance -- Jake 68.80.88.216 03:57, 10 May 2007 (UTC)


 * Please dig out the exact error message. It should be in apache's error log. -- Duesentrieb ⇌ 10:52, 10 May 2007 (UTC)

1.10.0 - stable release version?
Excuse me if this sounds a bit dense, but... is 1.10.0 a stable release version? i.e., should I update the wiki's we are running (currently 1.9.3) with it?

Thanks!

--212.50.162.251 13:30, 10 May 2007 (UTC)


 * Yes, it's a stable release, you should update. Or wait for 1.10.1, if installing things with a 0 at the end of the version number makes your toes tingle. -- Duesentrieb ⇌ 16:22, 10 May 2007 (UTC)
 * The update should be fairly straight-forward. Besides the introduction of a couple of tables, which are built when running the update scripts, you shouldn't have any software compatibility issues. This release includes a bunch of new features, so I'd say upgrade. Tito<font color="#008000">xd (?!?) 02:04, 11 May 2007 (UTC)

Installation problems
When trying to install from mydomain/wiki/config/index.php (on a linux server) I get the following message:

PHP 5.2.2 installed Found database drivers for: MySQL

1) Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads.

2) PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)

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

ad 1)This is only a warning, right? It should work anyway...? ad 2) What should I do about this? ad 3) And this? I can't even find a file called php.ini...

Hope someone can help me!

Louise ;-)


 * I assume you are renting webspcae on some shared host. So:
 * 1) Ask you hosting people if they will disable safemode for you. It would allow you to use some advanced features, like ImageMagick for thumbnails. Depending on configuration, image uploads may even not work at all in safe mode, or require some nasty tweaks. PHP safe mode is broken by design, deprecated, and will probably no longer exist in PHP 6.
 * 2) MediaWiki runs best using mod_php, you can ask your host if that is possible. But "ugly URLs" are no big issue, especially as you can make them pretty using rewrite rules (see Manual:Short_URL)
 * 3) Only your host can fix that - and it's a massive bug which they SHOULD fix. Tell the, about it. php.ini is php's global configuration file (under linux, usually /etc/php.ini or something like that). But on a shared host, you don't have access to that.
 * If you are not using shared hosting, the above should give you some hints what to look for in apache and php documentation.
 * HTH -- Duesentrieb ⇌ 16:30, 10 May 2007 (UTC)

How to create custom tag
Where should I start reading to learn how to create a custom tag... if that's even the word I'm looking for.

I'd like to be able to code and have it expand to http://www.example.com?xxxzzzy-2  Kind of like  expands to a url.


 * That is called (confusingly, because the target does not need to be a wiki) an interwiki link .--Patrick 11:48, 11 May 2007 (UTC)

Error notacceptable on Special:Mostrevisions
Hi, on my Mostrevisions Specialpage the numbers of revisions are not displayed, see here. This is the "notacceptable" message, which somehow seems related to the HTML Error 406: "Not acceptable (encoding)". After looking into the mediawiki source, the only place where this message is used is the rdfSetup-Function in file Metadata.php. It seems that the apache server does not like the string "application/rdf+xml,text/xml;q=0.7,application/xml;q=0.5,text/rdf;q=0.1" from Metadata.php. Does anybody now if this is a apache or mediawiki problem, maybe related to security settings?
 * I forgot to mention that this happens on mediawiki version 1.8.1 and also on the most recent version, 1.10.0.

Making a User a Sysop or Bureaucrat
I have recently bought a hosted MediaWiki at siteground

It all works fine. I have the access to change the LocalSettings.php and have dones so successfully to block anonymous editing and Create Account

The trouble is that I need for a particular registered user to have the authority to Create Accounts, Block Access etc. That seems like the job of a sysop or maybe bureaucrat.

However now comes my question.

How do I change a user to be a Sysop or bureaucrat

Thanks

Dave


 * While logged in as a bureaucrat, go to Special:Userrights and follow the on-screen instructions. robchurch | talk 17:56, 11 May 2007 (UTC)

Transwiki import
I've got cURL installed as an extension on WAMP but can't import as per http://bugzilla.wikimedia.org/show_bug.cgi?id=9809

anyone know what's wrong?? --82.42.237.84 09:12, 12 May 2007 (UTC)