Project:Support desk/Archive 18

(RESOLVED) flash player

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

I have been a member for a few months, and never had a problem, but now when I login, it says I need to update my flash player, but I can't seem to find a link to do that.

—151.202.90.92 01:23, 24 January 2008 (UTC)


 * More details please --Zven 01:47, 24 January 2008 (UTC)


 * Yeah sounds like you are reporting an error for YouTube. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  03:14, 24 January 2008 (UTC)

(RESOLVED) How/were do I add the google analytics code to my wiki?
May someone help me? I'd like to know, where in which file(s) (index.php or index.php5 or even other files) I#ve to put the code. THX for help. Mirko.
 * URL: http://www.helmstedt-wiki.de


 * You should only add things to localsettings rather than hacking the codebase, here's a snippet I've used to add google analytics in the past --Nad 19:49, 29 January 2008 (UTC)
 * You mean in the LocalSettings.php?, right? And: can you explain or give me an example where exactly to put the code? At the beginning, the end or somewhere else? THX for helping me ;o) Mirko
 * Anywhere in localsettings.php is fine (as long as its within the delimeters and not in the middle of another statement or something) --Nad 09:20, 30 January 2008 (UTC)

(RESOLVED) Any possibility to use images as link?

 * MediaWiki: 1.10.1
 * PHP: 5.2.4 (cgi-fcgi)
 * MySQL: 5.0.27

Hi, is there any possibility to use an image as a link? Like in  ?

Cheers, Timo 13:33, 30 January 2008 (UTC)

P.S.: Gonna upgrade to 1.11.0 but didn't find anything re my problem in the changelog.
 * You could install the Icon extension, which allows you to do this with a very flexible and easy syntax. Otherwise, you can set $wgAllowExternalImages to true in your LocalSettings.php, then create the link like so:  --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:36, 30 January 2008 (UTC)

Cheers, installed the Icon extension and it dows what I was looking for! Timo

/edit: Any idea how I can use external links? 20:56, 30 January 2008 (UTC)

Just used the $wgAllowExternalImages idea, cheers again! Timo

(RESOLVED) PHP running as a user account - how do I point mediawiki to use it?

 * MediaWiki: 1.11.1
 * PHP: 5.2.4 (apache)
 * MySQL: 5.0.45-community-log
 * URL: The Empire of Aesedra

My host has exec disabled which totals any attempt to make thumbnails. I get this:

[Thu Jan 31 01:43:37 2008] [error] PHP Warning: exec has been disabled for security reasons in /home/ulujain/public_html/wiki/includes/GlobalFunctions.php on line 1812

I emailed my host and he's set up a /php directory in my username space to run it under my setuid. The thing is, I've no idea how to get mediawiki to use this as opposed to the server's (nobody's) credentials. Do I need to reinstall mediawiki or is there some other way? I'm totally lost here. Thanks in advance. Peter (ulujain.org)

Peter1968 08:14, 31 January 2008 (UTC) (logged in)


 * Scratch this - if I turn use imagemagick off in LocalSettings and just let it use GD it works like a charm. Sorry to waste anyone's time. Peter1968 08:57, 31 January 2008 (UTC)

(RESOLVED) Problems with dot in article name
I have got problem with my local wiki installation. I get errors when there is a dot in an article name. If I want to link to the article about "Edward_Stettinius_Jr." and I add the link like this I get an error: http://localhost/dewiki/index.php/Edward_Stettinius_Jr. The error message says "Edward Stettinius Jr - The page doesn't exist". If I try to access the article at de.wikipedia.org there is not problem: http://de.wikipedia.org/wiki/Edward_Stettinius_Jr.

Why doesn't this work at my local installation of mediawiki? Any help or hint is appreciated. Mazi

- Mediawiki: 1.7.1 - PHP: 5.1.6 - MySQL: 5.0.24


 * I have been working on this problem for about 2 hours. Finally I found the solution. The URL has to look like this:
 * http://localhost/dewiki/index.php?title=Edward_Stettinius_Jr.
 * It is important to add index.php?title=articlename. Hope this might help other users having the same problem. Best regards, Mazi
 * 1.7.1 is very old, and since you're running PHP5 there's no reason to stick with such an old version of mediawiki, I'd recommend backing up your DB and upgrading to the latest version. --Nad 20:01, 31 January 2008 (UTC)

(RESOLVED) How to make a page use a certain skin?
How do I make it so a page will use a certain skin?

—The TattleTale Strangler 00:54, 1 February 2008 (UTC)


 * Off the top of my head I would say something like the following would do it (this sets the skin to "MySkin" if the article is MyArticle and in the MAIN namespace). You could adjust this to work on a namespace basis instead of a specific title too --Nad 09:22, 1 February 2008 (UTC)


 * That didn't particularly help me, considering that I have no clue where to place that. So, where do I put it? --The TattleTale Strangler 17:37, 3 February 2008 (UTC)
 * Put it in your LocalSettings.php file --Nad 19:46, 3 February 2008 (UTC)

(RESOLVED) cannot download mediawiki - download.wikimedia.org cannot be found
I would like to download and try wikimedia. However the a.m. link returns domain cannot be found.


 * This should be think link you were looking for: Download Mediawiki. Mazi

(RESOLVED) MediaWiki and MS SQL
Hey. Is it possible (in any way) to get MediaWiki work with MicrosoftSQL? Or is there a commercial/free alternavie you can suggest (like a special plugin or extension)?

Thanks a lot and best regards from Freiburg (Germany),

Bernd

—Subwoof3r 14:53, 1 February 2008 (UTC)


 * Nope, there is no support for MSSQL at the time, and I don't think there will be in the near future. — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 18:53, 1 February 2008 (UTC)
 * I'm working on an MSSQL database class, but it could be a while away yet. If you need it urgently then let me know on aran at organicdesign dot co dot nz as I could re-prioritise some development based on $ --Nad 19:49, 3 February 2008 (UTC)

(RESOLVED) Sorry! We could not process your edit due to a loss of session data.

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

I keep getting the error

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

I cannot edit pages when logged in. In fact, I cannot stay logged in.

I have read numerous forums and discussions but nothing works. Can you please help me solve this?

—82.111.145.34 16:41, 31 January 2008 (UTC)


 * Do you have cookies enabled? Smaug 02:06, 1 February 2008 (UTC)


 * See here, if you're not using Sourceforge, just use a directory that is writable by the web sever --Chris  02:16, 1 February 2008 (UTC)

(RESOLVED) Hosted website
Hi Wiki helpers. I was hoping to create a website using Media wiki software, but I can't find a web hoster willing to put the software on their server and I can't afford my own server to host the site. Does this mean I can't use Media Wiki for my website or is there a web hosting company out there that can help me?
 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Thanks! CBruin —87.192.222.215 18:09, 31 January 2008 (UTC)


 * There are many places which will host mediawiki's, see Comparison of wiki farms. Wikia is the most popular free one. --Nad 19:58, 31 January 2008 (UTC)


 * Take a look here for free web hosts, I'm currently using tsone.info which I can highly recommend, but you have to display adds if you want free hosting, also if you want an add free webhost, beware they tend to ask for a lot of your personal infomation, who knows who the're selling it to, have a good read of their privacy policy before you sign up with them, but as I said before I highly recommend tsone.info for free hosting. --Chris  01:20, 1 February 2008 (UTC)


 * I use Hostican. The hosting starts at $8/mo, which is an affordable price for me, and have high enough PHP and MySQL to run the latest MW, along with other free stuff that is useful from time to time.

(RESOLVED) question to the use of maintenance/deleteOldRevisions.php
What is the “bestof” syntax, to use the script maintenance/deleteOldRevisions.php? The first time, I try to use it, it (in other words: my trial-and-error-usage) deleted _all_... Not only the _old_ revisions... For the next trial with this maintenance script I would be happy for the syntax, that it delete only the _old_ revisions of an article, but keeps the last own... --Astrid 19:37, 31 January 2008 (UTC)
 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.32-Debian_7etch1
 * URL: this
 * Sorry, it was only my failure in using it and configuring the settings in the php-scripts. Now it works very well as described in the help. --Astrid 10:54, 5 February 2008 (UTC)

