Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__

= Miscellaneous (unsorted) Issues =

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.

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

How to create a wikibot?
Hi, I need a wikibot that can find certain words in th code then change them. For instance i've recently been 'chain posting' Some info boxes for media... But accidently been putting instead of  So would anyone know of a script i could use to make a bot go through and change them all.. Thanks. ALSO: I know I can do a redirect on the GPNL Until i change them by hand but I have done the redirect so I am just waiting to say if theres a bot that can change it also it is for future reference. —Prentice5 14:07, 25 July 2009 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10
 * MySQL version: 5.1.36
 * URL: wiki4games.com
 * w:WP:AWB. 62.140.253.6 06:48, 15 August 2009 (UTC)

How do you use the file:// protocol in an external link?
How do you use the file:// protocol in an external link?

--216.254.182.155 16:32, 17 August 2009 (UTC)
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

How Can I Delete The 'History Log' On MediaWiki?
—118.100.3.53 14:40, 8 August 2009 (UTC)
 * MediaWiki version: 1.11.
 * PHP version: 5
 * MySQL version:5.2

How Can I Delete The 'History Log'(not recover) On MediaWiki? Thanks.

How can I include php scripts in the wiki?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8-pl2-gentoo (cgi-fcgi)
 * MySQL version: 5.0.54
 * URL: http://www.homepagefarmer.de/hosting/ganshirt/mediawiki-1.15.1

How can I include a php script in the wiki?

The script has to be called from a wiki-page. Then it has to get data from a database and create tables out of this data.

Thank you very much in advance!

—91.48.206.59 19:39, 16 August 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10
 * MySQL version: 5.0.82
 * URL: champions-online-wiki.com

The edit option does not appear for the Mediawiki:Sidebar when logged in as WikiSysop.

—69.141.59.79 01:35, 17 August 2009 (UTC)

Problem when updating the pages

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.5 (apache2handler)
 * MySQL version: 5.0.51a
 * URL: This is in a local machine in our network

We have installed MediaWiki in our company's network which we use for documentation. Recently, we have started to observe certain problem in our pages which is as follows:

Description of the problem: if we edit a page and write wiki markup language like ==Others== and save the pages, the heading would be shown as 'rs' (with the 'Othe' in the heading removed). When we go back to edit the page, the text ==Others== would have changed to ==rs== Moreover, if we have added few html tags in the page for the look which we want then the page gets haywire and the page starts to show multiple in the page.

My colleague who also faced the problem had posted the question in the www.mwusers.com (which can be accessed from here) but didnt receive any answers.

It was today that I observed the issue in my page. Following is things that I did before facing the issue. =Tips=  To implement email service(SMTP):  Create a  file in the folder   Add the following details in the file:
 * 1) I opened a page which was being rendered correctly and was having only wiki markup and no html tags.
 * 2) I added the following lines to the page:

ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "ip address of mail server", :port => 25, :domain => "domain name", :authentication => :login, :user_name => "email address", :password => "password" }

  (given above is sample data. Change the values according to your settings.)  

After that, I started to face the problem. No use of editing the page again and again even after replacing the html tags with wiki markup. My colleagues just used wiki markup and are also facing the same problem. Is there any solution to this?

—Subinvarghesein 09:25, 18 August 2009 (UTC)

Username/password issue

 * MediaWiki version: n/a
 * PHP version: n/a
 * MySQL version: n/a
 * URL: n/a

