Project:Support desk/Archives/System/001

= 2007 =

(RESOLVED) TOC not redirecting properly
I'm getting a wrong redirect for the TOC. IF there's an heading called "Story" the link should be http://www.domainsite.ext/article#STORY but the links redirect on http://www.domainsite.ext/#STORY, without "article" so the browser is redirected to the home page!!!

I think it's an hosting problem, How can I fix this? Thanks in advance! --Lorenzone92


 * I'd be nice if you gave your url and your wiki information so we can help you. -PatPeter, MediaWiki Support Team  16:03, 22 December 2007 (UTC)


 * The wiki is on www.rockciclopedia.com. For istance if you go here and you click on "Origini" you'll be redirected to the home page... --Lorenzone92 21:54, 22 December 2007 (UTC)


 * Someone on your wiki edited a page wrong, it is either a system file or a MediaWiki file that defines how the ToC displays. Do you have access to your wiki's system files and MediaWiki files? Ask all your admins who have the same permissions if they did anything. -PatPeter, MediaWiki Support Team  23:27, 22 December 2007 (UTC)


 * I'm the only admin and I've edited nothing... I think I have to replace relative links with absolute links in the PHP file that pertain to contents table... --Lorenzone92 13:52, 23 December 2007 (UTC)


 * Yes they need to be absolute. -PatPeter, MediaWiki Support Team  19:52, 24 December 2007 (UTC)


 * OK but I've edited nothing... So I don't know where the problem could be! What do you think? Which is the PHP file that "manage" the ToC? --Lorenzone92 22:38, 24 December 2007 (UTC)
 * MMh... no one can help me? --Lorenzone92 15:44, 26 December 2007 (UTC)
 * Pleaseeeeeeeeeeee!! :P --Lorenzone92 11:36, 30 December 2007 (UTC)


 * Ouch sort of forgot about you here, sorry. Anyway it might have been edited when you installed MediaWiki (i.e. random bad default edit or loss of info in file transfer). I can't find any help information on the Table of Contents on MediaWiki, stay posted. -PatPeter, MediaWiki Support Team  17:48, 7 January 2008 (UTC)


 * So what do you think I can do? Which files can i reupload? Which PHP file create the ToC? P.S.: Thx for your help! ;) --Lorenzone92 17:51, 9 January 2008 (UTC)


 * I'd start with re-uploading the /includes/ directory, along with its sub-directories. Tuvok[Talk/en.wp] 06:38, 10 January 2008 (UTC)


 * And re-uploading that dir I won't lose my pages? --Lorenzone92 18:27, 10 January 2008 (UTC)


 * Yes you won't lose your pages, includes aren't attached to your database. You would lose a Special page if you forgot to re-upload it though. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  18:32, 10 January 2008 (UTC)


 * I've reuploaded all the directory with also subdirs but the redirections don't work anyway (for example here look at the ToC.. :( I tried to set all my files/dirs CHMOD to 777 but it's the same... --Lorenzone92 18:42, 10 January 2008 (UTC)


 * Don't forget me! :P --Lorenzone92 14:24, 14 January 2008 (UTC)


 * Don't worry, as long as you continue repling to the questions and whatnot your thread will remain here until it is resolved, see the policy up above, this is just one heak of a problem. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  17:25, 14 January 2008 (UTC)

This is what the source of your TOC is:

So I am going to have to put this up for another MST member, I am pretty sure there is an option somewhere for enabling "fullURL" for ToC or something. -PatPeter,  MediaWiki Support Team  00:30, 17 January 2008 (UTC)


 * mmh... so what should i do? --Lorenzone92 17:46, 17 January 2008 (UTC)
 * mmmhh? :P --Lorenzone92 22:01, 22 January 2008 (UTC)

Good job, keep bumping, I know someone here must know the config setting to enable full URL. -PatPeter,  MediaWiki Support Team  02:28, 23 January 2008 (UTC)


 * Bump, bump, bump... :D --Lorenzone92 17:07, 25 January 2008 (UTC)


 * I'm still here....... --Lorenzone92 21:33, 5 February 2008 (UTC) :P


 * I need help..... --Lorenzone92 18:26, 11 February 2008 (UTC)


 * May someone help me? --Lorenzone92 14:07, 28 February 2008 (UTC)


 * Try searching meta for any help on ToCs. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  19:36, 3 March 2008 (UTC)


 * Searched but I found nothing.... Still need help! --Lorenzone92 20:56, 13 March 2008 (UTC)
 * RESOLVED (chatting in the IRC channel)! The problem base my meta tag  ... --Lorenzone92 13:10, 14 March 2008 (UTC)

(RESOLVED) Adding an additional Sidebar

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

Hi there I try to develop a little MediaWiki for some friends. They requested an additional Sidebar on the right side. General question: - is this possible? - I guess so... If it is possible, which file do I have to edit? I searched for Extensions but haven't found one, anyone knows about this? Ben

—212.184.19.70 10:17, 10 January 2008 (UTC)


 * You can create many sidebars as is done on this wiki, edit the MediaWiki:Sidebar article. See also Manual:Interface/Sidebar --Nad 19:41, 10 January 2008 (UTC)


 * Putting one on the right side will require some trivial CSS changes though. — color probe (talk | contribs | [[Image:Tournesol.png|20px]]Support team) 19:48, 10 January 2008 (UTC)


 * Great. Thanks for your help.Can you tell me in which file I have to add some css code?
 * CSS code can be put in the wiki article Mediawiki:Common.css --Zven 01:40, 11 January 2008 (UTC)


 * Thanks for your hint. Actually my skills writing CSS are low (sorry for that). So can you please give me more help concerning the code?
 * I read some CSS help :). Is it right, that I have to add in common.css some lines starting #rightcolumn {float:right etc} If this first thought is ok, then how to tell the code that there should be some Information in it (the right column)? Normally there is some html code e.g. text but even if I add this div tag to monobook.php I don't know how to add a WikiText into it... Hope you can understand my problems. Have a nice weekend.
 * Ok I found a possibility to insert a Wikitext into a div tag. Now the (last) problem is the Position. I added my div Container in monobook.php at several places. None of them was ok. Someone knows where exactly (after/before which lines) I have to add my code?. Or is it the wrong way? As color probe wrote I have to do the placement with "trivial" css? —The preceding unsigned comment was added by 212.184.19.70 (talk • contribs) 11:00, 11 January 2008. Please sign your posts with ~ !

=2008=

(RESOLVED) I wanted to change the logo in the LocalSettings.php but the $wgLogo is not there
I wanted to change the logo in the LocalSettings.php but the $wgLogo is not there where do i change it then?

—66.176.143.166 18:46, 24 February 2008 (UTC)


 * Add it.  Mønobi 19:59, 24 February 2008 (UTC)

A N S W E R : The image for $wgLogo is wiki.png. And this image resides in skins/common/images/wiki.png.

Rename your image to wiki.png, even if it is .jpg.

$wgLogo should be able to be defined in includes/DefaultSettings.php. --Detlef Lindenthal 20:40, 24 February 2008 (UTC)
 * You should never adjust the codebase files, set your logo using the Manual:$wgLogo global in the LocalSettings.php file. Do not adjust DefaultSettings.php or rename image files from the codebase. --Nad 22:02, 24 February 2008 (UTC)
 * Dropping $wgLogo = "/images/b/bc/Wiki.png"; into LocalSettings.php may be easiest; this allows you to upload Image:Wiki.png to the wiki as just another image. --Carlb 01:26, 26 February 2008 (UTC)

(RESOLVED) Email notification won't work

 * MediaWiki: 1.11.1
 * PHP: 5.2.0-8+etch7 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch1-log
 * URL: http://werkwelt.de/mw

Hello,

I'm trying to install Mw 1.11.1; everything works fine

except for email notification :-(

Email address confirmation does work, this means that the PHP-Mailer works.

I switched on any switch in
 * LocalSettings.php and
 * includes/DefaultSettings.php and
 * Special:Preferences (Spezial:Einstellungen).

Does somebody have any idea what is missing?

mailto:detlef(at)lindenthal.com —Detlef Lindenthal 20:32, 24 February 2008 (UTC)
 * Are all settings you need of Manual:Configuration settings enabled ? Seb35 09:16, 27 February 2008 (UTC)

(RESOLVED) Locking Down MediaWiki
Just installed v1.11.1 on Windows 2003, PHP 5.2 and MySQL at www.theearthwitch.com as a personal knowledge dump. Trying to lock it down so only myself and wife can view/add pages. Added the following statements to the LocalSettings.php file and restarted IIS. These lines are not preventing editting or creating of new accounts. What does work?

$wgWhitelistEdit = true;
 * 1) Specify who can edit: true means only logged in users may edit pages

$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
 * 1) Pages anonymous (not-logged-in) users may see

