Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__ = Miscellaneous (unsorted) Issues =

How to find all article that a given user has started?

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log

Is there any way to view all the articles that a user has started? If not, is there a query I can run to obtain this information? —LinguistAtLarge 16:23, 4 November 2008 (UTC)
 * Here's a tool to do this for Wikipedia LinguistAtLarge 19:07, 10 January 2009 (UTC)

Text search with wiki text highligted elements in a word in an article fails in general?

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (apache)
 * MySQL version:  5.0.67-community
 * URL: not free available at thomas-prietz.de because of copy right issues (temporarilly)

If you have parts of words e.g. higlighted oder bold in an article, like:

Customer Relationship Management: Wikipedia CRM

the search will never find the complete word 'relationship' again in this article.

So, a higlighting or other marking method for elements in a word in mediawiki makes the word to a "stealth word" for the wiki search engine.

In my opinion, the search should generally ignore the wikitext syntax.

Any hints like: "Try the single words" or "use google..." are not helpfull, especially for german language with partly very long words.

I found no help at mediawiki.org with "full text search". but some comments can be found with Google. Is there an extension that can cope with this problem or does exist a setting of a search variable? Again, in my opinion it is a bug, not a feature

—Dagon 23:27, 9 November 2008 (UTC)

How to get user account name

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6
 * MySQL version: 5.0.33-log
 * URL:

What is the variable name that returns user's account name? I found, Tuesday , etc. Thanks.

