Project:Support desk/Sections/System

__NEWSECTIONLINK__

= MediaWiki System Support =

Problem with the search engine

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.3 (cgi-fcgi)
 * MySQL version: 5.0.24-community-nt
 * URL: not published yet

Hi there,

I have a small problem with the wiki search engine and I hope you can give me a hint how to solve it: If I include a template into one of my pages and search for a word which occurs in the template, then the page isn't shown in the results of my query. I think, the reason for it is, that the wiki search engine only searches in the source code of the pages. Over there you can of course only find the name of the template, but not its content.

1st question: is that right? 2nd question: which possibilities are there to solve the problem? Will it be solved if I update to MediaWiki 1.14.0? Or do I have to include something like the Google Custom Search Engine Extension

Thank you very much & have a nice day —Scboehm 07:19, 6 May 2009 (UTC)


 * To 1) Have a look at Help:Searching – so your thoughts seem to be right. -- JörgM 84.156.189.40 19:35, 6 May 2009 (UTC)

Display problem in Firefox

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL:

I run a small offline-wiki and now I have a display problem.

The pages have no styling. I mean the logo is gone, the sidebar is gone and only text is shown plus the search field. Additionaly all text is shown one below the other. This only happens in Firefox, in IE everything is correct.

This is my first wiki and I don't know much of php and such. I hope someone can help me.

—91.33.252.131 06:52, 11 May 2009 (UTC)

(SOLVED) Creating namespaces with special characters - Not showed correctly
Wiki info Detailed problem
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8 (cgi)
 * MySQL version: 4.1.22-max
 * URL: http://wikimanga.net
 * Wiki language: Spanish
 * Direct link to Version

I'm trying to create new namespaces, but I'm having some problems, the main reason it is the use of special characters like "´" typical on spanish language. I have tried to create namespaces without the special characters and then it ran okay. When you check the special search page, the special characters are replaced for � (attached image). I have not found any info related, any suggestion would be very appreciated.

I'm using the following code into the Localsettings.php

—Neoshinji 07:22, 11 May 2009 (UTC)


 * Encoding problem. I tried a little bit with Notepad++. Worked, when after opening the file I first changed format to utf-8, wrote the character(s) which are not ASCII, then changed format back to ANSI (gives something like A3 for an ó), saved and uploaded. There were then those ó and the German umlauts äöü shown correctly in FF1.5 using UTF-8. Worth a trial, I think. -- JörgM 84.156.133.190 19:57, 11 May 2009 (UTC)


 * Thank you very much JörgM. Now works fine :)
 * A sample vowels in ASCII encoding into php files.

--Neoshinji 00:34, 12 May 2009 (UTC)

Transport a wiki from one server to another one

 * MediaWiki version: 1.11
 * PHP version: 5.2
 * MySQL version: 5.0.45
 * URL:

Hey,

i want to transport my wiki from one server to another one.

I tried it in the following way:

I have installed the MediaWiki Software (same version) on the new server. Than i copied the old image folder into the new wiki. After that i exported the the database from the old MySql and imported it into the new MySql. Last but not least i wrote the same user entries from the old LocalSetting.php into the new one. Of course i fitted the entries for the database.

After that the new wiki works almost fine! But i have some weird problems! Some images are not shown in the articles. But not all of them. In some articles there are the images and in other ones there are no images! The same problem is with some content and links!

Do anyone know what the fault is? I have no idea! And the weird thing is that only some artciles are incomplete!

Is there maybe a better way to transport the wiki from one hardware to another one??

Thanks a lot!!

—80.171.131.17 19:09, 12 May 2009 (UTC)


 * Haven't done this yet, but Manual:Moving a wiki tells another order: First recreate the database and import the database backup, then upload the MediaWiki backup (or install a new copy of MW and upload the media and extension folders). -- JörgM 84.156.192.196 21:07, 12 May 2009 (UTC)

Password fail after upgrading 1.6.10 > 1.14.0

 * MediaWiki version: 1.14.0 and 1.6.10
 * PHP version: Php 5
 * MySQL version: 5.0.77
 * URL:

I'm upgrading directly from the 1.6.10 to 1.14.0. I unpack the script from the site. Erase LocalSettings.php. Everything works after commenting some extensions. But, here is the problem. When trying to log in as SuperUser, the password don't match. Ryan_Lane tryed to help me with IRC. I tryed : $wgPasswordSalt = false; But doesn't work either.