$wgWhitelistAccount = array ( 'user' => 0, 'sysop' => 1, 'developer' => 1 );
 * 1) Specify who may create new accounts: 0 means no, 1 means yes

—63.118.221.94 20:04, 28 February 2008 (UTC)


 * Duh, the methods you're trying to use are for MediaWiki 1.4 (which is very old) - for example, $wgWhitelistEdit was a setting which was completely removed in MediaWiki 1.5.


 * The above code prevents anonymous and logged-in users from creating accounts, but still allows users with the 'sysop' and/or 'developer' permission to create accounts.


 * The following code prevents anonymous & logged-in users from editing but allows sysops and developers to edit:


 * And this disables anonymous reading and allows them only to read pages that are defined on $wgWhitelistRead. I suppose though that your project isn't called "Wikipedia", so you might want to remove "Wikipedia:Help" from the list or add another help page instead of that there. For example, if your wiki is called "MyWiki" (see $wgSitename), you could add "MyWiki:Help" to the list. In any case:


 * And this stops anons & logged-in users from creating pages:


 * See Manual:Preventing access for lots more information about this subject. Cheers. -- Sayuri 11:59, 6 March 2008 (UTC)

(RESOLVED) Main Page boxes

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Hi,

Fairly new to the whole wiki thing so plase bear with me.

I'm making an internal wiki for my company and managment have told me that they want several "boxes" on the Main Page (similar to the main page on wikimedia.org and wikipedia). but how do i go about adding those in? Are they just tables with all that info added in or is there a special code i need to us?

Plus, is there any way i can set all users preferences to search all namespaces as default?

Cheers

—62.49.155.133 12:41, 29 February 2008 (UTC)


 * For the namespace by default question, see Manual:$wgNamespacesToBeSearchedDefault. Not exactly sure what you want for your main page. I think just add tables. Timneu22 13:26, 9 March 2008 (UTC)

(RESOLVED) Database driver problem

 * MediaWiki: (1.11.1)
 * PHP: (5.2.5 IIS)
 * MySQL: (5)
 * URL: Not working yet but it is installed at Http://www.glsc.usgs.gov/mediawiki/

When I load index.php at the address above, I get a message that I need to configure the wiki. That's what I expect however, it fails to find a db when I click the setup link. I get this:

MediaWiki 1.11.1 Installation

Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.

Checking environment...

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

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

I have installed MySQL but there must be a problem with it.

Thank you for any help you may be able to provide.

Rich Quintal

Webmaster

Great Lakes Science Center

—159.189.64.158 20:51, 29 February 2008 (UTC)


 * Will Neelen: It seems that the connector between PHP and MySQL does not work.
 * Please make sure you have copied libmysql.dll (from the zip-package) to the PHP-program-directory. Most likely this is c:\program files\php or c:\php.
 * Then you need to reboot the server and run the MediaWiki setup again.

(RESOLVED) Signatures php script?

 * MediaWiki: 1.11.1

Doubt anyone knows this, but what is the php script for signatures ( ~ ) ? ——The TattleTale Strangler 05:53, 1 March 2008 (UTC)


 * Parser.php; and here is some more information that is semi-related. Timneu22 18:58, 2 March 2008 (UTC)

(OUTDATED) Links to internal servers

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Is there any way of making a link on my internal wiki to a shared folder/file on my internal network?! I've tried numerous things, but to no avail.

Please help as this is vital for my wiki to be accepted by management!!

Cheers

—62.49.155.133 17:16, 3 March 2008 (UTC)


 * Does  not work? This is how I do it at my internal wiki, and I don't remember making any php changes for this to work. Timneu22 13:21, 9 March 2008 (UTC)

(RESOLVED) Notice: Undefined offset: -1 in .../mediawiki/languages/Language.php on line 364

 * MediaWiki: 1.9.3
 * PHP: 5.2.4
 * PostgreSQL: 8.1.5

Hallo at all,

I installed a German Mediawiki but at the Specialpage containing the list of uploaded files I get an Error:

Notice: Undefined offset: -1 in /home/opt/lampp/htdocs/mediawiki/languages/Language.php on line 364

looking like this: [[Media:ErrorMediaWiki.png]]

Please help me soon, this System is the final test of my education...

Thank you.

--MaximilianG 07:49, 6 March 2008 (UTC)


 * Hallo at all,
 * I soluted my problem by installing the version 1.12 of Mediawiki
 * --MaximilianG 14:10, 25 March 2008 (UTC)

(RESOLVED) How Do I Change the Article Tab Text to "recipe?"

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

My wiki is a wiki for recipes. How do I change the text on the Article tab to say "recipe" instead of "article" when the article is categorized as a "recipe?"

Similarly, how do I change the Article tab to say "technique" (or "tip") when the article is categorized as a "techique" or "tip," respectively?