—134.163.255.25 00:54, 13 November 2008 (UTC)


 *   will do (since version 1.13). -Rob. --89.244.189.37 01:39, 20 December 2008 (UTC)


 * MediaWiki 1.13.2
 * PHP 5.2.42-servage8 (apache2handler)
 * MySQL 5.0.51a
 * URL DishiWiki


 * Darn, doesn't work for our MW 1.13.2 wiki. Is it working for you, 134.163.255.25?  Brian7632416 20:26, 9 January 2009 (UTC)


 * There is no CURRENTUSER magic word in the MediaWiki core, and because it would interfere with caching, there probably never will be. The Variables extension includes a simple implementation of CURRENTUSER that you could use. —Emufarmers(T 07:02, 14 January 2009 (UTC)

Transcluding subpages
I'm trying to use subpages to store individual chapters in a book named Baz, and sub-sub pages to store individual sections of each chapter. The chapters transclude the sections using relative includes like rather than the full path  and the top level page transcludes all of the chapters as. If I view the chapter page Baz/Chapter Bar, then the transclusions of the sections look fine, but if I look at the top level page Baz, it tells me that Baz/Section Foo does not exist, which of course it doesn't.
 * MediaWiki version: 1.13.2
 * PHP version: 5.0.4
 * MySQL version: 4.1.20
 * URL: http://www.osresearch.net/wiki/index.php/LaTeX_and_MediaWiki

Is it possible to have the second transclusion take into account the path to the page that generated the transclusion (Baz/Chapter Bar), rather than using the relative path of the page being viewed (Baz)?

—24.126.107.168 04:01, 17 November 2008 (UTC)


 * Following up my own question, Help:Template says that

A page A can transclude a subpage A/B using or, with more control over the name of the page to be transcluded, this name can be constructed from.
 * So if page A transcludes subpage A/B, how would page A/B then transclude A/B/C without using the full path? Or, when transcluded from A,  is there a variable like  that page A/B can use to refer to itself rather than A?  -24.126.107.168 15:40, 17 November 2008 (UTC)

$wgWhitelistRead RequestAccount with EMAILTOKEN

 * MediaWiki version: 1.13.2
 * PHP version: 4
 * MySQL version: 4.1.22
 * URL: http://sbiesterfeldt.de/MF/mediawiki/index.php

Hi,

my DefaultSettings.php looks like: $wgWhitelistRead = false; $wgWhitelistRead = array("Benutzerkonto beantragen", "Spezial:Benutzerkonto_beantragen"); $wgWhitelistRead = array("Request Account", "Spezial:RequestAccount"); $wgWhitelistRead = array("Confirm Account", "Spezial:RequestAccount&action=confirmemail&wpEmailToken="); A new User created a account. The Confimation-E-Mail see a LINK to confirm the Account:

http://sbiesterfeldt.de/MF/mediawiki/index.php?title=Spezial:RequestAccount&action=confirmemail&wpEmailToken=882c633fd99d77ba6f629dce3c6ba0a2

The NEW User click on the Link and see this error Message:

"You must sign-in, to see this page"

Regards

Sascha —62.143.217.163 21:46, 18 November 2008 (UTC)

Error when embedding two special pages

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.0.67-log
 * URL: http://recycleabike.org/wiki/index.php?title=Main_Page&oldid=1608

I am having a problem when trying to embed two special pages into my main page. I want to embed both "Special:Categories" and "Special:Uncategorizedpages". I edited LocalSettings.php to allow these two pages to be embedded. If I embed one or the other on its own, it comes out fine. However, when I embed both into the same page, I get an error - uintelligible text where the "Special:Categories" page should be embedded.

Please help. Thanks. —Mrengy 22:21, 22 November 2008 (UTC)

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.

MATH

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.67
 * Windows XP SP3
 * URL:

I will activate the tag MATH. In the procedure I read : '''Run 'make' (or 'gmake' if GNU make is not your default make). This should produce the texvc executable.'''

I have downloaded MinGW but I don't know what I must do ! What meant "run make...".

—217.136.13.239 16:34, 26 November 2008 (UTC)

Problem after xampp update

 * MediaWiki version: used to be 1.8.2.
 * PHP version: was 5.0.4, now 5.2.4
 * MySQL version: was 4.1.13, now 5.0.45
 * URL: intranet only

Hello,

we used to have an wiki in our companys intranet. After we had to update our server to a newer xampp version (from 1.4.15 to 1.6.4) our wiki doesn't start. I do have the complete old xamp on a different drive, so all data should be save. The Error Message shown is: Can't contact the database server: Unknown database 'dewiki' (localhost) When I run the old xampp locally, I get following error when trying to access the wiki: 

Can I import the old database into the newer sql-database? How is this done, since I can't run the old wiki anymore?

Is it easier to install an all new Mediawiki 1.13.x and import an old export we made a couple of weeks ago? Is this export compatible to the new Mediawiki version?

Thank you for your help. Greetings --195.145.82.17 13:18, 27 November 2008 (UTC)

Different pages, different skins

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.5 (cgi)
 * MySQL version: 5.0.51a-community-log

I am trying to include pages with a dramatically different theme into my main wiki. (My main wiki has a fantasy skin and the pages I want to include are futuristic.) I'd like a different skin specific to those pages and which will load only for those pages. I don't want to simply install a new wiki for the futuristic-themed pages because there will only be a few of them.

Is there a way to set a specific skin on any individual page that is different from the wiki's default skin? —Iceofwolf 07:29, 2 December 2008 (UTC)

Creating archive of wiki project
Can I create an archive of my wiki project, e.g., CDROM or ohter meida for storage and documentation purposes? If so, how?

—63.80.243.2 21:26, 3 December 2008 (UTC)

Question, Language Dictionary

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.51b-community-nt-log
 * URL: testing at localhost

Hello MediaWiki Team, I just started to use MediaWiki software last week. I have basic of PHP and MySQL. I want to make my own Language Dictionary Online for myself and my friends and hope it will be helpful when we live abroad. I see this site is making so good: http://tratu.baamboo.com/ They have: English-Vietnamese, Vietnamese-English, Vietnamese-French, French-Vietnamese ... Their links are: I also asked them how-to's but they did not respond me. If I want to do by their way, for each dictionary I have to upload MediaWiki software to each folder: like bolded texts up (en_vn, vn_en ... ) ? I hope you will help me. Thank you very much —Thanhdat 22:16, 4 December 2008 (UTC)
 * http://tratu.baamboo.com/dict/en_vn/special:allpages
 * http://tratu.baamboo.com/dict/vn_en/special:allpages
 * http://tratu.baamboo.com/dict/fr_vn/special:allpages
 * http://tratu.baamboo.com/dict/vn_fr/special:allpages

Is there a way to force a group of pages in our wiki to have a particular skin?

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.4-2ubuntu5.1 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5
 * URL: not publicly available (is on company intranet)

I hope this is the appropriate place to post this question. (if not, my apologies!)

I'd like to find out if there is a way to force a group of pages in our wiki to have a particular skin.

The reason I am keen to do this is that we have a wiki which works great, but I would like to store help pages for an application we have in the wiki and link to those pages direct from the app. Although we wouldn't have concerns with people seeing the non-article stuff when viewing the pages from the rest of the wiki, for it to be streamlined when viewed from the application I thought it would be ideal if I gave it a simplified skin which I would design.

I have already found out that URLs can have the useskin= added (e.g. as is done in the Preview Skin page within the User Preferences pages), but following the links will revert you to your normal chosen skin.

Is there perhaps some way to adjust the skin, so that all the links contain useskin=? (I think this might have issues, since you appear to need the full pagename for useskin to work (e.g. ..../w/index.php?title=blah....&useskin=cologneblue as opposed to the short URLs).

If this isn't a smart way to go, I could consider different approaches (I run the box the wiki is on and could create a distinct wiki perhaps, although there might be disadvantages to this, such as needing to combine the user tables and maybe this would still pick up the user's preferred skin unless I re-coded things).

Any sensible suggestions gratefully received! Let me know if there's any more info you might need or if I need to clarify any points about my objective.

Many thanks, Neil —NStoker 12:41, 11 December 2008 (UTC)

Slowness

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (cgi-fcgi)
 * MySQL version: 5.1.29-rc-community
 * URL: intranet

We have installed MediaWiki on a Windows 2003 Server with IIS. Every time we access WikiMedia on it (locally or via another network computer) it takes a long time before it shows up. You can instantly see the title bar at the top showing the correct name, but it looks like it's waiting for something to continue. After about 10 seconds it shows the page. When you then go to another page it works perfect.

So, only when first accessing it will it take about 10 seconds to show the page.

Hopefully there's a solution for this.

—193.173.57.41 12:13, 12 December 2008 (UTC)

FAQ functionality support?
My question is: Does MediaWiki support FAQ functinality with a set of files (PHP) for the host to receive and answer questions from end user.
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Or is this support desk function is the only one available?

Thanks! —204.64.79.29 16:40, 15 December 2008 (UTC)

How to allow MediaWiki access only to registered users?
Hello,
 * MediaWiki version: 1.9.2
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 4.1.22-max-log
 * URL: private

I installed MediaWiki as organisation platform for some friends of mine. I want only registered users to view and edit pages. Unregistered users should first create an account. Is there a way to avoid that unregistered users can view and edit my MediaWiki?

Thanks a lot —192.251.226.205 13:24, 17 December 2008 (UTC)


 * Manual:User rights —Emufarmers(T 02:55, 18 December 2008 (UTC)

-*-*-*-*

You do this by inserting following codes at bottom of your LocalSettings.php file;

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = false;
 * 1) Stop anonymous user from editing any page
 * 1) Stop anonymous user from reading any page

