Project:Support desk/Archive 09

Problems with inserting WIKIPEDIA in frames or iframe
Dear friends in Wiki,

I have important task to make one html page with 2 frames (or 2 iframes). In first I must put PDF file, and in second I must have WIKI-page, because users of my site will compare to files and correct text in wiki-page. When I make the usual page with two frames and load it it immediatly refresh itself and only wiki-page appear. WHAT'S HAPPEN? PLEASE HELP!?!?

Razum

In your file /path/to/wiki/skins/common/wikibits.js, find the following:

// Un-trap us from framesets if (window.top != window)window.top.location = window.location;

And remove it. After that, clear your cache (ctrl+f5, shift+f5 or some other key combination), then things should work properly. —color probe — Talk — Contribs ¤ 15:05, 26 May 2007 (UTC) Oh yes, thank you very much! And have a nice day! :-D

Sign for text indent (":"): Having influence on its behaviour
Hello!

There's the colon sign ":" to indent a text if it is given at the beginning of a line. Where and how is it defined how much the indent is? Is it possible to overwrite this definition at localsettings.php to get more or less text indent?

Regards -- commons:User:JörgM 08:25, 27 July 2007 (UTC)


 * The actual tag is &lt;dd&gt; and it's defined in main.css for Chick, Monobook, and Simple skin (the usual def is margin-left: 2em;). To override site-wide, edit MediaWiki:Common.css and add the following: dd { margin-left: 3em; }
 * You could also just over-ride for particular skins (I.E. MediaWiki:Monobook.css)
 * --Tim Laqua 22:15, 27 July 2007 (UTC)


 * Thanks a lot! Best regards -- commons:User:JörgM 07:15, 28 July 2007 (UTC)

generic redirection error
Ever since I switched to a new host my wiki won't work. It starts loading but then gives a generic redirection error. The domain name has been switched properly and all databases imported. All files are in place.

link: http://zimwiki.com/index.php/Main_Page --70.67.167.157 04:11, 27 July 2007 (UTC)


 * It's your clean URLs. Re-config your clean URLs. In LocalSettings.php: $wgArticlePath = "$wgScript?title=$1"
 * http://zimwiki.com/index.php?title=Main_Page
 * --Tim Laqua 21:50, 27 July 2007 (UTC)

thanks that fixed it --70.67.167.157 06:05, 29 July 2007 (UTC)

How to generate prefex automaticly

 * When i type RFC **** in a random page, and save it ,there will be a link to certain RFC release. So i guess could i modify the template and make my wiki can generate some other prefex for certain words.

Media Wiki 1.6.10 Install Error
Attempting to install MediaWiki on a virtual hosting account running php 4.4.4 and mysql 4.1.13 and getting the following error (Update: Error resolved):

* PHP 4.4.4 installed *     Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. * PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP's memory_limit is 64M. If this is too low, installation may fail! * Have zlib support; enabling output compression. * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions * GNU diff3 not found. * Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/USERNAME/domains/DOMAIN.com/public_html/w * Script URI path: /w * Environment checked. You can install MediaWiki. Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as afoygel...success. * Connected to 4.1.13; You are using MySQL 4.1 server, but PHP is linked to old client libraries; if you have trouble with authentication, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. o Error selecting database wikidb: 1044 Access denied for user 'USERNAME'@'localhost' to database 'wikidb

--68.163.151.121 04:41, 1 August 2007 (UTC)
 * You need to Grant permissions on wikidb.* - See Manual:Installation
 * GRANT ALL ON wikidb.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password';
 * or if you're Web Server is on a different box than your DB server - you have to configure remote access to MySQL and grant differently
 * GRANT ALL ON wikidb.* TO 'USERNAME'@'192.168.0.x' IDENTIFIED BY 'password';

Angle Bracket witin Importing File
Issue I am having is &lt; and &gt; in XML file being imported into a wiki. Know that they have to be shown as & lt; and & gt;, otherwise it is interpreted as being part of the XML and lost. That is fine.

The problem then is, that they are converted into &lt; and &gt; within the wiki text after it is imported. For most situations this is not a problem, however have encountered one where in a text mathematical formula &lt; and &gt; are used around a capital "B". And this is then interpreted as being the HTML code for bold, definitely not what we want.

The XML files are being generated automatically using a script, to make it fast and easy to do since there are about 70 odd pages it is generating, all with similar formats. So would be handy to sort something out so doesn't require human intervention once it is uploaded to fix the issue. Any suggestions? --Dr DBW 00:30, 18 June 2007 (UTC)


 * What is the indended output of  ? If you just want it to output literal, in your XML gen script, wrap &lt; and &gt; characters in &lt;nowiki&gt;&lt;/nowiki&gt; tags:      or if you just regEx replace your angle brackets:   <  B  >   ... of course, you might have to escape all those angle brackets for the XML to pass them - but again, more scripting voodoo. --Tim Laqua 15:11, 28 July 2007 (UTC)

File Extensions Problem
Hi, My problems is with File Extensions. Firstly let me say that I am not a php developer I am a C++/C/C# etc developer so I like compiled languages and a compiler much better. However I hope that I can get some help here. I've edited my wgFileExtensions[] array to add in the new office file formats pptx, xlsx, dot etc. One of the users at the company I work up loaded a pptx file format. Now every time you click on the link essentially a 404 page is generated.

Things I've tried.

1. Verified that the file existed in the database. 2. Edited the acceptable file extensions in both Default Settings and my localSettings .php 3. Reduced the name of the file, thinking there might be a name length issue. 4. Reduced the size of the file thinking there might be an issue with php post of larger files.

I am just stumped. If Anyone has any ideas please let me know.

Cheers Chris Howell chowell@pyxisinnovation.com


 * It might be helpful to see the corresponding lines from LocalSettings.php
 * Don't ever edit includes/DefaultSettings.php, per the top of the file
 * What "link" is it that you are talking about? Is this a link on the image description page, a link to the description page, or some custom link?
 * robchurch | talk 07:42, 4 July 2007 (UTC)


 * I'd guess that you are using IIS. For IIS to serve up these file types you need to specify the MIME type for the file extension e.g. .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
 * Obsydian 21:21, 25 July 2007 (UTC)

File Extensions Problem
Hi, My problems is with File Extensions. Firstly let me say that I am not a php developer I am a C++/C/C# etc developer so I like compiled languages and a compiler much better. However I hope that I can get some help here. I've edited my wgFileExtensions[] array to add in the new office file formats pptx, xlsx, dot etc. One of the users at the company I work up loaded a pptx file format. Now every time you click on the link essentially a 404 page is generated.

Things I've tried.

1. Verified that the file existed in the database. 2. Edited the acceptable file extensions in both Default Settings and my localSettings .php 3. Reduced the name of the file, thinking there might be a name length issue. 4. Reduced the size of the file thinking there might be an issue with php post of larger files.

I am just stumped. If Anyone has any ideas please let me know.

Cheers Chris Howell chowell@pyxisinnovation.com


 * It might be helpful to see the corresponding lines from LocalSettings.php
 * Don't ever edit includes/DefaultSettings.php, per the top of the file
 * What "link" is it that you are talking about? Is this a link on the image description page, a link to the description page, or some custom link?
 * robchurch | talk 07:42, 4 July 2007 (UTC)


 * I'd guess that you are using IIS. For IIS to serve up these file types you need to specify the MIME type for the file extension e.g. .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
 * Obsydian 21:21, 25 July 2007 (UTC)

Transclusion
I have just installed the latest XAMPP MW installation, which works just fine, but when I try to transclude anything outside of template space, template: gets prepended, so for example I am unable to transclude Portal:Foo/Bar in Portal:Foo, which is something routinely done on the Wikipedia sites. What am I doing wrong, please? JzG 15:45, 13 July 2007 (UTC)


 * Try something like instead of  and see if that helps. -- Sayuri  15:55, 13 July 2007 (UTC)


 * Aha, thanks, that moves me ahead another step... Also got short URLs working, which was not as hard as I thought. JzG 17:16, 13 July 2007 (UTC)


 * OK, a follow-up. I have copied and pasted the contents of en:Portal:Box-header to a template, but for some unaccountable reason the mediawiki software is automatically inserting a closing /div into the template, whcih means that instead of rendering a box header, followed by text, followed by a configurable box footer en:Portal:Box-footer, it renders an emoty box, followed by the text, followed by a visible &lt;/div&gt;. - Any ideas why this might be, please? http://mailgate.chapmancentral.co.uk/wiki/Template:Box-header for context. JzG 19:21, 13 July 2007 (UTC)

How do I create a link in Wiki that will point back to a file on an internal server?
''' I want to point to a file on my File Server from within my Wiki. Can someone help me figure out how? '''

Example file file://///ServerName/ShareName/FileName.pdf

this doesn't work...


 * Can't you input it as the full URL using the normal wiki code for an external link? I.e. my file link etc. 84.69.56.232 16:04, 18 July 2007 (UTC)


 * You need to copy the settings for $wgUrlProtocols from includes/DefaultSettings.php into your LocalSettings.php and add 'file:' before the ending );. (Don't forget to add a comma after 'news:'). You can then do the above.  If you're using FireFox you'll also need to enable local file links. (See http://kb.mozillazine.org/Links_to_local_pages_don't_work)  All this of course is only useful for internal wikis. Obsydian 21:04, 25 July 2007 (UTC)

MediaWiki 1.10.1 won't install
Whenever I fill out all the details of installation, I get this: Something's not quite right yet; make sure everything below is filled out correctly.

Well here is the lines about the server I got... (directory location username replaced with stars) * PHP 5.2.0 installed * Found database drivers for: MySQL * PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP is configured with no memory_limit. * Couldn't find Turck MMCache, eAccelerator, or APC. Object caching functions cannot be used. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/*******/public_html/gmcr/wiki * Script URI path: /gmcr/wiki * Environment checked. You can install MediaWiki.

The server uses PHP 4 by default, I had to add an override to the gmcr folder in the form of AddHandler.

The following entries were filled out. Any unlisted entries were left untouched. Wiki name: GMCR Contact email: [withheld] Admin username: anger2headshot Admin password: [withheld] Password confirm: [withheld] Database name: [withheld]_villagedump DB username: [withheld]_gmcr DB password: [withheld] DB password confirm: [withheld] Database table prefix: gmcr_

So, any help? Thanks! -anger2headshot


 * We'll need the full transcript from the top. In the meantime, scroll down the form and look for red errors next to fields; these might indicate the problem. robchurch | talk 07:32, 18 July 2007 (UTC)
 * What do you mean by full transcript? -anger2headshot

Setup problems
Hello There,

I am very confused about how my setup is going wrong. I have had a look around but am still pretty unsure about what is goin on, can someone please help, it is much appreciated.

The details of my installation problem are listed below. I don't know exactly how this help works, so you can email me on byron@things2do.ie but I will hang around here anyway.

Go Raibh Mile Maith Agat, Byron Smith Baile Atha Cliatha, Eire (Dublin Ireland)

PHP 5.2.0 installed Found database drivers for: MySQL PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. PHP is configured with no memory_limit. Couldn't find Turck MMCache, eAccelerator, or APC. Object caching functions cannot be used. Found GNU diff3: /usr/bin/diff3. Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /home/things2d/public_html/wiki Script URI path: /wiki Environment checked. You can install MediaWiki. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as things2d_wikiuse...success. Connected to 4.1.21-standard Error selecting database wikidb: 1044 Access denied for user 'things2d_wikiuse'@'localhost' to database 'wikidb'
 * You need to Grant permissions on wikidb.* - See Manual:Installation
 * GRANT ALL ON wikidb.* TO 'things2d_wikiuse'@'localhost' IDENTIFIED BY 'password';
 * or if you're Web Server is on a different box than your DB server - you have to configure remote access to MySQL and grant differently
 * GRANT ALL ON wikidb.* TO 'things2d_wikiuse'@'192.168.0.x' IDENTIFIED BY 'password';
 * --Tim Laqua 20:43, 27 July 2007 (UTC)

Problem Uploading Images
I'm trying to upload images - I thought I had everything set correctly except I get the following error type whenever I try to upload an image:

Could not copy file "/tmp/phpt1xA8w" to "/home/g/o/gough_name_org_uk/wiki/images/temp/0/02/20070717211643!John_Bartholomew_Gough.gif".

Probably something very simple but please can someone help?


 * Write permissions on the /home/g/o/gough_name_org_uk/wiki/images directory maybe? I *think* its the web server user that needs permissions to it. --Natebsi 19:02, 18 July 2007 (UTC)


 * i had trouble getting permissions to modify anything past the wiki folder. I just created a different folder outside the wiki folder then changed the file paths and directories for uploading in LocalSettings.php Jedkwon 19:16, 23 July 2007 (UTC)

restriction based on Namespace
How to permit a certain group of users to access certain pages or namespace.

XML Error
I have a problem when I enter to the preferences Menu in the Wiki an send me a menssage, I translated the Message for you:

Page XML cannot be shown cannot be seen entrance XML with the style sheet XSL. Correct the error and you click in the button To update, or try later.

An element of superior level in a document XML is only admitted. Error when processing the resource http://www.kpedia.byethost31...

    faultCode...

I use the last version of Media Wiki.  '== THANKS FOR YOUR HELP ¬.¬ == '

Lists -> tables
Is there a way to change the Special:Recentchanges, histories, and other MediaWiki-related pages to be tables instead of lists? As these lists are now, they are very jumbled and hard to navigate. Ideally, something like this for recent changes, for example:

Date Note: the sorting should not screw up expanded branches (subsorting for them or just keep branch all in the same row?). Also, instead of textual abbreviations for things, use icons (and for other unabbreviated things too--i.e. a clock/watch for "time", etc). The   tag should also work...(please edit this table to fix it if you know how--perhaps using CSS?)

