Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__ = Unsorted Threads =

(RESOLVED) HTML inclusion
Is it possible to include the HTML code below in a wiki page without installing Google Maps extension ?

 View Larger Map

—201.21.160.180 15:14, 13 March 2008 (UTC)
 * No, you will need the extension. --' Truetech    (Talk)  ''  17:58, 10 August 2008 (UTC)

Embedding an Excel File as OLE into a Wiki page

 * MediaWiki 1.12.0
 * PHP 5.2.5 (apache2handler)
 * MySQL 5.0.41

I would like to embed an Excel File which is sitting on our File Server directly into a Wiki page as an OLE object. Is this possible? —217.5.177.110 12:53, 23 April 2008 (UTC)

[file:// does not work

 * MediaWiki: 1.12.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a
 * URL:

Hello,

I just successfully migrated my Wiki to a new server. Everything works, except the external links. I have several places where I use to open directly a PDF file. It still works fine on my old server, but not on the new one. It is just getting displayed as text. Is there a special setting i have to activate?

—217.5.177.110 13:03, 25 April 2008 (UTC)

(RESOLVED) How do I require an email address when creating an account?

 * MediaWiki: 1.12
 * PHP: 2.5.2
 * MySQL: 4.11
 * URL: http://www.kokosing.com

How do I require an email address for the 'create an account' page? I noticed in the code there is a variable called 'emailrequired' that, if set, does not display the 'e-mail address is optional' message but rather something else.

I need this because I have set the wiki to be only readable to people with authenticated email addresses.

Thanks for your help!

Dave —Dk253 01:01, 3 May 2008 (UTC)


 * I know that you can change that setting when setting up your wiki. So upgrade to 1.13. --' Truetech    (Talk)  ''  02:27, 15 August 2008 (UTC)

How to Make "Random Page" Select Only Pages from a Certain Category?

 * MediaWiki: 1.11.1
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 5.0.51a
 * URL: DishiWiki

My wiki is a recipe wiki. I have changed the label for Random Page in the navigation sidebar to read "Random Recipe." Of course, it randomly :) brings up a page that is not a recipe. All pages that are recipes have a category tag of.

So how can I structure the Random page link to pull up only pages categorized as recipes? I have explored but am not ready to create a custom Namespace for recipe pages. I think this "trick" would be very useful for many types of wikis! Thanks for all the help here on MediaWiki and elsewhere. -Brian7632416 23:18, 12 May 2008 (UTC)


 * Probably the SQL query in SpecialRandompage.php (directory "includes") has to be rewritten, but I don't know much about SQL, and my trial this morning wasn't successful. (Tried to involve the MySQL table "categorylinks" with "cl_to" into the SQL query.) Meanwhile alternatives may be
 * usage of an extension like in Category:Random content extensions
 * usage of $wgExtraRandompageSQL
 * but both probably with a lot of pages to include or exclude manually. --89.55.152.75 20:13, 13 May 2008 (UTC)


 * Thanks. I, too, tried massaging MySQL table "categorylinks" column "cl_to." I looked at SpecialRandomPage.php but don't want to mess with it yet. $wgExtraRandompageSQL is unwieldy as long as it is wired for "page_title," but I couldn't find the category variable to substitute for "page_title." I will now look at Random conent extensions. Thanks so much. Brian7632416 21:19, 15 May 2008 (UTC) [Edit:] Nothing in that group of "random" extensions is what I need.


 * The SQL query of SpecialRandompage.php is limited to the "page" table, as far as I can see; the $wgExtraRandompageSQL variable is part of this SQL query, so it's not possible to involve parts of other tables with it (like the "cl_to" row of "categorylinks"). That's why I said that probably this SQL query has to be rewritten for this purpose.
 * You could use $wgExtraRandompageSQL in LocalSettings.php like the following:

$wgExtraRandompageSQL = 'page_title != "Main_Page" AND page_title != "Page_1" AND page_title != "Page_2" AND page_title != "Page_3" AND page_title != "Page_4" AND page_title != "Page_5"';
 * but you would have to EXclude all the non-recipe pages this way. Using "OR" instead of "AND" and "=" instead of "!=" should be the other way (INcluding all the pages you want), but as there are much more recipes than other pages this would not be the way of choice, I think. Surprisingly I could not prevent the Main page to be shown this way.
 * I tried it also with the extension Extension:RandomInclude this morning, created 5 test pages (Testseite 1 bis Testseite 5) and included them on a randomtest page as templates (with ). Works on 1.9.6 (look at http://joergmaske.de/wikip/ and the link Randomtest in the navigation bar), of course showing just the content of the page, not the selected page's name, and I had to disable the cache like mentioned on the short manual. Disadvantages: You have to include all the pages you want to have selectable for random, and the disabled cache. Advantage: You have more control on which pages you don't want to show without using $wgExtraRandompageSQL or changing categories (if this would work sometime). --89.55.189.114 08:30, 16 May 2008 (UTC)


 * Thanks for your work. I see your Randomtest link, and I can use that extension for something else. I'm beginning to think I need a namespace for Recipes, which I have been avoiding.


 * In the meantime, I will try:

$wgExtraRandompageSQL = 'page_title != "*Tips"';


 * to try to exclude "Kitchen Tips" pages, which have titles like: "Citrus Tips," "Egg Tips," etc. Will the wild card * work, I wonder? If so, I could add "Recipe" to the title of all recipe pages and use:

$wgExtraRandompageSQL = 'page_title = "*Recipe"';


 * but I've never wanted pages to be so "fully titled." Like you, I have just discovered that Main_Page is not being excluded with:

$wgExtraRandompageSQL = 'page_title != "Main_Page"';


 * so I give up for now. - Brian7632416 18:20, 16 May 2008 (UTC)

Recurring issue logging in various MediaWikis
Logging in to various wikis powered by MediaWiki is too often a frustrating experience. I use a password manager, KeePass, so when I register at a wiki (or any other site) I create a new entry and have KeePass generate a high-security password for me. I drag-and-drop this password into the registration form.

So there should be no excuse for my password to be rejected as incorrect when I go to log in and drag-and-drop my login information, or paste from clipboard.

The current problem is with http://freemind.sourceforge.net/wiki/index.php/Main_Page. I've successfully logged in there before... even earlier today! But it's suddenly rejecting my login as having an incorrect password. Grrrrrrr!!!

This time I'm not going to go through the whole process of requesting a new password and creating yet ANOTHER password to be able to log in again, because first I want to know exactly what's going on. If someone could please e-mail me at foxcole@yahoo.com, I'd like to know what the wiki thinks my password ought to be and where that password came from... or, if it does have my correct password, why exactly my login is being rejected.

I would like to note that after I go through all the motions to reset and create another new password, I generally have no further problems with that site. But I shouldn't have to be going through all this in the first place. My original login should be valid forever until I change it myself.

—63.64.39.28 21:39, 14 May 2008 (UTC)

(RESOLVED) A Wiki protected by htaccess gives an internal error 500 when accessing through a Proxyserver
I have may Wiki htaccess protected for educational and research reasons. However after a couple month it was not accessible anymore through a Proxy server feeding only one IP adress to the internet from our company. The server with the wiki on is outside the company. Actually some pages are readable but log in is impossible. Has this problem to do with the WIki settings or with the proxy settings. The access to the Wiki without Proxy works perfectly well. —85.1.21.79 20:46, 15 May 2008 (UTC)
 * MediaWiki: 1.11.0
 * PHP: 5.2.5-pl1-gentoo (cgi-fcgi)
 * MySQL: 4.1.22-log page)
 * Try upgrading your MySql. --' Truetech    (Talk)  ''  02:47, 15 August 2008 (UTC)