(RESOLVED) How I can moderate list of users which try to register?

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

Hi, I have installed mediawiki on my website ... But I would like very much to have ONLY a small group of users which will write some articles. I don't want users which will write whatever they want. My question is, how I can moderate list of users which try to register on my mediawiki website? Or how Can I create special privileges for some users which can write articles or edit articles? It is very important for me, and I just want accept registered users or not... Not registered users I want only for reading articles. Please, tell me it is possible?

Regards Dakszan

—Dakszan 01:04, 1 February 2008 (UTC)


 * Yes, it is possible. Put   in LocalSettings.php to stop anonymous users from creating accounts or editing the page.  I would then also add   to make sure Users are allowed to edit.  With these lines only sysops can create accounts, and only registered accounts can edit.  You can also create additional groups besides "User", "Sysop" and the defaults and assign them custom rights, but it sounds like this will be enough for you.  For more, visit Help:User_rights Smaug  02:17, 1 February 2008 (UTC)


 * Also see here --Chris  02:20, 1 February 2008 (UTC)


 * Thank you - it works! But I have another problem. I have set up everything as you said. And how can I register new users, which I want to join me .... How hive them login and password. Because, there is no link REGISTER NEW USER in login form. You said that only sysops can create accounts, so - how can I create new account as SYSOP. And another question is - when I am logged as a user (my login is displayed at the top of page) - when I go to for example MAIN PAGE - my login is automatically gone - and it looks like I am LOGGED OUT when I click MAIN PAGE. And the same happens with other links. Can I stay logged in all the time until I leave website, or until log out?

Regards Dakszan

(RESOLVED) Interwiki template transclusion not right

 * MediaWiki: 1.11.1
 * PHP: 5.2.0-8+etch10 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch1-log

I am trying to use an interwiki transclusion. For example, on my wiki, I try to use use:

The problem is it shows the documentation for the template, rather than using the template directly as I hoped for. I have $wgEnableScaryTranscluding = true; and I have enabled wikipedia for iwlocal and iwtrans in the database. The problem seems to be related to include and noinclude markup on Wikipedia's template pages. Thank you very much in advance for helping me with this!

—Renderer 10:28, 2 February 2008 (UTC)


 * See bug 12401 for advice. You can apparently use  to make it parse the raw wikitext, though I haven't tested that yet myself. Tuvok[Talk/en.wp] [[Image:Tournesol.png|20px]] MediaWiki Support Team   12:00, 2 February 2008 (UTC)

This response is helpful, but actually it doesn't work (for me). When the template is fetched, wikipedia returns Forbidden Raw pages must be accessed through the primary script entry point.

Is there a way round this? The URL it attempts to use fetch the template from is: http://en.wikipedia.org/wiki/Template:unsourced?action=raw Renderer 15:31, 2 February 2008 (UTC)


 * I just get an error that says the "template fetch failed". I think the reason it just shows the documentation rather than the template when you use the normal transwiki inclusion (the only variant that works, apparently), it uses action=render, rather than parsing the wikicode. It makes the feature kind of useless, since Wikipedia has all kinds of stuff on template pages that isn't the template. Tuvok[Talk/en.wp] [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:28, 2 February 2008 (UTC)


 * Yeah you can't use action links with Short URLs, change it to:

http://en.wikipedia.org/w/index.php?title=Template:unsourced?action=raw

http://en.wikipedia.org/wiki/index.php?title=Template:unsourced?action=raw

-PatPeter,  MediaWiki Support Team  15:05, 6 February 2008 (UTC)


 * Alright just copy the source code of the Wikipedia template to your wiki, simple as that. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:07, 6 February 2008 (UTC)

(RESOLVED) Deleting a page that I cannot access...

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

Hello...while creating content, I created a page that had an ellipsis (...) in it, and I am assuming that is why it failed. I created a new page and corrected this problem, however...the old page is still in the database (it showed up when I was running a "Random Article" search), and I cannot access it to delete it (it returns the following):

The requested URL /In_evening's_stillness... was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

How can I delete it from the database if I cannot access it...is there a way? —74.128.207.61 20:34, 2 February 2008 (UTC)


 * Hmm, you might have to manually remove it from the database. Not sure how to safely do this as of yet. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:03, 3 February 2008 (UTC)


 * Try removing it from the database using phpMyAdmin, or phpShell if you have access to the server. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:43, 5 February 2008 (UTC)

(RESOLVED) How do you set up a task force?
I'm trying to set up a task force at my own Wiki. Can some one click on this link and help me? I followed the steps on Wikipedia, but I'm missing something. --75.181.81.73 11:01, 3 February 2008 (UTC)


 * You need to install Extension:ParserFunctions. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:02, 6 February 2008 (UTC)

(RESOLVED) Problem with Settings.php - what do they do?

 * MediaWiki: 1.12alpha
 * PHP: 5.0
 * MySQL: 5.0
 * URL: localhost

I can get commonsettings.php to work for my new MediaWiki 1.12 copy I downloaded from SVN, however I don't quite get InitialiseSettings.php as per http://noc.wikimedia.org/conf/InitialiseSettings.php.html