If these things had CSS elements it would be easier to create a table of them, but most are not labelled, as far as I can tell. Also, the "namespace" pull-down list should be a multi-select list (as should the search namespace checkboxes) to make it easier to select multiple namespaces. -Eep² 10:33, 22 July 2007 (UTC)


 * OK, seems there's already Extension:TransformChanges that can do this...for recent changes and watchlist only, though..and the table doesn't sort. -Eep² 22:39, 23 July 2007 (UTC)

Image Thumbnail not appearing
--Jedkwon 23 July 2007
 * images would not upload into wiki folder on web server. Found work around.
 * images upload but do not show proper MIME or thumbnails. Images are accessible. has MIME type of: error.
 * otherwise there are no error messages.
 * i've confirmed independently that imagemagick "usr/bin/convert" and "file -bi" both work outside of php and media wiki so either they don't have permission? or what
 * resorting to the dark arts, unless i can get some help soon Jedkwon 19:35, 23 July 2007 (UTC)
 * Tried using the apache mime list, doesn't work, knows it works because I used to to set up Java Web Start.
 * Resorted to the dark arts 75.26.140.138 20:46, 23 July 2007 (UTC)
 * Dark arts not as rewarding as originally anticipated.
 * went to lunch
 * Tried FileInfo
 * Try flipping ImageMagick off in LocalSettings.php and just letting it use GD for the convert. $wgUseImageMagick = false; --Tim Laqua 15:18, 28 July 2007 (UTC)

Could someone help me with the thumbnails
I can't get images to appear on my wiki, I can upload just fine (I can see the image in the browser), but I can't get them to appear in pages or thumbnails. All pictures have a mime type of "error" except when i check in the server the mime type is correct. Can anyone help please? --75.26.140.138 20:45, 25 July 2007 (UTC)
 * Try flipping ImageMagick off in LocalSettings.php and just letting it use GD for the convert. $wgUseImageMagick = false; --Tim Laqua 15:19, 28 July 2007 (UTC)

Minimum Search Length
Hi Guys,

we are running MediaWiki to run out Library (University of QLD) information system,

it is working great, although we have one problem.. the search feature is not working for any of our acronyms that are 3 or 4 characters long. Obviously there is a minimum search length - is it possible to change this?


 * http://www.mediawiki.org/w/index.php?title=Project:Support_desk&oldid=97251#Searching_for_numbers --Dr DBW 06:14, 25 July 2007 (UTC)

German: Sonderzeichenproblem mit ÜÄÖ
Hallo,

nach dem Backup meines alten Mediawikis habe ich probleme mit Grafiken die im File ein Sonderzeichen enthalten.

Als Beispiel die Datei heißt:

Nv-verst+ñrker-anschluss.gif

vom Mediawiki wird gesucht:

Nv-verst%C3%A4rker-anschluss.gif

hat jemand hiermit schon Erfahrungen?

Danke

13:02, 25 July 2007 (UTC)


 * Those are "encoded" or "escaped" characters. In HEX

ñ = %F1 = ñ Ü = %DC = Ü Ä = %C4 = Ä Ö = %D6 = Ö ü = %FC = ü ä = %E4 = ä ö = %F6 = ö
 * What did you use to backup your MediaWiki installation?
 * And have you set your site language code to German in LocalSettings.php? $wgLanguageCode = "de"; The default is "en" - so locate the line that sets it to "en" and change it to "de" See also: w:en:Help:Searching - Known bug --Tim Laqua 16:31, 28 July 2007 (UTC)

Ich hab ein ähnliches Proplem ich will file links erstellen in denen Sonderzeichen wie: ä ö ü ß enthalten sind. ( \\.... Was muss ich mache damit das wiki dies aktzeptiert? Bitte helft mir bin am verzweifeln!

How do you open images in a new window?
Im am building a wiki, and have on it a large number of PDF document that are stored as “images” so when a user clicks on a link

media:whatever.pdf|Whatever

The PDF document opens in the current window, I was wondering if there was a way to make it open in a new window.


 * I don't think there's a way to open images and other media, links etc. in a new window. -- Sayuri 12:55, 25 July 2007 (UTC)

I'm wondering exactly the same thing...Where can we get any answer about it??--El Racionalista Prenihilista 11:46, 27 July 2007 (UTC)


 * Short answer; you don't. robchurch | talk 20:40, 27 July 2007 (UTC)

Can't get into mediawiki:sidebar
I am trying to make edits to my sidebar but when I go to the page I'm unable to edit it as it says it's protected. I've been looking for hours and can't find a way to unlock this page. Can someone please help??


 * You need to be logged in as a sysop to edit the user interface. robchurch | talk 20:39, 25 July 2007 (UTC)

MediaWiki and MSSQL Server
Is it possible to use MSSQL Server instead of MySQL?


 * Not at the present time. There is no roadmap for inclusion of MS SQL Server support. robchurch | talk 20:40, 25 July 2007 (UTC)

Nothing will save
When i go on my prefrences and type in my email and my real name and press save, the page flicks and reloads, and then the two boxs are blank again, can anyone help me ?

This also appears to happen on the check boxs in the my prefrences, and i have tryed the shift + reload thing. and also seems to be the same when i try to make someone a sysop, its like everthing is just not saving.

Also this happens when i try the save a page, for example Mediawiki:siderbar, when i change that and try to save it i get:

'''Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.''' After logging out and back in, i just get the same message

I WILL LEAVE THIS HERE FOR FUTURE REFEREES BUT THIS PROBLEM APPEARS TO OF FIXED ITS SELF


 * Sounds like a standard session loss problem; the usual process is to check that session.save_path is valid and points to a writeable path in PHP.ini</tt>, then check permissions on that directory to ensure the web server can read and write to it. robchurch | talk 20:39, 27 July 2007 (UTC)

please help me for proceeding further
i have configure WAMP

Apapche, php and mysql has been setted up perfectly as per the installation guide and the necessary changes has been done in the httpd.conf file and php.ini files.i have copied the mediawiki contents and pasted it inside the htdocs folder and when i try to run the file it is asking for setup wiki. When i select setup wiki it is showing me the corresponding message. Am stuck please help me in proceeding furthur. If possible gimme your support contact number let me give a call to you people.

The message that i got Checking environment...

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

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


 * We don't have a "support contact number"; we don't offer formal support for MediaWiki at this time. The problem is quite evident within the error message; MediaWiki has detected that the MySQL client module is not available to PHP. Under Windows, this is quite trivial to fix; open up the PHP.ini</tt> file, find the line ; extension=php_mysql.dll</tt> and remove the preceding semi-colon, then restart Apache.
 * For further information, please see http://www.php.net/manual/en/ref.mysql.php, particularly the "Installation" section. robchurch | talk 20:38, 27 July 2007 (UTC)

Moving wiki to new server
I've moved all the wiki directories and the mysql db to the new server, when attempting to reach the page, get the following error:

Error in fetchObject: Can't open file: 'gfw_page.ibd' (errno: 1)

Backtrace:

* GlobalFunctions.php line 602 calls wfbacktrace * Database.php line 596 calls wfdebugdiebacktrace * MessageCache.php line 246 calls databasemysql::fetchobject * MessageCache.php line 174 calls messagecache::loadfromdb * MessageCache.php line 357 calls messagecache::load * GlobalFunctions.php line 449 calls messagecache::get * GlobalFunctions.php line 408 calls wfmsggetkey * GlobalFunctions.php line 319 calls wfmsgreal * OutputPage.php line 177 calls wfmsg * OutputPage.php line 776 calls outputpage::setpagetitle * Database.php line 476 calls outputpage::databaseerror * Database.php line 419 calls databasemysql::reportqueryerror * BagOStuff.php line 390 calls databasemysql::query * BagOStuff.php line 281 calls mediawikibagostuff::_doquery * BagOStuff.php line 228 calls mediawikibagostuff::_query * MessageCache.php line 142 calls mediawikibagostuff::get * MessageCache.php line 357 calls messagecache::load * GlobalFunctions.php line 449 calls messagecache::get * GlobalFunctions.php line 408 calls wfmsggetkey * GlobalFunctions.php line 361 calls wfmsgreal * Wiki.php line 74 calls wfmsgforcontent * index.php line 105 calls mediawiki::checkinitialqueries

How do I move the wiki to the new server without losing data?
 * Old server RHL 1.2/Apache 1.3.27/PHP 4.4.4/MySQL 4.1.21
 * New server RHL 4/Apache 2.0.52/PHP 4.3.9/MySQL 4.1.20

I moved it by useing, this guide its not very good, but it dose work.


 * On the new server install XAMPP
 * Install phpMyAdmin
 * Install the Wiki software
 * Go through the Wiki software set up
 * Copy over the image table in the DB’s
 * Copy over the image links table in the DB’s
 * Copy over the users table in the DB’s
 * Copy the images folder from one root directory to the other.
 * Copy over the logo and put it in. \skins\common\images
 * Copy over the LocalSettings.php from one root to an other
 * On the old wiki go to Special pages
 * All pages
 * Copy that list put it in a word document and make sure each page has a new line
 * Then go Special : Export pages
 * Then past all the pages into the box, and click “Exsport”
 * Save the xml document that Opens
 * On the new Wiki
 * Go Special : Export pages
 * Click import pages
 * Load the XML file that you just saved.

Note: This is only viewed as a very rough guide, more help and different ways can be found on media wiki

Note: This will not copy over that categories, no cure for this was found at time of typing

--McKinnon 08:44, 27 July 2007 (UTC)


 * The instructions at Manual:Moving a wiki should be comprehensive. From the original error, it sounds like one of the table definitions for the database can't be found, which indicates an incorrect method used to migrate the database. robchurch | talk 20:35, 27 July 2007 (UTC)

Editing toolbar
I didn't get an answer to my earlier question, so reposting and hopefully making it more clear. The skin I'm using appears to have removed the editing toolbar even if it's set to appear in user preferences. I've checked the source code to see if wikibits.js is being called correctly, and it is, and to check whether the HTML/Javascript is specified for the editing toolbar, and it is. It's just not appearing. I'd like to know which part of the monobook skin governs the apperance of the toolbar so I can cross-reference it with my customised skin and then see what's missing. Anyone know? 84.69.56.232 18:31, 26 July 2007 (UTC)


 * No part of the Monobook.php skin has anything to do with the display of the edit toolbar AFAIK.
 * Can see the addButton(...) calls for the Toolbar buttons in the source code of the served page, but they're just nowhere to be found on the rendered page? Is there a public facing example?
 * Toolbar JS block - If this isn't found in the source of the served web page, then EditPage.php isn't rendering the toolbar.

<script type='text/javascript'> /*<!>*/
 * --Tim Laqua 21:30, 27 July 2007 (UTC)

Make MediaWiki display the redirected page name in the web browser URL location instead of the redirect's name
When a redirected page comes up, the redirect URL shows in the web browser's location field instead of the redirected-to page's URL. How can this be fixed? -Eep² 07:12, 27 July 2007 (UTC)


 * This is not something we're looking to "fix" - the main argument against doing this is that using a HTTP redirect for this purpose makes it more challenging to go back and edit the redirect, and there's no explanation as to what happened, i.e. the "redirected from" message. robchurch | talk 20:32, 27 July 2007 (UTC)


 * "More challenging" doesn't mean it's not impossible... I only ask because this is an annoying problem when copying the URL; it's the redirect's URL and the article link needs to be clicked in order to get the correct URL. Surely .htaccess</tt> redirects (if that's what you're using) can output a "redirected to" message... -Eep² 00:37, 29 July 2007 (UTC)

Apache + PHP + MySQL + MediaWiki Setup Issue
While attempting to setup MediaWiki on my Windows XP SP2 based machine, I check "http://localhost/wiki/config/index.php" to see if everything went smoothly but get the following...

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

* PHP 5.1.4 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module''

Currently running MySQL 5.0.20, Apache 2.0.58, PHP 5.1.4, and MediaWiki 1.10.1. How do I make sure that PHP is compiling with MySQL?

--71.127.118.76 01:07, 29 July 2007 (UTC)


 * Once the WAMP is good to go, then the MediaWiki installer should work fine - PHP just can't find MySQL. Did you uncomment (remove the semi-colons) from the following lines out of php.ini to enable the extensions?


 * php_mysql.dll
 * php_mysqli.dll
 * See:<li>Manual:Streamlined_Windows_Install_Guide
 * --Tim Laqua 01:51, 29 July 2007 (UTC)

Thanks Tim, ended up wiping the slate clean and going with a XAMPP install. Works great... so far, now I just need to figure out which ports to open on the router. Does anyone have any idea?

--71.127.118.76 03:30, 29 July 2007 (UTC)


 * Just need to open port 80 (http) to the outside and direct incoming to your Webserver's IP. If you're running SSL, it's port 443 - most people route both to the webserver.  Default MySQL port is 3306, BUT that shouldn't need to be routed to the outside. Note that some ISPs block traffic on port 80 and 443 so you can't host websites from your house (unless you're on a business line) - in that case, you have to do some port redirection.  Hopefully, they're not blocking port 80 and you'll be fine - bottom line is that apache's listening on port 80. --Tim Laqua 03:44, 29 July 2007 (UTC)

Extension doesn't parse Wiki formatting
I've written an extension, and I have it to hook at parse so that it creates a html link. the attribute "url" is passed as an argument, but Wiki formatting is not parsed before passed to the extension. how to I get it to parse? function renderForumAddReply( $input, $argv ) { $output='<a href="'.$argv["url"].'">Add reply</a>'; return $output; }
 * 1) forum add reply button

<forumaddreply url=" ">

Before you state that I should just use a link, please note that I am going to replace the add reply text with an image. --anger2headshot 10:16, 29 July 2007 (UTC)


 * Is this what you're looking for? All the variables you need are available once you escape to PHP.