link back to mediawiki from external page?

 * MediaWiki:] 1.12.0
 * PHP: 5.2.4-2ubuntu5 (apache2handler)
 * MySQL: 5.0.51a-3ubuntu5
 * URL: http://internalsite/socwiki/ ((internal))

I've installed Mediawiki and in order to have a dynamic collapsible menu I created a menu page and dropped it in http://internalsite/socwiki/clientlisting/menu.html. The functionality I want is to have the menu links reload the page inside the wiki with data from the wiki.

For instance


 * menu title (expanded)
 * Location0
 * Location1
 * Location2

When you click on Location0 it will take you to http://172.26.50.211/socwiki/index.php/Location0

I just couldn't find any other way to get the collapsible menu to work in a page other than using an IFrame - but when I link back now - it basically reloads the whole wiki into the content space. so it's like two wikis nested within each other.

Any Help/Info is appreciated. —75.127.66.250 16:58, 17 May 2008 (UTC)

How to login and link to mediawiki from another web application?

 * MediaWiki: 1.12.0
 * PHP: 5.2.4 (apache2handler)
 * MySQL: 5.0.45
 * URL: http://flinqe.com:8010/wiki/ FlinqEpedia

I am writing a web application and I want to provide access to my copy of mediawiki via links to specific pages in the wiki. I already have a password protection scheme of my own, and would like to automatically login to mediawiki as or before I start mediawiki in a separate window. I'd also like to be able to create new mediawiki users and new pages with personalized empty-page messages.

I am a php newbie, but program in other languages including perl and C++. I have been trying to get the Api:Login working using Snoopy as suggested in the Api:Login documentation, which references this information: http://lists.wikimedia.org/pipermail/mediawiki-api/2007-October/000117.html

The example 2 there works as advertised, but after completing the login, I want to start a particular mediawiki page as the now-logged-in user, preferably in a new window. Using a HREF link on the resulting page doesn't work; I get there but the user is not logged in. Using Snoopy to fetch the page and print_r the snoopy->results gets me to the page, which tells me I'm logged in. But links to new pages, such as "edit", don't maintain the login.

I'm guessing that the problem involves sessions, and in-memory cookies. I would prefer in-memory cookies for their security advantages, but can live with ordinary cookies if necessary.

I've tried searching the web for a solution, but all I've found is complex approaches (like Drupel) which I don't understand, and which seem to require extensive patches to mediawiki.

—75.147.32.154 03:19, 19 May 2008 (UTC)

How to validate fully upgraded wiki ?
(* URL: internal project)
 * MediaWiki: 1.12.0
 * PHP: 5.2.2 (apache)
 * MySQL: 4.1.21-log

Hello, I'm quite new to this forum even though I've been using wiki for some time now, but I've recently moved from one ISP to another and at that time from a Windowsbased host to a Linuxbased one. Well, I had everything up and running smoothly on my new host, the wiki worked fine (don't remember the version but it was quite old) and I upgraded to version 1.11.2 without any problems, everything still worked fine.

But then I noticed there was a version 1.12.0 and I set out to upgrade to it. Now here's the tricky part, previously on Windows I had shell access and used to run the upgrade.php scripts, but now I don't, so I tried the reinstallation option, backed up everything, made copies of localsettings.php etc and launched the setup.

It immediately failed with some kind of script error about $wfIniGetBool not being correctly defined on line xx in /config/index.php. After some checking of access rights and everything I could think of I decided that oh well, before restoring backups I might just try to get around this and removed the checks for wfIniGetBool. This let me run the upgrader, the database checks were executed and some upgrades were reported, and then the installation was supposed to create a new localsettings.php which again failed since I had missed commenting out one section of wfIniGetBool commands.

This really didn't matter since I was going to replace it with the backup, after which done the site is working happily again and now reporting 1.12.0 as version, but this prompts my question(s).

a) what could possibly be the cause for this failure, I never saw anything about that when upgrading to 1.11.2 ? b) Was the installer supposed to do something more after creating the localsettings.php ? Is there something I might have missed that I should check for ? c) Is there some way for me to verify that my site is working correctly, i.e. both that the version now is fully upgraded and also to possibly prevent future issues like this one ?

Best regards // Mike —213.114.35.125 15:54, 22 May 2008 (UTC)Mikael R.

Extensions
Hi. I am looking for extension wchih will allow me to upload images from url, not only from hdd. Is there any? pogo

Navigation Tabs?
Does anyone know how to integrate this feature into a wiki? I've tried copying code into the MediaWiki:Common.css and MediaWiki:Common.js, failing to work at every attempt.

E.g. example of use: original source code:

Help? --90.200.52.124 11:28, 28 May 2008 (UTC)

control User Preferences
Does anyone know how to globally change a custom user preference? this is the code i belief that is adding the check box to the special:preferences / misc. page: 	public function onUserToggles( &$extraToggles ) { $extraToggles[] = 'riched_disable'; $extraToggles = array_merge($extraToggles, self::$nsToggles); return true; But I can't seem to have 'riched_disable' checked by default. Matt 19:17, 28 May 2008 (UTC)

Embedding external media without extensions

 * MediaWiki: 1.11.0
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 4.1.20-standard-log

My organization runs a secure MediaWiki wiki. Users must be on a list of allowed users to read or edit wiki content. Authentication is handled with an Apache module and a wrapper for MW.

With these security features in place, we decided that rather than installing extensions to help us with embedding YouTube videos or Google maps in MW articles, we would set the configuration variable $wgRawHtml to true. Since we've done that, we are able to put a larger range of HTML tags in our MW articles.

However, it doesn't work with the "object" tags for embedding a YouTube video or the "iframe" tags for embedding a Google map. Instead, MW just displays the HTML in the article. Using "nowiki" tags around the HTML doesn't help, either.

How can I make this work? —Lance E Sloan 16:29, 29 May 2008 (UTC)

Permission Issue
Directory Listing Denied This Virtual Directory does not allow contents to be listed. If I type a path directly to the index.php file I get this:

phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

Even former solutions offered have not helped. I installed php with the IIS install. I must use IIS because I also have .net on my computer. PHP works fine. I have run a phpinfo page. I installed phpMyAdmin but when I try to run it I get the above messages.

I have tried the solutions offered in different forum. Including this one: Right click on CMD.exe and "Run as administrator" and then type the commands below

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X) icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F)

I got a message: 'icacls' is not recognized as an internal or external command, operable program or batch file.

I also right clicked the phpMyAdmin file and set permissions to read. It asked if I wanted it to apply to the child index.php as well I clicked yes.

I stll get the above messages. What now?


 * just a quick question, is this server side? if so, use a ftp client and right click on your root folder that the php files are in and CHMOD it by typing in 777 into the box. i know filezilla requires you to right click, others actually have option in the file menu for this as well.

edit: when you right click there should be a "setup permisisons" dialog box on the right click menu.

I am still very much a novice so some of that went over my head. I am doing what could be server side, but on my own machine. I really don't know what you mean by ftp client, unless I was accessing it from another computer, which I am not. When I right click on it I don't get a box of any sort that I can type in or any "set up permissions" dialogue box, but a box that says open, search, search, refresh thumbnail.. etc. at the bottom is properties.

