Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__

= Miscellaneous (unsorted) Issues =

Extend the searchbox with text messages
I have to extend the search portlet with some links and text. For the beginning, I've put some hard coded text in myskin.php (yes, it's evil... ;-)) Now I have to make it multilanguage-capable, so I try to fix this hack. But how? I'd like to get a variable in the skin which I can trigger by a system text from the MediaWiki namespace. Something like msg('foo') ?> that can be replaced by MediaWiki:Foo. Thanks für any hints (I'm more the php copy/paster, so please be merciful ;-)) --Elya 10:54, 24 November 2008 (UTC)
 * MediaWiki version: 1.13.0rc1
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-community
 * URL: N.A.

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

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.

---

permissions

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

fresh download of media wiki. I would like to only allow registered users and above to be able to edit pages. How do I do this blanket permissions change. By default anon users are allowed to edit.

thanks

—Jeffgroff 23:27, 12 May 2009 (UTC)


 * Manual:Preventing_access —Emufarmers(T 00:45, 13 May 2009 (UTC)

Perfect, exactly what I needed. thanks

on a side note I want to keep anon users from creating pages as well. it seems when I put in the same line but change it from edit to createpage that now even my admin account can not create pages. This s from when I put a title into the search box, then the search is supposed to say something like, this pages doesn't exist do you want to create it. that is not their anymore...

thanks


 * If you've taken the edit right away from anons, they will not be able to create pages; it doesn't sound like you need to mess with the createpage right. If you do, though, you'll need to explicitly give it to the user or sysop group. —Emufarmers(T 01:41, 15 May 2009 (UTC)

Thanks for the reply, this is the only entry I put in my localsettings.php file $wgGroupPermissions['*']['edit'] = false;

I must be doing something weird.

Meadia wiki's home page is cached untill login

 * MediaWiki version: 1.10.1
 * PHP version: 5.2.3
 * MySQL version: 4.1.2.2
 * URL:

We were using meadiawiki about an year. Suddenly when you brows mediawiki's home page with anonymous access, it shows home page modified on April (obsolated one which does not exist). But when you loging to mediawiki, it shows the updated home page. Is there any cache maintain by meadiawiki??? Please help to resolve this.

—220.247.234.75 08:29, 15 May 2009 (UTC)

page names broken with + signs

 * MediaWiki version: 1.14
 * PHP version: 5
 * MySQL version: 5
 * URL: http://wikademia.org/Simple_math_in_C++

> moving pages to where they have an addition sign (+) in their pagename breaks > the links > > http://wikademia.org/Special:Log/move > as an example I moved > "Simple Math" to "Simple math in C++" > http://wikademia.org/Simple_math_in_C++

—Palatial Regalia 19:09, 17 May 2009 (UTC)

RESOLVED: Wiki family problem

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.5
 * MySQL version: 4.1.22-community-nt
 * URL: (Intranet)

I have installed a small Wiki family (4 members), basically using the directives that I found here, but with a shared mediawiki installation and mod_rewrite to select the proper LocalSettings_x.php. Also I have a sort of default-database that is selected in the 'else'-branch and required, as I noticed, e.g. for log in/out to a shared user database. I found that to work properly until recently, when I first used Special:AllPages, which only shows pages of the default database as the URL points to the mediawiki installation path, not to one of the 'family members'. I wonder if there's a simple solution to this problem and would appreciate any help.

—Joerg S. 09:41, 20 May 2009 (UTC)
 * Well, there was a quite simple solution: I just had to set $wgScriptPath to the virtual path for each wiki. Also, the else branch now has the suggested exit statement. --Joerg S. 13:32, 26 May 2009 (UTC)

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

Can't Install et
I had a site / I did update and save "Configure the wiki" did not change or check et / the site start do not working / I have to reinstol all for not lost my datadse, but can't to that :( What must I do?

MediaWiki 1.15.0rc1 Installation 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.9-2 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 (d:/wamp/tmp) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: D:\wamp\www\site.org\wiki Script URI path: /site.org/wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as root...success. Connected to mysql 5.1.33-community-log; enabling MySQL 4.1/5.0 charset mode Database wikidb exists There are already MediaWiki tables in this database. Checking if updates are needed... Warning: you requested the mysql5 schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4. Granting user permissions... ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards ...hitcounter table already exists. ...have rc_type field in recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. Already have pagelinks; skipping old links table updates. ...il_from OK ...have rc_ip field in recentchanges table. ...image primary key already set. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. ...page table already exists. ...have log_params field in logging table. logging table has correct log_title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...have ar_text_id field in archive table. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...have img_media_type field in image table. ...already have pagelinks table. No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...transcache table already exists. ...have iw_trans field in interwiki table. ...trackbacks table already exists. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. ...have ipb_range_start field in ipblocks table. Setting page_random to a random value on rows where it equals 0...changed 0 rows ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. Checking for additional recent changes indices... ...index `rc_ns_usertext` seems ok. ...index `rc_user_text` seems ok. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks seems to be ok Checking if templatelinks index tl_namespace includes field tl_from... ...index tl_namespace on table templatelinks seems to be ok Checking if imagelinks index il_to includes field il_from... ...index il_to on table imagelinks seems to be ok ...have rc_old_len field in recentchanges table. ...have user_editcount field in user table. ...page_restrictions table already exists. ...have log_id field in logging table. ...have rev_parent_id field in revision table. ...have pr_id field in page_restrictions table. ...have rev_len field in revision table. ...have rc_deleted field in recentchanges table. ...have log_deleted field in logging table. ...have ar_deleted field in archive table. ...have ipb_deleted field in ipblocks table. ...have fa_deleted field in filearchive table. ...have ar_len field in archive table. ...have ipb_block_email field in ipblocks table. Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks seems to be ok ...have oi_metadata field in oldimage table. ...usertext,timestamp key on archive already exists. ...usertext,timestamp key on image already exists. ...usertext,timestamp key on oldimage already exists. ...have ar_page_id field in archive table. ...have img_sha1 field in image table. ...protected_titles table already exists. Adding ipb_by_text field to table ipblocks...ok Creating page_props table...ok Creating updatelog table...ok Creating category table...ok

The site has a problem Sorry! This site is experiencing technical difficulties.Try waiting a few minutes and reloading.(Can't contact the database server: Access denied for user 'wikidb'@'localhost' to database 'wikidb' (localhost))

You can try searching via Google in the meantime. Note that their indexes of our content may be out of date.


 * MediaWiki version:  	1.12.0
 * PHP version:  	5.1.6 (apache2handler)
 * MySQL version:  	5.0.22
 * URL:

I need to add/create accounts for individual users for our company's wiki page. I am new to this procedure as the admin for this recently left the job and cannot be contacted. I do have sudo access to the server that hosts the wiki but I do not know how to create accounts. Any advice is appreciated!--Joe.daly 19:29, 26 May 2009 (UTC)

—Joe.daly 19:29, 26 May 2009 (UTC)

Header
Hi all,
 * MediaWiki version: 1.15alpha
 * PHP version: 5.2.6-pl7-gentoo (cgi-fcgi
 * MySQL version: 5.0.70
 * URL: http://www.wikiberal.org

I'm trying to add a little message on top of my pages, as Wikipedia does for announcing funds raising or polls. Yet I can't find where I can set it up. Could you help me on that?

Thank you !

—Calataxia 11:40, 27 May 2009 (UTC)


 * Do you mean a sitenotice? The sitenotice can be edited by going to MediaWiki:Sitenotice on your wiki. SUL 13:04, 27 May 2009 (UTC)


 * Yes, that was it. Many thanks !
 * By the way, could you indicate me how to use the same blue and white modify button that they use on pl: and fr: wikipedia? --Calataxia 14:51, 28 May 2009 (UTC)
 * It's been changed in their CSS stylesheets; you can do just about anything with that and JavaScript. Have a look in fr:MediaWiki:Common.css. Happy ‑ melon 15:23, 28 May 2009 (UTC)

Special Upload Pages in Bengali wikipedia
Hello All,

I am from Bengali Wikipedia. We are having a problem with Special Uploading file page in Bengali Wikipedia.We are trying to create the special upload pages as in the English Wikipedia (http://en.wikipedia.org/wiki/Wikipedia:Upload). As an experiment we started with the upload page http://en.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork. We have done all possible options to get the page as in English Wikipedia. Everything worked out fine but we have some problem with the License drop down list. I approached English wikipedia as drop down licence tag in Bengali wiki. At present there is no drop down shown in Bengali wiki at Special Uploading file page. Please check.. We want that. How it possible please help us. And also we want to translate it in our language.How can we achieve this? Thanks in advance.—Jayantanth 05:42, 28 May 2009 (UTC)


 * If I Remember Correctly, some of the features of the upload forms on enwiki and particularly at commons are added using JavaScript. Have a poke through the JS that's loaded on the upload page and see if anything clever is being done. Happy ‑ melon 08:44, 28 May 2009 (UTC)

(Solved) Download a file, edit it and save it online - possible ?
Hello !

Here is what I try to do :
 * create a page
 * create a link to a .DOC document
 * upload the document to the wiki.
 * the user click on the link and choose to Open the document. He modify it and want to save it online (so : directly in the wiki, without a re-upload).

My question : is it possible ? Can we do that or do we have to save the file on the computer, modify it and re-upload it to the wiki ? I want to save time to the users...

Thanks in advance ! --Pierrelabrecque 23:58, 28 May 2009 (UTC)

--24.201.129.40 12:36, 30 May 2009 (UTC)
 * For poeple who want the solution, please visit : http://www.mediawiki.org/wiki/Extension:LaunchExternal . This work fine. I have put the documents on a shared drive (on a server) and the user can open the document, modify it and save it. The next time he open it, the document is up to date, so no need to re-uplaod each time the document via the wiki. A nice extension as for I'm concern.