Project:Support desk/old

__NEWSECTIONLINK__

How to create Template?
How to create template? --Gabeyg 20:17, 15 April 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') ?>

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)

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)

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.

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

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

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)

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',

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!!!

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.

$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)

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?

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)

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)

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 (Full code ).--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)

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)

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)

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)

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 cocky. Where can is finde more information about Sessionmanagement in MediaWiki? What is wrong?

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