Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__

= Miscellaneous (unsorted) Issues =

Linking pages by words
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

How to add certain structured info to a list or table by an inputbox or submit button
MediaWiki 1.14.0 PHP 5.2.9 (apache2handler) MySQL 5.1.33-community URL local

I would like to make a list on a wikipage. This list must contain "name", "date" and "in" or "out" fields wich can be filled in by an inputbox. The goal is someting like a log for our users, so we can have an overview of who is taking hardware on the road.

Can this be done in wiki (php)? And how?

Thanks in advance.

How to add product feeds from affiliates?
MediaWiki 1.15.0 PHP 5.2.9 MySQL 5.1.33 URL local

i would like to include product feeds from affiliate networks on my website Klusopedia. Can this be implemented and how? My affiliate network offers xml and csv feeds.

Thanks

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


 * are you talking about breadcrumbs? That's what wiki>help>questions is called, if that represents the previous pages you've visited. There's a good breadcrumb extension (although it may need to be tweaked for your needs; read the comments).

--Gullion 17:54, 18 December 2009 (UTC)

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!

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

Does MediaWiki have access counter function?
I want to know that how many times is every page accessed. Can every page show its access times as the home page（main page）do? For example, japanese edition home page show "このページは 1 回アクセスされました. "(English: This page is accessed 1 times.)

If MediaWiki has this function, how do I configure it? If not, do I need to modify MediaWiki's source? How?


 * Wiki Environment:
 * MediaWiki 1.14.0
 * PHP 5.2.9 (apache2handler)
 * MySQL 5.1.33

Thanks & Best Regards ZhuZengyang

How to install MediaWiki for the Oracle database
We have to install mediawiki on a windows server 2003, apache server and oracle database, but unfortunately i did not find any documentation that can help me proceed forward with this install. Please help me. Thanks!! —68.42.95.121 03:18, 24 November 2009 (UTC)
 * MediaWiki version: 1.15
 * PHP version: 5.3.1
 * As of version 1.15 can the whole process of installing MediaWiki on Oracle be done with web installer, as you would do with mysql. Libs have to present in php configuration so that installer identifies that you actually have Oracle installed. Installer also takes care of user and privileges. However in 1.15 there are still alot of bugs concerning Oracle database abstraction. I would recomend using svn build or waiting for 1.16 release. I courently have svn build on two production-level instances at revision 59168 and i haven't had any problems with it. If you have any issues or need some additional help, you can contact me on the mails in my user-page. freakolowsky

Custom namespace not accepting redirects
Today, I created a new namespace called "Fiction". I started moving certain articles from the main namespace to the fiction namespace. (For example, I moved an article called "Broken Soul" to "Fiction:Broken Soul".) However, redirects from the mainspace to the fiction namespace are not working. When I click on "Broken Soul", it shows that the page is a redirect, but it does not actually redirect me to "Fiction:Broken Soul". I was wondering how I could fix this? Thank you. Stooben Rooben 02:32, 1 December 2009 (UTC)
 * MediaWiki version: 1.13.4
 * PHP version 5.2.10

Can't click on links while downloading a file in MediaWiki

 * MediaWiki version: 1.14.0
 * PHP version: 5.1.6
 * MySQL version: 5.0.45
 * URL: Restricted

Hi!

We have this odd issue where, when we download a file from our wiki site, while it is downloading (often the files are hundreds of megabytes), we cannot click on other links on the page to navigate elsewhere. It's one of those situations where you click on the file, then firefox opens another window saying "where would you like to save this file?" and then it monitors the download in another small popup 'download' window on the side. Actually, we *can* click other links on the page, but we just get a message at the bottom of the browser that says "Waiting for mywebsite.com..." As soon as the file finishes downloading, the browser immediately goes to the link that was clicked. I'd say someone could go and test it, but the website is tightly restricted.

Oddly enough, we *can* navigate to the site in a different web browser (on the same computer) just fine while the file is downloading, so the web server is responsive to other requests, just not to the connection in the same page that you download from...