I'm wondering if you know where i can change this. I think the password could be crypt differently during the upgrades.

Kind Regards

—DjAngo23 17:52, 15 May 2009 (UTC)

Possible to unhook "Project" namespace and then use as custom?

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version: 5.0.66a

Hello,

We're using MediaWiki internally at our company and have changed the $wgSitename to be the name of our company ("Foo") instead of the default "Project". Now we'd like to be able to use the "Project" namespace as a custom namespace (to designate projects that we're working on), but something like "Project:Bar" is currently redirecting to "Foo:bar".

Is there a way we can unhook the "Project" namespace from being linked to our site name?

—142.9.1.100 20:21, 15 May 2009 (UTC)

I believe this is hardcoded into the software; if you really want to dig it out, you might start by looking at Language::fixUpSettings. Otherwise, you could just use the namespace "Projects". :) —Emufarmers(T 08:15, 16 May 2009 (UTC)

Resolved: 404 when using short url

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (cgi-fcgi)
 * MySQL: 5.0.67.d7-ourdelta-log
 * URL: www.jainkosh.org

Hello, I have been trying to use short url for my wiki by following instructions at http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access but could not achieve the results. My server is Apache and my wiki is saved at htdocs\Mediawiki. I have tried saving the .htaccess file in htdocs\Mediawiki, htdocs\, htdocs\sample_html, htdocs\Mediawiki\sample_html, but it didn't work. Whenever I tried to go to www.jainkosh.org/wiki/Main_Page, it throws error 404, page not found. This is what I have put in my .htaccess file:

RewriteEngine On RewriteRule ^wiki/(.*)$ /Mediawiki/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ /Mediawiki/index.php [L,QSA] RewriteRule ^/*$ /Mediawiki/index.php [L,QSA]

Can you please help me in getting this working?

Thanks a lot, Vikas

I tried the same settings on Godaddy.com server and it worked fine there. Somehow on my localhost it didn't work and was giving 404. Works great on the godaddy server.

Email Notification with added/changes Message of the watch list

 * MediaWiki version: 1.13
 * PHP version: PHP 5.2.0 (with apache W2K Server)
 * MySQL version: MySQL 4.1
 * URL: INTRANET

Dear Folks,

is there any way to get a email notification for the watch list with information about what is changed on a site? Example: I have something like a "New Ticker" and if someone add some note I would like to have the Information in my email. Maybe with a limitation of the 100 characters?

Is that possible?

Thank you very much In advance

Remo

Date 27.05.2009 17:35


 * You need to make sure that the $wgEnotifWatchlist config setting is set to true on your wiki, then check the "receive email notification when a page I'm watching is edited" preference (not sure exactly what it's called) in your preferences. Happy ‑ melon 16:07, 27 May 2009 (UTC)

The problem is NOT to get a email, the problem is to get a email with the information what has been changed.

Example: Dear XXXX, The News Wiki page News Ticker has been changed on 07:29, 28 May 2009 by anonymous user. He insert following Information: "to day we have 50° and sonny weather, tomorrow starts raining".

That what I'm looking for. Any idea?

Remo Date 28.05.2009 09:47
 * Ah, I see. No, that functionality is not available, as far as I know. And it would be quite difficult to summarise complicated changes in that fashion (just adding a line is one thing, but what about when someone fixes a bunch of typos over the whole page?).  You could file a bug over at bugzilla, but I'm not sure there would be much interest in it. Happy ‑ melon 08:49, 28 May 2009 (UTC)

OK, thank you very much for helping. Remo

How do I manage a wiki account when the original admin leaves a company?

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

The company I work for has a wiki account set up and the original admin has left the company. I now am managing this and do not know how to login as admin and modify some of the confiugurations. The first task I have is to change the e-mail response address from the former employee's e-mail address to the company e-mail address. Any assistance will be appreciated.—Sfowlerad2 16:12, 28 May 2009 (UTC)

—Sfowlerad2 16:12, 28 May 2009 (UTC)


 * Do you have shell access? That is, many of the wiki's configuration settings are set in LocalSettings.php, a file on the server that hosts the MediaWiki installation. In order to be able to change configuration settings on the wiki, you need to be able to channge and update this file. Happy ‑ melon 16:36, 28 May 2009 (UTC)