function renderForumAddReply( $input, $argv ) { global $wgTitle; $output = '<a href="'.$wgTitle->escapeLocalURL("action=edit&section=&preload=Template:Forumheader/include&editintro=MediaWiki:Forum_intro").'">Add reply</a>'; return $output; }


 * --Tim Laqua 13:23, 29 July 2007 (UTC)

Problem with special character in Filenames
Hi,

i have some Problems after Update my Wiki. The Wiki dont find Files with special characters. Example: Mediawiki Search: M%C3%BCterbildr%C3%B6hrenadapter.jpg But the File Named: M++terbildr+Âhrenadapter.jpg

Where is the Problem?

Thanks

--91.17.90.135 11:35, 29 July 2007 (UTC)


 * Did you set your site language code to German (or whatever your language code is) in LocalSettings.php?
 * $wgLanguageCode = "de";</tt>
 * The default is "en" - so locate the line that sets it to "en" and change it to "de" See also: w:en:Help:Searching - Known bug --Tim Laqua 13:40, 29 July 2007 (UTC)


 * Hi Tim,
 * speacial Thanks for your Answere.i have allready
 * $wgLanguageCode = "de";</tt>
 * in my Localfile.php. And if i turn it to
 * $wgLanguageCode = "en";</tt>
 * i see no Pictures on my Wiki. But i think the Name looks like ASCI Code or UFT8 Code.
 * 91.17.88.127 10:39, 30 July 2007 (UTC)


 * Well, anyone else have ideas? I haven't worked much w/ languages other than english on MW. --Tim Laqua 11:44, 30 July 2007 (UTC)
 * While we're waiting for a professional to wander by - do you have a Public facing example I could take a look at to see what exactly is going on? --Tim Laqua 13:14, 30 July 2007 (UTC)

Example: **tp://arwen78.arwen.baumedia.biz/wiki/index.php?title=Elektronik (Please don´t link this URL) 91.17.95.145 19:14, 30 July 2007 (UTC)


 * Seemed to work for me...
 * **tp://arwen78.arwen.baumedia.biz/wiki/index.php?ns0=1&ns6=1&search=M%C3%BCterbildr%C3%B6hrenadapter&searchx=Suche
 * I added the Image namespace to the search, entered "Müterbildröhrenadapter" in for the search term, and it came up as expected - So what exactly isn't working? Do you just want to turn on the Image(Bild) namespace by default?

Hi Tim, This ist not exactly what i mean. Take a look at **tp://arwen78.arwen.baumedia.biz/wiki/index.php?title=Elektronik you can see bevore the Words "Lampentest" and "Kategorie:Müter Bildröhren Adapter" a black picture. If you click on it youre getting to: **tp://arwen78.arwen.baumedia.biz/wiki/index.php?title=Bild:Gl%C3%BChbirne1.jpg there you can see that the File Glühbirne must be **tp://arwen78.arwen.baumedia.biz/wiki/images/9/9e/Gl%C3%BChbirne1.jpg but if your looking via FTP, you can see the File is here **tp://arwen78.arwen.baumedia.biz/wiki/images/9/9e/Gl++hbirne1.jpg. This is what i mean with the Wiki Search the wrong therm. 91.17.74.129
 * Looks like your filenames are messed up - did you move the entire wiki installation to a different filesystem or different hardware? The file should be named Gl%C3%BChbirne1.jpg - but the %C3%BC got replaced by ++.  The wiki linking looks fine - the filenames appear to be the problem, but I'm not sure why the filenames would be chagned unless the files were moved.

The Files would be moved per FTP vom Root to Filesordner root/wiki/ and after that if been updatet my wiki. So i mean the error are from updating the Wiki. Just now if been looking into my old Backups but there are the same file Names. Im using FTPOnline ( http://web2ftp.de ) and Local Filezilla both Backups with the same Problems!?!? What can i do?

Tim if been indebted to you. (And sorry for my /very/ bad Englsih.) 91.17.123.33 15:07, 31 July 2007 (UTC)


 * When did it last work? On a different server?  Or was it on the same server and you just upgraded the MediaWiki version?  It looks like the filenames were changed at some point where a program or utility replaced all of the hex escape codes (%XX) with +.  Do you have a working version from the old installation?  If you re-upload an image with a special character, the newly uploaded image should work fine.  How many images with special characters do you have?  If it's only a few, just delete the old images and re-upload them.  If it's ALOT of images, I can work with you to come up with a solution.  (will likely be complicated)

I take a look i must upload 40 Pictures. In a view day´s i begin. Thanks a lot. 91.17.123.33 20:13, 31 July 2007 (UTC)
 * np. Make sure you locate a backup solution that doesn't destory your filenames for the future.

How can I show random page from a specific catacory?
I want to show a random page from catagory X for example.. How can I do tthat?

thanx --Tmorid 20:59, 29 July 2007 (UTC)
 * I haven't seen it done for a particular "Category", but the Special:Randompage special page does support specifying a particular namespace (like Category: or Talk:, etc). The default namespace for Special:Randompage is NS_MAIN, but if you want to specify a different namespace, you can do so like this: Random Category Page Which yields: Random Category Page So if feasible, I would advise creating a custom namespace and putting those pages that you want to randomly select from in that namespace - then you can use the stock Special:Random/NAMESPACE style to get that sub-set randomization. For Custom Namespace Creation, See: Manual:Using_custom_namespaces - using stock functionality is always preferrable to extensions. Though this might be a neat feature request - you could request it on BugZilla as an enhancement request. --Tim Laqua 21:51, 29 July 2007 (UTC)


 * This has been filed as bug 2170. It requires a schema change to make selection efficient in large databases. robchurch | talk 02:38, 30 July 2007 (UTC)

How do I use the LOCAL DAY and MONTH option?
How do I put it on my wiki? --Tmorid 21:03, 29 July 2007 (UTC)
 * If you're talking about the MagicWords 28 and August, you can just put those magic words (surrounded by double-curly brackets) anywhere in a wiki article and they will "magically" translate when the article is viewed. August/August/2024 Will resolve to: August/August/2024 --Tim Laqua 21:45, 29 July 2007 (UTC)

How can I set some options as default?
in settings section of mediawiki (preferences) you can set some of your preferences. how can I change the default settings. for example how can I set search namespaces in all sections as default settings?


 * I don't know but I'd like to change that checkbox list into a multi-select box, which would make selecting multiple namespaces far less nerve-wracking! -Eep² 08:33, 24 July 2007 (UTC)


 * ...which I've attempted to do at Extension:Multi-select Namespace Search but it doesn't quite work. Any help would be appreciated... -Eep² 09:47, 25 July 2007 (UTC)


 * You can set the default for New Users and Anon users (existing users will not be affected). See Help:Custom namespaces on Wikipedia

$wgNamespacesToBeSearchedDefault = array(       -1                => false,        NS_MAIN           => true,        NS_USER           => true,       NS_USER_TALK      => false,        NS_PROJECT_TALK   => false,        NS_IMAGE_TALK     => false,        NS_IMAGE_TALK     => false,        NS_TEMPLATE_TALK  => false,        NS_HELP_TALK      => false,        NS_CATEGORY_TALK  => false,        100               => true,        101               => true );
 * Changing the settings for existing users is ugly because it's part of the user_options field in the user table:

searchNs1=0 searchNs2=0 searchNs3=0 searchNs4=0 searchNs5=0 searchNs6=0 searchNs7=0 searchNs8=0 searchNs9=0 searchNs10=0 searchNs11=0 searchNs12=0 searchNs13=0 searchNs14=1 searchNs15=0
 * So you'd have to go parse out the user_options field and do some cool regEx replacing. --Tim Laqua 15:50, 28 July 2007 (UTC)

how can i delete uploaded files?
in my wiki i have the possibility to upload files. files like pdf, doc and so on. i have the filelist where they are displayed. my problem is now. how can i delete those files again???

regards thomas --62.245.156.52 07:54, 27 July 2007 (UTC)


 * Click on the link to the file, which will bring you to the description page for it; when logged in as a sysop, you should see a "delete" link near the top of the screen (default skin), and there will also be a "(delete all revisions of this file)" link towards the bottom. robchurch | talk 20:28, 27 July 2007 (UTC)

Extension development support
There needs to be a central support area/forum/whatever for extension develoment and general MediaWiki hacking. I've posted to several different places (Talk:Extensions FAQ and others I don't recall) and have yet to receive a reply (one of the problems of having a talk page on every page).
 * Lets just #redirect them all! (seriously.)

CategoryPage.php hack
I'm trying to edit this file to make the subcategory/article amounts appear in parentheses next to the section header (i.e. "Subcategories (10)") instead of the wordy "there are x subcategory(ies)/article(s)" singular/plural semantic nonsense. I've managed to get it to work by changing

To:

And then editing MediaWiki:Subcategories to add the subcategory count parameter in parentheses [($1])--and commenting out or removing MediaWiki:Subcategorycount. But, for some reason, the output in the HTML code:

Subcategories (10)

Instead of:

Subcategories (10)

Which causes the bottom border to be under the header too far (as on ). Any ideas? Is there something in count( $this->children)</tt> that's causing that closing   </tt> to appear? -Eep² 11:11, 31 July 2007 (UTC)
 * Naaa, it's your processing rule. 'parse' is straight html (tidied), while 'parseinline' strips those    tags out of there.  Here's the line you need:


 * Cool, thanks. I just took the line from the one under it to generate the wordy version:


 * Now to do the the pages/images sections and figure out a way to make this an extension instead of a hard-coded hack--perhaps with Manual:MediaWiki hooks/CategoryPageView? -Eep² 14:07, 31 July 2007 (UTC)
 * Sounds like a pain in the butt. Unleless there's an existing hook right where you need it (i.e. down in the function where you hacked that code) - you usually have to do some pretty fancy coding to take the page text as-is and reformat it to your liking.

Putting article in multiple categories does not add article to categories
MediaWiki 1.10.1

PHP 5.1.6-3

PostgreSQL 8.1.9-1

Putting an article in multiple categories does not add the article to these categories. If the category is new, it is not created. However, adding an article to only one category works as expected. Is there a trick to putting articles in multiple categories?

--131.104.87.11 14:16, 31 July 2007 (UTC)
 * Nope, it's pretty straightforward. Go to Special:Wantedcategories to find all those un-created categories.  Multiple categories is just:
 * It seems to be a PostgreSQL statement problem. In MySQL a statement like this is legal:  INSERT INTO table VALUES (data1, data2),(data3, date4),...
 * This inserts multiple rows at a time. However, in PostgreSQL, you cannot insert multiple rows in one SELECT statement.  So, adding the article to one category at a time works, but adding to multiple categories at a time attempts to use an SQL statement which errors (under PostgreSQL).  Will submit as a bug.
 * Nice catch.

Re-upload broken
Here is the error message I got: Internal error From MediaWiki.org Jump to: navigation, search

Could not rename file "/mnt/upload3/wikipedia/mediawiki/temp/9/92/20070705173321!BizzWikiLogo.png" to "/mnt/upload3/wikipedia/mediawiki/9/92/BizzWikiLogo.png".

&#91;user:jldupont&#124;Jean-Lou Dupont] 17:35, 5 July 2007 (UTC)

Why can't we use a single username and password in order to access to the benefits of all the wikiprojects
(wikipedia, wikiversidad,ismlp, idcl,etc), instead of creating multiple accounts? summing up, i encourage you to make this improvements in order to make the "wikiproject" grow up a lot --El Racionalista Prenihilista 20:04, 26 July 2007 (UTC)

¿Puedo ser un "consejero" en la implementacion del software para edición de música?
En caso de no poder, quisiera hacer las siguientes sugerencias:


 * 1.- Que el lenguaje usado sea exactamente el mismo de lilypond (no similar, igual)así no tenemos que aprender nuevos lenguajes ni modificar la forma en la que estamos acostumbrados a escribir música.


 * 2.- Que se permita la posibilidad de abrir vínculos en páginas distintas a conveniencia de quien edita la pagina wiki. Esto posibilita muchas cosas a nivel de la reproducción de multimedia... y la posibilidad de ver simultáneamente algunas páginas facilita muchos procesos de aprendizaje, sobre todo a nivel musical.


 * 3.- Que se pueda reproducir (escuchar) lo que se ha escrito en notacion musical a discreción de quien está aprendiendo. Por ejemplo, si uno quiere mostrar el sonido de cada una de las notas, la persona que aprende debe poder tener la posibilidad de reproducir dicho sonido a su libre elección y sin que se sustituya la página que está viendo por una página donde se reproduzca dicho sonido; por el contrario, debería poder ver y escuchar al mismo tiempo lo que está aprendiendo.--Johann 16:33, 27 July 2007 (UTC)

Multiple Wikis on one server?
I'm using MediaWiki: 1.10.1, PHP: 5.2.4-dev (apache2handler), MySQL: 5.0.45-community-nt and Apache 2.2.4.

Is it possible to create multiple Wikis using this setup? Is it a simple matter of copying MediaWiki to another, differently-named directory in /htdocs, or are there other things I would have to do? Thanks. --82.4.221.60 18:26, 31 July 2007 (UTC)
 * Different directories for each wiki - copy the base package that you downloaded in to each directory, and they can all use the same Database and Database user - just specify a "Prefix" like alphawiki_ or devwiki_ or something for each wiki. Then run the installer for each wiki from each wiki's directory (like /alphawiki/config and then run /devwiki/config) - the installer creates the tables correctly.  (There is a bunch of other fun voodoo you can do, but I think this is what you want - just multiple wikis, no interlinking)


 * Excellent. That confirms that for me then - thank you very much Tim. :) --82.4.221.60 21:51, 1 August 2007 (UTC)