why does the CommonSettings.php page (http://noc.wikimedia.org/conf/CommonSettings.php.html) not include the following line: $wgGroupPermissions['steward'  ]['userrights-interwiki'] = true;

According to mediawiki.org it says that line has to be included in CommonSettings.php or LocalSettings.php for stewards to set rights on other wikis - which I did using the above text.

Anyone able to help me with this one?? Also, what would I do to get InitialiseSettings.php working?? and what is it anyway?? Thanks, --82.42.237.84 20:35, 3 February 2008 (UTC)
 * All configuration should go into LocalSettings.php, not anywhere else or it won't work as expected (or at all) --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  23:51, 3 February 2008 (UTC)


 * Thanks. I am aware of the Localsettings.php, I currently add CommonSettings.php at the end of it. I was trying to make it so that when I set up my MediaWiki installs on my localhost XAMPP server, they all have the same settings as Wikimedia does. How do I make it similar to wikimedia's install?? Thanks, --82.42.237.84 18:11, 4 February 2008 (UTC)


 * We do not offer support to unstable releases. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:00, 6 February 2008 (UTC)
 * However those cutting edge alpha releases are currently running on Wikimedia projects --Zven 07:19, 8 February 2008 (UTC)

(RESOLVED) Recent Changes not displaying older changes

 * MediaWiki: 1.11.0
 * PHP: 5.0.5 (cgi)
 * MySQL: 5.0.45-community-log
 * URL: not relevant

It is now 3rd Feb 2008, 23.08 but on Recent Changes I am unable to view changes older than 25th Jan 2008, 21.44 however many I ask to see or how long ago (e.g. Recentchanges&days=30&limit=200)

I cannot think of any reason for this. There were edits and it is set to show all edits (i.e. patrolled not hidden etc).

Any ideas?

Thanks,

Rob

—82.152.253.133 23:20, 3 February 2008 (UTC)
 * This is normal because the datas older than $wgRCMaxAge are dropped (default is one week), if you want to have them longer, simply raise the value of that variable in your LocalSettings.php (see the link for how use it). i Alex  10:04, 4 February 2008 (UTC)

(RESOLVED) index.php5 suffix dramas

 * MediaWiki: 1.11.1
 * PHP: 5.23
 * MySQL: 5.0.45-community log
 * URL: http://www.aesedra.com/wiki/Main_Page

My host runs PHP 4.47 and 5.23 concurrently (no, I don't know why). Anyhow, my wiki installed using the index.php5 script, and I managed to get the short URL's working fine. Only problem is, when I try logging into it - the index.php5?blah turns into index.php?blah and I get a blank page. If I manually add the "5", I can log in, then it redirects to index.php?blah and I get a blank page again.

On the mwforums site, it suggested I add:

AddHandler x-httpd-php5 .php

AddHandler x-httpd-php .php4

to my .htaccess. That prompts me for a download when I load the page :/

My log file is full of these:

[Mon Feb 4 05:49:05 2008] [error] PHP Fatal error:  Call to undefined function:  headers_list in /home/aesedra/public_html/wiki/includes/OutputHandler.php on line 71

[Mon Feb 4 05:49:05 2008] [error] PHP Parse error:  syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/aesedra/public_html/wiki/includes/Exception.php on line 160

What do I do to fix this?

—Peter1968 12:07, 4 February 2008 (UTC)
 * Did you put this (or added by the congiguration script) in your LocalSettings.php ? :


 * i Alex  12:30, 4 February 2008 (UTC)
 * Yes, it was auto-generated. I've tried it as php5 and php. Both are no go. Peter1968 12:31, 4 February 2008 (UTC)
 * Ok, what do you use for rewrite rules or alias ? i Alex  12:35, 4 February 2008 (UTC)
 * What was found here (I've remmed out the rewrite stuff in my .htaccess for the time being so I could log in).

http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_PHP_as_a_CGI_module%2C_no_root_access
 * Where it states /wiki/index.php? I added a 5 after it like it said. Then I added the script path stuff for my localsettings file. Peter1968 12:40, 4 February 2008 (UTC)
 * The error can come from the lines AddHandler x-httpd-php5 .php and AddHandler x-httpd-php .php4</tt> that are used used when php is an apache module and not an cgi module, try to remove it. <font color="#66A7CC">i <font color="#9966CC">Alex  13:37, 4 February 2008 (UTC)
 * The addhandler statements have been removed. I just went ahead and removed the wiki and the db and tried to reinstall it.
 * It insists upon running wiki/config/index.php5 - if I rename it to index.php it throws this error at me:
 * OK, if I proceed with the install, under "Checking environment" is says this: . Further down the page it says:.
 * http://www.aesedra.com/php.php if you want to look at phpinfo.
 * *sigh* I'm stuck with trying to get short URL's working here- the examples you guys have listed here in your short URLs page are causing the parse/fatal errors I've posted above.
 * What do I do? I'm utterly stuck here. Peter1968 19:18, 4 February 2008 (UTC)

Edit: This one is resolved. Got the rewrite rules working and all is well. Peter1968 11:40, 5 February 2008 (UTC)

(RESOLVED) How can i delete users using an interface like the one in Special:Listusers

 * MediaWiki: 1.11
 * PHP: 5.2.3
 * MySQL: 5.0.41
 * Database:
 * URL: Localhost type

Hi, i'm trying to put this functionality to work. I need a page that runs on special pages, can only be used by admins/bureaucrats and displays a list of users, just like  SpecialListUsers does but then, lets you click on them and then delete them from the database. I know that this goes against the mediawiki's policy but since i'm trying to adapt the mediawiki for a specifical subject, i want to let the students from this subject to edit content on that wiki, and the other to just look at the contents (no register available). And when the subject is done i want to be able to delete the user from the database without having to delete the user directly using sql statements.

I have tried to search for a "delete user" extension yet i've found nothing. Can someone point me to what extension would help me or tell me what should i modify in order to make this possible?

Thanks a lot!! —Juanan 16:30, 4 February 2008 (UTC)
 * There is also Extension:User Merge and Delete that will give the contribution of an user you want to delete to an other user and delete it. <font color="#66A7CC">i <font color="#9966CC">Alex  16:44, 4 February 2008 (UTC)

(RESOLVED) How can I delete "Main Page?"

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

I would like to delete the words "Main Page" from my, well...my main page (much like it is on the Wikipedia main page. How can I achieve this without having a redirect?

Discovered how to do the above. Could still use a little help with the following:

Also...I would like to insert a random article in my main page. How can I do this? Thanks.

—74.128.207.61 05:53, 5 February 2008 (UTC)


 * A-Kint accidently posted without a topic so the content went into your thread, this does not give you the right to delete all of A-Kint's content, instead you should have turned it into a different section. As for your thread it is resolved, start a new one with questions. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:40, 5 February 2008 (UTC)

My bad...I did the same exact thing (asking a question accidentally without a topic which went into someone else's thread) and it was deleted, so I thought that this was the way to do things. I apologise.

Yes whoever did that to yours was wrong to do so. -PatPeter,  MediaWiki Support Team  14:52, 6 February 2008 (UTC)

(RESOLVED) link on files/on a filesystem

 * MediaWiki:1.10.0(Reported by your Wiki's Special:Version page)

I have the following problem: When I create a link on a file the file is not found.

I use the FCKeditor and I create the link on the file as follows:



If blanks in the file path I replace it by the use of %20. Then I saved the wiki page with the link. When I go on this link a new page is opened with the following display above the page:

to attend to

Links on Internet-Pages works.

Has anybody an idea?

—Krusche 12:55, 5 February 2008 (UTC)

... you can't link files with MediaWiki. -PatPeter,  MediaWiki Support Team  14:51, 6 February 2008 (UTC)

(RESOLVED) Is there an automatic unique numbering scheme/magic word?

 * MediaWiki: 1.10.0
 * PHP: 5.2.4
 * MySQL: 4.0.27

I want to use mediawiki as a requirements managment tool. However, i need to allocate a unique number to each article that NEVER changes. Is there any way to automatically insert a unique number? EG TUNER_001, TUNER_002, TUNER_003 etc where the integer number increments automatically?

Thanks

Mark

16:07, 5 February 2008 (UTC)


 * If you cannot use the name as a unique identifier, perhaps some template that creates a number out of the name? Putting something in the wikitext is editable.  When do you want this number to increment?
 * There is no magic word I know of that does this <font color="#006500">Smaug 22:10, 5 February 2008 (UTC)

(RESOLVED) Two wiki's (1.9.2 and 1.11.0) but I don't see the common.js file anywhere...

 * MediaWiki: 1.9.2 and 1.11.0
 * PHP:
 * MySQL:
 * URL:

I'm in the process of adding some more customisation to our wiki but I'm stuck on an apparently very silly issue: I can't find a common.js file anywhere in our wiki directories. I've been browsing through help pages from different sites but it looks like everyone has that page readily available. What am I missing?

—212.113.85.1 17:23, 5 February 2008 (UTC)


 * Common.js is not a file but a wiki page (like this one) that you can find at MediaWiki:Common.js. <font color="#66A7CC">i <font color="#9966CC">Alex  17:34, 5 February 2008 (UTC)

(RESOLVED) ca-nstab-main
How would one change the title of ca-nstab-main on the Main page of a MediaWiki installation (i.e. from "article" to something else) without having to edit server side scripts (adding something to either monobook.css or common.css, perhaps?)? --58.169.232.209 05:17, 24 January 2008 (UTC)
 * Edit the system message MediaWiki:Nstab-main (also you need $wgUseDatabaseMessages set to true for messages in the MediaWiki namespace to take affect). --Nad 08:05, 24 January 2008 (UTC)

(RESOLVED) Font
This is a very simple question but I haven't been able to find a suitable solution anywhere. How would one change the font of the text within articles (and only the text within articles) for every article? --58.169.232.209 05:36, 24 January 2008 (UTC)
 * Add a CSS rule to your MediaWiki:Common.css which changes the font style such as #bodyContent { font-family:sans } --Nad 07:57, 24 January 2008 (UTC)

(RESOLVED) Two TOC's on one page whilst developing extension
I'm developing an extension to process wikitext to change the section level of a page. My extension code is this: <?php $wgExtensionFunctions[] = "wfRescetionExtension"; function wfRescetionExtension { global $wgParser; $wgParser->setHook( "resection", "renderresction" ); } function renderresction( $input, $args, &$parser ) { $input = $parser->recursiveTagParse( $input ); return $input; }
 * MediaWiki: 1.11.0
 * PHP: 5.1.6
 * MySQL: 5.0.22
 * 1) At the moment the function does nothing - it will change == to === etc...

When I create the following page in my wiki ==Section1== ==And again== ==more== ==what next== ==Blah== ===One=== ===Two=== ==Blah2==

I get a page with two TOCs (table of contents) - does anyone know how to solve this? -155.198.158.97 10:49, 29 January 2008 (UTC)

<?php # Define a setup function $wgExtensionFunctions[] = 'wfResectionParserFunction_Setup'; # Add a hook to initialise the magic word $wgHooks['LanguageGetMagic'][]      = 'wfResectionParserFunction_Magic'; function wfResectionParserFunction_Setup { global $wgParser; # Set a function hook associating the "example" magic word with our function $wgParser->setFunctionHook( 'resection', 'wfResectionParserFunction_Render' ); } function wfResectionParserFunction_Magic( &$magicWords, $langCode ) { # Add the magic word # The first array element is case sensitive, in this case it is not case sensitive # All remaining elements are synonyms for our parser function $magicWords['resection'] = array( 0, 'resection' ); # unless we return true, other parser functions extensions won't get loaded. return true; } function wfResectionParserFunction_Render( &$parser, $param1 = '') { # The parser function itself # The input parameters are wikitext with templates expanded # The output should be wikitext too $output = wfResection_fetch_($parser,$param1); $output = preg_replace('/=(=+)/','==$1',$output); $output = '=='.wfResection_getTitle($param1).'=='."\r\n".$output; //$output = $parser->recursiveTagParse( $output ); return $output; } function wfResection_fetch_($parser, $page) {   $title = wfResection_getTitle($page); if ( !is_null( $title ) ) { $text = $parser->fetchTemplate($title); }   return $text; } function wfResection_getTitle($page, $ns = NS_MAIN) {   $title = Title::newFromText($page,$ns); return $title; }
 * I've resolved this myself by taking a different approach using a custom parser function instead which allows you to transclude pages and then adjust the section level - it can be used like this see code below -155.198.158.97 14:43, 29 January 2008 (UTC)

(RESOLVED) Randomly select 20.000 pages
Hi guys, I want to randomly select 20.000 pages from table page. I use PHP and tried this query "SELECT page_title FROM page WHERE page_is_redirect=0 AND page_namespace=0 ORDER BY RAND LIMIT 20000" This query has a veeeery long execution time. How can I improve my query? I had a look at the values of page_random in table page but I don't know how to use this values to speed up my query. Any kind of help is appreciated. Many thanks in advance, Mazi


 * Using the page_random values in a SQL statement is quite simple
 * "SELECT page_title FROM page WHERE page_is_redirect=0 AND page_namespace=0 ORDER BY page_random LIMIT 20000"
 * Nevertheless the execution takes nearly two hours to randomly select 20000 articles. Any ideas how to speed this up? Mazi


 * Mazi you use this Support desk enough, please either make an account or sign your posts with . -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:33, 6 February 2008 (UTC)

(RESOLVED) How to set up bookmarklets on a wiki page?

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

I'm trying to set up bookmarklets on a wiki page to document and allow their use by the wiki page readers. Unfortunately none of the formats for a link seem to recognise a link with a javascript url. I suspect that it's impossible. But before giving up I thought I would check. Is it impossible? At the moment I've compromised by pointing the wiki at a page of HTML on my personal PC. A useful stop gap but not a very good long term solution! Do you have any better suggestions?

—77.107.68.20 15:55, 30 January 2008 (UTC)
 * Wiki markup does not allow javascript links, as then any editor could use one to execute some nasty javascript on an uneducated user who doesn't check link targets. If you want to make a link with javascript, you're best off writing some tag extension that you put on a page (like ) and that will put the javascript link up for you. Feel free to email me if you need more help with setting that up. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:22, 30 January 2008 (UTC)
 * If anyone decides to write such an extension, I'd be interested in using it. That is, if I don't write one myself at some point. Tuvok[Talk/en.wp] 18:09, 30 January 2008 (UTC)
 * The extension HTMLets allows you to use JavaScript (trust me, it works on my wiki.) —The TattleTale Strangler [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:47, 8 February 2008 (UTC)

(RESOLVED) Help setting up MediaWiki

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

I am installing a wiki for my family site. I installed it to http://www.mwape.com/wiki, as you can see that does not work. So i pointed my browser to http://www.mwape.com/wiki/config, and it gives me 3 errors, which you can see. I have the database made, i use Bravenet, i uploaded the whole wiki package to the site as a /wiki directory, so what do i do now?

—68.81.129.174 18:03, 3 February 2008 (UTC)


 * I probably wouldn't use Bravenet. I've often found issues with Bravenet in the past, so I recommend FreeMySQL.net The first error says it cannot access /misc/23/115/679/303/4/user/web/mwape.com/wiki/install-utils.inc in /misc/23/115/679/303/4/user/web/mwape.com/wiki/config/index.php on line 39. This probably means that the permissions for your wiki are not set to 777. See your FTP's help for setting permissions. I'd probably set the entire wiki to the permission 777, since MediaWiki is always being edited. The second error says that the file doesn't exist. That means it obviously doesn't exist. I'd make sure you installed it correctly, and if not, contact MediaWiki. Same for the third, it's not installed properly. So, overall, I'd change the permissions of your /wiki directory [and all its subdirectories] and make sure you had installed it correctly. I still advice that you go with FreeMySQL.net, since it's very reliable and free. --The TattleTale Strangler 04:16, 7 February 2008 (UTC)

(RESOLVED) Template & Symbol box in the writing page

 * 1) How to add a template in the page to write/edit articles?
 * 2) How to add also the symbols box in that page?

--Lorenzone92 21:09, 3 February 2008 (UTC)
 * *1) Help:Templates? <font color="#006500">Smaug 22:46, 3 February 2008 (UTC)


 * No, I didn't explain properly... I mean this... --Lorenzone92 13:26, 4 February 2008 (UTC)


 * You can find it in MediaWiki:Copyrightwarning, for the symbols box, i think you speak about MediaWiki:Edittools. If you want to use it, install Extension:CharInsert and the content of this page in your MediaWiki:Common.js (we use a function that load that page from our MediaWiki:Common.js) so that it works properly. <font color="#66A7CC">i <font color="#9966CC">Alex  16:11, 4 February 2008 (UTC)


 * OK, thanks! And how to add code up to the box? --Lorenzone92 14:00, 6 February 2008 (UTC)


 * Well there is MediaWiki:Sitenotice, but that applies to every page. And I wouldn't really call that a box, more like text. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  14:58, 6 February 2008 (UTC)


 * OK, thanks.. And how to remove the main page title (look at this image)? --Lorenzone92 19:29, 6 February 2008 (UTC)
 * See Manual:FAQ. <font color="#66A7CC">i <font color="#9966CC">Alex  19:33, 6 February 2008 (UTC)
 * This is resolved. —The TattleTale Strangler [[Image:Tournesol.png|20px]] MediaWiki Support Team  05:07, 7 February 2008 (UTC)

(RESOLVED) Bots

 * MediaWiki: 1.6.10
 * PHP: 4.4.7
 * MySQL: 4.1.22

I am trying to install the "makebot" extension,it seems ok in "version" page like: "Special pages: MakeBot, Special page allows local bureaucrats to grant and revoke bot permissions, by Rob Church Extension functions: efMakeBot" but while I use the url Special:Makebot, it saids"You have requested an invalid special page, a list of valid special pages may be found at Special:Specialpages."

Would you please help?

—A-Kint 11:26, 5 February 2008 (UTC)
 * The actual code require a newer version of MediaWiki, if you want to use it with 1.6.10, you have to use the version from July 2006 that you can get by following these links :
 * http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Makebot/Makebot.php?revision=15225
 * http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Makebot/Makebot_body.php?revision=15218
 * http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Makebot/Makebot.i18n.php?revision=14940
 * <font color="#66A7CC">i <font color="#9966CC">Alex  16:36, 5 February 2008 (UTC)


 * An easier solution would be to just go to "User rights management" in Special pages and manually set someone as a bot. It'll save you a lot of trouble and is only about 3 clicks. Otherwise, just use what iAlex said. —The TattleTale Strangler [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:44, 8 February 2008 (UTC)

(RESOLVED) Send Email on Updates / New Documents

 * MediaWiki: 1.11.0
 * PHP: 5.2.4 (apache2handler)
 * MySQL: 5.0.45
 * URL: you can't get to it...

Is it possible to have an email send to all users on all updates / new documents ? thanks —166.33.79.92 15:44, 5 February 2008 (UTC)


 * I would probably try this extension for mass-emailing. If you want to just have people "subscribe" to updates, try this extension. Hope that helped! —The TattleTale Strangler 03:38, 7 February 2008 (UTC)

(RESOLVED) Direct upgrade from 1.6 to 1.11?
Just a quick question... Can I upgrade to the latest version directly, from 1.6.10? —208.53.157.29 01:22, 6 February 2008 (UTC)
 * MediaWiki: 1.6.10
 * PHP: 5.2.0
 * MySQL: 5.0.32


 * The only thing I can tell you is to just reinstall MediaWiki. It won't erase your members or pages or data from your current wiki, but rather, it would replace the current version. Hope that helped! —The TattleTale Strangler 03:35, 7 February 2008 (UTC)


 * Won't that give you a 1.11 installation with an incompatible 1.6 database? Prodego 03:03, 9 February 2008 (UTC)
 * The release notes [] (and SVN upgrade notes) provide information about upgrading. You will need to run Manual:update.php and potentially upgrade in steps through each major release, but I would try backing up the database/images etc and upgrading directly to 1.11.1 first. --Zven 00:21, 10 February 2008 (UTC)

(RESOLVED) Change systemtext for one specific page?

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.32-Debian_7etch1
 * URL: this

How can I change the content of one systemtext for a specific page? My Wiki is under license CC-BY-SA. But on this I quoted the text of the GFDL. And the experts for licensing-questions from the German Wikipedia told me, that I have to change the footertext for this page too, that there appears the GFDL-license in the footer instead of the CC. How can I do this?

—Astrid 11:33, 6 February 2008 (UTC)
 * resolved by syrcro from Wikipedia by this: --Astrid 19:30, 6 February 2008 (UTC)

(RESOLVED) PHP on host upgraded, now site redirection is looping

 * MediaWiki: 1.6.10
 * PHP: 5.2
 * MySQL: MySQL
 * URL: http://www.malvagita.net/hqwiki

I honestly forget which version of PHP my host had installed originally, but it forced me to use 1.6.10 instead of the most recent release of Wiki at the time.

Now it appears that they have upgraded to 5.2 and when I attempt to load any page within my wiki, Firefox produces the following error.

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.


 * This problem can sometimes be caused by disabling or refusing to accept cookies.

IE simply gets stuck in a loop. I have checked my cookies and they are fine.

—Darkwater 18:07, 6 February 2008 (UTC)


 * It's because your current version of your wiki doesn't support newer versions of PHP. Just reinstall the newest version of MediaWiki onto your website and it'll upgrade by itself. Your data won't be lost, either. —The TattleTale Strangler [[Image:Tournesol.png|20px]] MediaWiki Support Team  04:42, 7 February 2008 (UTC)

(RESOLVED) Is Wikiversity available for download?
I'd like to know if the code for Wikiversity is available for download.

—Santiago Wiki 14:01, 7 February 2008 (UTC)


 * It's on this page. —The TattleTale Strangler [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:37, 8 February 2008 (UTC)

(RESOLVED)Content Not Showing Up

 * MediaWiki: 1.11
 * PHP: 5.2.4
 * MySQL: Ver 14.12 Distribution 5.0.45
 * URL: http://wiki.lormfg.com

The wiki for my company suddenly stopped displaying content recently. The pages show up but the content/body does not. If you click on the edit tab you can see the text that is supposed to be there but it does not display. Below are the errors that I get in my site's errors log: ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 283 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2915	10579808	Parser->replaceVariables	../Parser.php:1033 10	0.2916	10579848	Parser->replace_callback	../Parser.php:2860 11	0.2919	10580928	call_user_func 	../Parser.php:2759 12	0.2919	10580968	Parser->braceSubstitution	../Parser.php:0 13	0.2921	10582572	MagicWord->matchStartAndRemove	../Parser.php:2984 14	0.2922	10582744	preg_replace_callback 	../MagicWord.php:283 ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 283 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2915	10579808	Parser->replaceVariables	../Parser.php:1033 10	0.2916	10579848	Parser->replace_callback	../Parser.php:2860 11	0.2919	10580928	call_user_func 	../Parser.php:2759 12	0.2919	10580968	Parser->braceSubstitution	../Parser.php:0 13	0.2932	10583604	MagicWord->matchStartAndRemove	../Parser.php:3000 14	0.2933	10583912	preg_replace_callback 	../MagicWord.php:283 ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 283 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2915	10579808	Parser->replaceVariables	../Parser.php:1033 10	0.2916	10579848	Parser->replace_callback	../Parser.php:2860 11	0.2919	10580928	call_user_func 	../Parser.php:2759 12	0.2919	10580968	Parser->braceSubstitution	../Parser.php:0 13	0.2943	10584724	MagicWord->matchStartAndRemove	../Parser.php:3005 14	0.2944	10585080	preg_replace_callback 	../MagicWord.php:283 ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 283 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2915	10579808	Parser->replaceVariables	../Parser.php:1033 10	0.2916	10579848	Parser->replace_callback	../Parser.php:2860 11	0.2919	10580928	call_user_func 	../Parser.php:2759 12	0.2919	10580968	Parser->braceSubstitution	../Parser.php:0 13	0.2953	10585840	MagicWord->matchStartAndRemove	../Parser.php:3010 14	0.2954	10586196	preg_replace_callback 	../MagicWord.php:283 ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 277 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2970	10588408	Parser->stripToc	../Parser.php:1044 10	0.2971	10588408	MagicWord->matchAndRemove	../Parser.php:3453 11	0.2972	10588380	preg_replace_callback 	../MagicWord.php:277 ( ! ) Warning: preg_match [function.preg-match]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 235 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4 	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2970	10588408	Parser->stripToc	../Parser.php:1044 10	0.2981	10588408	MagicWord->match	../Parser.php:3458 11	0.2981	10588412	preg_match 	../MagicWord.php:235 ( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 277 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.2989	10588500	Parser->stripNoGallery	../Parser.php:1045 10	0.2990	10588500	MagicWord->matchAndRemove	../Parser.php:3437 11	0.2991	10588556	preg_replace_callback 	../MagicWord.php:277
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location
 * 1) 	Time	Memory	Function	Location

( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 277 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7 	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.3014	10589296	Parser->formatHeadings	../Parser.php:1060 10	0.3018	10589296	MagicWord->matchAndRemove	../Parser.php:3497 11	0.3018	10589332	preg_replace_callback 	../MagicWord.php:277
 * 1) 	Time	Memory	Function	Location

( ! ) Warning: preg_replace_callback [function.preg-replace-callback]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /home/sites/lor/web.02/wiki/includes/MagicWord.php on line 277 Call Stack 1	0.0005	57952	{main}	../index.php:0 2	0.2531	9778112	MediaWiki->finalCleanup	../index.php:90 3	0.2655	9974068	OutputPage->output	../Wiki.php:301 4	0.2663	10019964	SkinTemplate->outputPage	../OutputPage.php:696 5	0.2894	10554844	wfMsgExt	../SkinTemplate.php:342 6	0.2899	10555604	OutputPage->parse	../GlobalFunctions.php:593 7	0.2901	10556452	Parser->parse	../OutputPage.php:474 8	0.2908	10564240	Parser->internalParse	../Parser.php:306 9	0.3014	10589296	Parser->formatHeadings	../Parser.php:1060 10	0.3030	10589816	MagicWord->matchAndRemove	../Parser.php:3520 11	0.3030	10589992	preg_replace_callback 	../MagicWord.php:277
 * 1) 	Time	Memory	Function	Location

Any ideas would be greatly appreciated

Blake M. Sisco LOR Manufacturing Company, Inc.

—66.103.240.1 19:11, 7 February 2008 (UTC)
 * They may have installed a new version of PCRE but not PCRE-UTF8, run a php script containing phpinfo and scroll down to the PCRE section to see what it's using. You'll probably need to uninstall your current PCRE and install the latest PCRE-UTF8 instead. --Nad 19:45, 7 February 2008 (UTC)

Recompiled PCRE with UTF-8 support and it worked like a charm....Thanks for the Help Cheers, Blake

(RESOLVED) How to delete a page that ends with a period?

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

Early on while setting up my wiki I made the mistake of creating a composition that ended with an ellipsis. Now, a user accidentally created a page that ends with a period, and unfortunately, he created it with a Category so now the page shows up under my main category listings...and of course, if you click on the page, you get:

The requested URL /Daniel_Montoya_Jr. was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

How can I eliminate these pages? Do I have to go into the MySQL database to do so, and if so...how?

—74.128.207.61 20:13, 7 February 2008 (UTC)
 * Try using the HTML entity for the period/ellipses and see if that will work. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:33, 8 February 2008 (UTC)

As you can see as User:Brightbyte/Dot., mediawiki has no problems with a dot at the end. If you can not access such a page on your Webserver, then it's a configuration problem of your webserver (or the rewrite rules you use). Try accessing the page using the "ugly" form of the url, i.e. the form that involves index.php?title=Daniel_Montoya_Jr. Edit some page to see an example of such a url, change the title, and remove the action bit. -- Duesentrieb ⇌ 10:05, 8 February 2008 (UTC)

THANK YOU. That was the solution. Many thanks. 74.128.207.61 15:42, 8 February 2008 (UTC)

(RESOLVED) Allow discussion on protected pages

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

When you have protected a page for sysop only. How can you make it, that it allows normal users to edit en add a discussion?

—145.24.135.124 11:36, 8 February 2008 (UTC)


 * You would have to unprotect the talk page. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:25, 8 February 2008 (UTC)

(RESOLVED) Hook replaces text only in if page was not included in other page ( $...$ to $$...$$ hook ).

 * MediaWiki: 1.11.0
 * PHP: 5.2.4
 * MySQL: 5.0.51

Hello! I'm trying to write hook that will allow use $...$ instead of $$...$$.

I writed simple replace function:

function fnMathTagHook( &$parser, &$text, &$strip_state ) {  while (preg_match('/[^\$]\$([^\$]+)\$/', $text, $matches)) $text = str_replace('$' . $matches[1]. '$', "$$" . $matches[1] . "$$", $text);

$text = str_replace("$$", "$", $text);

return true; }

And added this hook: $wgHooks['ParserBeforeStrip'][] = 'fnMathTagHook';

This hook works for original pages, on which I use $...$, but if I include page with $...$ in some other page it will not be parsed and I'll see not replaced $'s. How I correctly should add my hook?

Thanks.

—91.122.90.177 22:04, 9 February 2008 (UTC)
 * You may need to do it in a hook after the templates have been expanded like in ParserBeforeTidy, but in that case your code would need to parse the math tags itself and use the parsed result as the replacement of each. Also it would be more efficient to do a preg_replace_callback instead of the while/preg_match/str_replace. --Nad 22:29, 9 February 2008 (UTC)
 * Thanks! I used 'ParserBeforeTidy' 'OutputPageBeforeHTML' with parsing math by myself method. Not sure that this is really correct, but it acceptable for my purposes, resulting code listed below. 91.122.90.177 23:11, 9 February 2008 (UTC)

function fnMathTagHook( &$parser, &$text ) { while (preg_match('/[^\$]\$([^\$]+)\$/', $text, $matches)) $text = str_replace('$' . $matches[1] . '$', MathRenderer::renderMath(htmlspecialchars_decode($matches[1])), $text);

$text = str_replace("$$", "$", $text);

return true; }

$wgHooks['OutputPageBeforeHTML'][] = 'fnMathTagHook'; $3'''!
 * 'OutputPageBeforeHTML' because before this stage some text messages can contain arguments like '''Show last $1 changes in last $2 days

(RESOLVED) How do I make a bot? (dumb question, but ...)
I might want to automate some things on my wiki. For example, I might want to generate a list, say, every 24 hours, of all pages that have "(whatever text string)" in them. Can a bot do that, like, on this page <font color=#999999 size=1>("The Extension Matrix is updated automatically by User:DuesenBot every 24 hours."!!) ? What language must I write it in? Where do I put it so it runs on schedule?

Short version: Where's the BOT HELP FILE? (I looked, really).

--Töff 01:57, 11 February 2008 (UTC)
 * We have a list of mediawiki bots on our wiki at Bot --Nad 03:00, 11 February 2008 (UTC)
 * Cool thank you, will peruse that!--Töff
 * There's no bot help file because bots are not part of mediawiki. Some people wrote some programs that can edit sites that use mediawikis. That's what bots are. -- Duesentrieb ⇌ 10:42, 11 February 2008 (UTC)
 * OK, so, a bot can just be any program that accesses/manipulates the wiki data on the server? So I could write a bot in PERL, or PHP, or even Flash ActionScript ... and then, to let that bot post/edit pages through the MediaWiki interface (rather than write data on its own into the wiki's SQL), I create a user and give it bot privileges, then built that user & password into the bot's write functions? Do I have that right? (Should that be in the FAQ? Or the IAQ?)--Töff
 * Yes a bot is a program which behaves just like a normal human user and manipulates the program using the same HTTP requests that the user's browser would generate. A bot can be written in any language that can communicate over the HTTP protocol. Recent versions of MediaWiki now come with an API which allows programs to interact with it more directly - still over HTTP, but without needing to parse and process the forms meant for humans. --Nad 19:52, 11 February 2008 (UTC)

I think that about covers it. Thanks! --Töff

(RESOLVED) How do I set an Admin?

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 5.2.3
 * MySQL:
 * URL: My Test Wiki

Hi, I'm learning about Wikis and just installed MediaWiki on ruth.micahtillman.com as a test for a project I'm doing at the end of the month.

I can't figure out how to create a user with Admin powers. When setting up, it had me create a WikiSysop and a "root" user, but neither of those logins seems to work on the main screen. I've been playing with an account I created but I'm going to need admin powers once there are several people working on the wiki.

Is there a file I need to edit for this?

I looked around on your site but didn't seem to find anything.

Thanks.

- Ruth —69.250.43.175 04:07, 13 February 2008 (UTC)


 * Anyone can create an account from Special:Userlogin, only users of group Bureaucrats can assign existing users as Sysops in the special page Special:Userrights. See W:Wikipedia:Bureaucrats and W:Wikipedia:Administrators for more information. --Zven 04:35, 13 February 2008 (UTC)

Ok, as the only person on my wiki, how do I make myself an Administrator/Bureaucrat? I didn't find any useful information at W:Wikipedia:Bureaucrats or W:Wikipedia:Administrators for becoming an admin on my own site..

What are the steps to set up an Admin account on one's own site using WikiMedia software?

It's not like someone else can approve me...I'm all that's there. ;)

- Ruth

According to your wiki's userlist you are a Bureaucrat, so go into PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  14:57, 13 February 2008 (UTC)

(RESOLVED) Directory permission

 * MediaWiki: 1.11.0
 * PHP: 5.1.2 (cgi-fcgi)
 * MySQL: 5.0.22-Debian_0ubuntu6.06.2-log
 * Database: MySQL 5.0
 * URL: Wiki of it.comp.console

Hi

I have problems with file upload. When I upload a file, a new dir is created (ie. /images/4/4e/), this dir has 700 CHMOD and the file whitin has 644, so it can not be read from www. Why ? Check this url http://www.ventublog.it/wikicc/images/a/af/EQ2.gif, I get this error: Forbidden

You don't have permission to access /wikicc/images/a/af/EQ2.gif on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. This is a server issue or a MediaWiki misconfiguration ? —82.51.143.78 21:32, 11 January 2008 (UTC)


 * The images directory and all subdirectories must be CHMOD 777 in order for it to work. --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  23:51, 11 January 2008 (UTC)

I try to CHMOD 777 all /images tree but any new dir create by mediawiki script get CHMOD 700 and the files within take 644. —82.51.143.217 12:30, 12 January 2008 (UTC)


 * The files being 644 is fine, but you need to set up the /images directory so that all subdirectories automatically take on the permissions of the /images directory when they are created (can't remember the command for that offhand). --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:17, 12 January 2008 (UTC)

I have no shell access to Apache webserver, have to ask sysadmin to do this ? —87.17.195.53 22:23, 13 January 2008 (UTC)


 * You don't need shell access, just access to the filesystem. For example, most FTP clients allow you to change the permissions of a folder by right-clicking on it, and cPanel has an option for changing directory permissions as well. --Skizzerz talk [[Image:Tournesol.png|20px]] MediaWiki Support Team  21:45, 13 January 2008 (UTC)

I have only FTP access, I try to assign 777 to /images tree but any new dir created into this tree by MediaWiki gets 700. There's a FTP command that all subdirectories automatically take on the permissions of parent dir ? —85.44.144.202 22:23, 13 January 2008 (UTC)

Could it be whoever is administering your server has set umask so that new directories are created with 700? On my machine umask is 022 which causes my directories to be created with 755 and everything works fine. 65.28.68.235 12:37, 9 February 2008 (UTC)

(RESOLVED) Cannot delete pdf files

 * MediaWiki: 1.11.0
 * PHP: 5.2.0 (apache2handler)
 * PostgreSQL 8.1.5 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)


 * URL: Private net, so you cannot do anything

when trying do delete uploaded file I get this response: A database error has occurred Query: INSERT INTO filearchive (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp)  SELECT 'deleted',IF(img_sha1=, , CONCAT(img_sha1,'.pdf')),'1','2008-01-14  10:27:08  GMT','',0,img_name,NULL,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_description,img_user,img_user_text,img_timestamp  FROM image WHERE img_name = 'Helpdesk.pdf' Function:  LocalFileDeleteBatch::doDBInserts Error: 1 ERROR: function concat(text,  "unknown") does not exist HINT: No function matches the given name and argument  types. You may need to add explicit type casts. Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'INSERT INTO fi...', 'LocalFileDelete...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1845): Database->query('INSERT INTO fi...', 'LocalFileDelete...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1216): Database->insertSelect('filearchive', 'image', Array, Array, 'LocalFileDelete...')
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1297): LocalFileDeleteBatch->doDBInserts
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(873): LocalFileDeleteBatch->execute
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/includes/FileDeleteForm.php(75): LocalFile->delete('')
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/includes/ImagePage.php(491): FileDeleteForm->execute
 * 8) 7 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(397): ImagePage->delete
 * 9) 8 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /srv/www/ipwiki.ip.tdk.dk/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 /srv/www/ipwiki.ip.tdk.dk/index.php5(1): require('/srv/www/ipwiki...')
 * 12) 11 {main}