(I don't think a new tab for "recipe" or "technique" or "tip" makes sense, do you?)

I love the MediaWiki software and Site! When I get good at it, I'm going to pitch in.

—72.220.150.243 17:16, 6 March 2008 (UTC)


 * Solution: Change your mediawiki:nstab-main text. Timneu22 21:59, 6 March 2008 (UTC)
 * Thanks! That's just what I needed to know while in the meantime I'm reading all the MediaWiki documentation. 72.220.150.243 18:45, 8 March 2008 (UTC)

(RESOLVED) Warning: mkdir

 * MediaWiki: 1.11.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a
 * URL: www.BrandweerExpert.nl

After deleting an image I've got the following warning:

Warning: mkdir [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 626 is not allowed to access ……/wiki/images/deleted/c/8/n owned by uid 100 in ……./wiki/includes/GlobalFunctions.php on line 1670

The maps "images" and "deleted" have "Write" right for "Group" and "World".

Can you help me?

—Jaap Smit 11:36, 7 March 2008 (UTC)
 * Use CHMOD -R and/or CHOWN -R to give the apache user the rights to Write and read in the Images directory AND bellow! That should fix your problem! --TheDevilOnLine 12:49, 29 May 2008 (UTC)

(RESOLVED) Changing Copyright Text in the footer

 * MediaWiki:1.11.0rc1
 * PHP: 5.1.6 (apache2filter)
 * MySQL: 4.1.20
 * URL: http://de.wiki-products.org/Hauptseite

How can I change the text concerning the copyright in the footer of our wiki? It is clear how to change the second part of the text (which displays the license of our Wiki), but how can I change the first part from "Content is available under" to "Text is available under"? This is necessary since we are using images from wikicommons which are not licensed under the GNU. Thanks for helping and best wishes, —Gollum 22:18, 8 March 2008 (UTC)


 * Maybe I'm not sure exactly what you want, but I think you want to change Mediawiki:Copyright, MediaWiki:Copyrightwarning2 or MediaWiki:Copyrightwarning. Otherwise, check special:allmessages to find the text you're changing. Sorry if this doesn't exactly answer what you want, but I think this is what you need. :} &mdash; Timneu22 22:47, 8 March 2008 (UTC)


 * Yes, that is exactly what I was looking for! Thanks!! --Gollum 08:40, 9 March 2008 (UTC)

(RESOLVED) Link to a directory.
Is it possible to make a link to a directory on a server? And if it is possible how do I have to do it? &mdash; Nico Van Hessche


 * Just type  Timneu22 10:37, 11 March 2008 (UTC)

(RESOLVED) Preventing Creation of New Pages in a single namespace

 * MediaWiki: 1.13.0
 * PHP: 5.2.4-2ubuntu5.3
 * MySQL: 5.0.51a-3ubuntu5.1

I know how it is possible to prevent and allow groups of users from editing a specific namespace (using $wgNamespaceProtection). Is it possible to prevent and allow groups of users from creating a new page in a specific namespace?

—Smaug 16:57, 18 March 2008 (UTC)


 * Here's a sample of my local settings; it does what you're asking. You should get the idea.

$wgGroupPermissions[ '*' ][ 'ns0_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_create' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns0_move' ] = true;
 * 1) regular pages

$wgGroupPermissions[ '*' ][ 'ns1_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns1_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns1_create' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns1_move' ] = true;
 * 1) regular talk pages

$wgGroupPermissions[ '*' ][ 'ns2_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns2_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns2_create' ] = true;
 * 1) user pages

$wgGroupPermissions[ '*' ][ 'ns3_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns3_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns3_create' ] = true;
 * 1) user talk pages

$wgGroupPermissions[ '*' ][ 'ns4_read' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns4_edit' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns4_create' ] = true;
 * 1) wiki pages

$wgGroupPermissions[ '*' ][ 'ns6_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns6_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns6_create' ] = true;
 * 1) images

$wgGroupPermissions[ '*' ][ 'ns7_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns7_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns7_create' ] = true;
 * 1) image talk

$wgGroupPermissions[ 'bureaucrat' ][ 'ns8_read' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns8_edit' ] = true; $wgGroupPermissions[ 'bureaucrat' ][ 'ns8_create' ] = true;
 * 1) mediawiki pages

$wgGroupPermissions[ '*' ][ 'ns10_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns10_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns10_create' ] = true;
 * 1) templates

$wgGroupPermissions[ '*' ][ 'ns11_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns11_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns11_create' ] = true;
 * 1) template talk

$wgGroupPermissions[ '*' ][ 'ns12_read' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns12_edit' ] = true; $wgGroupPermissions[ 'editor' ][ 'ns12_create' ] = true;
 * 1) help

$wgGroupPermissions[ '*' ][ 'ns13_read' ] = true; $wgGroupPermissions[ '*' ][ 'ns13_edit' ] = true; $wgGroupPermissions[ '*' ][ 'ns13_create' ] = true;
 * 1) help talk

Timneu22 01:02, 26 March 2008 (UTC)


 * Thanks for the response. But how do you define what those custom rights mean? MediaWiki doesn't automatically know what 'ns0_create' means. Smaug  02:42, 26 March 2008 (UTC)


 * Those rights come from Extension:NamespacePermissions. —Emufarmers(T 03:15, 26 March 2008 (UTC)

(RESOLVED) Rewrite Rules for changed Namespace Name?

 * MediaWiki: 1.13.0
 * PHP: 5.2.4-2ubuntu5.3
 * MySQL: 5.0.51a-3ubuntu5.1

I successfully modified my .htaccess file so that I now have short URLs.

This process made me wonder if there is a way using those Apache rewrite rules to do the following: I have used the $wgNamespaceAliases array to rename a namespace. I would like this to be reflected in the URL that the user sees. As it is, typing in the alternate name just redirects to the original namespace in terms of the URL (so the $wgNamespaceAliases editing worked).

How can I use Apache rewrite rules (or any other way, for that matter) to cause the namespace to appear how I like in the URL?

Thanks for any ideas. Smaug 19:07, 18 March 2008 (UTC)


 * Solved this after discussions on irc. Didn't have to use Rewrite rules after all!  I used
 * where # is the number of the namespace I was changing the name of and NewName is the name I changed it to. Apparantly $wgExtraNamespaces overwrites old namespaces in addition to adding new ones. Smaug  [[Image:Tournesol.png|20px]] 02:42, 15 April 2008 (UTC)
 * where # is the number of the namespace I was changing the name of and NewName is the name I changed it to. Apparantly $wgExtraNamespaces overwrites old namespaces in addition to adding new ones. Smaug  [[Image:Tournesol.png|20px]] 02:42, 15 April 2008 (UTC)

(RESOLVED) Check if logged in

 * MediaWiki: 1.6.10
 * PHP: 5.2.2 (cgi)
 * MySQL: 4.1.22-standard
 * URL:

I am trying to add ads to my wiki in monobook.php but I don't want to show ads to logged in users. How can I check if someone is logged in?

—70.17.137.112 20:02, 21 March 2008 (UTC)
 * In the code they sometimes use the if statement  to determine if a user is logged in.  Try that. Smaug  21:25, 21 March 2008 (UTC)

(RESOLVED) Template parser down after accessing on other php site on same server

 * MediaWiki: 1.11.2
 * PHP: 5.2.0.8+etch10
 * MySQL: 5.0.32
 * URL: wiki only available on my companie's intranet

hi !

I would like to resolve this nasty problem, i don't understand what is the really cause :

I have two site installed on my web server :

/mediawiki with files are on /usr/share/mediawiki

/egroupware with files are on /usr/share/egroupware

When i surf on egroupware it cause a crach of the template parser on mediawiki and my template are not interpreted correctly

as an result example i have a : "about " in the footer of my mediawiki pages. template is not interpreted and replaced by "about okparanoidwiki" assuming that okparanoidwiki is the name of my wiki...

i have one apache configuration files for each site :

mediawiki.conf Alias /mediawiki /usr/share/mediawiki

 Options +FollowSymLinks AllowOverride All php_value memory_limit 32M php_value upload_max_filesize 8M 

egroupware.conf Alias /egroupware /usr/share/egroupware

 AllowOverride None php_value memory_limit 32M php_value max_execution_time 60 php_flag register_globals Off php_flag magic_quotes_gpc Off php_flag magic_quotes_runtime Off # settings for the file upload, you might increase them further php_value upload_max_filesize 16M # session handling: now the check for expired sessions is done on every 10th session creation php_flag session.use_trans_sid Off php_value session.gc_probability 1 php_value session.gc_divisor 10 # multibyte extension: needed for utf-8 php_value mbstring.func_overload 7 

<Location /egroupware/rpc.php> php_value mbstring.func_overload 0 Order allow,deny Allow from all </Location> Could someone please help to resolve this problem ?? I will really appreciate some help !

PS : i have first reported this problem on mediawiki mailing list but i have no answer and this problem is very annoying for us...

—83.145.100.34 19:11, 26 March 2008 (UTC)


 * Resolved : this is a php bug : http://bugs.php.net/bug.php?id=27421 when we use a per directory configuration with mbstring.func overload option
 * i have removed "php_value mbstring.func_overload 7 "from my egroupware conf file and it works now. Okparanoid 09:47, 5 April 2008 (UTC)

(RESOLVED) Section edit not working

 * MediaWiki: 1.12.0
 * PHP: 5.0.4 (apache2handler)
 * MySQL: 4.1.20
 * URL:

After upgraded to 1.12.0, full page editing is ok but section edit was not working and getting internal server errror - Invalid h node passed to PPNode_DOM::splitHeading

Backtrace:
 * 1) 0 /var/www/html/wiki/includes/Preprocessor_DOM.php(1348): PPNode_DOM::splitHeading
 * 2) 1 /var/www/html/wiki/includes/Parser.php(4605): PPNode_DOM->splitHeading
 * 3) 2 /var/www/html/wiki/includes/Parser.php(4675): Parser->extractSections('This is a test,...', '2', 'get', false)
 * 4) 3 /var/www/html/wiki/includes/EditPage.php(193): Parser->getSection('This is a test,...', '2', false)
 * 5) 4 /var/www/html/wiki/includes/EditPage.php(982): EditPage->getContent(false)
 * 6) 5 /var/www/html/wiki/includes/EditPage.php(473): EditPage->initialiseForm
 * 7) 6 /var/www/html/wiki/includes/EditPage.php(323): EditPage->edit
 * 8) 7 /var/www/html/wiki/includes/Wiki.php(444): EditPage->submit
 * 9) 8 /var/www/html/wiki/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 10) 9 /var/www/html/wiki/index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 11) 10 {main}