Ok, I see now. It looks to me you are using your own computer as a server with IIS, my mistake. Well, first and foremost, you do have php installed on your machine, correct? then you will need mySql along with it. here is a great tutorial I found:


 * Installing phpmyadmin http://www.iis-aid.com/articles/how_to_guides/install_and_configure_phpmyadmin_on_iis
 * you also need to change the code $cfg['PmaAbsoluteUri'] = ; in your config.in.php file to $cfg['PmaAbsoluteUri'] = yourpathhere";
 * for example: $cfg['PmaAbsoluteUri'] = ''localhost/ASP/admin";
 * and change to
 * register_Global=ON

This post has been edited by duritz: May 20 2008, 10:53

Yes MySQL is installed.

It said that $cfg['UploadDir'] = '';. is an option. I might not need to actually do that. I did anyway. The instructions say, "log into your new phpMyAdmin install using the root account" That does not happen. I still get the error message! I still get the error message! I still get the error message!

In Internet Explorer it looks like this: The website declined to show this webpage HTTP 403 Most likely causes: This website requires you to log in. What you can try: Go back to the previous page. More information This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage. For more information about HTTP errors, see Help.

I can mess around with the configuration all i want, but I still don't have permission.

I found no "$cfg['PmaAbsoluteUri'] = ''; " so I added that command. I also added the "register_Global=ON" cause it wasn't there either.

—71.82.6.222 19:15, 29 May 2008 (UTC)

Unable to add OpenSearch from my wiki to my browser

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 4.1.22-standard
 * URL: http://network.the-orc.com/wikimini

Hi guys,

I'm trying to add my wiki's (details above) OpenSearch to the search engines my browser uses, and am failing miserably.

On IE7 (7.0.5730.11), I get the following error message when trying to add the provider: “Internet Explorer could not install this search provider. There was a problem with the search provider's information.”

On Mozilla Firefox 2 (2.0.0.14), it just fails silently.

I’ve trying to save the output of opensearch_desc.php to a local file and add it from there, but it fails with the same error(s), although to my naked eye, the format seems fine.

Any bright ideas?

Thanks in advance

—OgmiosProject 18:04, 30 May 2008 (UTC)


 * Some more info - I set FireFox's logging of Search Providers to true, and gave it another shot. The interesting part of the error console is as follows:


 * _onLoad: Couldn't convert byte array!
 * Error: [Exception... "'Failure' when calling method: [nsIStreamListener::onStopRequest]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: " "  data: no]


 * Off hand, I'd say it's some sort of odd encoding problem.
 * Any ideas?


 * Thanks,
 * OgmiosProject 13:16, 8 June 2008 (UTC)

Search for short words not working after proposed changes
I've changed the fulltext index to 2 and 2 for both mysql variables and rebuilt the indexes (using the maintenance script), but this did not fix the problem. I still don't find anything when searching for XY or XYZ, even though the pages containing these words are in the searchindex table. Anything else I can do about that?

Can you hide the titles of namespaces a user doesnt have access to in the search page?
Does anyone know of a way to hide namespaces to which a user has no access in the search page where you select the namespaces to be searched? I've modified the search so the results don't contain text from hidden pages, but it would be nice to hide the fact that a namespace exists at all to avoid hacking attempts. It would also be nice to just hide some of the inherent mediawiki namespaces to have less clutter. I thought I read how to do this somewhere awhile back but I just can't find it now! Thanks for any help.


 * I user the extension "Blacklist" to hide my special-pages (and others) from the users (admin has to place a userdefined list into the LocalSettings.php), and this works properly. It should also work with specified namespaces.--FSLEP 08:47, 9 May 2008 (UTC)

How can I change User Links on top?
I'd like to add a new User Link on the very right top of the page and remove some. Where can I change it? --Subfader 00:13, 13 February 2008 (UTC)
 * Try editing monobook.php and if necessary alter main.css on monobook. --' Truetech     (Talk)  ''  04:02, 12 August 2008 (UTC)

How do I add more buttons on the edit page? - Does not work
Hello,

i added in two different wikis the same for additional buttons in MediaWiki:Common.js, but in one the buttons do not appear. is there any variable that needs to be added to local setting to support additional buttons or what else might be the reason? thanks in advance kind regards --TurboKanne 11:22, 19 February 2008 (UTC)

Recentchanges only shows max. 7 days????
My machine:

MediaWiki: 1.11.1

PHP: 5.2.2 (apache2handler)

MySQL: 5.0.41-community-nt

My problem:

the function Recentchanges only shows maximum the last changes of the last 7 days, even if you change to "show the last changes of the last 30 days" (&days=30), result: only the last 7 days are displayed. example:

http://[...]/dewiki/index.php?title=Spezial:Letzte_%C3%84nderungen&limit=500&days=30

(there are not many changes, the limit of 500 is enough)

Am I doing something wrong?

Is it a bug?

Is there a "hidden" maximum anywhere, maybe in the LocalSettings.php, or somewhere else?--FSLEP 07:31, 9 May 2008 (UTC)


 * 7 days is the default, yes -- it's called recent changes for a reason :) The limit can be configured using Manual:$wgRCMaxAge.
 * The fact that there's a "30 days" link on the page even if the DB only has 7 is confusing though. -- 217.234.218.114 09:29, 9 May 2008 (UTC)
 * Thanks for your answers. This seems to be the solution for my problem.
 * Is it to be placed in the LocalSetting.php?
 * Example: $wgRCMaxAge= "7 * 24 * 3600 ";  --FSLEP 06:02, 14 May 2008 (UTC)

Uneeded Copyright removal

 * MediaWiki: 1.12.0
 * PHP: 5.2.6(cgi)
 * MySQL: 5.0.51-log
 * URL: http://osirius.co.uk/wiki/

I don't own the afformentioned wiki, but I was wondering, how can I tell the owner how to removed the second copyright he has on the bottom of every page? He has it loading on the bottom left of every page, in addition to the pre-loaded copyright notice, so, could I given step by step instructions on how to remove this uneeded copyright? Thanks! —Logestic 20:42, 31 May 2008 (UTC)

PS: Is there anything I can add to my common.css to make it disappear? - Logestic 20:43, 31 May 2008 (UTC)


 * When looking at the source code, I find out that a gnu-fdl.png should be shown there instead of just the gnu-fdl link. Perhaps this image is not in the location where it should be so just the alternate text is shown:

 
 * To remove it from being displayed using common.css this should work:

div#f-copyrightico {display: none;}
 * Regards -- 89.55.176.121 09:06, 14 June 2008 (UTC)
 * Or in your case edit main.css in monobook. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  03:59, 12 August 2008 (UTC)

How to change the destination of the login/register link on the right top of the screen

 * MediaWiki: 1.11
 * PHP: 5.2.3
 * MySQL: 5.0.41

Hi there mates i'm trying to force that when you click on this link it will redirect you to another site i have on my localhost system. So i can log in thru CAS authentication. Is there an easy way to do this? Thanks a lot!

—Juanan 10:31, 2 June 2008 (UTC)


 * There should be. Try editing monobook.php in your skins directory. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  03:57, 12 August 2008 (UTC)

(RESOLVED) Upgrade Problems

 * MediaWiki: 1.9.2 / 1.12.0
 * PHP: 5.2.6
 * PostgreSQL: 8.2.7
 * URL: Title

I recently upgraded my MediaWiki installation from 1.9.2 to 1.12.0.

After upgrading, I found that no page was visible. A quick search for DOMDocument revealed that I need to install php-xml. So I ran the command:

yum install php-xml

This took a while to execute (including quite a few updates for dependancies). After the update, postgres failed to start. I checked the documentation, and found that postgres had been updated from 8.1.0 to 8.2.7 (which have incompatible data formats).

Luckily, I had run pg_dumpall before trying to upgrade mediawiki. I restored this dump in the usual way. But now, mediawiki just gives me:

A database error has occurred Query: SELECT * FROM page_restrictions WHERE pr_page = '1' Function: Title::loadRestrictions Error: 1 ERROR: relation "page_restrictions" does not exist Backtrace:
 * 1) 0 /var/www/wiki/includes/Database.php(799): DatabasePostgres->reportQueryError('ERROR: relatio...', 1, 'SELECT * FROM...', 'Title::loadRest...', false)
 * 2) 1 /var/www/wiki/includes/Database.php(1244): Database->query('SELECT * FROM...', 'Title::loadRest...')
 * 3) 2 /var/www/wiki/includes/Title.php(1725): Database->select('page_restrictio...', '*', Array, 'Title::loadRest...')
 * 4) 3 /var/www/wiki/includes/Article.php(312): Title->loadRestrictions('')
 * 5) 4 /var/www/wiki/includes/Wiki.php(256): Article->loadPageData(Object(stdClass))
 * 6) 5 /var/www/wiki/includes/Wiki.php(46): MediaWiki->initializeArticle(Object(Title), Object(WebRequest))
 * 7) 6 /var/www/wiki/index.php(90): MediaWiki->initialize(Object(Title), Object(StubObject), Object(User), Object(WebRequest))
 * 8) 7 {main}