I have tried to delete with nukePage.php and the response is: php maintenance/nukePage.php Image:Helpdesk.pdf Erase Page Record Searching for "Image:Helpdesk.pdf"...PHP Warning: pg_query: Query failed: ERROR:  relation "page" does not exist in /srv/www/ipwiki.ip.tdk.dk/includes/DatabasePostgres.php on line 506 A database error has occurred Query: SELECT page_id  FROM page  WHERE page_namespace = '6' AND page_title = 'Helpdesk.pdf'  LIMIT 1 Function: LinkCache::addLinkObj Error: 1 ERROR: relation "page" does not exist Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: relatio...', 1, 'SELECT  page_id...', 'LinkCache::addL...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1224): Database->query('SELECT page_id...', 'LinkCache::addL...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1104): Database->select('page', 'page_id', Array, 'LinkCache::addL...', Array)
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/LinkCache.php(146): Database->selectField('page', 'page_id', Array, 'LinkCache::addL...', Array)
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/Title.php(1655): LinkCache->addLinkObj(Object(Title))
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/maintenance/nukePage.inc(25): Title->getArticleID
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/maintenance/nukePage.php(17): NukePage('Image:Helpdesk....', true)
 * 8) 7 {main}

Can I delete it by hand or what?

Regards Tomas Jensen tcj(at)tdc.dk --Tomas 07:30, 16 January 2008 (UTC)


 * Yes just go into the system files of your Wiki using FileZilla or a similar program, find the PDF in your /images/ folder and delete it, then go into your wiki and delete the blank page. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  15:51, 15 January 2008 (UTC)