I appreciate if any one can let me know what I can do to resolve this issue. Would it help if I upgrade to latest php and mysql? I am running fedora 4 and apache, would there be any compatibility issues with php 5.2 and mysql 5.x?

Thanks for your attention —12.106.66.116 21:42, 1 April 2008 (UTC)


 * Try this link. I had the same problem and it worked. --Baumanns 17:04, 9 April 2008 (UTC)

(RESOLVED) Email notification of every change
Is it possible to be notified via email whenever a page is added or edited? I'm the only administrator, but I'd like to be notified when anyone contributes/vandalises something.

--EchilonUser:Echilon 20:29, 1 April 2008 (UTC)  mgrabovský  | talk  (DJ Jeri)   MW Support Team  12:10, 10 April 2008 (UTC)
 * The only way I can think of is adding all pages to your watchlist and choosing to receive an e-mail when a page on your watchlist is edited in your preferences. --Erwin 22:42, 9 April 2008 (UTC)
 * Look at $wgUsersNotifiedOnAllChanges</tt>. So you can use:

Thanks Jeri, exactly what I needed. :)

--Echilon 14:57, 13 April 2008 (UTC)

(RESOLVED) URL

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

Hello, I'am administrator of www.spiriwiki.com. Every page shows in the browser http://www.spiriwiki.com/index.php?title=Main_Page Is it possible to get rid of the index.php?title= part of it ?

Great thanks Spiriwiki.com 08:27, 3 April 2008 (UTC)


 * Yes it is. <font color="#006500">Smaug 20:15, 3 April 2008 (UTC)


 * Great.... can yoy tell me how ? Spiriwiki.com 10:18, 4 April 2008 (UTC)


 * Go to Manual:Short URL. In my first response, "Yes it is" is a link to that page.  I'm sorry for not being more clear.  <font color="#006500">Smaug  19:54, 4 April 2008 (UTC)

(RESOLVED) How to make a categorytree

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

Hello, how do I make a categorytree ? Manu thanks..

—[User:Spiriwiki.com|Spiriwiki.com] 19:48, 6 April 2008 (UTC)
 * Look at the CategoryTree extension.  mgrabovský  | talk  (DJ Jeri)  [[Image:Tournesol.png|25px]] MW Support Team  12:13, 10 April 2008 (UTC)

(OUTDATED) Policy on section title length?
I think succinct section titles are more appropriate than lengthy ones, so long as they accurately summarize the section, which is why I shortened a couple in the Expelled (film) article, but then someone reverted it, claiming "POV" edits. I looked all over the Namespace for a policy relating to section title lengths, but couldn't find out. Any ideas? 67.84.249.197 04:09, 20 April 2008 (UTC)


 * Is this question about MediaWiki (software) or Wikipedia (website)? If the latter, you should ask it on wikipedia.org itself, as you won't find answers here. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 13:18, 22 April 2008 (UTC)

(RESOLVED) No Superuser password!

 * MediaWiki: 1.12 Alpha
 * PHP: LAMPP 1.6.6
 * MySQL: LAMPP 1.6.6
 * URL: company intranet

Hello,

i had to take over the administration of a mediawiki. my probem is, the first administrator has forgotten the WikiSysop password. is there any chance to change it?

Audioslave —Audioslave 12:11, 22 April 2008 (UTC)


 * Edit (23 April 2008):
 * Ok, i got it. Took me quite a while :)

(RESOLVED) Error while sorting ImageList

 * MediaWiki: 1.12.0
 * PHP: 5.2.5-0.dotdeb.0 (cgi-fcgi)
 * MySQL: 4.1.15-Debian_0.dotdeb.4-log
 * URL: Power Rangers Wiki

When i'm visiting Special:Imagelist and clicking on an column header to sort the imagelist, i get an error: Fatal error: Call to a member function getURL on a non-object in /pr/w/includes/SpecialImagelist.php on line 119. The error might be since one or two releases already. I'm using the images also on another local wiki on the server.

—Serpen 09:29, 27 April 2008 (UTC)
 * There was a problem with an imagename with + within, after deleting image names with + in the filename the error disappeared. --Serpen 10:02, 11 May 2008 (UTC)

(RESOLVED) Prevent annon users from editing any page EXCEPT talk pages

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community
 * URL: http://en.codevwiki.org

I want to stop annon users from editing pages, simple enough I can do this:

$wgGroupPermissions['*'   ]['edit']             = false;

BUT I still want them to be able to edit talk pages.--71.217.200.78 23:43, 27 April 2008 (UTC)
 * See Extension:EditTalkRight. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 00:37, 28 April 2008 (UTC)
 * Ok I am using that extension and it's working but now I want to also allow them to edit Project:Help Desk as well. I asked the edit talk right extension author about this he had me email him then tried to sell me a custom extension for $20 when all thats needed is to modify the edit talk right extension to work if it's a talk page or this one specific page.  Not a PHP scriptor myself I am not sure but I know its quite simeple so I definatley am not goin to spend $20.  So if someone could tell me how to do this or perhaps point out an easier method to acomplish the same thing, that would be great, I am not against paying you for your work if you have to extend this extension but I do as that you charge a resonable amount.  Thanks for your time.--71.221.196.127 02:20, 20 May 2008 (UTC)
 * Try Extension:EditSubpages. Or you could probably edit the extension you have, as well. You could use it as a PHP learning experience. Either way. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 22:01, 20 May 2008 (UTC)

(RESOLVED) Making changes to LanguageGa.php

 * MediaWiki: 1.13alpha (r33926)
 * PHP: 5.2.5 (apache)
 * MySQL: 4.0.40-wikimedia-log
 * URL: Vicífhoclóir