Can anyone suggest what the problem might be here, or how to fix it? The table page_restrictions appears to exist as far as I can tell.

—MrAngel 15:12, 8 June 2008 (UTC)


 * OK, I should have figured this one out sooner. I ran the upgrade script after dumping the database, so I need to do it again. However, I now get an authentication failure for user 'dracula'@'localhost' (Using password: YES)
 * I've tried logging in to the database using the same username and password specified in LocalSettings.php, and it works fine. I have no idea if the problem is with MW, PHP or postgres now.
 * --MrAngel 15:29, 8 June 2008 (UTC)


 * Resolved - turned out to be a postgres config error --MrAngel 16:01, 9 June 2008 (UTC)

Interwiki SQL error
I installed the latest version successfully on my localhost wiki, for testing. However, interwiki links do not work from the interwiki-sql file. This is the error message I get: SQL query:
 * MediaWiki: 1.13alpha trunk version
 * PHP: 5
 * MySQL:
 * URL:

( 'zh', 'http://zh.wikipedia.org/wiki/$1', 1 ), ( 'zh-cfr', 'http://zh-min-nan.wikipedia.org/wiki/$1', 1 ), ( 'zh-classical', 'http://zh-classical.wikipedia.org/wiki/$1', 1 ), ( 'zh-cn', 'http://zh.wikipedia.org/wiki/$1', 1 ), ( 'zh-min-nan', 'http://zh-min-nan.wikipedia.org/wiki/$1', 1 ), ( 'zh-tw', 'http://zh.wikipedia.org/wiki/$1', 1 ), ( 'zh-yue', 'http://zh-yue.wikipedia.org/wiki/$1', 1 ), ( 'zu', 'http://zu.wikipedia.org/wiki/$1', 1 ),

MySQL said: Documentation ('zh-cfr','http://zh-min-nan.wikiped' at line 1
 * 1) 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''zh','http://zh.wikipedia.org/wiki/$1',1),

I did this via phpMyAdmin, since it is hard for me to use maintenance scripts with XAMPP (the platform I am hosting this on!) If anyone can help me, it's much appreciated!! Thanks, AP aka —Sunstar 18:52, 8 June 2008 (UTC)

display used templates
Hello,

can someone help me on this. If I click edit on a page, I can see all templates used in this page. It displays all pages (sections) I've included with #section-h. Exactly this list I'd like to include in my wiki document. On the bottom of the page I'd like to have a section displaying links to all the pages I've included sections from.

is there a way to display something like this?

Thanks —193.134.254.145 14:50, 10 June 2008 (UTC)

Email related problem (How to set SMTP mode and how to get log for an error)

 * MediaWiki: 1.12.Orc1
 * PHP: 5.2.5(apache2handler)
 * MySQL: 4.1.12
 * URL:http://192.168.1.122/index.php/Main_Page

I am facing problem in Email notifications.How to set the SMTP mode in DefaultSettings.php.

1. After changing the SMTP Mode according to our requirements and after uncomment the code i am getting an error in these lines. So how to uncomment these lines so that these lines will also run.

/** * SMTP Mode * For using a direct (authenticated) SMTP server connection. * Default to false or fill an array : *  * * @global mixed $wgSMTP */ $wgSMTP= true;

What all other changes we need to do enable Email notification.

2. How to get log files for any error.Is there any option which need to be set.

--Neelam.jain 05:29, 11 June 2008 (UTC)

How do I create a second database
Hi, I would like to create a second database with exactly the same structure as the first, and also using the same Mediawiki installation for both. The purpose is to have two different types of contents. How do I go about doing it and what's the disadvantage, if any. &mdash; PM Poon 20:58, 14 June 2008 (UTC)


 * What is your goal? <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 03:51, 15 June 2008 (UTC)


 * If only I know, LOL. Actually, I was thinking of having two sections, one for me to write exclusively, and another for the community. &mdash; 219.95.193.61 23:06, 29 June 2008 (UTC)


 * You could protect an individual namespace with $wgNamespaceProtection. Would that give you what you need?  Otherwise, if you just want to have two wikis, you could just install MediaWiki in two different directories with different databases. Or else see Manual:Wiki_family. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 14:58, 6 July 2008 (UTC)

Hi Smaug, thank you for your replies. I have so many ideas for using two databases accessed from the same main page. Now my mind is clearer. One is as said earlier, and the other is to have two languages, one being a mere translation of the other. Users can choose the language at the main page or the side panel. Once a language is chosen, the search bar does not show results for the other language even if some words are similarly spelt. &mdash; PM Poon 00:20, 14 July 2008 (UTC)


 * MediaWiki has some built in support for multiple languages, what with the translation of system messages into different languages. I'm not familiar with that functionality however. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 03:37, 22 July 2008 (UTC)

Link to other Languages on sidebar
Hello, I have down loaded MediaWiki and installed 2 languages are Thai and English. I would like to know If I have the topic in Thai language, then I would like to link to the topic in English language in to sidebar. How can I do ? Wondermoon 13:41, 15 June 2008 (UTC)

Display the edit links inside of the page

 * MediaWiki: 1.11.2
 * PHP: 5.2.4-2ubuntu5.1
 * MySQL: 5.0.51a-3ubuntu5.1
 * URL: private network

How can you make it so that the edit links inside of the article appear even if the page is protected?? I have a page that is protected but uses templates to get the information that is desplayed on the main page... I want to have everyone edit the actual templates but not the main page... Thanks

—63.77.141.66 13:11, 16 June 2008 (UTC)

leveraging OS permissions for files used as links

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 5
 * MySQL: (not known)
 * URL:

Is there some way to leverage file permissions, like read, write, etc. when using documents and spreadsheets, etc as links from wiki pages? Example: a named wiki user can only read certain spreadsheets, but write onto others. I think I saw a piece about configuring Apache for this purpose(??) but not for IIS. I am using IIS. THANKS —68.178.62.32 20:26, 19 June 2008 (UTC)