Restoring Help Pages

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.5
 * MySQL version: 5.0.51a
 * URL: (local)

I transfered my existing phpwiki to MediaWiki using a third party perl script and it seems to have deleted all of the MediaWiki help pages. What is the best way to restore them?

—24.46.115.83 15:47, 18 December 2008 (UTC)

Clearing Spam out of Database

 * MediaWiki: 1.5.7
 * PHP: 4.4.8 (cgi-fcgi)
 * MySQL: 4.1.21-log
 * Extensions:
 * Other: ConfirmEdit, Simple captcha implementation, by Brion Vibber
 * Extension functions: confirmEditSetup
 * URL: http://www.handicappedpets.biz/wiki

I am a Novice:

I've noticed that my database has filled up with 50 megs of Junk/Spam. They don't appear on the wiki - buy they are in the database.

The only way I can see to clear these entries out is one-by-one -- and that can take forever. Is there a method or extension that will let me clear out unwanted entries.

I do have direct access to the sql database with MyPHPAdmin if that helps. Thank you Mark C. Robinson HandicappedPets.com

—70.20.42.13 15:00, 19 December 2008 (UTC)

Viewing an image uses in excess of 100MBytes of memory.

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.4-2ubuntu5.4 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.4
 * URL: http://localhost/mediawiki/index.php/Image:Electrolux_5995500930-011.png

Viewing an image uses in excess of 40MBytes of memory.

I had to increase the PHP memory to 80M in order to avoid the 'unable to allocated memory' error. Yes I have over 100K images. I have a significant number of images left to upload and would like to make sure the the memory image does not grow again. If you need I can open my firewall temporarily. Please let me know what I can do to help.

—24.6.151.162 16:01, 19 December 2008 (UTC)


 * So what's the problem? —Emufarmers(T 20:26, 19 December 2008 (UTC)