File Extensions Problem with 'mm'
Hi, My problems is with File Extensions. I hope that I can get some help here. I've edited my wgFileExtensions[] array to add in the new office file formats mm (for MindManager) etc. One of the users at the company I work up loaded a mm file format. Now every time you click Upload to upload this fileformat warning The file is corrupt or has an incorrect extension. Please check the file and upload again..

Things I've did.

1. LocalSettings.php
 * add the line   include("$IP/extensions/FreeMind.php");   placed on the end of this file.

2. Install the Plugin -rwxrwx--- 1 root   www    175 2006-07-09 07:33 README -rwxrwxrwx 1 lorenz users 6484 2007-07-26 12:11 FreeMind.php drwxrwxrwx 2 lorenz users  464 2007-07-26 12:12 freemind lorenz@dehgbnet0005:/srv/www/htdocs/pdm-wiki/extensions>

3. for additional information, here the settings in LocalSettings.php $wgEnableUploads               = true; $wgMaxUploadSize               = 1024*1024*1024*10; $wgUseImageResize              = true; $wgUseImageMagick              = true; $wgImageMagickConvertCommand = "/usr/bin/convert";
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:
 * 3) Lorenz !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'zip', 'doc', 'ppt', 'pdf', 'xls', 'mdb', 'mm', 'mmap' ); Can someone help ??? Thanks and Bye Michael
 * 1) Lorenz !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 * 2) File type extensions allowed
 * Enable the debug log (Prefferable while nobody else is using it) on your wiki, then upload one of the problematic files (or is it ALL files?) - and paste the failure line (NOT the whole log - it's huge) in here. It should look something like this:

MimeMagic::MimeMagic: loading mime types from includes/mime.types MimeMagic::MimeMagic: loading mime info from includes/mime.info MimeMagic::detectMimeType: magic mime type of /tmp/phppUIiOH: image/png MimeMagic::guessMimeType: final mime type of /tmp/phppUIiOH: image/png SpecialUpload::verifyExtension: mime type image/png matches extension png, passing file
 * Yours is failing in that area - that mime matching is where the "corrupt file" error comes from. To enable debug log, add this line to the bottom of your LocalSettings.php: $wgDebugLogFile = "$IP/MWdebug.log"; Your debug file will be in your Wiki root and called MWdebug.log *** make sure to turn debugging off asap! --Tim Laqua 14:08, 29 July 2007 (UTC)

Installation Problems on pytal.de
First of all this is my installation process:

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


 * PHP 5.2.3 installed
 * Found database drivers for: MySQL
 * Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads.
 * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * Session save path (/srv/www/httpd/phost/s/com/pytalhost/sro-wiki/ses) appears to be valid.
 * PHP's memory_limit is 24M.
 * Couldn't find Turck MMCache, eAccelerator, or APC. Object caching functions cannot be used.
 * GNU diff3 not found.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: /srv/www/httpd/phost/s/com/pytalhost/sro-wiki/web/wiki
 * Script URI path: /wiki
 * Environment checked. You can install MediaWiki.
 * Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually.

Generating configuration file...
 * Database type: MySQL
 * Loading class: DatabaseMysql
 * Attempting to connect to database server as phost78105...success.
 * Connected to 5.0.32-Debian_7etch1
 * Database phost78105 exists
 * Creating tables...Query "CREATE TABLE `wiki_job` ( job_id int unsigned NOT NULL auto_increment, job_cmd varbinary(60) NOT NULL default , job_namespace int NOT NULL, job_title varchar(255) binary NOT NULL, job_params blob NOT NULL, PRIMARY KEY job_id (job_id), KEY (job_cmd (160), job_namespace, job_title (160)) ) TYPE=InnoDB " failed with error code "Incorrect sub part key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique sub keys (localhost)".

I try to host mediawiki (new version) on www.pytal.de They are telling me to change some stuff:

1. open \includes\AutoLoader.php - #line 5 ini_set('unserialize_callback_func', '__autoload' ); to   @ini_set('unserialize_callback_func', '__autoload' );

2. open \maintenance\tables.sql - #line 467 cl_sortkey varchar(86) binary NOT NULL default '', to   cl_sortkey varchar(78) binary NOT NULL default '',

#line 1061 KEY (job_cmd, job_namespace, job_title) to   KEY (job_cmd (160), job_namespace, job_title (160))

#lines 1122-1124 pr_type varchar(255) NOT NULL, -- The protection level (Sysop, autoconfirmed, etc) pr_level varchar(255) NOT NULL, to   pr_type varchar(160) NOT NULL, -- The protection level (Sysop, autoconfirmed, etc) pr_level varchar(160) NOT NULL,

but i cant find line 1122-1124, it looks like this:

pr_type varbinary(60) NOT NULL, -- The protection level (Sysop, autoconfirmed, etc) pr_level varbinary(60) NOT NULL,

'''when i just change the 60 to 160 it looks like i posted on top! when i start the installation again (without deleting the tables he create on first try) installation go to the end, but i cant use the Admin-LogIn from installation-config.

Anyone know how to fix this???'''

--217.238.126.133 01:08, 29 July 2007 (UTC)


 * What error do you get if you try to run the installation WITHOUT making those changes they suggested? Try using the stock installer with no modifications.  The line 467 change on the "job" table creation is causing that particular error - but your mention of the page_restrictions tables - those match lines 1122-1124 in the MW 1.10.x tables.sql file.  Are you installing MW 1.10.1? --Tim Laqua 01:40, 29 July 2007 (UTC)

How can I link to other format URLs in my wiki?
like ftp://, \\192.168.1.1 etc.


 * You'll notice above that MediaWiki has attempted to render the FTP link;  ftp:// </tt> is a recognised URL protocol; see $wgUrlProtocols</tt> in includes/DefaultSettings.php</tt> for the others.


 * The other link is a UNC link which would equate to a local "file" under Windows, and thus use  file:// </tt>, e.g.  file://\\192.168.1.1 </tt>. It's possible to add this to the URL protocol list, however, a lot of modern browsers, including Firefox and Opera, won't render these for "security" reasons. This may or may not be configurable on the client. robchurch | talk 02:35, 30 July 2007 (UTC)
 * In Firefox you can configure UNC links like this. Maybe you want to try Extension:FileProtocolLinks as well. --Flominator 11:24, 30 July 2007 (UTC)

Problem with mySQL
I received this error. Please help me to fix it.

Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Can't contact the database server: MySQL functions missing, have you compiled PHP with the --with-mysql option? )

http://resg.com.au/rhwiki/

Regards, 203.22.70.5 02:09, 30 July 2007 (UTC)


 * PHP's MySQL functions have apparently gone AWOL, which means MediaWiki won't be able to access the database. This may indicate a change in your configuration, or some other breakage.


 * If you're responsible for managing the server, then follow the instructions on the PHP web site to ensure MySQL is compiled into PHP or otherwise enabled; if not, then please ask whoever is responsible to check the same. robchurch | talk 02:30, 30 July 2007 (UTC)

Rename Wiki
I have downloaded and installed the latest Media Wiki and started a wiki. Will I be able to rename the Wiki without having to start again or lose data etc? Thanks! 217.44.96.203 02:29, 30 July 2007 (UTC)


 * Rename in what manner? You can change the site name using $wgSitename</tt>, but are advised to add a namespace alias from the old name to the project namespace, to prevent link breakage, e.g.


 * $wgNamespaceAliases[' '] = NS_PROJECT;</tt>


 * You can move the wiki to another directory or server, but don't forget to update the paths set in <tt>LocalSettings.php</tt> - see Manual:Moving a wiki for more information on that. You can rename the database, but again, don't forget to update <tt>LocalSettings.php</tt>, changing the value of <tt>$wgDBname</tt> as needed. robchurch | talk 02:32, 30 July 2007 (UTC)

Deaktivate Discussion
Hi,

how can i deaktive Discussion all-over the Wiki?

Thanks

--91.17.110.223 13:20, 30 July 2007 (UTC)
 * Just hiding the discussion tab is a pretty common and simple tweak. Edit MediaWiki:Common.css in your wiki and add:
 * <tt>#ca-talk { display: none !important; }</tt>
 * <tt>#ca-talk a { display: none !important; }</tt>
 * So the talk pages exist, but there's no discussion tab - which is usually "good enough."
 * --Tim Laqua 14:43, 30 July 2007 (UTC)

Greate it Works Discussion are deaktivet (i put it direkt in my CSS file), well nobody see :-)! Thanks, but if i Login in my Profile i can see "My Discussion" were are the difference between "My Discussion" and "Discussion" ? 91.17.95.145 19:09, 30 July 2007 (UTC)
 * Use this instead then (remove the other two lines you put in earlier). This will disable general Discussion and "My Talk"
 * <tt>#ca-talk, #pt-mytalk { display: none !important; }</tt>
 * BTW, the difference is the classes and IDs they're using - cat links are across the top, and the pt links are the "user" links in the upper right of Monobook.
 * --Tim Laqua 19:14, 30 July 2007 (UTC)

about wikimedia settings
i installed mediawiki but i want only registered users create and edit pages... i didnt see this option in settings how can i do this ? sorry for english and first question --85.102.216.150 15:16, 30 July 2007 (UTC)


 * Edit LocalSettings.php and add the following lines to the end - before the closing ?>
 * <tt>$wgGroupPermissions['*'   ]['edit']            = false;</tt>
 * <tt>$wgGroupPermissions['*'   ]['createpage']      = false;</tt>
 * <tt>$wgGroupPermissions['*'   ]['createtalk']      = false;</tt>
 * <tt>$wgShowIPinHeader = false;</tt>
 * That should take care if it. --Tim Laqua 15:28, 30 July 2007 (UTC)


 * If there's a <tt>?&gt;</tt> at the end of the file, remove it; it's useless, and makes appending to the file a bit less convenient. robchurch | talk 22:18, 30 July 2007 (UTC)

Accountsettings
Hello,

I will use the mediawwiki software as Intranet.

Is it possible to change the Accountsettings, that every user musst aktiviate by an Administrator?

Sry for my bad English und Thank you for the answer.

Phillip


 * Yes, you have to disable all implicit rights and then MANUALLY grant the rights (or "activate") each user. NOTE - You will also have to make Sysops Contributors - NO ONE will have edit rights unless they have been put in the Contributors group (Special:Userrights to manage Groups) - Put the following lines at the end of your LocalSettings.php file (before the closing ?>)


 * Good luck! --Tim Laqua 19:01, 30 July 2007 (UTC)


 * Alternately, disable account creation and have the sysops create accounts for people who need them. You would then only need to add:


 * You could also use Extension:ConfirmAccount. Prodego 19:19, 30 July 2007 (UTC)


 * That's not nearly complicated enough. ;-) --Tim Laqua 19:49, 30 July 2007 (UTC)


 * Actually, all you need is this <tt>$wgGroupPermissions['*']['edit'] = false;</tt>, which is what I use on my 1.0.3 MediaWiki--and I can't create/edit anything as an anonymous user. Unfortunately, this permission doesn't allow unprotected page source text to be viewed, which I'd like to allow without having to do a mass page protection... -Eep² 20:09, 30 July 2007 (UTC)


 * 1.0.3?!?! Nice.  If someone registered an account, the DefaultSettings.php permissions assignment gives "user" edit rights.  * doesn't over-ride explicit permissions in other groups.  (as far as I know) - perms definately changed between 1.0.3 and 1.10.1  --Tim Laqua 20:25, 30 July 2007 (UTC)


 * It occured to me that you meant 1.9.3 - yeah, that works to disable anon edits, but this guy is trying to force sysop "activation" --Tim Laqua 20:31, 30 July 2007 (UTC)


 * Yea, sorry, I meant 1.9.3. ;) I still don't know why I downloaded that version when 1.10.1 was available. Ah well...brainfart, I guess. Anyway, do you know how to allow unprotected pages to allow "view source" if anonymous users can't edit pages? -Eep² 09:25, 31 July 2007 (UTC)
 * I don't think so. Looking at the code, there doesn't even appear to be a very straight-forward way to hack it in to submission either.

Session-data lost error
If I am logged on as sysadmin, I couldn't change articles, specially mediawiki:sidebar. What is wrong? medaiawiki says, that session-data had been lost. What ist wron? Although it is not possible to change user-roles. I have PHP 5.2.3 and MySQL 5.1. I spent almost 3 days with that Problem. Please let me know your experince at mailto:martin.schlederer@t-online.de

--84.151.97.8 22:09, 30 July 2007 (UTC)


 * Per rob's comment above and in Archive1 (Project:Support_desk/Archive1) - check to see if your session.save_path value in php.ini is valid and writable to the webserver - PHP configuration.

Page for each variable, function, etc
I just created wfMsg (which may need to be moved to Manual:wfMsg or Manual:wfMsg) for the function of the same name. I think there should be an article/page for each MediaWiki variable (such as already exist for Manual:Configuration settings) and function. -Eep² 14:58, 31 July 2007 (UTC)
 * I agree - but why post here? Wouldn't that be in a Manual discussion of some sort?  If not... lets make a Manual Discussion.  ;-)


 * If we're going to have pages about each function (which I think is a bad idea, development documentation should be in doc blocks in the code, or in files with a general overview of how to do things in <tt>mediawiki/docs/</tt>) then it ought to go in a separate namespace; it's not part of the user manual, and shouldn't be in the main namespace. robchurch | talk 20:31, 31 July 2007 (UTC)


 * Well, there's the Doxygen documentation (http://svn.wikimedia.org/doc/) but it's incredibly clunky to use and almost as bad as actually opening up the class files and hunting through them. So you're thinking of a Documentation: namespace?  I understand the objection as it creates a redundant data stores - but say I wanted to know the syntax for wfMsg right this second.  Where could I type "wfMsg" and get the answer?  I think that's the problem.  I don't think inline func defs do the entire job and I don't think manually replicating all of that data in a Documentation: namespace does it either.  Though, at least the Documentation: namespace would allow me to search for "wfMsg".  (and grepping for wfMsg is my current solution - I just don't thing that inline func defs are "adequate documentation").


 * That entire site should be moved to this wiki. I can't find any way to search it (other than Google, of course) and all of the functions are crammed into long lists, making the pages load slow and lag from all the "reference by" links (in Firefox anyway). There are no "functions by type" or whatever categories and the site just isn't very user-friendly. I do like being able to see the code of the various PHP files and links to various functions/variables though. :) -Eep² 04:13, 1 August 2007 (UTC)