Is there something in MediaWiki/PHP (or Apache? We're using Apache 2.2) that doesn't allow multiple http sockets or something? Any insight would be much appreciated!

some_guy

—63.249.112.45 16:24, 5 December 2009 (UTC)

Want to write English in Arabic installation
Hi there, i have a mediwiki installed in my website, the install was made as an Arabic interface and program, how can i write english language articles where there the default is Arabic, so i want to write from left to right, while the default for it is right to lef, should i install another version to handle left to right?, i just want to write in english there, i appreciate any help--78.154.242.242 16:00, 7 December 2009 (UTC)

Import old php projects in mediawiki structure

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.6-1
 * MySQL version: 5.0.51
 * URL:

We have a big website which was not developped with mediawiki (or an other wiki solution) to be imported in a new mediawiki architecture. I just want to know how to import those articles without having to copy/paste them all. So I have a database with article titles, article text that I want to insert in my new mediawiki database. I mean which db tables/fields must I fill in directly to fit the mediawiki structure and not create problems with pages created by the mediawiki interface ? to get all pages well-indexed? etc ... What must I take care of ? Is a tutorial or something like this has already been done before ?

Thank you in advance --Parktrip 10:27, 9 December 2009 (UTC)
 * Don't fiddle with database manually, there are higher abstractions for it, see edit.php for example. If you can't use PHP for import script, you can always invoke edit.php, it will take care of everything. Max Semenik 10:50, 9 December 2009 (UTC)

Thank you for your fast answer

How to locate the LocalSettings.php folder in my mediawiki based website?

 * MediaWiki version: 1.15.1
 * PHP version: 5.0
 * MySQL version: 4.0
 * URL: http://thelatestscience.com/mediawiki/index.php?title=Main_Page

I am new to Mediawiki software and so I would like your help in finding the answers for my below questions:

1. How to change the homepage url to: http://thelatestscience.com/ from http://thelatestscience.com/mediawiki/index.php?title=Main_Page 2. How can I locate the localsettings.php folder in the latestscience.com website? 3. Which folder should I go to change the skin and customize the look of my mediawiki based website?

Thank you

—70.241.111.22 23:18, 9 December 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version:5.2.6 (apache2handler)
 * MySQL version:5.0.51a-log
 * URL:

Please help !

When I press CTRL+F5 I can view normal view sometime





but full time i view :





sorry for my english

—84.253.88.50 16:43, 11 December 2009 (UTC)

Problems with some Templates

 * MediaWiki version: mediawiki-1.15.1
 * PHP version: PHP Version 5.2.6-1+lenny4
 * MySQL version: 5.0.51a-24+lenny2
 * URL: http://www.lug-sauerland.de

Hi there,

i'll try to use some InfoBoxes in my wiki. but everytime when i use the code for an InfoBox, it looks like this

I get the tip to copy the following templates: * Template:- * Template:Documentation * Template:Documentation subpage * Template:Documentation/docname * Template:Infobox * Template:Infobox/row * Template:Lts * Template:Pp-meta * Template:Pp-template * Template:Purge * Template:Start date * Template:Start date and age * Template:Time ago * Template:Tl * Template:UF-hcal

I've copyed those templates in my wiki but the InfoBox doesn't work. What did i need to get the InfoBox running?

Ah... and how did i find the error if i get the messege Templateloop detected?

Best regards

Christian Rumpf

—Dathoschy 11:21, 17 December 2009 (UTC)
 * Manual:FAQ. Max Semenik 12:07, 17 December 2009 (UTC)

$wgGroupPermissions in LocalSettings.php

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://wiki.uss-bonaventure.com

In re: Manual:User rights instructions, I'm unable to change the disable guests from editting articles. I am unable to find the $wgGroupPermissions in LocalSettings.php.

—205.250.79.175 00:05, 18 December 2009 (UTC)
 * You have to add the needed overrides there, for example:
 * $wgGroupPermissions['*']['edit']             = false;
 * Max Semenik 10:55, 18 December 2009 (UTC)

Special:statistics not working after system upgrade

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.10-2ubuntu6.3 (apache2handler)
 * MySQL version: 5.1.37-1ubuntu5

I have recently upgraded from:


 * MediaWiki version: 1.13.2
 * PHP version: 5.2.4-2ubuntu5.3 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.1

by installing everything from scratch on a new (virtual xen) machine. I did a database dump on the old machine and importing everything on the new machine. Everything is working on the new machine, except Special:statistics which gives the following error when invoked:

From iWiki

Jump to: navigation, search

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "SiteStatsUpdate::cacheUpdate". MySQL returned error "1054: Unknown column 'ss_active_users' in 'field list' (localhost)".

—88.131.41.82 10:08, 18 December 2009 (UTC)
 * Your database schema is out of date. Needs an update. Max Semenik 10:50, 18 December 2009 (UTC)

@ in usernames

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11
 * MySQL version: 5.1.36
 * URL:

I'd like to know if there's a problem with using an email address as a user name. If you try to use an email address (john@foo.com) in the standard create account screen, it is rejected as invalid. If you use the same email address with the createUser.php script, it is accepted. This is fine; the installation I'm creating will have all accounts created programmatically anyway; however, we are planning to use email addresses for user names... and I'm wondering if there are other ramifications of doing this that will cause problems. If not, why are email addresses rejected by the create account screen? -Gullbyrd (tltli)

—76.8.128.114 17:48, 18 December 2009 (UTC)
 * There is nothing special about this character. It was blacklisted in order to prevent spammers from harvesting email addresses, as well as to prevent problems with cross-wiki Special:UserRights on wikifarms. You can disable this limitation by setting your $wgInvalidUsernameCharacters to empty string ( '' ). Max Semenik 18:38, 18 December 2009 (UTC)