How much memory do you think a PHP script should use? It is recommended in this site that you should set the maximum PHP memory to 32MB not 80MB. Should I expect to increase the memory base on the number of images I have?


 * Wikipedia and the other Wikimedia Foundation wikis all have a memory limit of 80MB. One article on this site says to raise the memory limit: it gives 32MB as an example, not a rule. —Emufarmers(T 08:17, 21 December 2008 (UTC)

The PHP script just exceeded 80MB.. I would consider this an issue with the script.

>> Fatal error: Allowed memory size of 83886080 bytes exhausted (tried to allocate 86 bytes) in /usr/share/mediawiki/includes/filerepo/LocalFile.php on line 249


 * I did a little research on the issue. Because of the nature of the content I have on my wiki there are one or two images that are duplicated many times with different names. This is not a problem for me as the images are very small. What I discovered is that the image view page searches and lists all of these duplicates. The resulting page is very large causing the memory issue. Can the scripts be modified to only list the first 100 or so?

Statistics
With the code : Special:Statistics I can see automaticly how many pages there are on my wiki. Is there also a code to see how many pages has been vitites totally on my wiki ? Thanks...

—82.173.153.235 08:44, 21 December 2008 (UTC)

Custom Login Page & Passing Login Info

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.62
 * URL: Currently its development site

Hi. I'm currently working on mediawiki on my company's project. I like to know is there any reference on creating custom login page? also I like to send logged in user from our secure page to (our)mediawiki site, so they are automatically logged in. Please advice.

—12.17.95.135 15:25, 22 December 2008 (UTC)

PHP shell for Windows Server 2003?
I have downloaded php shell; however, it claims to be for Linux and I don't think it will work on a windows server 2003 system. I can't run any of the maintenance scrips. Nothing else that claims to work for Linux has worked for me yet. Is there a way to just make the maintenance scrips work without the benefit of the php shell? Any suggestions? —Coop 05:38, 23 December 2008 (UTC)
 * MediaWiki version: 1.13.3
 * PHP version: 5.2.5
 * MySQL version: 4.1.22
 * URL: http://mysticdragonorb.com/wiki/index.php?title=Main_Page

Can I require more information in "Create Account" Page?
Besides ID and password,I would like to require more information, such as birthday, when a user wants to register. Also, can I define which field is required and which one is not? Thank you!
 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.67
 * URL: N/A

—Coulomb 23:41, 27 December 2008 (UTC)Coulomb

Manual:Skinning is outdated
The article Manual:Skinning is outdated. Don't supports the categories. What I must do? Do I must include some template in the article?Eloy 13:02, 31 December 2008 (UTC)</DIV>

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 [<a href='function.session-start'>function.session-start</a>]: 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 above the logo

 * 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

</* generated javascript */ var skin = 'monobook'; var stylepath = '/skins'; /* MediaWiki:Common.js */ /* Any JavaScript here will be loaded for all users on every page load. */ /* MediaWiki:Monobook.js */ /* Any JavaScript here will be loaded for users using the MonoBook skin */ This is the  for the logo <a accesskey="z" title="Visit the Main Page [alt-shift-z]" href="/index.php/Main_Page" style="background-image: url(http://10.10.10.10/images/LOGO.JPG);"/>

what could be generating that character "<"?

Created arricles by a user
Is there any way to see all the pages (articles) created by a user in a wiki?--117.196.166.166 08:01, 9 January 2009 (UTC)


 * And 10:53, 14 January 2009 (UTC) You should have "my contributions" in the "personal tools" toolbox (or top right, depending on your skin) - this links to Special:Contributions/User.Name and you can just change the user name accordingly. However, this shows all pages that the user has edited as well as created, so it's not exactly what you need, but it's the closest I know of.

(RESOLVED) MediaWiki for Mac?
do you have any mediawiki download available for MacIntosh users?

Birgit Birgit.Woelker@ncc.edu —72.89.79.27 18:47, 9 January 2009 (UTC)


 * MediaWiki is cross-platform software, and it runs well on *nix systems as MacOS X is one :-) So there are no different download options for different OS. -- :bdk: 22:12, 9 January 2009 (UTC)

(RESOLVED) How do I get a main table of content for my wiki??
MediaWiki version: 1.13.2 PHP version: 5.1.6 MySQL version: 5.0.45 URL: local