Still cannot delete the page. Wiki returned: A database error has occurred Query: INSERT INTO filearchive (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp) SELECT 'deleted',IF(img_sha1=, , CONCAT(img_sha1,'.pdf')),'1','2008-01-16 07:13:32 GMT','teeest',0,img_name,NULL,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,img_major_mime,img_minor_mime,img_description,img_user,img_user_text,img_timestamp FROM image WHERE img_name = 'Helpdesk.pdf' Function: LocalFileDeleteBatch::doDBInserts Error: 1 ERROR: function concat(text, "unknown") does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts. Backtrace:
 * 1) 0 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'INSERT INTO fi...', 'LocalFileDelete...', false)
 * 2) 1 /srv/www/ipwiki.ip.tdk.dk/includes/Database.php(1845): Database->query('INSERT INTO fi...', 'LocalFileDelete...')
 * 3) 2 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1216): Database->insertSelect('filearchive', 'image', Array, Array, 'LocalFileDelete...')
 * 4) 3 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(1297): LocalFileDeleteBatch->doDBInserts
 * 5) 4 /srv/www/ipwiki.ip.tdk.dk/includes/filerepo/LocalFile.php(873): LocalFileDeleteBatch->execute
 * 6) 5 /srv/www/ipwiki.ip.tdk.dk/includes/FileDeleteForm.php(75): LocalFile->delete('teeest')
 * 7) 6 /srv/www/ipwiki.ip.tdk.dk/includes/ImagePage.php(491): FileDeleteForm->execute
 * 8) 7 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(397): ImagePage->delete
 * 9) 8 /srv/www/ipwiki.ip.tdk.dk/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /srv/www/ipwiki.ip.tdk.dk/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 /srv/www/ipwiki.ip.tdk.dk/index.php5(1): require('/srv/www/ipwiki...')
 * 12) 11 {main}