Unable to enable HTML in wiki
Product 	Version MediaWiki 	1.12.0 PHP 	5.2.2 (apache) MySQL 	5.0.51a-community URL: www.danda-comics.co.uk/wiki

OK i've created an FaQ for a game i play inside of a wiki and, although its against the idea of the wiki somewhat i've locked off other users from registering without permission etc so as to save the pages getting vandalised by ingrates. However there are certain things i would like to do which i can't do with the wiki formatting. So i had the intention of enabling HTML so as i could do some additional edditing that way, however Whenever i attempt to input ANY html code into one of my pages, i'm redirected from the wiki to the base page.

I have the following at the bottom of my localsettings.php (i'm typring this in so it may not be accurate in here)

$wgGroupPermissions['*']['createaccount'] = false; $wgAllowExternalImages = true; $wgAllowHtml = true;

Far as i can tell i SHOULD be able to use html with that code in there, but i have no idea why i'm being redirected out of the page, anny assistance would be appreciated (i'm sure its something mind numbingly simple)

—193.63.197.246 03:15, 20 June 2008 (UTC)


 * Dunno about redirecting, but the variable is called $wgRawHtml, not $wgAllowHtml. -- Sayuri 04:48, 20 June 2008 (UTC)

Whelp i've tried changing that (the allowhtml must've been a previous version or something. ( but still the same problem, whenever i edit a page and put in some html the edit won't stick and i'm sent back to the main site and not the wiki.

How do I upgrade?

 * MediaWiki: 1.6.8
 * PHP: 5.2.4 (apache)
 * MySQL: 5.0.45-community
 * URL: SW: Evolution Database

How do I upgrade the mediawiki from version 1.6.8 to version 1.12.0? There's a lot of information stored, as well as quite a few modifications having been made with extensions and the theme. I don't want to lose any of it. Is there an easy-to-follow guide that will take me through the process step-by-step?

—97.115.227.196 01:02, 28 June 2008 (UTC)

I am the sysop for my wiki site. The problem is that I made some changes in my preferences a while back. Afterwards the page for my sysop account changed. The logo appears on the right, the search page is on the bottom of the Main Page, and I can no longer find my preferences or any other items that should be at the top right of the page. How can I reset this? The history for the page has no record changes being made to my preferences so I cannot seem to solve the problem that way. Help

Interwiki Transcluding

 * MediaWiki: 1.12.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a

I have a problem when transcluding a template into another site, using $wgEnableScaryTranscluding - What happens: A double linebreak appears before the loaded template. This doesn't happen when i use the template on the same site that it is created.

When i check the sourcecode for the page with the linebreaks, it has added . Why is this added and how do i remove it? Not a big problem, but it messes up the layout. --Aroekene 09:22, 2 July 2008 (UTC)

Math support

 * MediaWiki: mediawiki-1.12.0
 * PHP: 2.11.4
 * MySQL: 5.0.51a

Hey every one!

I have installed all the necessary softwares for math support and generated texvc.exe.And made all the changes mentioned in math.php and localsettings.php. Also, the mediawiki on windows asks to make changes in the image.php file, but there is no such file available in the mediawiki version that I downloaded.

I get the error "Failed to parse (unknown error):"

Please help!

Thanks a lot!!!

Sending e-mails to specific user groups
how can I send an email to a whole grup of users? i.e. I want to tell everybody of the bot-group via email to force their work in the wiki. thanks —84.188.198.121 13:10, 6 July 2008 (UTC)

I have a UId - but I cannot comeback - I have my internal number
I am lost out and very sorry if I am writing things in the wrong place.

I have a UId - tarcisio  and I have asked a new pass to be sent to me, but - perhaps - I used an e-mail that has been dropped since a time.

I have my internal number. Would I put it here ? I do not think so!

How can I manage to come back?

Tarcisio tarcisio@member.ams.org

Import TikiWiki-Pages to MediaWiki

 * MediaWiki: 1.12
 * PHP: 5.2.6
 * MySQL: 5.0.51b-community
 * TikiWiki: 1.9.9

Hey, I have used TikiWiki for more than 3 years. Now I would like to change my Wiki to MediaWiki.

Is there any script or trick how to convert the Wiki-Pages from TikiWiki to MediaWiki? —193.111.40.210 13:20, 10 July 2008 (UTC)


 * For now try just to do the long way because I don't think there is a good explanation: Copying and pasting. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  03:44, 12 August 2008 (UTC)

Monobook Skin Variant Help with Line Breaks

 * MediaWiki	1.12.0
 * PHP	5.2.6 (cgi-fcgi)
 * MySQL	5.0.45-log

I have not edited my monobook skin too much, but for some reason my skin has some insane line breaks: For an example check My Special:Version and now take a look at your Your Version Could anyone enlighten me as to why mine does this? Or what I need to change to make it not act funny?

Hope I did this right —76.107.86.48 14:02, 12 July 2008 (UTC)
 * Yea whats wrong with it? --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  05:36, 11 August 2008 (UTC)

Incorrect Link Lists

 * MediaWiki: 1.12.0
 * PHP: 5.2.3 (apache)
 * MySQL: 4.1.22-standard
 * URL: http://zeldawiki.org/

A template of ours is causing pages to show up on the Special:Disambiguations page even though the pages do not actually link to those disambiguation pages. The template is the Cite template. We tried to fix the problem with the template but have had no success.

—Mjr162006 14:50, 16 July 2008 (UTC)


 * We have determined the cause of the problem. It is the #ifexist function from the ParserFunctions extension. If there is an internal link in the either of the outputs for the function, then that link will show up in all of the relevant Special Pages regardless of whether the target pages exists or not. I will now report this on that extension's discussion page.--Mjr162006 22:51, 21 July 2008 (UTC)

Database location
I would just like to apologize in advance, because I am well beyond my ken here. I set up a personal wiki on a local server using the lifehacker guide here -> http://lifehacker.com/software/wikipedia/geek-to-live-set-up-your-personal-wikipedia-163707.php, using WAMP5 1.6.5 and MediaWiki 1.5.8. The computer on which I was running this wiki was then brutally infected with a virus, and I was forced to reformat. Before I did so, I saved the entire wamp folder, which I presumed contained the data for my mediawiki project. However, as I am now trying to reconstruct the setup I had before, I have discovered several problems, most of which are probably for the folks at the wampserver forums. But as I'm trying to figure out how to get this up and running again, the first problem I have discovered is that I really don't know where the actual data for my database was saved. I know I should have taken the time to do a real backup (hindsight is 20/20) but I figured that just saving the whole folder would do the trick. I was very frustrated with my computer at that point, so the quickest solution seemed best.

If somebody can tell me that my data was actually located elsewhere and is now lost on my wiped-clean HD, then the plus side is that I will stop needing to bother nice people on forums like this one. But I would really like to get my wiki up and running again, if at all possible. Thanks in advance for your consideration, and for going easy on me.

—MrCheshire 03:29, 18 July 2008 (UTC)

mod_auth_sspi with apache, php,mysql on windows

 * MediaWiki: 1.12.0
 * PHP: 5.2.6
 * MySQL: 4.1
 * mod_auth_sspi-1.0.4-2.0.58-3
 * URL: http:\\localhost\testwiki

I am trying to use mod_auth_sspi module for windows integrated authentication. I have loaded the module in httpd.conf LoadModule sspi_auth_module modules/mod_auth_sspi.so

and added the below lines

<Directory "C:\Program Files\Apache\htdocs"> # Configure mod_auth_sspi - who can get stuff from this server. #AuthName "Intranet" AuthType SSPI SSPIAuth On   SSPIAuthoritative On    SSPIDomain MyDomain SSPIOfferBasic On   SSPIOmitDomain On    #SSPIUsernameCase lower # PerRequestAuth can now be safely set to `off` in 1.0.5 #SSPIPerRequestAuth off require valid-user </Directory>

Then what else we need to do to make mediawiki work with domains's username and password

W3C's WCAG 1.0 Priorities 1 and 2 checkpoints
Does MediaWiki support W3C's WCAG 1.0 Priorities 1 and 2 checkpoints? —198.103.172.9 16:06, 21 July 2008 (UTC)

Multi langage (French question)

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 4.1.22-log
 * URL: Wiki de BelgAnt

Bonjour,

J'aimerai de l'aide sur comment créer un wiki multi langage comme vous l'avez ici (cadre en dessous qui permet de choisir sa langue). Je ne sais pas trop où m'adresser donc je me permets de vous contacter.

Merci d'avance

dictionary
i want create a dictionary site in mediawiki. i have a dictionary in access database. how to import this database into mediawiki? and make mediawiki site? —212.138.47.12 09:16, 26 July 2008 (UTC)
 * Just install mediawiki onto your site and when asked for you database info put the same as you dictionary one. What is you website's address?--'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  23:54, 10 August 2008 (UTC)

Warning: Cannot modify header information?

 * MediaWiki: 1.12.0
 * PHP / MySQL: I don't know because I can't enter my wiki... = =
 * URL: This is Chinese = =

When I enter my wiki is result in a blank page.

I input the forcing debug code:

error_reporting( E_ALL ); ini_set( 'display_errors', 1 );

in the LocalSettings.php and I get:

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/unplkno1c/wiki/LocalSettings.php:1) in /usr/local/apache2/htdocs/unplkno1c/wiki/includes/WebResponse.php on line 10