Hello, I really need to get a table of content (A-Z index) on my main page or the portal page. I search the whole day but I didn't find it; hop it's quite easy... [mailto:info@ks68.de] --IP 12 January 2009


 * Reply
 * How to edit a page

add the heading between == heading 1 == == heading 2 == == heading 3 == == heading 4 ==
 * --IP 12 January 2009


 * Three suggestions (dunno what exactly you want to achieve):
 * For a "normal toc" add the TOC magic word to the page in question (only works well if you already have at least one heading on the page); but a toc is automatically displayed if there are at least four headings (like ==A==</tt> to ==Z==</tt>), see en.wikipedia help).
 * For an "A-Z index" include Special:Allpages by adding  to a page – this will be displayed differently, depending on the total amount of articles in your wiki (either really all pages, or subsection links).
 * A neat alternative could be Extension:CategoryTree (if you have categorized all articles and have a main category).
 * -- :bdk: 02:13, 13 January 2009 (UTC)

Thanks so much until now but this is not exactly what I need: I want to have a A-Z index on my main page. It's a special content in our wiki and if there is no table of content directly on the first page, people don't know which for which articles they should search. – Like in a book: index at the beginning. I don't want the users seachr for "all pages"... http://www.boehmkobayashi.de/wiki/index.php/B%C3%B6hm_Handelszentrum I will search through the "how to edit". which is a super-useful page I didn't find before – just starting.

Email notification on deleted watched pages says "page created"

 * MediaWiki version: 1.13.2
 * PHP version: PHP 5.2.4-2ubuntu5.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 25 2008 22:10:31)
 * MySQL version: Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
 * URL: not a public wiki

I have configured a wiki working just fine, with email notifications activated - working great! However, when watching a page being deleted (and not being the user deleting the page, which would not generate a notification) the page is reported as being "created". That is a little misleading as least :)

Users set to be notified OnAllChanges gets the same message when a page is deleted: "created". I've been looking into the code and I guess the problem may be that "created" is selected when $this->oldid is unset, which probably also is true when pages are being deleted.

Thanks for a great project!

Regards

Rikard Mathisson, Senior Software Engineer

—62.95.110.200 14:08, 13 January 2009 (UTC)


 * Filed as bug 17016. Thanks for reporting! —Emufarmers(T 06:44, 14 January 2009 (UTC)

(RESOLVED) Problem with Internet Explorer 7 (IE7)
I am posting this even though I've fixed the problem, in case anyone else encounters it.
 * MediaWiki version: 1.13.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67
 * URL: n/a (it's internal anyway!)

With the above configuration, which worked well on Solaris 10/Apache 2.2.6 with IE6, Safari, Chrome and Firefox, when I went to the site using IE7, I never reached it - the status bar flickered away for ever and analysis of the traffic showed that etags were being bounced back and forth between the client and server. I installed Apache 2.11.0 no_ldap (from Sunfreeware) and the problem disappeared.

—And 10:21, 14 January 2009 (UTC)

External authentication

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6
 * MySQL version: 5.0.51b
 * URL:

My company uses a web based authentication for webpages. In a nutshell, a webpage would redirect to this authentication page which handles all userid/password input, etc. and then returns to the sending page with cookies. It's then up to the page owners to decide how they want to use that information. Is it possible to change the MediaWiki login code (easily, not rewriting MediaWiki) to perform this redirect and call my own .php code to handle the cookies? If so, any help would be appreciated. What files do I need to modify? What cookies/variables/etc do I need to set so MediaWiki knows who and what permissions the user has? etc. Thanks! —72.77.231.3 15:05, 14 January 2009 (UTC)

Page Language Selection
Hi, Im very intrested to Language Selection's method used on Mediawiki.org. I tryed to install it on my wiki. I created the 2 templates Template:Language and Template:Language/Lang, and installed Extension:ParserFunctions. I created Page called like MyPage for default and MyPage/en for English. It seems to work when the page with default language is loaded, but if i load another page with different language, it seems that the Template is not able to recognize the language and the Template is not working.
 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8 (cgi)
 * MySQL version: 5.0.68-log
 * URL: http://lnx.gestioneacquario.org/wiki/

Can you help me? There is an example on my site on Main Page.

Thanks

Marco

—195.103.112.184 15:09, 14 January 2009 (UTC)