Not sure if this is the right place to ask, but...I’m an admin at the Irish Wiktionary and I’ve been doing some translation over at Betawiki. I’m interested in making a small addition to LanguageGa.php so that we can handle nouns after numbers more idiomatically. Something along the lines I’m thinking of seems to have been done already in LanguageCy.php - counting in Welsh works in a similar way.

My question is do I have to download everything and become a fully fledged developer to achieve this or is there and easier way (I have plenty to do already!) —☸ Moilleadóir ☎ 05:12, 29 April 2008 (UTC)


 * Well downloading MW won't help you change wiktionary's copy of LacguageGa.php. You need to find someone with access to it or be awarded access it yourself.  Try bringing this issue up on the wikictionary site, I bet they have some sort of policy page, or check their irc channel (I would bet but do not know that they have one).  While you're not supposed to talk about Wikipedia or Wiktionary on this site, if this is a change that you think should be applied to all wikis, like it seems it is, there is probably a page on mediawiki.org to bring up this issue, if you can't find one then go to MW's irc channel. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 14:38, 29 April 2008 (UTC)

(RESOLVED) How can I get my wiki faster?

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.51
 * URL: DJs-ONLY-Wiki

Hello, if someone of you may take a look on my wiki, you'll see, that it takes a time until it loads complete. So, what can I do to get this faster? Thanks for your help. Best Regards. Mirko. —91.3.107.148 10:13, 3 May 2008 (UTC)
 * See this link. Aaron 17:28, 3 May 2008 (UTC)

(RESOLVED) Edit Bar

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community
 * URL: http://en.codevwiki.org

I want to figure out how to get the well i'll call it the edit bar, I've seen it on wikimedia projects and its on here, its a bar below the buttons like save, ect. It has a drop down menu, and depending on what is selected in the drop down menu you have several links, clicking on one adds something to the text you are editing, usually it will dedfault to showing some common templates, or some wikicode. I want to know how to get that on my wiki, is it an extension or is it only in the mediawiki version 1.13alpha (r34147) the wikimedia projects seem to be running?--71.217.196.15 14:00, 4 May 2008 (UTC)
 * Any idea's? This wiki has it too.  Right below the submit button.-71.221.196.127 22:56, 19 May 2008 (UTC)
 * You want to edit MediaWiki:Edittools after having installed Extension:CharInsert. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 01:09, 20 May 2008 (UTC)
 * Awesome, you are a big help, thanks.--71.221.196.127 02:43, 20 May 2008 (UTC)

(RESOLVED) search function with less than 4 letters

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

How can I use the search function with less than 4 letters like "ARM" or "1A" Is there a configuration file or what can I do?

Wrbrgds

Remo

—195.82.74.220 09:45, 7 May 2008 (UTC)


 * You need to reconfigure mySQL (and rebuild a table). See http://www.mediawiki.org/wiki/Manual:$wgDBminWordLen but note that the PHP variable is only used for older versions of MySQL, but the documentation includes instructions for mySQL 5.
 * --216.204.206.146 18:00, 18 August 2008 (UTC)

(RESOLVED) How I should modify MediaWiki engine to prevent HTML tags replacement?

 * MediaWiki: 1.12
 * PHP: 5.2.5
 * MySQL: 5.1.23

Hello! I use MediaWiki 1.12 (with MySQL) 5.1.23 and want to change it. I wish some pages don't clear from html tags, i. e.,. So I need to find the way how I can do it. I suppose that there is no way to do it without modification of mediawiki itself. In particular hooks seem to be useless. Is there anybody who can hint me where I should modify output of an article to prevent such replacement (for example): tag to "&_lt;form&_gt;" (symbol "_" is special)?

P. S. Sorry for my poor English. :)

—89.254.232.70 20:47, 11 May 2008 (UTC)

al_artem@mail.ru


 * Try $wgRawHTML. Read the warning on that page too, though. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 21:46, 11 May 2008 (UTC)

Thanks for your advice! But I wouldn't enable raw HTML for all pages. It should be done for a set of pages (articles) that are protected against editing. I shortly describe what I need.
 * 1) I have a link at my Main Page to the Special Page (article).
 * 2) At this Special Page should be placed some forms (i. e., ... ). I need to keep tags (and some others) only for this page.
 * 3) Some of these tags produce submit button that lead a user to creation of new article.

Thus, can you hint me a way I should go to solve my problem? At this moment I trend to use $wgRawHtml = true only for my Special Page. In such way I don't reduce mediawiki's security. Or maybe I should read about such things as API, extentions, hooks?


 * What exactly are you trying to do? Perhaps there is a built in way to do it without using html forms. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 20:57, 12 May 2008 (UTC)

Ok, I'll try to describe my problem in detail.
 * 1) There is a link to the Special Page at my Main Page.
 * 2) At the Special Page should be a form (at least it will contain a drop-down list). User will do its choice and press submit button.
 * 3) After this some additional actions will be implemented. A user will not notice them and will be redirected to a creation of a new article.

So, now I'm tending to the next solution.
 * 1) I examine two approach.
 * Using Simple Forms extention (or even $wgRawHtml = true) I'll create the Special Page with a required form.
 * Also I think about writing my own extention which will parse tags and use eval function for its content. In this way I hope that I'll be able to create my form dynamically. In other words I hope to use php code to retrieve data from some DB and fill elements of my form with it.


 * 1) By pressing submit button unknown.php script will be called.
 * 2) It will implement some additional actions and then will redirect a user to index.php script to create a new article.

''Should you advice me more rational method to solve my problem? Thanks for you help anyway! :)''


 * If you feel up to writing an extension that is what I reccomend. If this is just a single special page, however, you should make an extension that adds a special page, not an extension that adds a parser hook.  Good luck. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 13:52, 13 May 2008 (UTC)

Actually I need a set of special pages. Thus I should use an extension that adds a parser hook. Thanks once again!

(RESOLVED) What determines the change in the versions? What determines if the document goes from 1.0 to 1.1 or 1.0 to 2.0?
—192.85.50.1 21:00, 12 May 2008 (UTC)


 * Generally convention. Different types of documents may increment in different ways.  Is there some specific document or type of document you were wondering about? <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 00:35, 13 May 2008 (UTC)

(OUTDATED) Domain Transfer Question
Hi Harry,

I have a small technical question for you. I cannot seem to find any documentation on this topic, but perhaps you can point me in the right direction. I had mediawiki installed all normally. I had to change the url for whatever reasons. When i transferred the domain, all of the text stayed, but none of the images work. Not the uploaded images, not the logo etc.

What am I missing?

- User:BenParsons - 20:58, 12 May 2008


 * Hi Ben.
 * I've moved your question here, because that way you'll probably get a better answer.
 * Strange that both the uploaded images and the wiki logo would break. They're two different types of images.
 * So what was involved in the change? did you have to move files and database onto a new server? or did you just register a different domain name for your hosting?
 * What's the URL of your wiki? Can we take a look at it? Do any of the skin images load at all, e.g. do you see the grey book pages background?.
 * For uploaded images, you're presumably seeing a broken image error now, so right-click on this and go 'properties'. What is the 'Address (URL)' if the broken image? I wonder if that is still saying your old domain name.
 * —Harry Wood 15:28, 13 May 2008 (UTC)

(RESOLVED) How to change article Edit page?

 * MediaWiki: 1.12
 * PHP: 5.2.5
 * MySQL: 5.1.23

Hi! I need a wise advice.

Situation
 * 1) I call index.php script in the following way:
 * index.php?title=New_Article&action=edit&add_param1=value1&add_param2=value2

