Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__

= Miscellaneous (unsorted) Issues =

Fatal Error...
I got this on a free webserver (so I don't have an access to it), after trying to save the page or to log in:

Fatal error: session_start [function.session-start]: Failed to initialize storage module: files (path: ) in /mnt/md1/public/d/o/dob/includes/GlobalFunctions.php on line 2453 What should I do now? :-D

Drkazmer

character before DOCTYPE "<<!DOCTYPE html PUBLIC .."

 * MediaWiki version: 1.13.2
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.45
 * URL: local

I got a character above the logo "<" and I don't know what is generating it

and it is always there when I use the rich editor "disabling the rich editor doesn't help"

also with every preview it appends one more character as follow

< < one more thing

viewing page source I find that character before <!DOCTYPE..

<<!DOCTYPE html PUBLIC .....

looks like something is appending that character "<" to the (output stream) How to debug such behavior?

FireFox error console shows

help>questions). What is the code that the path infix in the page?

thanks for help


 * Do you mean using subpages? What sort of path do you mean? Wikademia

embed copies of authoritative versions of pages from other mediawiki instances, sharing one page history between mediawikis

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

There appear to be many ways of including content from one page to another, including templates and the "embed page" capability (which seems restricted to Special pages). The terms "transwiki", "inclusion" and "interwiki" are used in a confusing way making it difficult or impossible to answer some simple questions:


 * How, exactly and with examples, does one specify that the master or authoritative version of a page is at some other mediawiki, providing both a link to the editable version of that page and a visible & protected copy of it as if it were a page within one's own wiki (identical to the features of wikinfo?
 * How, exactly and with examples, does one simply include an entire non-Special non-template page from the same wiki? Is it possible to include from another wiki that is hosted on the same MySQL installation?
 * How, exactly and with examples, would one implement two-way transclusion so that the page could be edited in either one of two wikis, and the edits would be made reliably on the other to unify the page histories?
 * 1) Are there any good examples of public mediawikis sharing content in any of these ways with private ones?
 * 2) What other approaches, such as "auto-import of Wiki articles via XML using PHP's Expat Library" are used in Mediawiki extensions, and what are the advantages/disadvantages of doing this inclusion using XML rather than mediawiki's internal facilities?

Concurrent users and Add ons to Wiki
Do you know if there are any Microsoft word add ons that can be used with Wiki? Is there a way to lock a document so that no 2 users are updating the same file?

Completely Anonymous Editting (No IP)
Is there a way to allow complete anonymity? Or how about a system whereby an ID is shown instead of showing IPs?
 * MediaWiki	1.13.3
 * PHP	5.2.8 (cgi)
 * MySQL	5.0.67-community

Untitled
Remarque : Les versions de PHP et MySql sont celles fournies par Xampp 1.1.1.2
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8
 * MySQL version: 5.0
 * URL:

Comment puis-je afficher la valeur d'une variable contenue dans LocalSettings.php ?

How may I post(show) the value of a variable like $wgStylePath?

Many thanks

How to combine regular expression so that you get the number of contributors per article ? (Extension:contributors)
I would like to use a reg ex to get from:    > the number of users (here is 5).

So that i could use : in a Reg Ex to get the number of contributors in Article.


 * Then, how to get an average on every articles or articles from a special cat ? Thx!

Cannot Create Pages
I'm using Mediawiki 1.6 and whenever I or any of my users click "save page" it leads us to a blank screen and our browser reads "done".

As far as I can see, all the permissions are in place, so I'm really not sure what to do.

---

What have I do?
I had to start new MediaWiki 1.15.0rc1 Installation but received:


 * 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.6 installed
 * Found database drivers for: MySQL SQLite
 * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * Session save path (/var/lib/php/session) appears to be valid.
 * PHP's memory_limit is 32M.
 * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
 * Found GNU diff3: /usr/bin/diff3.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: /usr/local/www/name_of_site.com/www
 * Script URI path: Installing MediaWiki with php file extensions
 * Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

Different default skins for different browsers

 * MediaWiki version: 1.14
 * PHP version:
 * MySQL version:
 * URL: http://webmasterteachyourself.com

I designed a new skin based on Monobook.php but it doesn't work the way I want it in Internet Explorer, although it does look good to me in Firefox. Apparently, two-thirds of my visitors uses Firefox. How can I use an if-else statement in LocalSettings.php where if a user uses Firefox, the default skin is my new skin, whereas if they use other browsers, then the default is Monobook.php?

—PM Poon 19:44, 13 June 2009 (UTC)

(RESOLVED) delete and rename users

 * MediaWiki version: 1.15.0
 * PHP version: 	5.2.8
 * MySQL version: 5.0.77-community-log
 * URL: wiki.dozor.biz