Hi! I have a common user for other wikipedia-instances, (English: User:KristianS, Norwegian: http://no.wikipedia.org/wiki/Bruker:KristianS), but due to password and email setting problems my user on this wiki (User:KristianS) is no longer under my control. Is it possible to remove it so that I can re-create it? Or in some other way modify it, e.g. by changing the contact email to one I use, so I can change the password myself?

—(KristianS), 88.87.57.60 09:32, 18 August 2009 (UTC)

Float
I need an help with the float comand. In a project external to wiki but based on wiki software I need to float a table with other taables around it but it doesn't run. Is there a solution? Thank you very much. --F.noceti 12:29, 19 August 2009 (UTC)

LocalSettings.php
Hi!

I just created my wiki on MediaWiki and it says to send LocalSettings.php to the parent directory.

What is the parent directory?

Cam Arsenault Wikia user "Cam12343"

Me
It is the root directory of MediaWiki --85.16.36.170 17:23, 20 August 2009 (UTC)

But where do I put it exactly?

Cam12343 23:53, 20 August 2009 (UTC)

Hi, you just go a level up for example if you have you Local Settings at /home/user/LocalSettings.php ,you just need to move it a level up that means move it to /home/LocalSettings.php

hope it helps

Shinehah

There are no diffs in rss feed

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (apache)
 * MySQL version: 5.1.29-rc
 * URL: http://zilant.konvent.ru/wiki/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:RecentChanges&feed=rss

How can i get diffs in the rss feed of RecentChanges? Like here http://www.mediawiki.org/w/index.php?title=Special:RecentChanges&feed=rss

—Belegnar 12:47, 21 August 2009 (UTC)


 * code in FeedUtils.php should look like this

$anon = new User; $accErrors = $title->getUserPermissionsErrors( 'read', $anon, true ); if ($accErrors [0][0] == "confirmedittext") unset ($accErrors [0][0]); if ((count ($accErrors) == 1) && (count ($accErrors [0]) == 0)) $accErrors = array ; if in the LocalSettings.php $wgEmailConfirmToEdit = true; Belegnar 14:31, 21 August 2009 (UTC)

Copying my wiki from one computer to another (including all configurations and WAMP)

 * MediaWiki version: ??
 * PHP version: WAMP
 * MySQL version: WAMP
 * URL: behind firewall

I would like to learn how to copy a wiki from one slower computer to a newer, slightly-faster machine. Would I have to reinstall all of the WAMP package as well?

Comments appreciated.

—192.138.214.106 21:05, 21 August 2009 (UTC)

mediawiki "edit" requests take very long

 * MediaWiki 	1.12.0
 * PHP 	5.2.6-1+lenny3 (apache2handler)
 * MySQL version: 5.0.51a-24+lenny1
 * URL: (no public access)

Running media wiki on apache/debian lenny, I get from remote sides very slow responses, i.e. 10 to 20 seconds even though there is enough bandwidth and server resources. The apache access log shows up always messages like this between request and response completion: ::1 - - [23/Aug/2009:11:58:34 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:35 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:36 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:37 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:38 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:39 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" ::1 - - [23/Aug/2009:11:58:40 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 (internal dummy connection)" Any ideas where's the problem? Thank for your help!

—80.226.19.87 15:38, 23 August 2009 (UTC)

can you make "top-level categories", or a hidden category?

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

Is it possible to mark off a "node" as a certain "type", yet without using a (mediawiki) category? Essentially I want to have a "top-level" set of categories that each node must be associated to ... yet, I don't want to use a category, or at least I'd like it to now display.

... a "hidden" category might work -- though is that possible?

—69.109.171.23 04:02, 25 August 2009 (UTC)

mediawiki version 1.16

 * MediaWiki version:1.14
 * PHP version: 5.2.4-2ubuntu5.7 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.4
 * URL:

I would like to install this extension :http://www.mediawiki.org/wiki/Extension:UsabilityInitiative which requires version 1.16

This version 1.16 is dated on the main page of mediawiki.org as to be available since 2009.02...? But no way to download it???

Thanks a lot for your work. Isayel 12:59, 26 August 2009 (UTC)

NEED recent changes to be able to be read on RSS feeds READER
Hi, i have a wiki as knowledge base at my job and we also use Lotus Notes Email which has a feeds reader on it and i want to know if is possible to maybe transform recent changes page to RSS feed so everyone on the company can suscribe to the recent changes feed and put i it on the RSS feeds reader on Lotus notes Email... i really appreciatte your help

Product Version
 * MediaWiki 1.13.2
 * PHP 5.1.6 (apache2handler)
 * MySQL 5.0.22

--Shinehah

Protect my User subpage
Would a mediawiki.org admin please protect my user subpage User:Michael Daly2/SSH2PublicKey? I need to provide an SSH public key for Mediawiki SVN access and have no other location I can link too (losing my server in two days...). I'd like to ensure that the public key is not vandalized. --Michael Daly2 16:21, 29 August 2009 (UTC)

Do MediaWiki have access counter function?
I want to know that how many times was every page accessed. Can every page show its access times as the home page do? For example, japan edition home page show "このページは 1 回アクセスされました. "

how to auto-protect non-talk pages on create?

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10 (apache2handler)
 * MySQL version: 5.0.67-log
 * URL: not publically accessible yet

I am using the xyRequireEditorPrivilege extension and want to use its use of a user/reader/editor groups to create a wiki in which:

1. ANYONE can read articles or talk 2. registered users with valid emails can become "readers", and be free to create and edit talk pages 3. editors can edit articles.

My thinking on how to do this is to make every article protected-on-create, and give editors the "editprotected" privilege.

I see how to use the API, and can dabble with it, but I am not sure where I would place an API call to apply this protection. Is there already a hook in a suitable place for this or would I have to modify core PHP of MediaWiki?

Is there a better means of obtaining the desired model of permission I should be trying first? TIA!

—DulcetTone 19:50, 2 September 2009 (UTC)