Six of this line on the page...

What is going on...I am exhaused = =

If the solution needs to mod sth in the php.ini or sth like that,

please provide another solution that doesn't need to mod things like that

b/c I am using a free host... —Hamsterham 14:37, 1 August 2008 (UTC)

Sorry for I didn't make a title:P -Hamsterham 14:41, 1 August 2008 (UTC)


 * Try reinstalling your wiki (1.13 is a good version). If that doesn't work it might be because of your host. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  03:23, 12 August 2008 (UTC)


 * but why? maybe I can contact the host for solving this problem...-Hamsterham 14:21, 13 August 2008 (UTC)


 * Check that there's no space before the  tag or BOM character in LocalSettings.php. <font color="#66A7CC">i <font color="#9966CC">Alex  20:54, 13 August 2008 (UTC)


 * Well,I dont think so... -Hamsterham 07:58, 16 August 2008 (UTC)


 * I thought that it is sth wrong with the php or safe mode, is it? -Hamsterham 12:54, 16 August 2008 (UTC)

Trying to save contents of a wiki from drive on troubled computer

 * MediaWiki: not available
 * PHP: not available
 * MySQL: not available
 * URL: on a private hard drive, not on the WWW

I have a MediaWiki installation on my personal computer which is running Windows XP. Recently this computer has been developing serious difficulties, and now it will not boot up. I have been advised that the best thing to do is to backup all my data, reformat the drive, and reinstall the operating system and all my programs. My problem is that I do not have a backup of the wiki and I do not have whatever username and password is necessary to get a database dump. I do have my wiki username and password, so I can save the contents of the wiki through XML dumps if I can get the wiki working again; my question is, if I take the drive out of the computer and make it a secondary drive on someone else's, will I be able to start up the wiki and get the pages exported? Or is it only the webserver on my computer that's configured to make use of the database?

—65.78.13.238 16:29, 2 August 2008 (UTC)

