Project:Support desk/Sections/System

__NEWSECTIONLINK__

= MediaWiki System Support =

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)

Shortcuts definition such as WP => wikipedia. (not about interwiki)

 * MediaWiki version: 1.13.4

Hello. Where are mediawiki shortcuts define ?
 * 1) NOT in MediaWiki:Searchaliases. (this page is for MWsearch extension)
 * 2) NOT in interLinks, (this is for inter-wiki links ; not for internal shortcut.)

For example in en:wikipedia: where is it defined that [[WP:xxx ]] =>  [[Wikipedia:xxx ]] so that for example WP:About will not be a red link if Wikipedia:About exists. ? —almaghi 09:06, 4 June 2009 (UTC)
 * 1) REDIRECTxxx ? Greudin 09:57, 4 June 2009 (UTC)


 * They are set as namespace aliases. See Manual:$wgNamespaceAliases. Happy ‑ melon 15:09, 4 June 2009 (UTC)
 * Thx Happy-melon, didnt notice. Greudin 18:28, 4 June 2009 (UTC)
 * OK, thank you very much for helping. It was written on manual:Namespace but I needed to read it twice before viewing it... --almaghi 13:40, 9 June 2009 (UTC)

Search not working. Only takes you to advanced search page.

 * MediaWiki version: mediawiki-1.14.0
 * PHP version: PHP 5.0.5
 * MySQL version: 4.1.14
 * URL: (Private Intranet Website)

If you enter a page name or partial name and click on "GO" or "Search" it does not search. It just takes you to the "Advanced Search" page.

Can anyone give any ideas as to what the problem can be?

—66.211.2.151 22:32, 4 June 2009 (UTC)

Optimize wiki for saving server capacity

 * MediaWiki version: 1.14.0rc1
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.32-Debian_7etch8-log
 * URL: password protected...

Is there a way to save 	integrity of the server by "optimizing" the system? F.e.: Disable some functions, wich are not realley necessary? Greez

—85.4.68.161 16:38, 5 June 2009 (UTC)


 * There are many features that are configurable, and disabling almost any of them will provide an improvement in performance. Which features you consider "not really necessary" is largely dependent on your own priorities and the nature of the wiki you are running. Happy ‑ melon 17:51, 5 June 2009 (UTC)


 * This page is great^^ Exactly what I was looking for. Thx. --85.4.68.161 18:56, 5 June 2009 (UTC)

Addition signs ("+") do not work in page titles

 * MediaWiki version: 114
 * PHP version: 5
 * MySQL version: 5
 * URL: http://wikademia.org/C++

Addition signs ("+") do not work in page titles! Help, please. Thank you. : )

Wikademia


 * They're being eaten by your Apache rewrite rules. See Manual:$wgLegalTitleChars. Happy ‑ melon 21:27, 6 June 2009 (UTC)

Combining users of MediaWiki with SMF Forum

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.4
 * MySQL version: 4.1.21
 * URL: http://www.superstorm.net/wiki.php
 * Base-URL: http://wiki.superstorm.net/

Is it possible to use the same userdatabase of my SMF forum with the MediaWiki userdatabase? I'd like to set the SMF database as main, which uses SHA1 password encryption: sha1(strtolower($username) . $password) But then, in order to make my members able of just having to log in once to be logged in on both Forum and Wiki, I'd have to change the Wiki userdatabase and the password encryption used on the pages.

If you could tell me how and where to make those minor edits, I would be very pleased.

Thanks in advance, Tyilanmenyn

tyilanmenyn@superstorm.net

—77.163.53.241 08:39, 8 June 2009 (UTC)

What is category id?

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

What is a category id? Is it an integer generated based on the category name?