add_param1 and add_param2 are certain parameters.
 * 1) I set a hook on ArticleInsertComplete or ArticleSaveComplete event. This one calls my_event_handler function as an event handler.
 * 2) User edits an article and press "Save page" button. Then I need to implement some actions using my_event_handler and values of add_param1 and add_param2 parameters. More precisely function my_event_handler uses these add_param1 and add_param2 parameters.

So this is my question and my problem

I need to pass through my additional parameters to index.php script which is called by pressing "Save Page" button.

What should I use to modify Edit page as I need? For example, I would change of "Save Page" button by adding next code into it: <input type="hidden" name="add_param1" value="value1"> <input type="hidden" name="add_param2" value="value2">

But I don't know how I can implement it. Now I'm experimenting with hooks and searching for an appropriate extension. Are there another ways to solve my task? Or maybe somebody with great experience can help me, show me the right way(s)?

''Please, hint me something. Thanks anyway!''


 * ANSWER
 * I've found one way in using EditPage::showEditForm:fields hook. So, I have no problem already.
 * —217.9.147.66 14:32, 15 May 2008 (UTC)

(RESOLVED) Search in Namespace Discussion

 * MediaWiki: 1.12
 * PHP: 5
 * MySQL: 5

Hi, I have installed my own Mediawiki and it works fine, but when I search it will by default not find something in Discussion Namespaces. How can I change the Option, to search also in other Namespaces by default, for example in Discussion?

—87.154.132.153 08:27, 18 May 2008 (UTC)
 * I have solved my Problem with this...

(RESOLVED) Special:UncategorizedImages

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

Hi,

Since a while I'm getting a warn when I'm trying to open Speciaal:NietGecategoriseerdeAfbeeldingen (in Dutch) Special:UncategorizedImages

What can I do to solve this problem?

Best regards, 86.88.44.213 14:24, 18 May 2008 (UTC)
 * It's already solved. Thanks. 86.88.44.213 14:10, 19 May 2008 (UTC)

(RESOLVED) Can MediaWiki run on a Windows server and use Sequel as the database.
We have a hosting agreement that doesn't account for PHP and MYSQL applications. Can we have MediaWiki run without using PHP or MYSQL? Can it run in a Windows environment?

—Lin light 13:35, 20 May 2008 (UTC)


 * There are one or two SQLs you could use in place of MySQL, though MySQL is the probably the best-supported. You cannot to my knowledge use MW without PHP. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 22:05, 20 May 2008 (UTC)

(RESOLVED) Renaming MediaWiki:Toc

 * MediaWiki: 1.11.2
 * PHP: 5.1.6 (apache2handler)
 * MySQL: 5.0.22
 * URL: http://sfbuilder.wiki-site.com/