Generell information about user maintenance such as rights, deleting accounts, access and protecting pages

 * MediaWiki: Version 1.9.3
 * PHP: 5.1.2(apache2handler)
 * MySQL: PostgreSQL 8.1.9 on i486-pc-linux-gnu, compiled by GCC gcc-4.0.gcc-opt (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

Hello there,

Im using the MediaWiki and would like to know if you also can make some special adjustments such as deleting pages/users or giving some users no access to certain categories.

I would be very grateful for any responses. Don´t hestitate to contact me as well via mail at

d.dumitru@flexa.de —Regards from Germany - Maintower 08:52, 4 August 2008 (UTC)


 * Well you can't delete a user but you can block a user. You can always protect the category pages so only sysops can edit it, though I dont think you can block them completly from viewing it. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  23:41, 10 August 2008 (UTC)

is there a way to use "Gizmos" & other Special Content ?
I'm presently using MetaDot as a wiki platform, and like it for many things, like the ability to have email forums and group calendar "gizmo" pages. Can those kinds of things be found somewhere and used within MediaWiki? I'm also looking for the ability to display page hierarchies and to copy/paste page hierarchy templates as workspaces for clients to use. Is that possible in MediaWiki, or in any other relatively user friendly wiki you know of?

thanks, —PFHenshaw 13:35, 4 August 2008 (UTC)


 * Well it can be if you can find any extensions that do that. I know I saw google calander extension somewhere among others... Just go on the extensions category or type in the search box what you want and see what you come up with. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  05:10, 11 August 2008 (UTC)

Setting default to "protected"
Hi, I would like to set all my pages to "protected" by default so that only sysops and the user who started the page can edit it. Is that possible?

The reason is because I use the "Delete old revisions" feature to cut cost on webhosting. And it would be sad if there is any vandalism that goes unnoticed. Moreover, my articles at Dummipedia.org do not need much co-writing. Generally, each contributor can handle the whole article by himself. &mdash; PM Poon 18:01, 4 August 2008 (UTC)
 * That is not possible. It could be if someone creates an extension for it. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  23:35, 10 August 2008 (UTC)

How to Specify a Default "Main Page" for each custom namespace?

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.1.26-rc
 * URL: Local LAN Only URL

I have spent several hours scouring the help files and, perhaps I am not familiar with how a Wiki is supposed to work but, I am not able to find any information on how to specify the default page for each new custom namespace.

I am under the impression that I would create a new namespace and have a "Main Page" appear for that namespace so a brief explanation of what the namespace is there for or what the namespace offers could be displayed.

Can anyone tell me how this is done? I have found how to modify the NS_MAIN "Main Page" but I don't want to do that. Any suggestion?

--Andrewggrant 17:20, 6 August 2008 (UTC)

Export of wiki to CD or USB-Stick
Hello ,

i have installed media wiki on a server with xaamp sql.

can i export the whole wiki to a cd or usb-stick, so that i can see the articles when i have no connection to server.

—217.194.34.103 14:46, 6 August 2008 (UTC)
 * Yea if but you might have to do it one by one. In your browser that you are viewing your wiki on click on File>Save as> specify name and file type (ex: .doc for word). --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  23:38, 10 August 2008 (UTC)

Gadget scripts running under Greasemonkey?
Hello, I asked this at the English Wikipedia help desk and was directed to ask here.

My question is about the Gadgets in My preferences; is it possible to run the scripts under Greasemonkey? So far I've tried all the gadgets by simply coping the code from the monobook pages into Greasemonkey, but none work except WikiED. I can't figure out why wikiED works but popups and the others don't. Trust it would be the Gadget I don't want that works :( Anyway, if someone knows a way or has a link to a site that can tell me how to make the Gadgets work, please. I can't put them in my monobook because I erase the wiki every so often and reinstall. I have a local Wiki and I'd like to use the scripts without installing, because I regularly erase it and start a new installation. It would be enormously helpful if I could run them from my Firefox browser using Greasemonkey to avoid having to reinstall the scripts each time. Thank you for your help.

—82.198.250.2 13:15, 8 August 2008 (UTC)

(RESOLVED) Downloading whole content of a wiki
How can in download the whole content (the articles) of an MediaWiki-Installation? I mean not Wikipedia, but an intern wiki in my company, which I can't reach from outside the intranet.

Thank You! —194.113.141.20 19:10, 8 August 2008 (UTC)
 * If your server is hosted by another company, you can go on your file manager and click the item and download or save the file. In your case, you need access to the database which is not easily read by humans. Try to get help from your company adminstrator for this. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  05:08, 10 August 2008 (UTC)

New section at the beginning?

 * MediaWiki: 1.12.
 * PHP: 5
 * MySQL:
 * URL:

Hi, is there a possibility to create a "add new section" link which adds a new section at the beginning of the page, not at the end? —217.91.74.27 16:18, 12 August 2008 (UTC)


 * There is nothing in the core system files, but you can try altering main.css in the skin directory you are trying to get it running on.--'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  20:01, 13 August 2008 (UTC)

Sort template entries on page

 * MediaWiki: 1.12.
 * PHP: 5
 * MySQL:
 * URL:

Hi, I got a page with a number of templates on it:

Now I'd like to change the page in order to display the integrated templates in alphabetical order. In this case - may just give the parameter back) the output should be:

1 4 b

What's the easiest possibility to do that? —217.91.74.27 16:35, 12 August 2008 (UTC)


 * Try Manual:Pager.php might work. I that doesn't work, you are going to have to do it manually. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)  ''  20:11, 13 August 2008 (UTC)

How do I add a language to my wiki?
Kind of like on the side bar with the list of languages. Is there somewhere I can edit that? Oh and by the way it isn't my wiki it is my friend's (ninja-pedia.com) but I can ask him if it is impossible for a non admin to do that.

—Alexbeard 21:31, 15 August 2008 (UTC)
 * Edit Mediawiki:Sidebar. You need bureaucratic permissions for this. In the message, there should be a line with * LANGUAGES. Provide a line to the site with your other language. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 21:17, 24 August 2008 (UTC)

Slow down for big wikis

 * MediaWiki: 1.13.0
 * PHP: 5.2.4
 * MySQL: 5.0.45-log
 * URL: http://vseokino.ru

Recently I update my MediaWiki from 1.12 to 1.13 version. If wiki have any big category then it can greatly slow down the whole site. Looks like the root of problem is in CategoryPage.php:

Old code: function doCategoryQuery { … $res = $dbr->select(			array( 'page', 'categorylinks' ),			array( 'page_title', 'page_namespace', 'page_len', 'page_is_redirect', 'cl_sortkey' ),			array( $pageCondition, 'cl_from         =  page_id', 'cl_to'          => $this->title->getDBKey),			       #'page_is_redirect' => 0), #+ $pageCondition, __METHOD__, array( 'ORDER BY' => $this->flip ? 'cl_sortkey DESC' : 'cl_sortkey',			      'USE INDEX' => 'cl_sortkey', 			       'LIMIT'    => $this->limit + 1 ) ); … } New code: $res = $dbr->select( array( 'page', 'categorylinks', 'category' ), array( 'page_title', 'page_namespace', 'page_len', 'page_is_redirect', 'cl_sortkey',				'cat_id', 'cat_title', 'cat_subcats', 'cat_pages', 'cat_files' ), array( $pageCondition,			      'cl_to' => $this->title->getDBkey ), __METHOD__, array( 'ORDER BY' => $this->flip ? 'cl_sortkey DESC' : 'cl_sortkey',			      'USE INDEX' => array( 'categorylinks' => 'cl_sortkey' ),			       'LIMIT'    => $this->limit + 1 ), array( 'categorylinks' => array( 'INNER JOIN', 'cl_from = page_id' ),		               'category' => array( 'LEFT JOIN', 'cat_title = page_title AND page_namespace = '. NS_CATEGORY ) ) );

So in current version if any user try to look any big category it lock down main tables in database and other users need to wait too long to get page they’re requested. When I look into database processes I have the following:

Query 21 sec Copying to tmp table SELECT /* CategoryViewer::doCategoryQuery Turbo */page_title, page_namespace, page_len, page_is_redir …

All other processes are locked.

Will it be fixed or should I downgrade?

—80.92.96.62 15:30, 17 August 2008 (UTC)

Import does not work
I tried importing a page, but it does not work, even though privileges have not been changed in Localsettings.php, why is this?? —Sunstar NW XP 19:20, 18 August 2008 (UTC)
 * MediaWiki: SVN repository
 * PHP:
 * MySQL:
 * URL:

Open links in new page?

 * MediaWiki: 1.12.0
 * PHP: 5.1.6 (cgi-fcgi)
 * MySQL: 5.0.51a-community
 * URL: http://biyg.org/wiki/

Two questions. First, on the navbar how can I make a link open in a new window?

Second, how can I embed php in a page? I used a extension to link phpBB to the wiki and I would like the wiki userpage to show phpBB info on the user.

—Zeno McDohl 16:24, 19 August 2008 (UTC)

Subpages
Is this correct for enabling subpages in namespaces 2, 4, 8, 10 and 12 ?? $wgNamespacesWithSubpages = array_fill(2, 4, 8, 10, 12, true); I'm not sure if I've done this correctly... Thanks, —Sunstar NW XP 18:55, 19 August 2008 (UTC)
 * MediaWiki: 1.14 SVN
 * PHP:
 * MySQL:
 * URL:
 * 1) Enable subpages in all namespaces

Is there any possibility I could convince you to host a new website?

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL: http://CulturalUnderstanding.org/ Cultural Understanding, the Internet's Collaborative Database of Cultural Peculiarities

I realize that hosting sites is not what you normally do, but I have something very valuable and non-commercial. I don't have my own server and to be honest, I don't have a lot of money to spend, but I would like to make this website a gift to the world. Understanding other people is a big step toward world peace.

Would you be open to discuss it?

Michael Gelman  michael@amoureternal.com —74.167.190.166 23:14, 20 August 2008 (UTC)
 * This is a totally wrong place to put this. You need to contact the "big boys" at wikimediafoundation.org. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 21:22, 24 August 2008 (UTC)

same login with other pages

 * MediaWiki: 1.12.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a

Hi! My problem is that i want a common login with another pages. In other words, i want to create a login page, and i want that my wiki takes this username and password and logs automatically in the wiki when the user enters in it. Is this possible? Thank you in advice.

—80.58.205.32 10:41, 21 August 2008 (UTC)

Enhancement for the Short page list
This is a feature request in the MediaWiki software regarding short pages.

http://en.wikipedia.org/w/index.php?title=Special:ShortPages&limit=500&offset=0

Currently this link displays all the short pages irrespective of its nature. I would like to see a link which will help me to sort out the (disambiguation) pages from this list.

I am asking this feature specially by considering the short page list in Malayalam Wikipedia: http://ml.wikipedia.org/w/index.php?title=Special:ShortPages&limit=500&offset=0

We would like to see a feature that will hide all the (നാനാര്‍ത്ഥങ്ങള്‍) (equivalent of disambiguation page) in Malayalam.

Thank you--Shijualex 11:15, 21 August 2008 (UTC)

A Place to Download - Templates, Categories, etc.

 * MediaWiki: 1.12.0
 * PHP: 5.2.3 (cgi-fcgi)
 * MySQL: 5.0.41-community-log
 * URL: ITS Wiki

Is there any place I can download a set of Templates, Categories, etc. that are used in Wikipedia?

Some examples are:
 * Template:Navbox (protected)
 * Template:Loop (protected)
 * Template:Main (protected)
 * Template:Navbox (protected)
 * Template:Pp-meta (protected)
 * Template:Pp-template (protected)
 * Template:Spaces (protected)
 * Template:· (protected)

It would be nice to have all of the Templates, Cat, etc. available for one mass download. Can anyone guide me with this???

Thank you! —Rockower 20:19, 21 August 2008 (UTC)
 * I don't think you can do this. Your best option would be just to copy and paste the source codes. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 21:24, 24 August 2008 (UTC)

Template:Coord
Hi, why would using produce the following error message at Dummipedia? I have used it in Wikipedia without any problems.
 * Coordinates: 13°05′24″N 80°16′12″E / Expression error: unrecognised punctuation character "[", Expression error: unrecognised punctuation character  &mdash;

PM Poon 18:44, 22 August 2008 (UTC)

AutoLoader.php & GlobalFunctions.php errors
Hi out there, I completely installed MediaWiki 1.13.0 and it shows following errors: Warning: ini_set has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/AutoLoader.php on line 5 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: debug_backtrace has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 Warning: array_slice [function.array-slice]: The first argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/bodyweightwiki/wiki/includes/GlobalFunctions.php on line 757 I don't even know PHP :-P
 * MediaWiki: 1.13.0
 * PHP: 5.2.6 (apache2handler)
 * MySQL: 4.1.22-log
 * URL: http://bodyweightwiki.bo.funpic.de/wiki/index.php

Any suggestions?

—Zac 11:28, 24 August 2008 (UTC)
 * You're webhost has disabled ini_set and other functions and MediaWiki will thus not function properly. Bryan 20:34, 30 August 2008 (UTC)

repeating logo on each page of outprinted articles

 * MediaWiki: 1.12.0
 * PHP: 5.2.0-8+etch11 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch6-log
 * URL: internal support-page

I search a solution to place one or two images on each outprinted page at the left and/or right side on the top (on left the project-logo and on right the logo of customer).

This image(s) must be defined in the article itself.

Where I must start to have a look ?

Thanks a lot!

—BitH 19:50, 26 August 2008 (UTC)
 * I think your best option would be to edit main.css in the skin directory you want. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 22:16, 26 August 2008 (UTC)
 * Sorry, but I only found the possibility to hide the footer. I already thought of using images as background but then it is not possible to define them in the article. --BitH 06:24, 27 August 2008 (UTC)


 * This can not be handled by the wiki on html based files. That's because the browser does not know, which page size the printer has. Perhaps your browser offers an option to ad an header/footer on each page.

Hiding pages in namespace
Hi, is there an easy way out to do the above without resorting to Extension:Lockdown? I am using MediaWiki Version 1.9. &mdash; PM Poon 15:40, 29 August 2008 (UTC)

(RESOLVED) Downloadable Help Section.
I asked on Wikipedia, and am now asking here since I was referred to here. I am working on learning how to do syntax for templates, tables, and other such things, including more advanced things. The wiki will be MMORPG based, so working projects of different kinds as well as actually mastering more of the basics. In any case, I need the help section, but so that I can put it on my own wiki that I have saved on my pc (via WOS) so that I can do stuff without being online (on my laptop, etc) 65.11.205.172 22:19, 31 August 2008 (UTC)
 * See Project:PD help, there's no "downloadable" set of help pages ready yet, but feel free to manually copy the pages linked from Help:Contents (–> help on copying). Please note that only pages in our Help:</tt> namespace are in the public domain, not the Manual or other pages. -- :bdk: 22:44, 31 August 2008 (UTC)

Global ID
Hi there!

I faced one little trouble - I have several resources and my users have to register several times. Is it possible to include option to authorize using some global ID, like Windows LiveID or OpenID or stuff? It will be great in including MediaWiki in a site's workspaces and let one user contribute in many wiki's.

Every Open ID is individual so authorizing on every wiki will cause creating of the same user, that has proof his identity and human nature on registration site.

As for Windows LiveID I can give support in negotiations with Microsoft and I'm sure that for all other IDs according contributor will be founded.

Thank you!

Database Error

 * MediaWiki: 1.6.6
 * PHP: 5.2.2 (cgi)
 * MySQL: 5.0.24a-log
 * URL: http://teachinghacks.com/wiki/

I had a database issue and had to repair the Revision Table in the MySQL database. Once I repaired I could not get the Main Page Back. The History for the last year was lost and any time I try to revert back. I get the following error:

The database did not find the text of a page that it should have found, named "Main Page". This is usually caused by following an outdated diff or history link to a page that has been deleted. If this is not the case, you may have found a bug in the software. Please report this to an administrator, making note of the URL.

Help would be appreciated.

—207.236.90.177 16:45, 2 September 2008 (UTC)

Ajax-feature doesn't work
Hello Pros, the Ajax-features Dropdown-Suggestions and Watch/Unwatch-Toggle don't work on my Wiki, though I switched  and. The old Ajax-Search that covers the whole article-page can be activated, so Ajax isn't generally disabled (of course I tried with  ). What else can I do to find the error? Is there anything more to do? Do I have to make adjustments to the MySQL-database? Do I have to run some more than just the update.php (formerly MediaWiki 1.12)? Thank you so much for your help. —Robbit 20:01, 2 September 2008 (UTC)
 * MediaWiki: 1.13.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a
 * URL: localhost

(RESOLVED) Mailto links

 * MediaWiki:  1.14alpha
 * URL: Help talk

Can't craft a mailto link that will put this into the To: field of the email message: First Last <foo@bar.com>

—Dave Yost 21:30, 2 September 2008 (UTC)
 * Just use  – this is displayed correctly as [mailto:foo@bar.com First Last <foo@bar.com>] :-) Cheers -- :bdk:  23:28, 2 September 2008 (UTC)

Collapsible box
Hi, I have been using navbox collapsible for months and suddenly it refuses to collapse. Please see teknologi-maklumat.com and compare with Dummipedia, a parallel translation site. What can be the reason for the sudden failure? &mdash; PM Poon 23:03, 2 September 2008 (UTC)

(RESOLVED) No scrollbar for source code

 * MediaWiki 1.13.0
 * PHP 5.2.5

My Wiki does not show a horizontal scrollbar if the text is too long. so the text is written behind the frame.

As I have seen, the 'normal' Wiki is using an additional div tag:

This div tag is missing in my wiki - any ideas why? Or is there another problem?

Thanks in advance

--62.128.18.198 15:12, 3 September 2008 (UTC)


 * Adding  to your css, e.g. MediaWiki:Common.css, should help. -- :bdk:  13:59, 4 September 2008 (UTC)

How to add dynamic tag to my mediawiki?
(moved from Project:Forum)

Hi, i have a dynamic menu in my mediawiki and when a value is selected (extract from database) it should be insert in my textarea as a tag, so how to do with the parser, i know that for statical tag it's possible but for dynamic tag how to do? thank you.

--193.51.121.244 4 September 2008