Recording Username insted of IP address for page edits while not logged in.
--192.104.67.222 17:21, 31 July 2007 (UTC) Is it possible to change the settings of the wiki to record a username insted of an ip address for page edits? I would like to be able to log the username from Active Directory for my wiki insted of the IP address. I have my wiki in a corporate evironment.

Thanks in advance, Tom
 * Your users would have to log in - MW can't poll the client for the logged in user. See Extension:LDAP Authentication - We use that on our internal wiki against a w2k3 AD.  Also, we disabled anonymous edits, so the users all have to log in once (using their domain user and apssword), check "remember login" and they're good to go.  (assuming roaming profiles or static workstations).

Capturing new/updated pages being created in a external database
I have a external database (actually its on the same box just not in the mediawiki db) that when someone creates a new page or updates a page on the wiki then it inserts a record into my database. I can not seem to find in the php files the code that actually does the updating and inserting of the data in the database. Can anyone help point me to this location? I am using the newest version of mediawiki but I am sure the code will be in approx the same spot on different versions of the wiki.

--143.166.226.40 22:40, 31 July 2007 (UTC)
 * Use the ArticleSaveComplete hook and write an extension - it is called everytime an article is successfully inserted or updated. Manual:MediaWiki hooks/ArticleSaveComplete

I tried to make this change and I added the following code into my LocalSettings.php file but it appears it is never called. Do I need to add this somewhere else? $wgHooks['ArticleSaveComplete'][] = 'fnMyHook';