Regards --TomasJensen 07:30, 16 January 2008 (UTC)


 * But did you succeed in deleting the main file using FileZilla? If you use FileZilla it is impossible to get messages like that. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:22, 17 January 2008 (UTC)

I did it from a shell

Regards --TomasJensen 09:58, 17 January 2008 (UTC)


 * You deleted the file from a shell? Download and try to delete it with FileZilla. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:46, 21 January 2008 (UTC)

What is the difference. ought to do the same. It seems that the page is not being deleted from the database. How do i do that by hand? --Tomas 13:05, 21 January 2008 (UTC)


 * The difference is that FileZilla is best for this operation, download it, install it, and use it to delete that file. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:35, 21 January 2008 (UTC)

DONE... - But still - The page has not been deleted from the database. Now what??? FileZilla only deletes the file from the filesystem not the database.

--Tomas 08:34, 23 January 2008 (UTC)
 * The way that the deletion of images/media/etc. works is that it moves it from one folder (the /images folder) to another folder, it doesn't delete it entirely. Modifying the database by hand to remove the page on-wiki would work, but it is very risky and I have no idea how to do it :) --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:29, 23 January 2008 (UTC)

To which folder should my file be moved to then ? And when i use FileZilla how would the wiki "know" that the file has been moved. I dont think FileZilla reports to the wiki, that the file has been moved. The database must know what happens otherwise it still point to a removed file.