—158.130.93.78 18:17, 16 June 2009 (UTC)


 * Every page, piece of text, user, event, revision, or other object is identified within the software not by its name, which can have many wierd-and-wonderful properties (and often doesn't make sense: what is the 'name' of a log event?), but by a number or 'id' which is assigned when the object is stored in the database. So every time a user saves an edit, a new revision is created (with an associated revision id), which links to the user themselves (identified by a user id), to the text of the revision (identified by a text id), which page the revision was made to (identified by a page id), and various other properties.
 * Categories are, as you note, identified by a category id. The category is the actual place where category links lead to, and the page on which the category listing is displayed.  That page may or may not exist: if it does, there will be an associated page with a separate page id that contains the introductory text, but nonexistent categories can still have a category id.  Thus any category that has a page categorised into it (or which has had members in the past) has an associated category id.  Hope this clarifies. Happy ‑ melon 12:44, 17 June 2009 (UTC)

Same article in all pages articles

 * MediaWiki version: 1.12
 * PHP version: PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli)
 * MySQL version: Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
 * URL: (Local Intranet)

I have installed mediawiki on debian lenny for my local intranet from apt-get install mediawiki mediawiki-math mediawiki-extensions and configured it, and work fine, them downloaded eswiki20090609-pages-articles.tar.gz and from command line run java -jar mwdumper.jar --format=sql:1.5 eswiki20090609-pages-articles.tar.gz | mysql -u root -p wikidb and all article are on my wikidb, them run RebuildTextindex.php, My problem is when i go to see any article or random page, in all page article in the top of the page are the same article (Carlos Iglecias) under the article that i desire to see, and when i loggin as wikisysop i see another article in the same place of all pages. I have make this many times, another way was downloading mediatikiXX.tar.gz uncompressing on my website directory and follows the install procedure, but the problem continues, i will make this with enwiki to see whats happens because i believe the problem is on the eswiki20090609-pages-articles.tar.gz, have downloaded another's pages-articles but the problem continue


 * To clarify: you go to any page on the wiki, and you see the same title for all articles ("Carlos Iglecias"), but the correct article text? When logged in, you see a different title, but still the correct texts?  Happy ‑ melon 14:28, 17 June 2009 (UTC)


 * Yes when i go to any page i see not only the same title for all aticles, including login form, search, all, i see the title and the text of that article (Carlos Iglecias) and under the correct text of article or login form, special page.., and when i logged as wikisysop i see different title but still the correct text, somes times  happens when i clic in a link this go to a page that no correspond to the link, for example, link in Mexico and go to mexico article page but i see tow articles in one, under the title Mexico i see the table with data(population, area ect..) of this country thas  correct but more under i see an article named  Street Fighter and at the end i see the other part of mexico article. in the mediawiki-l email list i read this problem is fix after run rebuildall.php script, by now i'm dumpling eswiki-pages-articles to another database with mediawiki-1.15 the proces no has finished, the first problem not show by now, but somes times happens to me the second problem , i'm waiting finished to see whats happend.

How to assign group to mass number of users?

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

How to assign group to mass number of users? Is there a script? Is there another way of doing it one-user-after-one-user? —almaghi 10:27, 18 June 2009 (UTC)
 * Is this something you need to do on a regular basis, or as a one-off fix? Happy ‑ melon 10:40, 18 June 2009 (UTC)
 * It is a one-off fix. (but I wish to capitalize about it to share ability of doing it, I think it would be useful to other users). --almaghi 12:48, 18 June 2009 (UTC)
 * Then I guess you want a maintenance script (if it can be done by a sysadmin) or a bot script if it has to be done by the users. I don't think such a script exists ATM; perhaps you should try writing one! Happy ‑ melon 12:56, 18 June 2009 (UTC)

a link to Special:UserRights/{username} in tollbox for bureaucrat
Hello. I'd like to add on UserPage a link in toolbox for Bureaucrat so that they can easily check or change userRights; how should I do?
 * Use an existing Extension:CustomSidebar?
 * write a javascript?
 * write an extension?
 * ...other ideas?

—almaghi 10:37, 18 June 2009 (UTC)


 * The simplest is probably JavaScript; just wrap an addPortletLink call in a check against the wgUserGroups array. Happy ‑ melon 10:40, 18 June 2009 (UTC)
 * Ok I try this, with examples from w:WP:WikiProject User scripts/Scripts/Compact Navigationw:WP:WikiProject_User_scripts/Scripts/User_tabs. If I manage to do it, I will put it on Javascript mediawiki manual.--almaghi 13:00, 18 June 2009 (UTC)

Should this script work or is there any error?