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)
 * Looks like a syntax error in the template somewhere, but I have no account @ yer wiki (honestly don't care to make one) so I can't see your  °N, °W  template syntax. Can you post it here?--Töff 18:30, 4 September 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 wiki does not know, which page size the printer has. Perhaps your browser offers an option to add an header/footer on each page.


 * OK - I understand. If there an include to generate PDF-files, so we can place these logos by this way ? --89.182.157.50 20:22, 9 September 2008 (UTC)


 * This would be very usefull, but I haven't found a practicable pdf support yet. These extensions seems to be the best:


 * http://www.mediawiki.org/wiki/Extension:Pdf_Export
 * http://www.mediawiki.org/wiki/Extension:PDF_Writer
 * I'm looking for a student in the area of nuremberg/Germany to add pdf support to my wiki  --62.128.18.198 15:21, 17 September 2008 (UTC)

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!
 * Thats actually a great idea. It is not included in the actual software or any extensions that I know of, but you might want to request it at bugzilla or at Extensions:Request.--'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 01:20, 11 September 2008 (UTC)

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

Adding and using new groups
Hi, I learned that a new user group is created by adding a $wgGroupPermissions['groupname']['read'] = true; to the LocalSettings.php of my wiki. But how do I manage that new group to appear in the access menu of wiki pages? It just contains All, not registered users & Only Admins no matter if I add new groups. —JazzmanDE 15:46, 4 September 2008 (UTC)
 * MediaWiki version: 1.12.0
 * PHP version: 5
 * MySQL version:
 * URL:


 * Use $wgRestrictionLevels. —Emufarmers(T 03:47, 5 September 2008 (UTC)

Thanks for answer. I added the following code to my LocalSettings.php: $wgGroupPermissions['Management']['read'] = true; $wgGroupPermissions['Management']['edit'] = true; $wgGroupPermissions['Management']['protect'] = true; $wgRestrictionLevels=array('Management','sysop'); I added a user account to the "Management" group and protected a page to make it only available to the "Management" group. But when I login as the "Manager", I can't edit the page. I have to delete the restriction in the database to get access again.

Another problem is, that I use the "page security" extension to restrict the read access to single pages. But I can't restrict pages to be only readable for the "Management" group, it always remains readable for everybody. --JazzmanDE 16:13, 10 September 2008 (UTC)


 * Any reason you're not using the built-in sysop and bureaucrat groups? why do you need a separate management group? -- 99.130.6.103 17:16, 10 September 2008 (UTC)


 * Because we need to limit the access to some pages to a special group of users. Not even the Sysop should have access. On the other hand that group shouldn't have full sysop access to the Wiki. --JazzmanDE 13:51, 11 September 2008 (UTC)
 * By the way: When I try to use the "bureaucrat" group instead of a new group I have the same problem with the mentioned code. --JazzmanDE 12:45, 12 September 2008 (UTC)
 * Ok, I made some progress. I forgot to include the code that is described in $wgRestrictionLevels. Now my code is

$wgGroupPermissions['bureaucrat']['read'] = true; $wgGroupPermissions['bureaucrat']['edit'] = true; $wgGroupPermissions['bureaucrat']['protect'] = true; $wgRestrictionLevels=array('','bureaucrat','sysop'); $wgGroupPermissions['bureaucrat']['bureaucrat'] = true; $wgGroupPermissions['sysop']['bureaucrat'] = true;
 * Now I have two problems left:
 * The sysops are able to watch pages which are designated to be seen only by bureaucrats. That doesn't change when I set $wgGroupPermissions['sysop']['bureaucrat'] = false. Edit protection against Sysops works, though.
 * When a common user tries to watch the page he's lead on a "The page can't be displayed" page instead of an error message of the Wiki. --JazzmanDE 13:23, 12 September 2008 (UTC)

Alternate Text In Category Listing?
MediaWiki: 1.11.0; PHP: 5.2.6 (cgi-fcgi); MySQL: 5.0.45-community-log; URL: http://paleravens.com/

Quote: "The SORT parameter does not affect how the page title is displayed within the category listing, just how it is ordered."

Great, so how do I specify alternate text (other than the page title) to be displayed in the category listing itself? Surely this is possible! But ... how!?

-- töff 18:10, 4 September 2008 (UTC)


 * This would REALLY be useful for me if anybody knows how to do it, PLEASE PLEASE .... -- töff 21:50, 10 September 2008 (UTC)
 * The only way to do so (afaik, and as a workaround) is to create a categorised redirect.
 * Example: You have a page named "Software XYZ" which is in the category "Software". As you mentioned, you can sort it with the parameter  so that "Software XYZ" is displayed under "X" in the category listing, but it's still displayed as "Software XYZ" there. To get e.g. "XYZ Software" as an alternate title showing up in the listing (or in another category), you have to create the page "XYZ Software" as a redirect to "Software XYZ" and to categorise this redirect in the category in question. Does this help? -- :bdk:  06:35, 21 September 2008 (UTC)


 * That's an awfully clever workaround -- cheers, I hadn't ever thunk of that! -- and it would probably be great for anybody else wanting to do what I asked to do. (You hear me saying "but," right?) ... But ... what I am hoping to do, specifically, is to create alternate text for the category listings to include some graphic markers, icons that specify what each entry in the category is. I still want one single category, though.
 * Specifically, I have a list of scenes. Some scenes begins stories, some are in the middle of stories (a bad place to start reading, in some views), some are the ends of stories (most people hate to read the end first; it "spoils" the story), and some are standalones.
 * If only I could tell the Category what text to display, maybe I could include an icon ... something like:

W(sort) | A Walk In The Park
 * That's what I kinda had in mind for "alternate text." The basic mediawiki category won't let me do that, of course. I was playing around with a manually created & maintained list but I ain't overly happy with that either. I also asked here about transcluding categories, which doesn't seem to be possible, and wouldn't really be a solution for me, either. :\ Long story short, I am unpleasable, I think :( Hah! Quelle dilemma.
 * That really was a good workaround, though. Well done! You should get a cookie or a star or something. I'm sure someone will find it very useful. Maybe me, some day :) -- töff

(RESOLVED) New skin

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.51a-community
 * URL: paperforum.x10hosting.com/tutorials

Hello,

How do I make a new skin for my mediaWiki and get rid of all the others?

—Callum


 * Copy a skin, rename it, and tweak it to taste. Keep the others as backup/references. There's a setting in LocalSettings.php that lets you specify which skins your users can apply. You can remove all other skins from that option, so your users are forced to see only your custom skin. This is what I did on my wiki. -- töff 15:38, 6 September 2008 (UTC)


 * Thanks, but how would I edit the style? (sorry, I literally started doing this yesterday) -Callum


 * I would say you need to familiarize yourself more with the underhood wiki machine. Making a skin requires a lot of different steps: editing LocalSettings.php (that's very important! you really need to learn about this file!), getting a feel for the files & folder hierarchies, adjusting various CSS sheets (there's quite a few of those!), digging around in the skinfile (.php) itself and hacking the code. Sorry, it's just not a simple thing. But I did it, so I'm sure you can. I suggest you read more in the manual, then ask more precise individual questions if you still need help. You might also google for a "mediawiki skin tutorial" but if you are adminning your own wiki I think you'll want to learn all this stuff anyway. It's easier than I make it sound. Like I said, I did it, and I ain't no rocket scientist. Also, MAKE BACKUPS lol omg -- 69.237.91.20 16:44, 6 September 2008 (UTC)


 * p.s. There are a lot of "extensions" that you can add to your basic installed wiki. Just learning how to install an extension will teach you a lot; and some of those extensions are really useful! -- 69.237.91.20 16:45, 6 September 2008 (UTC)

(RESOLVED) Changing Permissions

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.51a-community
 * URL: paperforum.x10hosting.com/tutorials

How do I change permissions?

Example: I don't want guests to be able to edit articles

—88.108.178.88 16:05, 6 September 2008 (UTC)


 * see Help:User rights. --84.139.88.41 16:08, 6 September 2008 (UTC)
 * or more generally: Permissions ;-) -- :bdk: 11:18, 9 September 2008 (UTC)

(RESOLVED) How to enable uploads

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Hi I've installed MediaWiki on my server and it works very well but: I want to upload images on my pages but It's disables on the wiki I can't upload on my admin account or either my other user account.

How can I able uploading Images on my Wiki?

Great Thanks for answering.

—77.164.218.186 08:18, 9 September 2008 (UTC)
 * See Manual:FAQ -- :bdk: 11:18, 9 September 2008 (UTC)

Database issue
We cannot get to the contents of our web-site to change information. We can get to the pictures. We do have a back-up file yamaguchi_wiki.sql It does look like all our info is here (2.6 MB) I can open this but do not understand it. —70.56.61.23 17:30, 10 September 2008 (UTC)
 * MediaWiki version:1.13.1
 * PHP version: 4.4.2
 * MySQL version: 2.9.0.2
 * URL:yamaguchibike.com
 * Thats because its a database. It's not easily read by humans. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 01:32, 11 September 2008 (UTC)
 * The SQL file you mentioned is only usable to load your contents up to a database. It consists of commands that an SQL database can understand to build the tables and fields. What exactly do you want to to? --JazzmanDE 12:30, 12 September 2008 (UTC)
 * We want to be able to open up our back up file.
 * If we could then that back up file we think has the content. We  would like this uploaded to site 5 server.  Then we think we can edit the content.  we don't have the web site  making knowledge to open up the sql file.   We tried to open it with Notepad and got a bunch of mumbo jumbo.  Ultimately what we want to do is change our prices/info on our web-site.

PHPMailer support?
My ISP requires outgoing authentication so I updated the localsettings.php page with the following config. $wgSMTP = array( 'host'    => "Mail.server.com", 'IDHost'   => "mydomain.com", 'port'     => 25, 'auth'     => true, 'username' => "admin@mydomain.com", 'password' => "mypwd" );
 * MediaWiki version: 1.13.1
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 5.0.24a-community-nt
 * URL:

This effectively broke my sign up page spewing out messages relating to pear. I then came to realize that my host does not offer support for the mail component that mediawiki uses. My host supports PHPMailer. Here is a sample of some code that works with my host. <? require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer; $mail->IsSMTP; $mail->Host = "mail.YourDomain.com"; $mail->SMTPAuth = true; $mail->Username = "you@domain.com"; $mail->Password = "EmailPassword"; $mail->From = "you@domain.com"; $mail->FromName = "Your Name"; $mail->AddReplyTo("you@domain.com"); $mail->AddAddress("user@domain.com"); $mail->IsHTML(true); $mail->Subject = "PHPMailer"; $mail->Body = "Body"; $mail->Send; ?> Any chance I can input this code somewhere in a config file somewhere so I can use mediawiki? —jimbo

Redirects in Image namespace in MW 1.13
Hi! Today i updated my installation from MW 1.11.2 to 1.13.1. Now the redirects from pages in the image namespace are not working any more. What do i have to change? Thanks! -- Beyer 15:49, 13 September 2008 (UTC)

Single Sign on

 * MediaWiki: 1.11.2
 * PHP: 5.2.6 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3.3-log

I have no error to report, but a question to ask.

I'm the administrator for a web site and would like to use the Wiki's u ser accounts for other non-wiki parts of the site, because people don't like to be bothered with many different user-accounts andpasswords.

Is there any neat way to do this from another php page?

—80.101.206.36 16:13, 13 September 2008 (UTC)

(RESOLVED) Image as Link and right lined.
Hi I want to have a image as link and I want to have the image on the right side of the site.

What's the code of doing that?

Pleased for a answer.


 * See Extension:Click. --'<font face="freestyle script"> Truetech  <font face="Imapct">  (Talk)   [[Image:Tournesol.png|20px]]  MediaWiki Support Team '' 22:23, 15 September 2008 (UTC)


 * Sorry but I can't get it done by these information does anyone have a other answer please?


 * See Extension:ImageMap or (if you don't have access to install extensions) Help:Linked images. To get the image on the right side you can then use something like  to surround the image code. -- :bdk:  06:23, 21 September 2008 (UTC)

(RESOLVED) Contact Form
How can I make a Contact Form on my MediaWiki Server?

Thanks if you have a good answer!
 * See Extension:ContactPage. <font color="#66A7CC">i <font color="#9966CC">Alex  10:51, 17 September 2008 (UTC)

Login successful on every link SpecialUserlogin.php

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.1
 * MySQL version: 5.0.45
 * URL: http://mortalwiki.com

Hi There I have the following message appearing whenever a user tries to get to a link after login:

Login successful

Return to Home.

Ofcorse the Home. link is replaced with whatever page they where trying to go to, I simply need to bypass the 'Login successful' and redirect the user straight to the requested page within the SpecialUserlogin.php, I belive the function to edit would be as follows: function successfulLogin( $msg, $auto = true ) { global $wgUser; global $wgOut; global $wgArticlePath;

# Run any hooks; ignore results

wfRunHooks('UserLoginComplete', array(&$wgUser));

$wgOut->setPageTitle( wfMsg( 'loginsuccesstitle' ) ); $wgOut->setRobotpolicy( 'noindex,nofollow' ); $wgOut->setArticleRelated( false ); $wgOut->addWikiText( $this->mReturnto, $wgArticlePath ); if ( !empty( $this->mReturnTo ) ) { $wgOut->returnToMain( $auto, $this->mReturnTo ); } else { $wgOut->returnToMain( $auto ); } 	}

However I do not know the code required to acomplish this re-direct after several attempts could you please help a mediawiki nOOb accomplish this basic code change :)

—88.110.5.132 02:12, 17 September 2008 (UTC)
 * Special:Userlogin redirects directly to the previous page since 1.14.0 (unless extensions add html with the UserLoginComplete hook), you may want to see this diff for how it's done. <font color="#66A7CC">i <font color="#9966CC">Alex  10:49, 17 September 2008 (UTC)

problem with login session

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.2 (cgi)
 * MySQL version: 5.0.45-log
 * URL: http://www.ufgq.org/wiki/

When I try to set a pages protection, I get this error: "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please hit "back" and reload the page you came from, then try again."

I've tried both IE and FireFox.

I've reinstalled the whole wiki.

What causes this problem, and how do I fix it?

komori_san@hotmail.com

—24.227.81.70 18:09, 17 September 2008 (UTC)

Reusing parts of Wikipedia articles

 * MediaWiki version: 1.6.10
 * PHP version: 5.2.1 (apache2handler)
 * MySQL version: 5.0.33
 * URL:

hello,

i am not sure if i am in right place to ask this question. actually i am new to mediawiki and i have just installed it on my XAMPP.

basically i have a traveling website and want to show wikipedia content for a particular place on my website.

i have tried http://en.wikipedia.org/wiki/Special:Export/Delhi (e.g. i searched for delhi) and http://en.wikipedia.org/w/api.php?action=opensearch&search=delhi&format=xml to retrieve the data for delhi but some junk data (special symbols, words in reginal languages which are not displayed properly if i extract data from example) is returned from there.

i only want only a portion of the content from wikipedia to be displayed on my site and there will be a link which will take the user to the original wikipedia site.

thanks, Prasenjit Seth seth.prasenjit@gmail.com

(RESOLVED) MySQL returned error "1146: Table 'wiki.page_props' doesn't exist"

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67
 * URL: http://isoc-ny.org/wiki/

Wiki is one-click install hosted on Dreamhost.com. When I try and edit I get:

Database error A database query syntax error has occurred. This may indicate a bug in the software. The last  attempted database query was: (SQL query hidden) from within function "Article:getHiddenCategories". MySQL returned error "1146: Table 'wiki.page_props' doesn't exist (mysql.isoc-ny.org)".

There was a glitch in the most recent upgrade where it didn't find the right directory, which they fixed. This is the first time I've tried to edit since.

mailto:joly@punkcast.com

—Joly 08:48, 18 September 2008 (UTC)


 * Unless DH has improved their one-click upgrade process, you still have to run update.php. On the bright side, you definitely have shell access. :) —Emufarmers(T 22:55, 18 September 2008 (UTC)


 * Thanks - that did it. I had to invoke php 5, so the fix was to got to the mantenance folder and then enering:

/usr/local/php5/bin/php update.php


 * I've added the info to the DH wiki Joly 20:43, 25 September 2008 (UTC)

How do I add a language to my wiki? (continue)

 * MediaWiki version: 1.12.0
 * URL: http://www.twikinet.tw/

I have tried to added * LANGUAGES in the Sidebar, but the languages area don't appear. Somebody can hlep me ? Please

--grand0147 09:40, 18 September 2008 (UTC)

Creating user groups

 * MediaWiki version: 1.13.1
 * PHP version: 5.1.4 (apache2handler)
 * MySQL version: 5.0.21-community-nt
 * URL:

Q. how can I create the user groups in this version? I want to create the groups from administrator side.Is it possible? If Then please tell me how to create the groups in details.

Thanks Madhabendra

—Madhabendra 10:54, 18 September 2008 (UTC)

Installed my own wiki, moved from my Wikipedia userpace, but keep getting errors

 * MediaWiki 1.12.0
 * PHP (5.2.5 (cgi-fcgi))
 * the database (4.1.22-max-log)

I recently installed Mediawiki on INNewsCenter.net. I am currently beta testing it on INNewsCenteer.net/wiki. Unfortunately I have problems with templates and other stuff. I am wanting my wiki to look exactly like Wikipedia. What do I need to do in order to fix this?

Nsgaeverine 14:02, 18 September 2008 (UTC)
 * Well, your question is a bit unspecific. What sort of problems do you exactly have? Which templates? (example on Wikipedia) What is "other stuff"? At first you probably need to adapt your CSS and perhaps JS files to make your pages "look like Wikipedia"; e.g. look up en:MediaWiki:Common.css and related pages there.
 * A general note regarding templates: If you only use a few specific templates it's presumably easier to create them "from scratch" yourself instead of copying the often highly complicated "esoteric" template stuff from Wikipedia (which is so complicated because it has to serve so many different requirements on thousands of articles). The template (table) layout can be exactly the same in both cases. And have a look at Parser functions if you haven't yet. That's all I can think of right now. -- :bdk: 06:16, 21 September 2008 (UTC)
 * I may need help creating navboxes from scratch. How do I even do that? I keep having trouble starting from scratch. Also I am getting "Error creating thumbnail: /usr/bin/convert: Unrecognized option (-thumbnail)." How do I fix this?Nsgaeverine 18:05, 21 September 2008 (UTC)

employee ID usage

 * MediaWiki version: 1.8.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.21
 * URL:

I need to user an employee ID for user_id in the user table. Where is the insert and update function for User.php and SpecialUserLogin.php

Regards.. Thanks C D Hicks —204.113.19.9 13:28, 18 September 2008 (UTC)

(RESOLVED) Whitespace before Doctype which renders the Wiki in Quirksmode in IE (IIS)

 * MediaWiki version: MediaWiki 1.13.0
 * PHP version: 5.2.3 (cgi-fcgi)
 * MySQL version: 5.0.41-community-nt
 * URL: 5.0.41-community-nt

For some reason whitespace appears above <!DOCTYPE> which tells IE to render the wiki pages in Quirks Mode and it's not skin related since all the other skins produce the same blank line above the <!DOCTYPE>.

Any idea why this is happening?

See http://203.134.157.116:8080

—60.241.17.247 23:25, 18 September 2008 (UTC)
 * SOLVED: It was the RSS Reader extension that caused the problem. --23 September 2008

Click.PHP
Hi I've installed Click and Click.PHP on my server but than I tried to use a image to be a link but I get this:

Fatal error: Call to undefined method Image::transform in /home/thegecko/www/www/wiki/extensions/Click/Click.php on line 108

And this is what line 108 says (copied from the site and not changed eversinds):

$thumbnail = $imageimage->transform( array( 'width' => $width ) );

And I use this to edit the page:



Could Somebody help me with this problem?

Searchindex table corrupted
Hi, is there anyway I can repair my searchindex table? &mdash; PM Poon 07:29, 20 September 2008 (UTC)


 * MySQL Reference Manual Try this --62.128.18.198 13:13, 25 September 2008 (UTC)

Footnotes?
Does MediaWiki support footnotes?

- Jeff Tanner, Seattle 22 September 2008
 * Are you looking for that what you probably know from Wikipedia ("references" or partly also called "footnotes" sections at the bottom of many articles, like e.g. there)? If yes, have a look at Extension:Cite. -- :bdk: 20:36, 22 September 2008 (UTC)

Skins
* MediaWiki: 1.11.1 * PHP: 5.2.5 (cgi-fcgi) * MySQL: 4.1.22

Hi, is there any possibility to use one wiki installation but to define different skins to be used when users access the wiki over a specific URL? I like to run it both as a wiki and as a website. So I will redirect visitors from the home directory to a certain wiki page which will work as a welcome page which should be displayed in a different skin. --JazzmanDE 22:58, 22 September 2008 (UTC)

Make a header
How Do I make a header inside the MediaWiki?

I want to display 2 images inside of the header but how/where do I attach that?


 * Hi, you may change the layout of your MW in the monobook.php in your skins folder. Take a look on Manual:Skinning. --JazzmanDE 11:47, 25 September 2008 (UTC)

Checking Content
When someone edits a page...how do you check that what was written is correct. How do you check the content? —62.169.220.35 08:19, 25 September 2008 (UTC)
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:
 * Could you explain more precisely what you mean? --JazzmanDE 14:28, 26 September 2008 (UTC)

Copying a posted photo in another article w/o rehosting or uploading
what button or text must I used to use a photo already hosted at wiki or memory alpha, to use a photo posted in an article that would be relevant in a related article, rather than reupload and waste space. what specifically must I do. Thank you

Page search

 * MediaWiki version: 1.14alpha
 * PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL:

I loaded a page last night (about 4 am) and now I cannot find it. The page title is "$700 Billion Trust Fund" Can you help and tell me how I can get it back or re-post it?

Dr. Stephen Tse

—68.192.172.102 15:45, 28 September 2008 (UTC)

To set up a chinese language section

 * MediaWiki version: 1.13.1
 * PHP version: 5.0
 * MySQL version: 5.0.51
 * URL: http://www.icrunchy.com

Hi, my web site is located here at http://www.icrunchy.com. I would like to add a chinese language section but I have no idea how I could do that. The current chinese language section that I have set up doesn't seem to be correctly done. Could you help me to take a look? Really appreciate that, thanks!

—117.20.188.82 16:47, 28 September 2008 (UTC)

index page for certain category
How to do index-page for articles which belong to certain category (and its subcategories) rather then for all articles in wiki. --Dnikitin 16:26, 29 September 2008 (UTC)

Add links to the footer

 * MediaWiki version: 1.13.1
 * PHP version: 5
 * MySQL version: 5
 * URL:

Hi there, i have a question to add links to the footer.

The doing is clear. I read Footer etc.

In the list are only a few pages, which can be used eg 'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',

But can i also add my own pages and which one? Only systemmessages? What is the precondition?

—Ozz 20:07, 29 September 2008 (UTC)

How to remove ths installed successfully information.

 * MediaWiki version: 1.13.1
 * PHP version: 5.0
 * MySQL version: current
 * URL: http://nocturnalcircle.com/wiki

Just installed MediaWiki and am loving it so far. After installing i get this at the top of the main page: ''' MediaWiki has been successfully installed.

Consult the User's Guide for information on using the wiki software.'''

How do i remove this? I tried to edit the page but so far i don't have the option to remove this information. Which way should i go from here?

--Lordvasago 03:27, 30 September 2008 (UTC)

Problem Skintemplate
I have a problem with my skintemplate:

Fatal error: Class '[MonoBook]Template' not found in /home/thegecko/www/www/wiki/includes/SkinTemplate.php on line 125

And this is what line 125 says:

function setupTemplate( $classname, $repository=false, $cache_dir=false ) { return new $classname; }

I have a standard monobook skin how do I solve this problem?

--77.164.218.186 08:04, 30 September 2008 (UTC)

(RESOLVED) Move Category

 * MediaWiki 	1.13.0
 * PHP 		5.2.5 (apache2handler)
 * MySQL 		5.0.26

Is there a quick and easy way to move a category to a new name? --62.128.18.198 12:03, 30 September 2008 (UTC)


 * Thats great: Extension:Replace Text
 * --62.128.18.198 08:57, 1 October 2008 (UTC)

Installation problems

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://www.androidmodding.com/wiki

When I type in the url "http://www.androidmodding.com/wiki" I keep getting a message to install MediaWiki. Then it tells me if can't find the config directory (since I deleted it). But when I put it back, it says that the installation was already done but still the URL takes me to the install screen.

—70.84.196.2 04:21, 1 October 2008 (UTC)


 * and what is here? http://www.androidmodding.com/mediawiki-1.13.1/

I re-upped the files to try a fresh install. I am getting this error message when going to http://www.androidmodding.com/wiki then clicking on install: "PHP 5.0.0 or higher is required. If PHP 5 is available only when PHP files have a .php5 extension, please navigate to index.php5 to continue installation. ABORTING."

And now I get:

"Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/c/a/r/carrlosboyd/html/androidmodding/wiki/includes/AutoLoader.php on line 10"

Create hiperlinks

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6
 * MySQL version: 4.0.20ant
 * URL: localhost in Apache

Good Morning I need what some user cant create hiperlinks in pages, but they can edit pages. How configure this ? One user what can edit pages, but cant create hiperlinks.

I m brazilian, sorry my portuguese. Help please.

Thiago M.G UFOP —200.131.216.88 14:29, 2 October 2008 (UTC)

Wiki running slowly

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.45-community-log
 * URL: http://www.driverwiki.com

Recently I've been experiencing the wiki running really slow, it sometimes takes almost a minute for pages to load. I have written up everything I know about the problem here http://mwusers.com/forums/showthread.php?t=8765 and I'm hoping someone knows of a fix or something which will help resolve the issue . Please read through that thread and see if you can work out what's going on?

Thanks for your time!

—121.91.2.196 03:59, 3 October 2008 (UTC)

update.php "deleting old default message" possibly stuck entirely?

 * MediaWiki version: updating to 1.13.2
 * PHP version: 5.2.6
 * MySQL version: Ver 14.12 Distrib 5.0.41
 * URL: http://dreadnoughtproject.org/tfs (update.php is running again at this moment)

When I run update.php, the step where it says removing old default messages (this may take a while) seems as though it might, in fact, be taking forever. There's slow, and then there's darn slow, and finally one arrives at the possibility that it is not progressing at all.

Though my Wiki is on the blocks at the moment as I attempt to run this, it has only around 1000 articles (mostly stubs), and the several times I've started update.php running, this step has never completed. I have allowed it to run for several hours. This pass, I am timing it, and running it through a terminal on a machine that will not sleep (this is what caused the other runs to abort).

Is there any way this step can be bypassed? Is it essential?

UPDATED INFO:

I modified the script to provide better feedback as it deletes each entry, and I noticed that it IS making headway, but taking about 20-25 seconds per entry it is deleting. On the plus side, I can see that the articles to be deleted are alphabetically sorted by title, and each run of this script is ratcheting me toward eventual completion (I'm up to the ones beginning with letter F). I expect the overall time to completion is about 9 hours. The issue might be that my DB server is remote from my web server.

—65.96.165.83 16:02, 5 October 2008 (UTC)

Header with 2 images
I like to have a header with 2 images 1 in the center of the header and 1 on the right side of the screen.

What's the code of doing this?;)

rendering depends on content
On page URL: http://en.wikipedia.org/wiki/AdaBoost

Why is epsilon different in $$\epsilon$$ and in $$\epsilon \sum$$? I write section for both. I think this is incorrect behavior.

—77.234.64.199 11:50, 8 October 2008 (UTC)

MediaWiki 	1.13.1 PHP 	       5.2.5 (cgi) MySQL 	       5.0.67

Hi,

MediaWiki and SSL-Proxy
I'd like to use a mediawiki with an ssl-proxy

example: https://ssl.domain.com/mymediawiki.com/ instead of http://mymediawiki.com but I get a lot of linking problems!

Is there a general support for ssl-proxy within the mediawiki?

Thanks a lot!

Cheers, Dennis

—92.203.103.71 23:11, 8 October 2008 (UTC)

Adding something above or below the copyrights.
My MediaWiki Information: My Question: I have a question... I want to add chat box above or below the copyrights, but I don't know how. Can you help me? —TheSeaKing 21:59, 9 October 2008 (UTC)
 * MediaWiki version: 1.6.10
 * PHP version: 4.4.9 (cgi)
 * MySQL version: 4.0.27-max-log
 * URL: http://tokwiki.thelostwaters.com

Greetings I've installed this wiki for general sharing of company info and help. The problem comes in when I try to edit. I get that the content changes, and tables gets inserted and all kinds of weird stuff gets inserted. The text changes, and some gets removed and others inserted. I thought that it might be me, and so installed FCK editor, since I'm familiar with it. But then the exact same thing happened there. I read up on this, and can not find the problem, so I came ot this page, and when I queried my MediaWiki for the version, I noticed that the same type of text changes seems to have happened here ? I'll give you a simple example. In the "Special:Version" page, I get the following "tr> < [<</ta <e><h2 i<="mw-version-ext">Installed extensions <tabl< id="sv-ext"> <<h c Other <  <<m>[<td c < <h c Parser extension tags  < <d c   <<tr <ass="sv-space"><td c < <h c Parser function hooks  < <d c anchorencode, defaultsort, displaytitle, filepath, formatnum, fullurl, fullurle, grammar, int, language, lc, lcfirst, localurl, localurle, ns, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, padleft, padright, pagesincategory, pagesize, plural, special, tag, uc, ucfirst and urlencode  <</ta <e>"  Any Ideas ? --~
 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.51b
 * URL: http://wiki (Internal)

Imported MySQL not showing articles.
My MediaWiki Information: My Question: There was a problem on my host's server which corrupted my wiki MySQL database.
 * MediaWiki version: 1.6.8
 * PHP version: 5.2.6
 * MySQL version: 5.0.45-community-log
 * URL: http://www.globalguide.org/wiki/index.php?title=Main_Page

We restored wikidb from my MySQL backup and I have weird wiki now where all the articles are there but none of the text.

Looking in the MySQL export/import file I can see some of the text but running the wiki itself - nothing.

You can see articles should be there by clicking on History - there they all are but clicking an entry gives you:


 * The database did not find the text of a page that it should have found, named "Main Page,oldid=9193".
 * 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.

Any ideas how to restore my database? There's four years work right now in danger... --~