How can I delete or rename registered users of my Wiki-website? For example, I want to rename admin's account (ID=1) to "administrator" and I need to delete few temporary accounts.

wiki@dozor.biz

—91.122.217.12 05:40, 16 June 2009 (UTC)
 * => Extension:Renameuser.
 * To delete usernames have a look to a search engine web mediawiki.org Although it is not recommended, I believe. --almaghi 09:50, 19 June 2009 (UTC)

MediaWike Search Mashine Optimization Company

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

MediaWiki We search for a company which is specialist in optimizing Google search mashine. As we can see MediaWike is most the time on the top of Google.

Can you kindly provide us MediaWiki Sofware company name which can help us? Your support is estimated most. Thank you and best regards info@spirit-of-luxury.ch

—217.162.57.206 14:04, 20 June 2009 (UTC) MediaWiki

Allocation of articles to namespaces fails

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: (local intranet)

Hello @ all,

some weeks ago, I defined some customized namespaces and everything worked fine. But now I have a problem: Let's say one namespace I recently defined is called "NewNamespace". Now I want to create a new article within this namespace, let's say "NewNamespace:HelloWorld". Then what happens is, that the new article is stored in the (Main) namespace with title "NewNamespace:HelloWorld", but not in the "NewNamespace". The strange thing about it is, that the articles which are already in the "NewNamespace" still work fine, so I don't think that it's a problem with the namespace definition. Can anyone help me? Does anyone have an explanation for this?

PS: I checked about a hundred times that I don't have any typing errors within the article's name, so this easiest explanation drops out as well.

—62.157.208.213 10:40, 23 June 2009 (UTC)

How to add link sidebar toolbox ( Upload file-->Wikipedia:Upload)
How to add link sidebar toolbox ( Upload file-->Wikipedia:Upload)

Dear All I am from Bengali Wikipedia ans I am admin there. I want to create same approach to our wiki as English wiki sidebar Toolbox section Upload file link to Upload. How do you create that? Please explain. If any kind of change to be done in any MediaWiki page, please secify me. I want to create for only registar user can see the Upload file. Thanks in advance.- Jayantanth 18:51, 26 June 2009 (UTC)

tuning MediaWiki:Aboutsite

 * MediaWiki version: 1.16alpha (r52088)
 * PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL: http://en.wikipedia.org

In regards to Manual:Interface/Aboutsite, on English Wikipedia this page has been filled with the literal value "Wikipedia" instead of using " " apparently at the request of the devs, back in early 2006.

On de.wikipedia it is also a literal value. On fr.wikipedia, the page was deleted.

If this is still an important way to tune a MediaWiki installation, I think this be documented somewhere. —John Vandenberg 11:33, 2 July 2009 (UTC)


 * enwiki and dewiki are absolute monsters in terms of size and activity; it's not surprising that 'extraordinary' measures need to be taken for performance reasons on those sites. That message is loaded and parsed on every cache miss, so giving it a literal value probably does have a noticeable impact on performance on a wiki as active as enwiki.  Happy ‑ melon 13:27, 3 July 2009 (UTC)

Help with making wiki my main page
MediaWiki version: 1.15.0 PHP Version: 2.11.9.5 MySql Version: 4.1.22 URL: www.wvupedia.com

How do I get the wiki to become my main page? For instance, if I browse to www.mysite.com it brings up the directory rather than the wiki. How can I get it to immediately load the wiki instead of making people browsing to www.mysite.com/mywiki?

I did a redirection through my webhost, but it is extremely slow so I figured there was a better way to do it.


 * Try using an Apache rewrite rule, assuming you use Apache. The same method as you'd use to get short URLs. Happy ‑ melon 13:23, 3 July 2009 (UTC)


 * Thanks, that worked. I used short url rewrite rule and it automatically redirected my main page to the wiki.

Can't Get Short URLs To Work Properly

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.8
 * MySQL version: 5.0.81 Community
 * URL: (where the URLs should be) or  (where the MW installation is)

Hi- I use Joomla on my main public_html directory as a CMS and then installed my wiki to /wiki. I wanted to let people access the site through /staff but have MediaWiki installed to /wiki. I put the following into my .htaccess file on my public_html directory under all of the Joomla required-things:

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

and I also added the following lines to the almost very bottom of my LocalSettings.php file:

$wgScriptPath = "/wiki"; $wgArticlePath = "/staff/$1"; $wgUsePathInfo = true;

I am doing something wrong at all or is there another setting I need to change somewhere to let it work? I've already cleared the cache on my browser if they is the problem. Also, the URL redirection is working, but for some reason, there is no content where I am redirected to. For example, if I go to my install, I get redirected to the proper directory and the short URL there but when I get there, I get a 404 error. Please help!

Thanks. —Gmd8 15:21, 4 July 2009 (UTC)