Project:Support desk/old

__NEWSECTIONLINK__

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

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?

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

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.

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
Aapache 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\.[doamin] [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.

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.

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?

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.

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)

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  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.93
Wiki has been upgraded to version 1.93. 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

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

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.

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)

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?

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

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

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

Thanks!


 * -Joe

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)