--Tomas 11:06, 25 January 2008 (UTC)


 * Well you are getting the errors when you click the "delete" tab when browsing image (or documents) in this case? The problem is that there is interference between the signals you are sending using the "delete" key and the database where the file cannot be completely deleted. If you need to completely remove the file then completely remove the file using FileZilla, then when you try to delete the actual Image: page it should let you. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:33, 28 January 2008 (UTC)

That has been tried but still the same :O((

--Tomas 10:02, 29 January 2008 (UTC)

This is a bug in 1.11.0 see: bug 11905 It's already been fixed, you just need to get all the changes... These three files fixed it for me: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Database.php?revision=26040&view=markup http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DatabasePostgres.php?revision=26043&view=markup http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/filerepo/LocalFile.php?revision=26043&view=markup I saw it with deleting any files. --Danbrice 23:43, 7 February 2008 (UTC)

(RESOLVED) Help searching INSIDE Wiki pages for IP addresses referenced in the actual page

 * MediaWiki: 1.11.0
 * PHP: 5.2.1
 * MySQL: 5.0.38

Hello, I have an internal Wiki setup for documenting corporate LAN WAN information. This information contains IP addresses that appear within a page.

How can we Search for IPs in WikiPages? Typing an IP address in the search box yields a search for IPs of contributors. Also the text we will be searching appears in a PRE box.

Here is an example, I would like to be able to search on what is in the below box. I would like to be able to search on 192.168. for example or the full 192.168.0.1 and get results for pages containing the documented IPs.

WorkstationA = 192.168.0.1 WorkstationB = 10.1.1.1

—198.133.105.247 02:40, 16 January 2008 (UTC)


 * A quick test on the IP you posted as workstation A (192.168.0.1) shows as opposed to pressing Enter or clicking Go, click Search (Or, after putting in the IP address, do "tab tab enter" to tab to the Search button and enter activates it). In way of explanation, when hitting Go, mediawiki goes through a set of functions to interpret what page you probably want to "Go" to.
 * --87.194.248.18 06:29, 15 February 2008 (UTC)

(RESOLVED) smaler RSS Feed from Mediawiki
Hi, i get an RSS Feed from my Mediawiki per: URL/wiki/index.php?title=Spezial:Neue_Seiten&feed=rss and it´s 2MB BIG, so if i have 200 Readers i habe 400 MB Traffic. How can i get a smaler RSS Feed with only Topic-Titels as Link and "no Content"?
 * MediaWiki: newest
 * PHP: 5.X
 * MySQL: 5.X

Thanks

—91.17.120.4 15:26, 20 January 2008 (UTC)


 * Can you give the actual link? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:33, 27 January 2008 (UTC)

(RESOLVED) Log messages of extensions are lost
All messages of extensions (not of core) are not shown in Special:Log, but things like
 * MediaWiki: 1.11.0
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 5.0.41-community-nt
 * URL: not public

16:58, 20. Dec. 2007 WikiSysop (Talk | Contributions | block) <changeauthor-logentry>

or "<giverollback-logentrygrant>" and so on. When I created the MediaWiki:giverollback-logentrygrant page with the content of the normal message, it worked as before. But in the i18n files in the extensions/ directory there are still the messages. I update the extensions every day from SVN.

—84.139.119.64 16:35, 20 January 2008 (UTC)

"but things like {this} or '<giverollback-logentrygrant>' and so on" this clause is a fragment, please correct your grammar and try asking the question again. -PatPeter,  MediaWiki Support Team  01:35, 27 January 2008 (UTC)


 * A fragment?? I thought it was clear. In Special:Log instead of the normal messages of extensions just the names of the messages are shown, like <giverollback-logentrygrant> instead of "granted rollback status to $1" or something like this. --84.139.75.193 15:29, 27 January 2008 (UTC)


 * No you are still not clear as to what you are asking, your original post doesn't even contain a "?". -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:36, 28 January 2008 (UTC)
 * The question of course is: How can I get the log messages back into the log? --84.139.103.165 10:12, 30 January 2008 (UTC)


 * As for grammar for example did you mean to say: "but things like {this} or '<giverollback-logentrygrant>' and so on are (shown)", as an elliptical phrase? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:38, 28 January 2008 (UTC)
 * Yes, it should have been repeated: "XYZ is not shown in Special:Log, but things like {this} or <...> are shown. --84.139.103.165 10:12, 30 January 2008 (UTC)

Thank you for not helping but complaining about my clear sentences. I resolved the problem myself; for those who want to know: I updated to MediaWiki 1.11.1. It seems a code change of the extensions was made. --84.139.90.147 15:29, 11 February 2008 (UTC)

(RESOLVED) Can´t find the template for footnotes?

 * MediaWiki: 1.11.0
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 5.2.3 (apache2handler)
 * URL: (in my local server..)

I´ve searched everywhere but can´t find a solution. Basically I try to use the tags and or with but neither one will work. They will appear as normal text instead of showing footnotes.

Is it a problem in my installation? It seems to me like at least the reflist template is missing.. Any help greatly appreciate. Thanks! (Charly)

—12.41.112.201 12:56, 6 February 2008 (UTC)


 * If I am correct it is Extension:Cite. As for that is actually a template, you will have to copy that. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  14:44, 6 February 2008 (UTC)

(RESOLVED) Discussion/comments rights

 * MediaWiki: 1.11.1
 * PHP: 5.2.4
 * MySQL: 5.0.45
 * URL: private

Hi, I should create a kind of encyclopedia, where I want: - articles may be created or edited only by sysops or similar groups - normal registered users can only add posts in the discussion page, without the opportunity to edit other people's posts (the best will be if they can't edit the discussion but only add a comment inside it, by clicking the + in the wikipedia template)

I have the solution for the first point, but I haven't for the second one.

Any suggestions?

Thanks Andrea

—213.156.55.137 18:51, 6 February 2008 (UTC)


 * You've probably already added an option into your localsettings to prevent editing by non sysops and allow only the talk namespace, so you could add a condition to make that only take effect if $_REQUEST["section"] == "new" which is what the plus does. --Nad 22:46, 6 February 2008 (UTC)


 * I didn't understand the $_REQUEST part, could you please elaborate? :) thanks -213.140.6.109 10:02, 7 February 2008 (UTC)


 * $_REQUEST is a php superglobal containing query string (actually GET, POST, and COOKIE info) key value pairs. If you hover over the + tab on a talk page you will see that the url it points to has a key value pair &section=new additional to the edit action. --Zven 20:40, 7 February 2008 (UTC)


 * I see, but that refers to the same user right as 'edit'. Here's what I want to do: visitors may not edit anything. registered users may only add comments to a page, without editing others comments. I can't find the right permission for that! 213.140.6.109 21:39, 7 February 2008 (UTC)

You can use Extension:Lockdown to manage permission per-namespace. For edit permissions only, you can even just use Manual:$wgNamespaceProtection. However, there is no separate permission for adding, as opposed to editing. Maybe there's an extension that lets you do that, but I don't know about it.

The entire concept sonds very un-wiki-ish. Perhaps consider using a different software. -- Duesentrieb ⇌ 10:16, 8 February 2008 (UTC)


 * I know that the concept is not very wiki-ish, but it is a politics related encyclopedia, it would really be a mess if anyone could edit articles and/or others comments... so, no solution? 213.140.6.109 10:51, 8 February 2008 (UTC)


 * Sure. If you don't want everyone to edit, do not use a wiki. The definition of "wiki" is that everyone can edit. -- Duesentrieb ⇌ 10:44, 11 February 2008 (UTC)

(RESOLVED) How to add buttons on edit page?
You know the buttons that allow you to bold, italicize, add links, etc. that show up when you edit an article? Well, how do I add a button to it? I'm absolutely clueless and I've tried a million things to get it right... :P
 * MediaWiki: 1.11.1
 * PHP: Not needed for question
 * MySQL: Not needed for question
 * URL: Not needed for question

—The TattleTale Strangler 03:27, 7 February 2008 (UTC)


 * Read the FAQ -- Duesentrieb ⇌ 10:12, 8 February 2008 (UTC)


 * Duesen where was this link before!? lol! I have had about three unresolved posts all on the same subject that the other MST members couldn't figure out. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  01:10, 15 February 2008 (UTC)