Hello! I want to change the content of this system message which is naming the title row for the tables of contents, as far as I know, from (in German) „Inhaltsverzeichnis“ to „Inhalt / Navigationshilfe“. It works fine when doing this on my own 1.9.6 wiki, but on this 1.11.2 wiki it has no effect (see http://sfbuilder.wiki-site.com/index.php/Benutzer:JörgM/EDV/Gesamt_-_Test_1). Might it be overridden by the wiki-farm? Changing of some other system messages (common.js, common.css, sidebar) worked ...

—89.55.172.232 06:50, 27 May 2008 (UTC)


 * Works now. Seems to need a little bit more time to be executed on this wiki farm. -- 212.65.3.130 15:00, 5 June 2008 (UTC)

(RESOLVED) Math Funktion will not work

 * MediaWiki: 1.12
 * PHP: 5.2.0-8+etch11 (cgi-fcgi)
 * MySQL: 5.0.45-Dotdeb_0.dotdeb.1-log
 * URL: internal installation

Hi,

must i activate my Math funktion? If i put the code into my editfunktion i would not see the Mathfunktion i see the Code My code: $$U = \frac {P}{I}$$ works on Wikipedia!??! Whats wrong?

—91.17.101.237 14:52, 28 May 2008 (UTC)


 * See Manual:Math and subsequent pages. In short: You must enable TeX support on your wiki. Regards -- 89.55.190.92 07:54, 29 May 2008 (UTC)

(RESOLVED) How do I protect MediaWiki:Sitenotice
It seems strange, but as an admin with sysop powers, I cannot protect MediaWiki:Sitenotice from editing on neither of my two wikis, why? Odessaukrain 20:33, 29 May 2008 (UTC)
 * Pages in the MediaWiki namespace are protected by default. Only sysops are able to edit them. -- :bdk: 00:00, 29 August 2008 (UTC)

(RESOLVED) Request for Enhancement: Special Pages: Upload Multiple

 * MediaWiki: 1.10.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 5.0.45-log
 * URL: http://theguildedage.net/wiki/index.php?title=Special:Specialpages

Hi,

I am looking for an enhancement that will permit me to upload multiple files at one go, much like Photobucket does. This would be extremely useful!

Thanks! ~Sal

—Ravensun 12:38, 30 May 2008 (UTC)
 * You can try Extension:MultiUpload. <font color="#66A7CC">i <font color="#9966CC">Alex  14:23, 6 June 2008 (UTC)

Need to upgrade to 1.12 -- getting Parse error: syntax error, unexpected ':', expecting '(' in /homepages/5/d182076830/htdocs/theguildedage.net/wiki/maintenance/dumpBackup.php on line 59'''

''' when I try to run dumpBackup.php...

I am using 1.10.0...

—<font color="#007500">Ravensun

Correction:

Using PHP5, I am getting:

'''(uiserver):u41814739:~/theguildedage.net/wiki/maintenance > /usr/local/bin/php5 dumpBackup.php --current X-Powered-By: PHP/5.2.6 Content-type: text/html

DB connection error: Unknown error'''

Any ideas?

—<font color="#007500">Ravensun


 * Is upgrading not an option? If you upgrade, the extension will work and solve the problem, it seems. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 01:26, 13 June 2008 (UTC)

I did upgrade after posting this, and I tried the extension, but I am getting the following error:

Here's the line that is causing the error:

<font color="#FF0000">$wgOut->addWikiText( "left|thumb" );

And here is the error message:

<font color="#FF0000">Parse error: syntax error, unexpected '(', expecting '}' in /homepages/5/d182076830/htdocs/theguildedage.net/wiki/extensions/MultiUpload/SpecialMultipleUpload.php on line 474

I don't know php well enough to try and fix the thing myself!

I've emailed the developer, but I haven't heard back from him yet... help?

—<font color="#007500">Ravensun

FYI - heard back from the developer. Here is the fix:

<font color="#FF0000">$wgOut->addWikiText( "left|thumb" );

Thanks! -<font color="#007500">Ravensun

(RESOLVED) phpBB and MW

 * MediaWiki: 1.12.0
 * PHP: 5.2.5-dev (cgi-fcgi)
 * MySQL: 4.1.22-community-nt
 * URL: www.riev.nl/wiki

Hi, Is it possible to combine my phpBB-userlist & their passwords with my wiki? Like people from my forum are able to login to the wiki, without creating a new account... Thanks. —98.16.158.41 19:27, 5 June 2008 (UTC)


 * See Extension:PHPBB/Users Integration. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 19:40, 5 June 2008 (UTC)

(RESOLVED) How can I edit the name of a page without changing the URL?

 * MediaWiki: 1.10.1
 * PHP: 5.2.3
 * MySQL: 5.0.27-community-nt

All is in the title, I need to change the head name of a page and keep the same URL as before. Is there any way to do it?

—FB 13:58, 6 June 2008 (UTC)


 * Could you just rename the page? It should create an automatic redirect, and if not can make one yourself.  Then the URL will lead to the page, though the page's url will be different. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 15:12, 6 June 2008 (UTC)
 * (Note to readers, discussion continues here. <font color="#006500">Smaug [[Image:Tournesol.png|20px]] 00:12, 9 June 2008 (UTC))

(RESOLVED) Searchengine

 * MediaWiki: 1.9.2
 * PHP: 5.1.6 (apache2handler)
 * MySQL: 5.0.22

Hello there, i have a question about the built in seach mechanism of mediawiki. I noticed that if a three character long string is typed into the search field the search is completely ignored. If the number of characters is increased it searches perfectly.

Is there a possible to decrease the number of "recognised" characters in the search mechanism?

Thanks a lot for your help!

Greetings,

Florian H. —87.160.23.73 11:21, 8 June 2008 (UTC)


 * You need to reconfigure mySQL (and rebuild a table). See http://www.mediawiki.org/wiki/Manual:$wgDBminWordLen but note that the PHP variable is only used for older versions of MySQL, but the documentation includes instructions for mySQL 5.
 * --216.204.206.146 18:01, 18 August 2008 (UTC)

(RESOLVED) Javascript errors preventing Common.js from parsing

 * MediaWiki 1.11.0
 * PHP 5.1.4 (cgi-fcgi)
 * MySQL 4.1.20
 * URL http://wiki.xentax.com/index.php?title=Game_File_Format_Central

I have a scripting problem: I've tried copying several scripts from wikipedia:MediaWiki:Common.js, only to find that they don't work. IE complains of two script errors: 'wgBreakFrames' is undefined on line 55, and 'tooltipAccessKeyRegexp' is null or not an object on line 533. It may be worth noting that the wiki was originally installed with MediaWiki version 1.6.0 (IIRC), and was upgraded directly to 1.11.0. Any help? Dinoguy1000 20:31, 9 June 2008 (UTC)


 * It seems that this is caused by a "dirty" upgrade... I've not actually fixed it yet, but the problem is some old files left over from 1.6. — Dino guy  1000  18:30, 28 June 2008 (UTC)

(RESOLVED) MediaWiki:Common.js not working

 * MediaWiki: 1.12.0
 * PHP: 5.2.3
 * MySQL: 4.1.20-log
 * URL: Internal (not accessable from outside)

MediaWiki:Common.js is not working. We are using the Monobook skin and upgraded from 1.6.9 to 1.12.0 in order to get Mediawiki:Common.js and a bunch of other features. The way I'm testing it is with this code in the box on the Mediawiki:Common.js page:

addOnLoadHook(function { window.status = "Mind control! Mind control!'; });

But the window status bar never changes (well, to be clear, it says "Done" but I think that is Firefox loading the page). If can change the window.status text with JavaScript in my browser without issue. I also tried something like:

addOnLoadHook(function { alert('test'); });

But that isn't working either. I do see Common.css in the page headers and I also see this (in appropriate tags to load as JavaScript):

/CORECT_PATH/?title=-&amp;action=raw&amp;smaxage=0&amp;gen=js&amp;useskin=monobook

The wgUseSiteCss and wgUseSiteJs are both default (enabled). Do you have any suggestions? Thank you in advance for your time. --Cymen 16:20, 10 June 2008 (UTC)


 * SOLUTION: I kept getting Raw pages must be accessed through the primary script entry point. so I edited includes/RawPage.php and changed it to print out the values ($wgScript, $url -- it expects them to be the same) and it turned out that a secondary included file for our configuration mistakenly alterated the $wgScript path (removing index.php). With that corrected, Mediawiki:Common.css and Mediawiki:Common.js started working (and yes, a plain "alert(test!);" actually worked in MediaWiki:Common.js).

(RESOLVED) can't edit / redirected to base page

 * MediaWiki: (1.12.0)
 * PHP: 5.2.2 apache
 * MySQL: 5.0.45 - community
 * URL:

Whenever i try to edit a page, i'm redirected to my parent page. e.g.

www.danda-comics.co.uk/wiki/MainPage

edit

save changes

www.danda-comics.co.uk is loaded, and the mainPage is left exactly as it was. I'm fairly sure it has to do with some permissions. BUT just not sure which ones i should be touching.

[RESOLVED] as i was looking through some other stuff, i noticed a few things about uploading certain directories having no effect on the install etc, so i just re-uploaded the includes directory and it worked fine.

Similar note.

Is there a way to disable registration of new users?


 * Adding the following line to your wiki will disable the registration of new users:
 * --TheDevilOnLine 10:30, 12 June 2008 (UTC)
 * --TheDevilOnLine 10:30, 12 June 2008 (UTC)

(RESOLVED - workaround developed) Sysop rights disappeared

 * MediaWiki: 1.11.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 5.0.51a-community
 * URL: Forget the Franchise

I have suddenly lost my sysop privileges on my wiki. As well as that all my protected pages have now become unprotected. On my users page if I ask it to display all users, then after my username (wikisiak) it has (bureaucrat, sysop ). However, if I select the sysop group on the user list and ask it to display those users with sysop rights then no users are displayed.

I have looked in my users table and my id is 1 and then i looked in the user_groups table and ID 1 has both bureaucrat and sysop. Does anyone know what is happening here and how can i fix it so that I get sysop rights back and can once again protect some of my pages?

Any help is much appreciated. Cheers!


 * SOLUTION

I noticed that in the user list when it displayed my user name it would have spaces after the sysop and bureaucrat. I thought that this may cause issues so updated these fields in the user_groups table trimming the space off the field. However, the table now displayed: ug_user 1 and ug_group bureaucrat\0\0\0\0\0\0; sysop\0\0\0\0\0\0\0\0\0\0\0. I changed the field from a varbinary to a varchar and updated these field. I have now got my sysop right back. However, I also had to change the field types in the page_restiction tables from VARBINARY to VARCHAR in order to get page protection to work again.

I then had to do the same to img_minor_mime field in the image table to get my images to be displayed. Change the type to VARCHAR and then run - update images set img_minor_mime = trim(img_minor_mime)

If any experts read this then please let me know your thoughts on how this happened. Also if you think that this could cause issues further down the line then please let me know.

Cheers —78.150.45.63 13:03, 4 July 2008 (UTC)

(RESOLVED) Linking to Local Files
I run a personal wiki and would like to link to useful files on my computer. I have been using to open up pdf files, for example, but I've used it for other file types.

However, the MOST important things I want to link to are some of the Administrative Tools -- for example, services.msc. When I type The link shows, and the location it links to is correct, but nothing happens when I click on the link. Why does this happen, and is there any way I can overcome it by editing LocalSettings or something similar? Soonshort 04:58, 11 July 2008 (UTC)


 * Just an update, I still have not been able to get this working. I have tried the UNC extension and still no luck. Soonshort 05:52, 25 July 2008 (UTC)

Solution:

For security reasons Firefox browser does not follow local links. Please check http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

--83.171.172.159 14:36, 26 July 2008 (UTC)

(RESOLVED) How to set right to edit for bureaucrats?
The options to prevent an article from being edited are "All", "Non registred users", "Sysops" only. How can I grant bureaucrats (including sysops) to edit a page? Thx :o) --Rob.
 * The simplest thing to do would just be to promote your bureaucrats to sysops too (by default, they can do this themselves anyway!). However, if you really want what you're asking, you can use $wgRestrictionLevels:


 * You might then need to edit MediaWiki:Protect-level-cratop to say something along the lines of "Bureaucrats and sysops only". —Emufarmers(T 09:49, 27 July 2008 (UTC)

Great! Thank you very much. I really don't understand, why this is not generally implemented, but anyway, this solution works perfectly. This should be documented in an appropriate place. Bye for now --Rob.

(RESOLVED) Search doesn't work

 * MediaWiki: (last stable version!)
 * PHP: 5.1
 * MySQL: 5.0.51
 * URL: it's only for internal users sorry ^^

The Search don't work correctly! For example I search for AGB and he don't find the page. The word AGB is 4 or 5 times in the text, but it is not found. When I search for ÖBB it will be found. Where is the Problem?

—80.122.110.40 08:46, 29 July 2008 (UTC)


 * Adjust MySQL. —Emufarmers(T 08:21, 30 July 2008 (UTC)

(RESOLVED) Group permissions not being honored

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi)
 * MySQL: 5.0.51a-community
 * URL: http://lostcoastgaming.com/wiki/index.php?title=Main_Page

The subject line says it all. Not only that, Mediawiki's parsing of the groups/permissions seems to be erratic. (And that, on the face of it, makes no sense -- I fully admit that.)


 * USERID 1 "bureaucrat" does not have Special:Userrights permission, even though this is the default (and has not been changed), Special:Userlist shows USERID 1 as having those privileges (and I looked at the database tables and both bureaucrat and sysop are clearly assigned.


 * No other user with 'bureaucrat' privileges has access to Special:Userrights either, even though they are a member of the 'bureaucrat' group.


 * I can force access to the Special:Userrights tables by opening up the system: $wgGroupPermissions['*']['userrights'] = true;. (And I can force editing access by opening up the system too.)


 * 'sysop' privileges are not being honored -- accept when they are; behavior seems erratic.


 * Other permissions settings are not being honored -- accept when they are; behavior seems erratic. According to my understanding of the below, I should be denying edit permissions to unknowns and to "user"; but then allowing a set of permissions, including edit permission, to users that are either 'emailconfirmed' or 'trusted user'. Unfortunately, that is not what is happening -- except when it does.

$wgGroupPermissions['*']['edit'] = false; #if you're not registered you can't edit $wgGroupPermissions['user']['edit'] = false; $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; #put users with confirmed e-mail addresses in the group $wgImplicitGroups = array( 'emailconfirmed' ); #hide group from user list $wgGroupPermissions['emailconfirmed']['edit'] = true; #assign desired permissions to group $wgGroupPermissions['emailconfirmed']['createpage'] = true; $wgGroupPermissions['emailconfirmed']['createtalk'] = true; $wgGroupPermissions['emailconfirmed']['move'] = true; $wgGroupPermissions['trusted user']['edit'] = true; #manually promoted; a bit higher than emailconfirmed $wgGroupPermissions['trusted user']['createpage'] = true; $wgGroupPermissions['trusted user']['createtalk'] = true; $wgGroupPermissions['trusted user']['move'] = true; $wgGroupPermissions['trusted user']['delete'] = true;


 * Last night edit permissions worked as expected, though access to Special:Userrights was still flaky. This morning edit permission is denied to users listed in the Special:Userlist as members of either the 'emailconfirmed' or 'trusted user' groups (or both). Also, acknowledgment of 'sysop' status is being ignored. I tried to install the AWC forum, and even USERID 1 who is 'bureaucrat' and 'sysop' (obviously) is told he cannot install it because he's not a sysop.

So I am confused. DefaultSettings.php has not been touched, as per standard instructions. All changes have been made to LocalSettings.php. I have checked the contents of the database against what mediawiki tells me it's finding and have found no errors.

To my mind that leaves some kind installation error or a system error (bad bad bad since this is running on a drak.net server).

I hope you can clear this up, cuz right now the wiki cannot be opened up to users.

—Blackhawke 16:19, 3 August 2008 (UTC)


 * Discovered that the mySQL database was corrupted at creation time. So corrupted, in fact, that even an attempt at repairing it didn't correct the problem
 * Whatever the corruption issue was, it was not one that was causing Mediawiki to report or log any errors that I could find. I deleted the entire database, recreated it, and did a reinstall of Mediawiki, and now things are working properly.
 * --Blackhawke 16:01, 13 August 2008 (UTC)

(RESOLVED) Is there a WORDCOUNT feature or extension available anywhere?

 * MediaWiki: 1.11.0;
 * PHP: 5.2.6 (cgi-fcgi);
 * MySQL: 5.0.45-community-log;
 * URL: http://paleravens.com/

Is there a WORDCOUNT feature or extension available anywhere? Something that will, um, simply, tell me how many words are in any article?

—Töff 01:18, 4 August 2008 (UTC)


 * Has anybody tried this? ... http://www.dementedkitty.com/index.php/2007/11/24/mediawiki_word_count_tab ... I'mma try it. Worst that can happen, I destroy my wiki, right? --Töff 03:47, 4 August 2008 (UTC)


 * Holy crap, it works :) cool. --Töff 04:32, 4 August 2008 (UTC)

(RESOLVED) MediaWiki authentication by URL (GET method)

 * MediaWiki: 1.5.3
 * PHP: 5.0.4 (apache2handler)
 * MySQL: 4.1.13
 * URL:

Hi!

Because we want to use a crawler, which indicates the articles of our internal mediawiki, i have to find a way to login to our mediawiki by GET paramter (URL). Is this possible?

Thanks in advance.

best regards

Marc

—87.167.172.174 10:02, 6 August 2008 (UTC)


 * Use the API. You'll probably have to upgrade first. —Emufarmers(T 10:25, 6 August 2008 (UTC)

(RESOLVED) Is it possible to deny anonymous users to read (view) images of the wiki?
Is it possible to deny anonymous users to read (view) images of the wiki? How can I do that? Thanks, —217.190.243.64 08:37, 9 August 2008 (UTC)
 * With img_auth.php. Aaron 21:53, 9 August 2008 (UTC)
 * Well... is there an other way to protect the images? I dont have permission to edit the httpd.conf file to add the two aliases. :-( --217.190.240.191 08:03, 10 August 2008 (UTC)
 * No. Aaron 15:07, 10 August 2008 (UTC)

(RESOLVED) wfSpecialUserlogin

 * MediaWiki: 1.13.0
 * PHP: 5.2.3-1ubuntu6 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3-log
 * URL: linux.kocschool.net/wiki

After updating to 1.13.0 (from 1.11.0) my custom made part of SpecialUserlogin.php is no longer executed. I replaced the wfSpecialUserlogin funtion by something simular of my own that allows decryption of login credentials that are posted through the URL and after that submits the form. An ugly hack.

It seems however SpecialUserlogin.php is not used at all anymore in 1.13.0 as my function does not get executed and even typing erroneous statements in the php of the file does not produce any problems.

My question, after 1 morning of research is simple: have there been any big changes in the handling of the login form? Or do I just need to start digging further in my own modifications of the wiki engine.

btw, I used the  statement to update the files of the wiki.

Thanks a lot for your response! —212.156.148.138 09:02, 18 August 2008 (UTC)


 * I too hacked SpecialUserlogin.php, though it sounds like less so than you, and am currently preparing to upgrade from 1.11.2 to 1.13.0. As I discovered, all the special pages are no longer in the wiki/includes/ directory but rather the wiki/includes/specials/ directory.  Hope this helps you solve your issue. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]]<font color="#006500">(talk) 00:29, 19 August 2008 (UTC)


 * Thanks for pointing that out, I thought the tar command would clean up things, so I missed the obvious ...