function fnMyHook(&$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags) {	$dbh = mysql_connect($wgKBserver, $wgKBuser, $wgKBpassword) or die("Unable to connect to MySQL"); die("Connected to MySQL"); // you're going to do lots more here soon mysql_close($dbh); } --143.166.255.40 15:01, 1 August 2007 (UTC)
 * It gets called when you click Save after editing a page. I just tested it on a MW 1.10.1 installation - here's the function I tested it with.  (I just put it at the bottom of my LocalSettings.php)


 * w/ this hook, you'll just get the dingI'mdead. screen whenever the hook fires. (and it does indeed fire after saving an updated article or new article.

Thank you, you were correct. It appears that if you just edit a article without changing any text and saving it, that it does not call the ArticleSaveComplete. One last question and I should be done. If I am connecting to another database in the php code, is there a way I can have it connect back to the wiki database? When I use the below code I get php errors after it inserts the record because it took over the connection to the wiki database.

--143.166.255.42 16:02, 1 August 2007 (UTC)
 * Have you tried adding <tt>return true;</tt> to the end of your function?
 * Otherwise, I have no idea - I've never initiated a separate connection. Most extensions simply create another table in the existing wikidb.  then use the wfGetDB( DB_MASTER ); function which uses the global Database class (stored in Database.php).  Here's an example:


 * note - this function uses the tableName method to get the 'real' name of the user table - this is because users can set prefixes to tables and such. You would just update or insert on your table name.  As for the whole getting the wikidb connection back question - I don't know - the Database class in Database.php is the one that handles the connection, so an answer might be in there.  Let me know if you or anyone else knows/figures it out.

Well I tried what you suggested along with other items and I am still not able to get it to work. I understand that most people use the same database but mine has to goto a different server. I do connect to the other server and able to process the data. What it appears is that I am canceling the connection to the mySql server the wiki is using. I tried to add $dbw =& wfGetDB( DB_MASTER ) at the end of my function but I still get the same errors. The error is

Warning: mysql_real_escape_string: 33 is not a valid MySQL-Link resource in C:\Inetpub\wwwroot\wiki\includes\Database.php on line 1607 and Warning: mysql_query: 33 is not a valid MySQL-Link resource in C:\Inetpub\wwwroot\wiki\includes\Database.php on line 779

I tried looking all thru the database.php file to see if there was some function that tells the software to connect to the database but I could not find anything. Does mediawiki have a function that I can just call if i wanted to connect to the database or how exactly does this happen?

--143.166.255.42 19:43, 1 August 2007 (UTC)


 * Try using the ArticleSave hook instead of the ArticleSaveComplete hook - between when ArticleSave and ArticleSaveComplete fire, the database connection is created in doEdit of Article.php . Make sure your function returns true!  If your function does not return true on an ArticleSave hook, the edit will NOT happen.  Input is the same for both hooks.

Well I really dug into this following the functions around and I found out that the wfGetDB will reopen the connection to the database if its not available. So to complete what I was trying to do, I closed the connection to the database and then it reopens at the end of my hook. Everything appears to work unless I am missing something. Can someone verify that this should not cause any problems and that I am reading it correctly that wfGetDB will reopen the connection? Below is the code I am using so someone else can benefit from my trials


 * I thought you already tried adding that wfGetDB call and it didn't resolve the issue? But it looks good - the MW connection is idle because the execution of that hook is linear - there are no other processes using the connection while you are inside your hook function. So as long as that solution re-establishes the connection (evident by the fact that it's not throwing mysql_query errors post-hook execution), that's a cool little extension.  ;-)  If you want more feedback on it, you can post it as an Extension: page and explain that it's a "Proof of Concept" extension.  Most people will comment on specific Extension methodology on the Extension's talk page.


 * I did add the wfGetDB call, but the problem is that this hook was deleting the connection to the database so it never reconnected to the database. Maybe something to think about adding in the mfGetDB function is to check to make sure that it has a connection to the database and if it does not to reconnect to the database. For 99.99% of the people this would never be needed but it could help make sure people dont run into these type of problems again.


 * The last thing I would like is if a wiki page is deleted that it would also connect to the external database. This wouldnt be in the ArticleSaveComplete hook would it? If so how can I know if it was a delete or add/update?

--143.166.255.41 21:45, 3 August 2007 (UTC)


 * Maybe to also give you some additional information on what this is used for, we try to maintain formatting and have people check on articles once in awhile to make sure they are correct. So now when someone adds/updates a article it makes sure its in a secondary database so we can mark it off when we verify the html... and then we can send out automated reminders that they need to make sure the article is upto date. It is a cool extension, but not one most people would need.
 * Interesting. I could see it being used scoped down to a partiuclar namespace - like have it check which namespace the article was saved to and if it was in the "monitored" list, it'd log the save in the external db sort of thing.  Like if you only wanted to monitor Project: and Help:.  As for your hook, just hook ArticleDeleteComplete as well ;-)  -NOTE - ArticleDeleteComplete has a different argument set - check documentation for details.  See Manual:MediaWiki_hooks for the list.


 * Tim.. Is there a way I can contact you via email? I dont want to post my email address on this site as I am sure you dont either. If you want you can goto http://www.okctickets.com/contact.php and fill out the form and then I can send you a email that would be great.
 * --143.166.255.41 21:45, 3 August 2007 (UTC)


 * Done.

Custom color of namespaces
I'm sure it's hidden somewhere, but I wasn't able to find it: How do I change the background-color of one specific namespace? Regards, --Flominator 10:48, 1 August 2007 (UTC)
 * MediaWiki:Monobook.css
 * <tt>.ns-4 #content { background-color: #eef}</tt>
 * So Namespace 4 (Project) = pastel blue BG.
 * Awesome. Thx. --Flominator 08:44, 2 August 2007 (UTC)
 * Awesome. Thx. --Flominator 08:44, 2 August 2007 (UTC)

Permissions Question
I just had a quick question. How can I totally remove the login/registration features on the website, and make it so that anyone can post anything? Basically make it an "Open Wiki". I need to 1. Remove the register/login options. 2. Allow global permissions for people to do everything as guest (except edit the pages I marked as "Non-Editable". Any Advice?

--72.148.242.187 12:59, 1 August 2007 (UTC)
 * Add these lines to the bottom of your LocalSettings.php - that should give anonymous users the same rights that "registered users" would have and disallow user registration. There may be other "sysop only" permissions you want to grant to anon as well - just add them in on new lines and set to true as below.

// Implicit group for all visitors $wgGroupPermissions['*'   ]['createaccount']   = false; $wgGroupPermissions['*'   ]['read']            = true; $wgGroupPermissions['*'   ]['edit']            = true; $wgGroupPermissions['*'   ]['createpage']      = true; $wgGroupPermissions['*'   ]['createtalk']      = true; $wgGroupPermissions['*'   ]['move']            = true; $wgGroupPermissions['*'   ]['upload']          = true; $wgGroupPermissions['*'   ]['reupload']        = true; $wgGroupPermissions['*'   ]['reupload-shared'] = true; $wgGroupPermissions['*'   ]['minoredit']       = true; $wgGroupPermissions['*'   ]['purge']           = true;
 * To hide the Login/Create Account link, edit MediaWiki:Common.css in your wiki and add:
 * <tt>#pt-login { display: none !important; }</tt>
 * See Manual:Preventing access for further information

HTML tags: what extensions?
The Wikipedia template w:Template:Infobox Ethnic group uses lots of  tags throughout, yet it just displays   on my setup, instead of (presumably) terminating that table row.

I have the same set up as above and the following extensions installed: Cite (Ævar Arnfjörð Bjarmason); Inputbox (Erik Moeller) and ParserFunctions (Tim Starling).

Is there another extension I have to install or is there some variable that allows the use of specific HTML tags that I have to set? Thanks in advance. --82.4.221.60 22:03, 1 August 2007 (UTC)
 * No, it's more likely that you're missing transcluded templates that the master template relies on. Look at the HTML source for the page that you're seeing (right-click, view source) and locate the area where you're seeing the   tags - there should be opening   tags for each one.  Also, look at the "Templates used on this page:" section when you edit the template - you need to ensure that any other templates the master template relies on also exists.  Generally speaking, it's not a good idea to try and use one of wikipedia's templates as they often have a large number of dependencies - it's best to examine their template and re-build it yourself to suit your needs.  Good luck.


 * Yeah, I had already included all the templates necessary (thankfully those templates didn't have other transcluded templates!). I had a look at the source code and I saw &lt /tr&gt (semi-colons removed) - I'm not familiar with either of those codes lt or gt, and I don't know why they'd be there. I'm guessing they're "less than" and "greater than".


 * I copied the template from Wikipedia and pasted it in. In the original wikicode, there weren't actually any opening tr tags either.. but the template there works. Presumably either the pipe or pipe-dash template is equivalent to the tr tag.

--82.4.221.60 06:46, 2 August 2007 (UTC)
 * Yup, it's the Pipe. They won't be actual html tags won't be created until the MW parser processes it.  ;-)

Creating Thumbnails Not Working
Hello - I'm the webmaster of Zelda Wiki.org (http://www.zeldawiki.org/), and I continually experience a problem generating thumbnails. A thumbnail for any image can be created, so long as it does not deviate from the default 180 pixel setting. However, set your own pixel width, and it generates this message: Error creating thumbnail: sh: /usr/bin/convert: No such file or directory. I have not been able to find any solution to this, and am unsure of the cause. It began on roughly July 22nd, of unknown origin - I was away at the time, and was not able to manage the wiki to know if something had gone wrong.

Thanks for all the help! --Jason (aka GoldenChaos) 13:29, 2 August 2007 (UTC)
 * Try flipping ImageMagick off in LocalSettings.php and just letting it use GD for the convert. <tt>$wgUseImageMagick = false;</tt>
 * Thank you - that solved the problem. However, is there any specific reason why ImageMagick should stop working? Also, it appears that now some transparent PNG's have had their alpha channels made into black pixels. Oddly enough, some remain transparent. Is this something that "GD" does, or is it just an effect of switching the image renderer? --Jason 18:31, 2 August 2007 (UTC)
 * I've seen that many times w/ GD. I'm not 100% on why it happens - I would imagine it's a known bug.  You could take a look at bugzilla.mediawiki.org and see if the bug has been reported already (I didn't notice it in there) and if it's not, you can report it.  Otherwise, you can try to get ImageMagick working again - try to figure out what changed and why it stopped working.  Verify that /usr/bin/convert is indeed the ImageMagick converter - sometimes <tt>$wgImageMagickConvertCommand = "/usr/local/bin/convert";</tt> is the correct setting.
 * Ok, I figured it out. It's the GD lib w/ PNG-24 alpha trans.  Patch posted on SVN.

Inserting wiki pages using an external script
I've got a lot of pages of content that I'd like to insert directly into my wiki instead of manually creating them one by one. I was going to write a PHP script to handle it, but got stumped. I'm a little confused about the tables and fields that I need to edit as a minimum. I create a new page_id, and page_title... and the text needs to be put into old_text... but the revision table has me puzzled. Is there an easier way to achieve this?

--195.137.100.182 17:49, 2 August 2007 (UTC)
 * Are the existing pages from another wiki? If so, just export them and then import them in to the new wiki.  If they're not from another mediawiki installation, but just raw content - there are many ways to get the data in - but directly inserting the data in to the database isn't one of them - it's incredibly complicated. Manual:Database layout What does your existing content look like?  Like, what format is the existing data in, where is it stored, etc - Then we can help you w/ a method for inserting it using the actual MediaWiki engine.  An extension for the import is one option (pry too much work for a small batch), or like a bot to do the inserts.  If it's a public facing wiki, someone could pry run the import using a bot for you.


 * I'm basically looking to convert an existing 'regular' database driven site into a wiki-based one. It's not a particularly small number of pages - around the 5 thousand mark, but I wasn't necessarily planning on doing them all at once. Data is in a MySQL db, mostly just plain text. Nothing fancy. I'm really just exploring my options at the moment - seeing what the easiest method would be. --195.137.100.182 18:26, 2 August 2007 (UTC)
 * Sure - take a look at <tt>maintenance/importTextFile.php</tt> in your wiki installation. It's got all the code to use the Article class' doEdit method.  That could easily be modifed to pull from your DB.
 * Aha! That looks like just what I'm looking for. Thanks a lot! --195.137.100.182 18:46, 2 August 2007 (UTC)

Embed special page results
From meta:Help talk:Embed page, is there a way to embed results from special pages like Special:Whatlinkshere/? I'd rather not have to dork with DPL or another extension to do this if I don't have to... -Eep² 10:40, 3 August 2007 (UTC)


 * OK, I found out after reading meta:Help:Embed page but now I'd like to make <tt>../includes/SpecialWhatlinkshere.php</tt> more intuitive so it doesn't display the <tt>View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).</tt> navigation links if there are less than 20 (or whatever the minimum # is) results. Ideally, the formatting of this string should be customizable in the MediaWiki:Whatlinkshere-nav (navigation/whatever) system message page, too. Also, I'd like to have an option to remove this text and customize it as well:

< Page name

The following pages link to Page name:


 * OK, seems the "<" is customizable at MediaWiki:Whatlinkshere-barrow and "The following pages link to :" is at MediaWiki:linkshere. However, it would be nice if these messages were optional with embedding since the page name may already be shown on the embedded page (as is the reason I want to embed backlinks on the actual page of the same name). -Eep² 11:50, 3 August 2007 (UTC)
 * Sounds like something that should be posted on http://bugzilla.wikimedia.org . ;-)  Sure, it can be done, SpecialWhatLinkshere.php, showIndirectLinks - look for the call to getPrevNext.  If you'd like to make it a normally includable special page AND make it so when transcluded, those links don't show up, throw a enhancement request on BugZilla.  Note, there can't be transclusion options - the page would pretty much have to have one behavior as a stand-alone special page and one other behavior as a Transcluded page.

Common.js
When I try to edit Common.js in my own wiki, I get the following message:

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 "Title::getInterwikiLink". MySQL returned error "1267: Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '=' (localhost)".

--Andysoft 09:50, 10 July 2007 (UTC)
 * Has this been resolved?

Error: HTML tags on page
Hi! I wish to make copy Wikipedia in a local network. Has established MediaWiki, some extensions, however some pages are displayed incorrectly. For example, as here. What expansion is necessary for establishing, that clause showed correctly? Whether there Is somewhere a list of extensions with which works Wikipedia?--82.200.96.1 23:38, 10 July 2007 (UTC)
 * See w:en:Special:Version

External link is rendered strangely in IE 6.
If an external link text span a line, the rendering of a tiny icon indicating external link seems to mess up. Anyone have the same experience? [http://www.mediawiki.org Here is the example of an external link which line wrap causes an external icon link to disapper ............. ............... ................ ............. .............. ............... ................... ...... ..................]


 * Yeah, I have the same on IE7. See if it's been reported in BugZilla - if not, go ahead and report it.


 * I've also experienced the problem in IE7.0.5730.11, but not Firefox 2.0.0.11.

Memory Leak on Win2k?
I've just installed the latest version of MediaWiki on my Win2k server (please, no giggling) and was suprised to find that PHP started throwing "Fatal Error: Out of Memory" errors and delievering blank pages, not just on the Wiki site, but on all PHP pages on the server.

Now, I did some Googling around and found that a bunch of people banished this error by upping thier PHP memory_limit from 8M to 32M. This elicits nervous laughter from me, as I've had that nailed at half a GB for years now -- the hardware handles it fine. I'm running PHP 5.2.1 and the server has been faithfully serving fairly intensive PHP pages for years prior to the introduction of Wiki. Removing the MediaWiki software makes the problem vanish.

Anyone have any ideas here?


 * Has this been resolved?

Expiry question
When using protection expiry, how do you format the expiry field?

Thanks, Matt 71.126.156.74 22:52, 21 July 2007 (UTC)
 * GNU Date format (there are various options) - this is a common format: 2005-12-25 00:56:27 GMT

Problem of sending confirmation email through SSL
OS: Windows XP SP2 MediaWiki: 1.10.1 PHP: 5.2.3 (apache2handler)

extension=php_apc.dll extension=php_gd2.dll extension=php_mbstring.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_sockets.dll

PEAR install --alldeps mail

$wgSMTP = array( 'host'    => "smtp.gmail.com", 'IDHost'   => "username@gmail.com", 'port'     => 465, 'auth'     => true, 'username' => "username", 'password' => "password" ); SSL and 465 port are required by Gmail. Long time after I started sending the confirmation email, no result is returned. I looked into its network connection with netstat, finding that Apache did connect to a Gmail server (such as po-in-f109.google.com:465). Then of course, timed out, and a blank page is returned.

I've already searched for this at mw and meta with all kinds of methods, but no similar problem is found. So is there anyone to help me out? Sicaral 02:18, 22 July 2007 (UTC)
 * Are you able to send via non-ssl, port 25 smtp? Also, have you tried using your hosting service's SMTP server rather than googles?


 * Hi, I have this same problem. If I enable timeout for PEAR-mail, it gives the error message Could not send confirmation mail. Check address for invalid characters. Mailer returned: Failed to connect to smtp.gmail.com:465 [SMTP: Invalid response code received from server (code: -1, response: )]


 * EDIT: I found the solution! Add ssl:// to the host, so it is "ssl://smtp.gmail.com". Voila! See

Moving the Logo
How do I move the logo to the left, eliminating that small margin between the left edge of the logo and the left edge of the page?


 * Has this been resolved?

How to keep sans-serif font when printing?
All mediawiki pages appear sans-serif eg. like Arial. But when I print a page either the standard or printable version, the print out uses a serif font, like Times Roman. How can I stop this? I want my printed page to look like it does on the screen. 220.244.88.206 05:32, 25 July 2007 (UTC)


 * Edit the printing stylesheet, which can be found in <tt>skins/common/printable.css</tt> or similar. robchurch | talk 20:41, 25 July 2007 (UTC)
 * Thanks - but that doesn't seem to work. I edited <tt>skins/common/commonPrint.css</tt>, the only thing mentioning font type was the line span.texhtml { font-family: serif; } which I've tried changing to <tt>sans-serif</tt> as well as commenting it out.  Neither makes any difference.  I'm using Ctrl+Refresh on my page after each change.  I notice in the HTML source of the printable version of the page a line <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "/wiki/skins/monobook/main.css?7"; /*]]>*/ . Perhaps I need to change the <tt>media</tt> tag to something else?  I don't know how to change this though.
 * Are you still having problems w/ printable versions showing up in a serif font? Or has this been resolved?

Several questions

 * Broken spanish text removed, see the diff for the original posting. -- :Bdk: 22:15, 26 July 2007 (UTC)

This comment has an approximate (but maybe not accurate) translation to english at the bottom. Excuse me for my bad english. --El Racionalista Prenihilista 20:04, 26 July 2007 (UTC)

Where can i download a "user manual" about mediawiki
in order to edit the pages with greater theoretical knowledge, obtaining a better performance creating and editing those pages? If this manual doesn't exist, please do it as friendly as possible, for those of us whose have basic knowledge in programming. It would be rather to wikipedia it be this way, in order to expand its possibilities. --El Racionalista Prenihilista 20:04, 26 July 2007 (UTC)


 * Doesn't exist in a document that you can download in a single document. Currently it is spread throughout the pages here in MediaWiki.org --Dr DBW 02:48, 30 July 2007 (UTC)

wikiversidad: Music Notation
i'm actually working on some projects in "wikiversidad" (yes, in spanish lol) and i need the ability to create the pages in music notation At a first glance, we have thought trying to convert the sheet music into images, after it then upload them in commons and make a link in the page to that image. Because the project is related to music, it is unavoidable to listen the music score, we'd have to do exactly the same way  for every music file; on the other hand, it is neccesary for all the users (and attending to the wiki policy) that editing the scores in the page from existing mistakes be possible... but because of they are in an image format the users should repeat all the process over and over. As it could be seen, this way could be easily turned into a mess. For that reason it is necessary that a code be implemented in order to write the sheet music directly in the page and this code also allow (just as lilypond or any music notation software does) to listen what is written in the page. I was reading about a language called "wikitex" or somethng like that; i tried to use the code according to this lenguage but it didn't work. I used the code according to lilypond especifications and nothing happened (well, it appeared as text in the page, lol), even so it was said in the wikitex page that we cand improve our articles by using that code. Summing up, it would be a good idea to implement a language, a tool, a code (or whatever it be the name that the developers give to it) that can do that functions just mentioned, this only if it's desirable to make wikiversity (wikiversidad) a real learning project. Another Suggestion is to have the ability to listen simultaneously to the sheet music we are just watching in the page. It will be an enormous learning tool. --El Racionalista Prenihilista 20:04, 26 July 2007 (UTC)


 * This the code / extension that allows music to be put into wiki pages Wikitex. It should work, may be ask the developers why yours is not. --Dr DBW 02:48, 30 July 2007 (UTC)

It is supposed to work....but it doesn't work. I mean, it work on the page of wikitex, but only in that page. :S --Johann 14:24, 31 July 2007 (UTC)

Can you tell me how to embed the page "wikisophia.org" to partially fix the problem with the music notation??
Thank you for your answers --El Racionalista Prenihilista 20:04, 26 July 2007 (UTC)

Can I be a "counselour" on the implementation of the music notation software?
If it is the case that i can't be a counselour or anything like that, I'd like to make the following suggestions:


 * 1.- Use exactly the same language that lilypond uses (not similar, the same). Being this way we don't have neither to learn new languages nor shift the way we are used to input music. It diminishes the difficulties in making new learning projects.


 * 2.- Allow the possibility of opening links in new pages according to the will of who is editing the project. This make possible many things about playing some kind of multimedia...and the ability to see different pages simultaneously makes some learning processes be easier, especially in musical matter.


 * 3.- Make the pupil able to listen to the music that is written at its own will. For example, if we want to show the sound of every note of the diatonic scale, the person who is learning it should have the option to play that sound at its own will and skill without loosing the view of the current page. He(or she)needs to listen and look simultaneously to learn properly.--Johann 16:33, 27 July 2007 (UTC)

Deleting Page - Nothing Happens, Does not Delete
When logged in as a sysop user, the Delete link is there for the page, but when I click on the "Delete" button on the "Confirm Delete" page, nothing happens. It appears to just reload this "Confirm Delete" page and does not delete the intended article.

Any suggestions greatly appreciated

--216.86.181.69 08:41, 29 July 2007 (UTC)
 * Has this been resolved?

Mediawiki in sub directory
Hi dear wiki-ers, I havce a drupal site, and I wanted to add a wiki. I've installed Mediawiki in my site under a subdirectory (i.e. public_htmp/wiki) and having trouble with enabling the "nice URLs. I can get the .htaccess to resirect mysite.com/wiki to go to the wiki so the browser actually returns http://www.mysite.com/wiki/index.php?title=Main_Page when I acecss http://www.mysite.com/wiki . by for some reason, if I enable nice urls as described at here, the nice URL get rerouted to the drupal site. Thansk in advance, Udijw 13:03, 30 July 2007 (UTC)
 * Has this been resolved?

Only registered users create and edit page
how can i do this ? just registered users can create and edit page ? i didnt see any page about this...

--85.102.216.150 14:41, 30 July 2007 (UTC)
 * See Manual:Preventing_access

CSS Mediawiki with no Logo
i made my one Skin based on Monobook, but i dont find the line were i can put the Navigation up. I clean the p-logo line in "monobook.php" an the CSS but the Navigation would not come up.

--91.17.123.33 20:33, 31 July 2007 (UTC)
 * Has this been resolved?

XAMPP Installation Problems
I recently setup XAMPP and extracted the mediawiki fodler into the proper location according to the setup instructions. When i goto http://localhost/mediawiki im gettin the 403 message Access Forbidden! Anyone know what i should look for to correct this? Thanks

--74.128.1.3 22:51, 1 August 2007 (UTC)
 * So this is the folder you copied the MediaWiki files to?
 * <tt>C:\Program Files\xampp\htdocs\mediawiki </tt>
 * and inside the mediawiki folder, you see LocalSettings.php and all the other files?

Edit thumbnails php files
Can someone can tell me where the GD functions are in mediawiki 1.10? I don't find them anymore in Image.php :s

Sorry for my bad english :$ --217.112.179.120 12:55, 2 August 2007 (UTC)
 * [wikiroot]/includes/media/Bitmap.php

How to handle nested XML tags
Hello there,

my name is Matteo and I'm writing from Italy.

I tried to find an answer to this question, always unsuccessfully, that's why now I'm posting here.

I'm writing an extension that should handle XML text created editing MediaWiki pages.

I registered an hook just like $wgParser->setHook( "mytag1", "renderer" ) where I would like to parse the entire XML and return the appropriate output.

The issue comes with nested tags, i.e. if I write:

This is just a test

the input passed to my hook function is only "This is just a test" without and the same happens for every other nested tags.

How can I solve this problem?

Many thanks in advance,

Matteo. --83.103.98.38 11:42, 3 August 2007 (UTC)
 * You must parse the 'inner' sections by yourself i.e. MediaWiki can't help you here, at least not directly. Check out Extension:XML_Class for some inspiration. Jean-Lou Dupont 15:08, 3 August 2007 (UTC)
 * It should all be passed to your function just fine - you want the wiki page to "display" those tags on the screen, you have to do like <tt>return htmlspecialchars( $input );</tt> to escape the special characters (like angle brackets).
 * Hello Tim,


 * many thanks for your quick reply. Well, I knew I had to parse the XML by myself, the problem is that the default parser doesn't pass the tags to me, as in the example above.


 * I don't think I had to modify the parser, what can you say about this?


 * Thanks,


 * Matteo.
 * Start with this - This should return the full tags escaped (so they display to the screen) - I tested your exact example.


 * This will simply render what's "inside" the tags (including random xml tags)

Table of contents
Sorry for the stupid question, but how do I create table of contents in articles? FAQ describes how to hide them, but I can't even see them! -217.10.43.49 15:48, 3 August 2007 (UTC)
 * Use the  magic words. Jean-Lou Dupont 15:51, 3 August 2007 (UTC)


 * Thanks! But is it possible not to type this every time I need a TOC? Like in Wikipedia or even here (I guess). 217.10.43.49 16:01, 3 August 2007 (UTC)
 * Not without an extension that would foul the parser. Check 'Parser::formatHeadings' method to see for yourself. Jean-Lou Dupont 16:25, 3 August 2007 (UTC)
 * You could use Extension:RegexNamespaceContext and create yourself an 'header page' for each namespace you require TOC to be present. Jean-Lou Dupont 16:34, 3 August 2007 (UTC)

Local Installation Question
I am looking for the instruction on how to install mediaWiki locally. If you know where to find it, Please give me the link to it. Thank much - —The preceding unsigned comment was added by Phungho2000 (talk • contribs) 12:16, August 3, 2007. Please sign your posts!


 * Installing locally is the same as installing for any other architecture. You simply access the page via http://localhost/ instead. See Manual:Installation

Updating
I am running MediaWiki 1.6.8, can I update to the current version or will I have to update step by step i.e. 1.6.8 to 1.6.9 to 1.6.10?

thanks for any help --70.67.167.157 01:38, 4 August 2007 (UTC)
 * Updating straight from 1.6.8 to 1.6.10 should be fine.

Misunderstanding
What I mean is can I update from 1.6.8 to 1.10.1 or will I have to go in order. --70.67.167.157 16:04, 4 August 2007 (UTC)
 * You can directly upgrade from 1.6.x to 1.10.x. See Manual:Upgrading_MediaWiki, and more importantly, once you download the latest release (1.10.1), examine the UPGRADE document.  This provides a solid overview of your options and what you need for the upgrade.

Separate read/write databases for MediaWiki
Hi Everyone,

Is there native support for replication (writes to one master db but read from multiple slave db) with MySQL in the current Mediawiki (1.10.1) revision? Googling shows an explanation that Wikipedia uses something like this, but does not give any specifics. I've tried searching for a plugin, as well as the install/admin docs. $wgDBservers looks like it might be the config info for read-only databases, but doesn't specifically say so.

Thanks much! -Frank

-64.142.42.56 01:43, 4 August 2007 (UTC)


 * Update - How do I mark a DB in wgDBservers as either DB_MASTER or DB_SLAVE?
 * From my understanding, you can't specifically mark a server as "DB_SLAVE", but I believe the $wgDBservers['load'] defines the ratio of DB_SLAVE traffic that is sent to that particular node/server - I'm not sure if that means you can set 'load' to 1 and then have ALL DB_SLAVE traffic directed to that node. Worth a shot I suppose.  ;-)  When you get a working $wgDBservers config, could you post your example?


 * <tt>$wgDBservers[0]</tt> (i.e. the first server) will be used as a master. In the standard MySQL replication setup, there is only one master. robchurch | talk 23:03, 6 August 2007 (UTC)

Hosting
What site is good for hosting MediaWiki? --Hye 04:39, 4 August 2007 (UTC)


 * I use www.siteground.com. -Virtualtoychest 13:27, 4 August 2007 (UTC)
 * I find that *most* hosts can do the job. some need less wrestling than others.  The last one that I setup was on a GoDaddy Econo-Linux plan - I had to set the .htaccess file to make *.php process w/ PHP5 and the ImageMagick path is non-standard.  These are common problems w/ cheap hosts.

Technical problems in the Latin Wikipedia
Since yesterday we are having technical problems in the Latin Wikipedia. Some/many talk pages are not displayed, I mean, they are displayed blank, there is not even a navigation on the top. See w:la:Vicipaedia:Taberna.

To whom should we report this problem? Thanks! -- w:en:User_talk:Roland2
 * Looks like they're all working now, right?

game server folder
what file do i put in game server folder so pr maps so on BFCC —The preceding unsigned comment was added by 24.205.52.103 (talk • contribs) 03:16, August 4, 2007. Please sign your posts!
 * Could you rephrase the question? I'm not sure what you're asking - did you possibly post your question on the wrong Wiki?

is there a tool for testing skins
I am not sure if this is the right place for this question, so I apologize if it is inappropriate here. The only way that I know how to test skins that I am creating is to upload them to my server. This is a real hassle as I make my fair share of errors and constantly have to upload the files. Is there a way to test them locally? (When I make an html file I can load it in my browser without uploading it.)

Also are there any other resources on the net for creating skins other than the skinning page, and the other users files?

-Virtualtoychest 13:23, 4 August 2007 (UTC)
 * Well, the only way to test the skin is to actually have the PHP intrepreter do it's thing. So if you want to test locally - Install MediaWiki on your computer.  Then you can test at http://localhost/wiki or whatever and then upload when you're done.  Also, I haven't seen much in the way of other "skin tutorials" or assistance - certainly the best referance I've used is other people's skins/code.

Load html file dynamically to Wiki page ?
Several html pages (they are hierarchically organised and with hyperlinks between them) are edited via svn at the moment and displyed as statis htmls on intranet (intranet web directory is a sandbox of this svn repository). We want users continue to use svn to update the files but want to upload these file new viersions automatically to wiki which is used as main intranet now. What we would need is something like put a link to html file to wiki page and that this html file is uploaded again each time it is updated in the svn repository is updated. Is this possible and how ? -89.212.41.151 14:18, 4 August 2007 (UTC)
 * See Extension:Include

help
i wanna be an admin on a wiki but the only admin hasnt edited in four months. the wiki is wikinorth24.109.218.172 17:28, 4 August 2007 (UTC)
 * You have to get in contact with the existing Wiki admin or find someone who has access to the webserver that the wiki is hosted on. You can't simply usurp someone's Wiki.  ;-)  If he/she set a catchall forward on his hosting account, you can usually email admin@theirdomain.com and it should forward to them (hopefully).  Good Luck!

wiki free hoster?
Is there any good or free (I know, they don't come together) hoster to install wikimedia on?. -66.130.120.174 22:00, 4 August 2007 (UTC)
 * Not that I'm aware of. The biggest hurdle w/ a free hosting account would be access to a MySQL database for the wiki backend.  As long as your hoster can offer PHP5 support and a MySQL database, you can *usually* get MediaWiki running.
 * Visit Funpic.de

Error in my_thread_global_end: 1 threads didn't exit
I have just installed MediaWiki into a Win2k3 environment and have the above error message on every page I view. The system seems to function but I have an aversion to error messages.

Environment Windows 2003 Server MediaWiki 1.10.1 MySql 5.0.24 PHP 5.2.3

I am a Wiki newby, I have looked in the forums and not been able to find a similar error. Can anybody point me in a direction to resolve...

TIA

John

-203.97.248.13 08:39, 5 August 2007 (UTC)
 * I know some people had problems with w/ libmysql.dll in the PHP 5.2.2 release, maybe there's still problems w. the 5.2.3 release - try downloading http://dev.mysql.com/downloads/connector/php/ (packages will contain libmysql.dll and php_mysql.dll) - replace your existing versions (In your PHP folder) with these versions of the files - see if that takes care of it.


 * Thanks, this appears to have resolved the issue. -John

Modrewrite and Mediawiki
Hi,

i am install my Mediawiki 1.10.1 on root/wiki/ but i could not rewrite my URLs. What must i insert on Localfile an .ht the Takes on mediawiki.org would not funktion. But Moderewrite is aktivtet (a wordpressblog works with Modrewrite).

Thanks

-91.17.79.194 15:36, 5 August 2007 (UTC)
 * See Manual:Short_URL
 * my Code in Localsettings.php
 * <tt>$wgArticlePath = "/wiki/$1";</tt>
 * in .htaccess

<pre style="margin-left: 4em;"> ''RewriteEngine On RewriteBase /~username RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^wiki/(.*) wiki/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ wiki/ [L,QSA] RewriteRule ^/*$ wiki/ [L,QSA]''
 * if i Type: **tp://arwen78.arwen.baumedia.biz/wiki/ i get an 301 to **tp://arwen78.arwen.baumedia.biz/wiki/Hauptseite but an 404 to. I dont know whats wrong? (Please dont link to the wiki)


 * 91.17.83.220 16:37, 5 August 2007 (UTC)
 * Hello again - Try this in your .htaccess

<pre style="margin-left: 6em;"> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^wiki/(.*) wiki/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ wiki/ [L,QSA]
 * That should work. - note, if you already have the RewriteEngine turned on for your wordpress rewrites, you don't need to turn it on again.


 * WOW it works. But if user type **tp://arwen78.arwen.baumedia.biz/wiki/index.php?title=Elektronik he get the Site. But i want rewrite direct the URL **tp://arwen78.arwen.baumedia.biz/wiki/Elektronik ! Did you now if this Script works?

<pre style="margin-left: 8em;"> RewriteCond %{THE_REQUEST} ?title=(.+) HTTP RewriteRule ^.*$ /wiki/%1? [R=301,L]

RewriteRule ^wiki/?(.*)$ /wiki/index.php?title=$1 [L,QSA]
 * 91.17.97.196 18:35, 5 August 2007 (UTC)
 * Not recommended. ;-)  index.php?title=xxx$action=edit is the query string used to edit an article, and rewriting it would make it impossible to edit anything - for the most part, all you can rewrite is base article view URLs.  So if you wanted to play around with redirecting JUST article title query strings, you would have to make sure there weren't any other arguments in the query string (like &action=edit) - here's the condition that should scope it down to just article views.  As for exactly what to use - I'd have to play w/ it, I've never rewritten them in that direction.  ;-)  Feel free to post your solution if you do decide to go that route.
 * <tt>RewriteCond %{QUERY_STRING} title=([^&;]*)</tt>

MediaWiki:Editsection
I want to change this from "edit" (actually, I want to get rid of the brackets too) to just an image like but the wiki markup isn't interpreted for this message. How can (and what do) I change (in) whatever PHP file (../includes/Linker.php?) necessary to enable this (but make the image link to the edit section and not the image page)? Perhaps there's an existing extension that uses Manual:MediaWiki hooks/editSectionLink to do just this I'm not aware of (Extension:DiscussionThread Article does somewhat but not for what I want)? -Eep² 00:55, 6 August 2007 (UTC)
 * Cool icon. Here's your extension - I made it as complicated as possible. Extension:Edit_Section_Link_Transform ;-)


 * Heh, thanks, but does it only work for MW 1.10+? I'm still on 1.9.3...though I guess this could be another reason to upgrade... -Eep² 02:49, 6 August 2007 (UTC)


 * Naa, it pry works fine on 1.9.x pry even 1.6.  I just write 1.10+ on everything I write because that's what I test on.  ;-)


 * But those hooks were introduced in 1.10 so they probably won't work in earlier versions... -Eep² 03:36, 6 August 2007 (UTC)


 * ParserAfterTidy, available from version 1.5.0. (or so says the hook documention)


 * OK, I got this to work (not the extension but using an image) by just putting <tt><img src=http://upload.wikimedia.org/wikipedia/commons/a/a9/Crystal_Clear_action_configure.png width=16 height=16 border=0></tt> in MediaWiki:Editsection (with <tt>$wgAllowExternalImages = true;</tt> in LocalSettings.php, of course). Although the system message will render the image at full size (and show the HTML code), MediaWiki will render the HTML properly after putting the message through <tt>wfMsg</tt> (which doesn't remove the HTML). I also removed the brackets [ ] in Linker.php. -Eep² 03:36, 6 August 2007 (UTC)


 * Well, that sounds incredibly complicated!


 * btw, the extension is currently expecting those square brackets - so if you hacked Linker.php to omit brackets, the extension will be all confused (and just do nothing - the regEx won't match)


 * Well, does your extension keep the brackets and put them around the image? Cuz I wouldn't like that. :P Anyway, I'll stick with my "complicated" version for now but thanks for making the extension at least. :) Now I'm trying to get the edit link/icon to appear right after the section header text instead of all the way on the right side. Unfortunately, a CSS change from "float:right" to "float:none" is putting the edit link/icon on the left side (since it's declared first by Linker.php). I tried forcing <tt>.mw-headline</tt> "float:left" but then that pushes it under the edit link/icon. :/ Any ideas? -Eep² 04:32, 6 August 2007 (UTC)


 * The extension gets rid of the brackets. Note, 1.11alpha doesn't use hard-coded brackets anymore, it uses editsection-brackets (I'll make it tolerant to that once 1.11 is released.  As for your icon placement, you'll have to hack Linker.php again to change the way it throws the span in there.  Currently, the span is placed before the headline and float: right.  You'll have to remove the float and make Linker put it AFTER the headline.


 * OK, I tried moving this section: ...[removed for readability]...
 * But it didn't have any effect. :/ Perhaps the linker output is specified in another file? -Eep² 04:47, 7 August 2007 (UTC)


 * Moving functions around in a program never has any effect. ;-) Change makeHeadline to the following and and set .editsection { float:none !important; } in MediaWiki:Monobook.css (or Common.css). Mind you, i'm *assuming* that the only thing makeHeadline is used for is editsection links.  If it's used for other stuff, this could break it.




 * Thanks! That works well, but if the CSS isn't changed, the icon oddly appears under the header border. :/ -Eep² 16:11, 7 August 2007 (UTC)

A few questions.
Hi guys. Hope you can help. I have a few questions and hope you dont mind.

Question 1: Just wondering if MediaWiki has an extension for making Glossaries? I know there is the extension called Extension:Glossary, but this is not what Im after. This only gives you a tooltip feature.

Question 2: On the left hand side of each page (the sidebar), how to add extra entries to this sidebar, so that they will be available on each page of the wiki?

Question 3: With the Extension:Glossary, if you insert a word that exists in the Glossary Page into any page, then when you hover over that word, you get the tooltip (meaning) of the word, as retrieved from the Glossary Page. Is there any way to automatically HIGHLIGHT these words in the page as well as display the tooltip?

Thanku!

Simon -203.5.136.234 07:44, 6 August 2007 (UTC)


 * Questions about specific extensions should go on their relevant talk pages. I haven't used Extension:Glossary so I don't know what it can/can't do. However, if all you want to do is make a glossary, it's done easily enough "manually" creating each term's page and categorizing it under "glossary", or create a single page with all glossary terms on it. See sidebar for the other question. -Eep² 13:22, 6 August 2007 (UTC)


 * Thank you Eep²

MediaWiki and MS SQL
Is the installation with a MS SQL - Server instead of MySQL possible? -193.159.228.66 11:01, 6 August 2007 (UTC)
 * Negative. See Project:Support_desk/Archive9.

Security and MediaWiki
Hi guys. Dont know if you think this is silly, but because more and more companies see the great benefits of using this great product, I think security should become more of a priority. The ability to lock down sensitive information is really important, and although it might not be for some, the definition of what a wiki is, because it is such a great tool to use, why would you not want to put sensitive information on it in place for using something else that isnt as good and flexible? I hope you gurus out there that spend your precious time (that I thank you for :>) are also interested in making this product more secure for those of us that feel that way inclined. Thank you.

Simon

Changing the message sent when renewal sent out
Hi, Could someone please tell me how I change the message sent out when a password is renewed?

TIA Peter -85.118.170.181 18:51, 6 August 2007 (UTC)
 * Edit MediaWiki:Passwordremindertext on your wiki.

Where do I set Passwordremindertext
Hi Guys,

Sorry to be a pain but I am brand new to WIKIs. What is MediaWiki:Passwordremindertext and where do I find it?

TIA Peter -85.118.170.181 19:25, 6 August 2007 (UTC)
 * In the Search box (on your wiki), type MediaWiki:Passwordremindertext and click Go.

Email Configuration Question
I am looking for instruction on how to configure mediawiki to send Email locally. Thank you


 * See Manual:Configuration_settings

a really blank page
Since a few days I have a tricky problem: It is impossible to save a page with special characters like äüöéè and so on ... After, I click "save page" the browser shows a white page. There is no content, nothing from mediawiki or other information. I can only see the browsermenu and the tapbar (firefox), that's all. Nice, isn't it?

My server is an opteron-system with openSuSE 10.2 and all patches. I have never installed own packages for apache, php, mySql, ...

Does someone have any idea?

--84.58.139.249 18:26, 30 July 2007 (UTC)


 * A blank white page indicates a PHP error which isn't being printed to the screen. To force this, add the following lines to the <tt>LocalSettings.php</tt> file, underneath the <tt>&lt;?php</tt>:


 * You can also set a value for <tt>error_log</tt> in <tt>PHP.ini</tt> and read the PHP error log to find out what's going on. In some cases, PHP errors might also be recorded in the web server error log. robchurch | talk 21:55, 30 July 2007 (UTC)

Thank you for your hint. I got error-messages. In logfile: [Tue Jul 31 18:33:05 2007] [error] [client 192.x.x.x] ALERT - script tried to increase memory_limit to 62914560 bytes which is above the allowed value (attacker '192.x.x.x', file '/srv/.../LocalSettings.php', line 25), referer: http://.../index.php?title=New_test_page&action=edit [Tue Jul 31 18:33:05 2007] [error] [client 192.x.x.x] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 74 bytes) in /srv/.../includes/GlobalFunctions.php on line 1995, referer: http://.../index.php?title=New_test_page&action=edit The same error appears in the browserwindow: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 74 bytes) in /.../includes/GlobalFunctions.php on line 1995
 * It looks like, some functions of php or an other system have problems with memory if I try to store special characters. What can I do to find those problems?

--84.58.161.208 16:56, 31 July 2007 (UTC)


 * I'm going to hazard a guess here that the additional memory usage is due to the use of a fallback function to count the number of multi-byte characters in a string. We would typically do this with the <tt>mb_strlen</tt> function, but where the multi-byte string functions for PHP haven't been compiled in or otherwise enabled, we provide a safe fallback which does the job, although it uses a slower method based on a dumb regular expression match.


 * Probably the best solution here is to make the multi-byte string functions available (see http://uk2.php.net/manual/en/ref.mbstring.php), or convince the server administrator to do this on your behalf if you're unable to do so. Typically this can be done by recompiling PHP using <tt>--enable-mbstring</tt> under Unix/Linux, or by enabling the <tt>php_mbstring</tt> extension module under Windows. robchurch | talk 20:38, 31 July 2007 (UTC)

SessionPath
When i tried to install MediaWiki the first time, there was a report: "Your session save path appears to be invalid or is not writable. PHP needs to be able to save data to this location in order for correct session operation. Please check that session.save_path in PHP.ini points to a valid path, and is read/write/execute for the user your web server is running under."

I checked session.save_path in php.ini (i've got root access to the server) and in was pointing to /var/lib/php/session/. I've set chmod for /var/lib/php/session/ to 777. Then i tried to install MediaWiki again. Installer reported me the same.

--85.141.91.40 23:26, 30 July 2007 (UTC)
 * Has this been resolved? 777 on the session.save_path should definately take care of it.

Locking Down the Main Page and Page Templates
Hi Guys. Question 1:  Is there a way to lock down the Main Page to your wiki, so that it is not even viewable, until you log in? Question 2: Id like to be able to create page templates. So for example, this is what Id like to do. Build some template pages, and save them eg.with all settings Id like. Then, upon creating a new page, use/reference the template page Id like to use, so it inherits all the template's settings. Any help appreciated. Thank you. Simon
 * 1:Deny read access to anonymous users ['*'] - see Preventing Access
 * 2:See Extension:Boilerplate

Hi Tim...Mate thank you!

Sidebar and Categories
Hi Guys. Question 1: On the sidebar, is there a way to add another group? For example, on the mediawiki.org site, there is: Site, Download, Support, Development, Communication...each with their onwn sublinks. Id like to try and find out how to add these extra top headings such as Site, Download,Support, Development etc. Question 2: Also, is there any way to change the home page so that a Categories list is displayed instead? Question 3: On the page Special:Categories, it says you cannot edit this page. If you wanted to make a page with all the Categories listed (in order to then make it the home page for the wiki), how could you edit this? Thank you to all u great people! Simon


 * See sidebar and try an extension like CategoryTree or Dynamic Page List (which I use to put subcategory counts on manually-added categories on [http:/tnlc.com/wiki/ my wiki's main page]). Oh and you might want to make use of the "Show preview" button before saving a page, in order to reduce how many edit revisions a page goes through. ;) -Eep² 04:26, 7 August 2007 (UTC)


 * Q2, you can simply set up a redirect on Main Page to what you want that to be (which is what has been done here on MediaWiki.org). Something like   --Dr DBW 01:43, 8 August 2007 (UTC)

moving index.php from install subdirectory to root folder
I am trying to move the index.php file from the directory in which I installed mediawiki to the root directory of my site. I assumed that all I had to change was move the file, move the localsettings.php file and change the $IP parameter, but alas when I do this, I get a whole string of errors. I know I am missing something simple, but I can't for the life of me find information on the correct way to do this. Could you please point me in the right direction? Thanks - Martin

-41.241.19.231 04:19, 7 August 2007 (UTC)


 * You can't just arbitrarily move PHP files and expect any web application that uses them to continue working. See Manual:Moving a wiki but I think you want Manual:Short URL instead. -Eep² 04:43, 7 August 2007 (UTC)

tag
What extension provides ability to use the  tag? And why doesn't it work with itself?

-217.10.43.49 18:51, 7 August 2007 (UTC)


 * -Eep² 19:20, 7 August 2007 (UTC)


 * - it doesn't work with tag then. -217.10.43.49 09:58, 8 August 2007 (UTC)

Email does not work
Hello All: I've setup the following in my LocalSetting.php for sending Email but does not work. I used apache_2.2.4-win32-x86-no_ssl.msi as server. php-5.2.3-Win32, mediawiki-1.9.3, Please help. Thanks in advance

$wgSitename        = "my_company_site"; $wgEmailAuthentication = true; $wgEmergencyContact = "myname@innovint.com"; $wgEnableEmail = true; $wgEnableUserEmail = true; $wgPasswordSender = "mypassword@innovint.com"; $wgSMTP = array('host' => "pop.slkc.qwest.net",'IDHost' => "innovint.com",'port' => 25,'auth' => false,'username' => "myname@innovint.com",'password' => "mypassword");


 * Well, for starters, POP is a read protocol, not designed for sending email, so that host name seems to be wrong. You'll also need to install the <tt>PEAR::Mail</tt> module in order to use <tt>$wgSMTP</tt> for sending mail. This can be done from the command line via <tt>pear install Mail</tt> when PEAR itself is installed. robchurch | talk 01:45, 8 August 2007 (UTC)

MediaWiki has been successfully installed.
Hi guys. Just wondering how you remove the line: "MediaWiki has been successfully installed. " on your Main Page. Thank you. Simon -58.175.34.89 21:43, 7 August 2007 (UTC)


 * Click the "edit" link at the top of the page
 * Remove the text
 * Click "Save"
 * robchurch | talk 01:42, 8 August 2007 (UTC)

Thanks Rob :>)

Sidebar - New Link
Hi guys. Ive created a new category called "Virtualization" by going to <tt>Category:Virtualization</tt>. On another new page, I can successfully add the new page to the new category by doing: <tt>Category:virtualization</tt> on the new page. Now I do know how to add new entries to the sidebar, by editing MediaWiki:Sidebar. I've added an entry to the side bar for "virtualization" by doing the following in the MediaWiki:Sidebar:


 * technologies
 * virtualization|virtualization

This doesnt seem to work. It doesnt go to the category page of: Category:virtualization page but instead, goes to a new page... virtualization. Can anyone explain how you can add Category Links to entries in the Sidebar?

Thanks guys. Simon -58.175.34.89 03:28, 8 August 2007 (UTC)


 * Try <tt>:Category:virtualization|virtualization</tt> -Eep² 04:18, 8 August 2007 (UTC)

Choosing a template for a new page to use.
Hi guys. Hopefully an easy one. Id like to create page templates. From these, I then like to be able to create a new page, and somehow select, or reference, somehow, a page template, so that the new page gets these settings. Any help appreciated. Simon -58.175.34.89 03:31, 8 August 2007 (UTC)


 * You can use Inputbox to preload a template on a new page, but it just copies the full template text and doesn't do any parsing. You can create a template and just call it on the new page. This is what I do with my wiki to create pages with a link to Wikipedia/Wiktionary, a DPL statement to list all articles within a specific category that links to the page, and categories. You can also try Semantic Forms to call a template for use in forms, though it's more complicated and it requires also installing Semantic MediaWiki (which tends to bog a wiki down with lots of server calls that make most pages load 3x+ as long). -Eep² 04:13, 8 August 2007 (UTC)


 * Hi Edep! Thanks mate. When you say you call it on the new page, how do you call a template to be used on the new page? Thanks for your help.


 * See Inputbox (and/or other extensions based off it like CreateArticle and CreateBox) for more info. Also, don't forget to sign your posts (4 <tt> ~ <tt>s) and indent (colons before text on a new line) when you reply. -Eep² 18:19, 8 August 2007 (UTC)

Delete Users
Hi! I am wondering how I can delete users from the system? I am running MediaWiki 1.6.8. I know that deleting users is not encouraged but I am turning my site into a non-public site and would like to have control over who can see the page. I would therefore like to remove some users that are already registered and have been inactive for a long time. Thanks for your help! -80.121.75.161 13:05, 8 August 2007 (UTC)
 * MediaWiki does not support the deletion of user accounts. To prevent an account from being used, either scramble the password or set up an indefinite block on the account. However, if you upgrade to MW 1.10.1 (which means going up to PHP5), there are various extensions for deleting users. None work on 1.6.10 (to my knowledge).

operating system
Do you intend to port the software for the USB Oscilloscope to Windows Vista operating system?

Frank--12.213.224.39 00:48, 9 August 2007 (UTC)
 * Wrong Wiki? Last I checked... MediaWiki doesn't have an Oscilloscope extension.  ;-)

Always a blank page when adding text to the LocalSettings.php
Hi,

since yesterday I'm checking several wiki-Forums for an Solution - no luck. My Problem: When I want to add a extension to my wiki, I have to add a line of code at the end of the LocalSettings.php. ("include_once" or "require_once") But when I do this my wiki shows only a blank page, no errors, just a blank page. I tried this with several extensions - always a blank page. Commenting out the line, the wiki ist working fine and the Main Page appears. Because this happens with all extensions, I seems to be not a problem of the extension - the cause must be something different...any Ideas??

Wiki 1.10.1 Wiki Language: de Server: Apache PHP 5 mySql 4.1.17

-212.202.107.126 13:13, 9 August 2007 (UTC)
 * See Manual:Errors_and_Symptoms to turn on error reporting. It's likely that your paths are just wrong and it can't find the extension file.  Turning on error reporting should allow you to locate the problem.