Project:Support desk/Archives/Miscellaneous/007

(RESOLVED) Menu modification in the left side of the sheet

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.0 (apache2handler)
  • MySQL version: 5.0.27-community-log
  • URL: N/A (internal usage)

Hi everybody

I am trying to go deeper in the Wiki usage. One of my first questions is the following: How is it possible to change the content of the left part of the sheet?

After installation of my Wiki, the menu has 3 sections (Navigation - Search - Toolbox). Is it possible to add more sections? Can we add/modify/remove a link in one section?

Thanks in advance for your help.

Manu —195.130.159.210 06:35, 19 December 2008 (UTC)[reply]

See Manual:Sidebar --:bdk: 02:49, 26 December 2008 (UTC)[reply]
Thanks very much for your help - Manu

Hi, I am using the Mediawiki software, version 1.12.0. I have about 1,200 articles with about 200 articles in various stages of completion. On completing each article, I protect it to prevent vandalism, if any. As I am practically the sole author of the website, I would like to tweak the random page link so that only protected pages are shown when a user click the random page button. How do I go about doing that? — PM Poon 03:01, 22 December 2008 (UTC)[reply]

Please have a look at Brion's note at en:Wikipedia:Village pump (technical)/Archive 51#Random Article Improvements (his comment also applies to your idea). Perhaps talking to some devs on IRC will help you to develop such a new feature … If you are ok with categorization instead of protection as a criterion then have a look at Extension:RandomInCategory. --:bdk: 02:49, 26 December 2008 (UTC)[reply]

(RESOLVED) SVN error

I can't actually get the latest version from SVN - the tortoiseSVN client I used said that it could not access svn.wikimedia.org - has the SVN gone down?? —82.42.237.84 13:26, 29 December 2008 (UTC)[reply]

Yup, SVN is down for some hours, see mailarchive:wikitech-l/2008-December/040737.html and 2008-12-29 11:24 mark: Shutting down and unracking mayflower (subversion) [from the server admin log]. Please be patient :-) --:bdk: 14:15, 29 December 2008 (UTC)[reply]


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)[reply]

In the MinGW/bin directory there must be an mingw32-make.exe. Copy and rename it to make.exe. Put these path into the %PATH% environment variable. Now start cmd.exe and go to the /wiki/math directory and execute 'make'. TG, 87.193.172.106 14:31, 27 January 2009 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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=<skin-name> 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=<skin-name>? (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)[reply]

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)[reply]

FAQ functionality support?

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

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.

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

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

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)[reply]

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)[reply]

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

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)[reply]

So what's the problem? —Emufarmers(T|C) 20:26, 19 December 2008 (UTC)[reply]

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|C) 08:17, 21 December 2008 (UTC)[reply]

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|{{NUMBEROFARTICLES}}]] 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)[reply]

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)[reply]

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) Well... I just built a Linux system and perhaps now I can have my cake and eat it too. --1/31/09[reply]

Can I require more information in "Create Account" Page?

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6
  • MySQL version: 5.0.67
  • URL: N/A

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!

Coulomb 23:41, 27 December 2008 (UTC)Coulomb[reply]

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?

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)[reply]

  • 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.[reply]
  • The Special:NewPages function allows you to specify a user name, seeing all new pages that user has created recently. I think it only goes back to whatever you have the $rcMaxAge (IIRC) variable set to. --Greg (68.49.33.97 20:13, 17 January 2009 (UTC))[reply]

(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)[reply]

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)[reply]

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... [1] --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== to ==Z==), see en.wikipedia help).
  • For an "A-Z index" include Special:Allpages by adding {{Special:Allpages}} 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)[reply]

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"...

I will search through the "how to edit". which is a super-useful page I didn't find before – just starting. --IP 14 January 2009

Well, I can only see 8 "articles" in your wiki at the moment. Why not choose option 2 then?
Please note, that Special:Allpages (default: main namespace) actually is MediaWiki's built-in A–Z index. I do not know of any other automated way to do what you want obviously.
Another very basic option would be, of course, to simply edit your main page and manually add the pages in question with ordinary A–Z headings … --:bdk: 12:24, 19 January 2009 (UTC)[reply]

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)[reply]

Filed as bug 17016. Thanks for reporting! —Emufarmers(T|C) 06:44, 14 January 2009 (UTC)[reply]

(RESOLVED) Problem with Internet Explorer 7 (IE7)

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.67
  • URL: n/a (it's internal anyway!)

I am posting this even though I've fixed the problem, in case anyone else encounters it.

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)[reply]

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)[reply]

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.

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)[reply]

(RESOLVED) ED

Hi, I would like to ask that you remove the page

encyclopediadramatica.com/Krystole

from your documents. These are all lies taken from some over dramatic loser who has no better then to belate others on their life. The pics are illigally optained from a private collection and are not for public viewing. It is sick what you let people blog about on your pages. These lies should not be aloud to be published due to the slander effect it could have on her. So i ask again for you to please remove this page from your archives. Thanks

Shawn Hele Shawnhele@hotmail.com —24.235.202.190 20:52, 14 January 2009 (UTC)[reply]

MediaWiki is free software and can be used by everybody for whatever content. We here at mediawiki.org are not responsible neither for third party uses of MediaWiki nor for content that third parties add to their website (content issues are independent of the engine that is used to run a site), and we can't help with respective problems. – Please contact the actual owner (or contributors) of the site you're concerned about.
In this precise case you might want to have a closer look at this article on Wikipedia first. I hope this helps. --:bdk: 12:24, 19 January 2009 (UTC)[reply]

x64 support

  • MediaWiki version: mediawiki-1.13.2
  • PHP version:5.2.6-2ubuntu4
  • MySQL version: MySQL 5.0.67-0ubuntu6

does the engine work on x64 system? I have the following message on my x64 ubuntu instead the main and other pages

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 24 bytes) in 
/home/deda/Docs/Sites/wiki/includes/SpecialPage.php on line 161

On my x32 system MediaWiki works properly.

The parameter memory_limit is same in both systems (it's equal. 16M). I tryed to enlarge it in 64x to 25M but the bug is still recreated.

Daniil

MediaWiki should work fine on x64 machines. Increase the memory limit until PHP stops running out of memory. If the error isn't changing, then your memory limit is probably being overriden in LocalSettings.php or an .htaccess file; the error you pasted indicates that the memory limit was 20MB, but you just said it was 16MB. —Emufarmers(T|C) 09:11, 18 January 2009 (UTC)[reply]

Thanks. I'll try it. Error above is from one intermediate result

Links that have some parentheses get percent-encoded (in the above URL, Test (1) is linked to Test_%281%29, which is ugly. Wikipedia sites do not show the problem. How to configure MediaWiki to not percent-encode these links? —Charlesb 13:48, 18 January 2009 (UTC)[reply]

Wikipedia uses aliases instead of mod_rewrite. —Emufarmers(T|C) 05:57, 19 January 2009 (UTC)[reply]
Thamks for the answer, but I don't see what is has to do with url rewriting? I'm talking about the hrefs of wiki links, so for me the percent-encoding is made at page generation.
My server is down, so I reformulate my problem here:
the following wiki markup [[Test (1)]] is rendered in the article page as
<a href="/wiki/Test_%281%29" title="Test (1)">Test (1)</a>. On wikipedia, it is rendered as
<a href="/wiki/Test_(1)" title="Test (1)">Test (1)</a>
So when the link is followed, on my site the user gets those percents in the adress bar, but not on Wikipedia. Sounds like a detail, but I'm curious
--Charlesb 07:41, 19 January 2009 (UTC)[reply]
I should have stated the connection: my testing indicates that wikis that use rewrite rules have parentheses encoded in links, while wikis that use aliases don't. —Emufarmers(T|C) 13:01, 19 January 2009 (UTC)[reply]
OK, I trust you, but I think that there is something else. Alias or RewriteRule don't change the hrefs in page links, do they? Did you really test on the same server/config, switching from Alias to RewriteRule, and saw the difference? --Charlesb 23:45, 19 January 2009 (UTC)[reply]
No, I was lazy. I checked two unrelated wikis that I knew used rewrite rules and found that they both had encoded parentheses in links, and then I checked two unrelated wikis that I knew used aliases and found that neither had encoded parentheses in links.
I can't resist a challenge, though, so I went ahead and duplicated one of my wikis and changed its configuration to use rewrite rules. Parentheses in links remained unencoded. (I could have saved myself the trouble if I had thought more carefully about what you said and realized that my theory made no sense :)). Then I had an insight and did some more testing and determined that parentheses get encoded in 1.13.3 but not in 1.14/1.15. For confirmation, I checked the 1.14 patchnotes and found 'Unescape more "safe" characters when producing URLs, for added prettiness'. —Emufarmers(T|C) 13:11, 20 January 2009 (UTC)[reply]
That's right, 1.14 behaves correctly. The code that does the job is in GlobalFunctions.php:
 function wfUrlencode( $s ) { 
 	$s = urlencode( $s );
 	$s = str_ireplace(
 		array( '%3B','%3A','%40','%24','%21','%2A','%28','%29','%2C','%2F' ),
 		array(   ';',  ':',  '@',  '$',  '!',  '*',  '(',  ')',  ',',  '/' ),
 		$s
 	);
 	return $s;
 }
Thanks a lot!--Charlesb 16:00, 25 January 2009 (UTC)[reply]

HTTP/500 when trying to edit a page

  • MediaWiki version: 1.13.3
  • PHP version: 5.2.6 (CGI)
  • MySQL version: 5.0.67-community
  • URL: protected/no external address

Summary: When I try to edit a page, I get a 500 Internal Server Error. Steps to trigger: Go to Main Page, click edit, press Save. Details: I have installed MediaWiki several times, and have never had this issue before. I am not certain if this has anything to do with the problem, but PHP has a lower memory limit than usual (this is not under my control). Also, I believe PHP is running as CGI.

Thanks ahead of time!

- Ben —69.249.106.162 02:52, 19 January 2009 (UTC)[reply]

please remove this following ED page

I dont know which one
  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:


Hi there,

It would appear as if that what I am about to complain about here, is often a complaint that is put forward to you on here from other people, and from reading the replies to other peoples similar complaints, it almost seems as if we are powerless to get any action done about it.

A malicious and slanderous profile has been made about me here >>>>> encyclopediadramatica.com/Robfalcon , and it would seem as if this website is provided to actually encourage and provoke this type of anti-social (and possibly illegal) behaviour, especially when you take note of the fact that if you join AE and attempt to delete the very article about yourself, you are given an automatic ban and then patronised about how butt-hurt you are. I find this operation as very biased and one sided, if other people are given the right and freedom to write up malicious and slanderous articles about somebody, then surely that somebody also has the right to delete and remove the very page about themselves?. This page even contains my real name and where I live in the country.

And from reading the reply you gave to somebody else, your main sentiment stressed to them was this wikipedia article here >>>>> en.wikipedia.org/wiki/Encyclopedia_dramatica. Im very sorry, but I find this so hard to swallow. If you went around doing this sought of behaviour in real life (like writing up a malicious and slanderous book or video documentary about somebody for example, and then putting it up for sale for mass viewing), im very sure you would be arrested for it and be charged for breaching the malicious communications act ect, but if you do it on the internet however, you have yourself a loophole for it.

My email address is here if you wish to resolve the issue this way >>> kraal7718@hotmail.co.uk

Bokken1234 12:10, 24 January 2009 (UTC)[reply]

This site documents the MediaWiki software. Because the software is free, nobody here can control how it is used. ED is a site that happens to use the MediaWiki software; ED is not hosted here. —Emufarmers(T|C) 02:01, 25 January 2009 (UTC)[reply]

Will this upgrading approach works?

Hi, I am so worried about upgrading that I am now 3 versions behind time. I was wondering whether this approach can work:

Hi, I am using Mediawiki software Version 1.10. I have not been updating the software for fear of messing it up. I was just wondering...

Supposing my Mediawiki folder is "Wiki". I upload the new version 1.13 in another folder called "Wiki1" and then do the following:

  • Set the database to the existing one when I install the new software.
  • Change the old Wiki folder name to Wiki2
  • Change the new Wiki1 folder name to Wiki. — PM Poon 18:11, 24 January 2009 (UTC)[reply]
If you're worried about messing things up, back up your wiki before you upgrade. Once you've done that, follow the upgrade instructions. —Emufarmers(T|C) 02:06, 25 January 2009 (UTC)[reply]

Range Block not working?

  • MediaWiki version: 1.9.3
  • PHP version: 5.1.4 (cgi-fcgi)
  • MySQL version: 4.1.13-log
  • URL: www.footysa.com

I'm writing as a sysop. The site is having very bad spam problems that are proving difficult to control. The owner is absent and uncontactable, so I tried some range blocks. However it refuses to do it claiming an Invalid IP range. The ranges are;

  • 58.14.0.0/15
  • 58.16.0.0/13
  • 58.24.0.0/15

This is the start of a long effort to block Chinese IP's - which appear to be the source of the majority of the spam given the sites being advertised. My user name on the site concerned is Spybuster. TLPGHOME YACK 11:26, 25 January 2009 (UTC)[reply]

Range blocks must use a CIDR affix between 16 and 32. —Emufarmers(T|C) 23:16, 25 January 2009 (UTC)[reply]
Huh? I checked the range again through my own provider (banning everything from 58.14.0.0 to 58.23.255.255) and the first two ranges listed above are what I got back - including the CIDR affix. How can that be wrong? Unless - are you saying that these ranges can't be banned from a Wiki because of the CIDR limitation? TLPGHOME YACK 05:43, 26 January 2009 (UTC)[reply]
Yes. Consult the range block documentation. —Emufarmers(T|C) 21:09, 26 January 2009 (UTC)[reply]

How to remove sitenotice from Main Page only

Hi, I would like to remove the sitenotice from my homepage only. How do I go about doing it? — PM Poon 15:53, 26 January 2009 (UTC)[reply]

How can I place an anouncement on my wiki, so that is is showned at the top of every page ? Greeting, Ivar

82.173.153.235 13:08, 28 January 2009 (UTC)[reply]

Edit http://www.spiriwiki.com/index.php?title=MediaWiki:SitenoticeEmufarmers(T|C) 18:22, 28 January 2009 (UTC)[reply]

importDump does not import tag brackets

  • MediaWiki version: 1.10.x and 1.13.3
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.67
  • URL: (intranet)

I use dumpBackup to export my Wiki. When importing with importDump all < and > are gone. This is true for some html tags but also e.g. for math tags. The exported XML file contains the brackets as "<" and ">", the database does not contain anything anymore, so it is an import issue, not just a rendering problem. I tried to use "<" and ">" instead in the XML file - without success.

Ralf

217.86.56.34 13:25, 28 January 2009 (UTC)[reply]

Update: Also stuff like " is removed... I tried on another system and there it works. Can it be that this is somehow related to some PHP settings? on the working system I have php 5.0.4 on the failing system i have 5.2.6. Configurations files look the similar (as far as I can see).

Ralf

--217.86.56.34 10:45, 29 January 2009 (UTC)[reply]

This is a known issue (see bug 16554 for our bug). Unfortunately, it's an issue upstream with PHP and libxml2 (see PHP bug 45996 for their description). At the moment, the only known workarounds are to compile PHP with libexpat or downgrade libxml to a very old version (at least < 2.6.32). I had the same issue and I did the former (recompile with libexpat). ^demon 01:11, 8 February 2009 (UTC)[reply]

php dumpBackup.php error?

I set $wgDBadminuser and $wgDBadminpassword in AdminSettings.uhp to the same as $wgDBuser and $wgDBpassword in LocalSetttings.php

And when I try to run dumpBackup.php:

   php dumpBackup.php --full > filename

I got this error message:

   DB connection error: Can't connect to local MySQL server
   through socket `/var/mysql/mysql.sock' (2) (localhost)


Any idea on what may be wrong and how to get around this?

Skong 1999 19:35, 28 January 2009 (UTC)[reply]

Cannot Download Zip File

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:


I'm unable to download the zip file for the latest version. I'm getting a page cannot be displayed in the browser. When I choose "Save target as" (on windows, IE) the file is not found. Anybody know why I can't download the file?

Ndeptula 04:25, 30 January 2009 (UTC)[reply]

The packages are tarballs, not ZIP files. Are you downloading from the primary link on the download page? —Emufarmers(T|C) 06:26, 30 January 2009 (UTC)[reply]


91.66.168.204 11:19, 2 February 2009 (UTC)[reply]

Restrict change of pictures on user pages only to users

  • MediaWiki version: 1.13
  • PHP version:
  • MySQL version:
  • URL:

Hello, I want to configure mediawiki the way to restrict editing of userpages (with the ldap extension) only to users.

Is there a way to restrict uploaded pictures to that pages the same way?

Noone should be able to overwrite someone else's photo.

Thanks, Norbert


91.66.168.204 11:21, 2 February 2009 (UTC)[reply]

SSL during login???

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Why is there no SSL during login to your site????

69.3.103.229 18:59, 2 February 2009 (UTC)[reply]

It's available if you need it. —Emufarmers(T|C) 08:51, 3 February 2009 (UTC)[reply]

UNTITLED

Hi, we have a problem with user's being unable to open our wiki url page unless they have internet access/proxy setup. All user's with internet access and have the network proxy setup will work ok.

Any help on this matter would be appreaciated. Thanks


194.217.113.142 16:24, 3 February 2009 (UTC)[reply]

Name Space Detetion

  • MediaWiki version: 1.10.1
  • PHP version: 5.2.0
  • MySQL version: 5.0
  • URL: (internal)

When using {{namespace}} is there a way to to it to replace to the null value you get when it's on an article? Like if null, return Article. I want to have a template that can say, "This {{NAMESPACE}} is blah blah,ect." But it doesn't work on articles. —190.140.123.122 00:41, 4 February 2009 (UTC)[reply]

Need help moving wiki to a new server

  • MediaWiki version: 1.6.10
  • PHP version: 4.3.8
  • MySQL version: 4.0.2 standard
  • URL: not online

Hello - we are moving our wiki to a new server. I was told by our new host that I can just move my whole wiki directory to the new server and that I won't need to reinstall MediaWiki. What file(s) do I need to reconfigure - our database has a new name (same DB - just a new name). Thank you! —Lhaslauer 03:25, 5 February 2009 (UTC)[reply]

'editsection' without brackets?

In my own wiki, I removed the brackets from MediaWiki:Editsection-brackets, however, they are still shown in the wiki. How can I make these brackets disappear? --80.242.205.94 17:35, 8 February 2009 (UTC)[reply]

Gadget Extension, Problem with Navigation_popups installation

I installed the Gadgets extension, because I wanted to add the Navigation_popups gadget. After installing the correct version of Gadgets extension I added the Navigation_popups following the instructions:

- add Gadget-popups.js script
- add Gadget-navpop.css script
- add * Navigation_popups|popups.js|navpop.css in the Gadgets-definition page
- create Gadget-Navigation_popups page for a description of the gadget

I then selected this gadget under the Preferences/Gadgets section, and I did bypass the browser's cache but the popup gadget still didn't work.

I installed another gadget, wikEd, to make sure that my installation procedure was correct, and this gadget works fine.

Can you tell me what I am missing on the Navigation_popups gadget installation?

Thank you,

Erioni 02:51, 8 February 2009 (UTC)[reply]

Accessing Wiki via LAN /DynDNS impossible

  • MediaWiki version: 1.12.4
  • PHP version:5.2
  • MySQL version: 5
  • URL: not available, that's the problem

My newly setup Webserver (Mac mini, Mac OS 10.4) is accessible via LAN and DynDNS (Apache-Welcomepage displays as expected). But when I want to see the also installed Wiki, mediawiki-software seems to somehow rewrite the URL (for exampe from xxx.dyndns.info/wiki to rars-mac-mini.local/wiki, with "rars-mac-mini.local" being the local LAN-name of this Mac) - making the browser stating a "not found" error of course. Since that only happens with the wiki, I ask if there's something in mediawiki-software which causes this rerouting?

87.180.241.237 14:19, 8 February 2009 (UTC)[reply]

MediaWiki is only following your webserver's settings. If for whatever reason you don't want to reconfigure them, just set $wgServerName yourself in LocalSettings.php. —Emufarmers(T|C) 22:38, 9 February 2009 (UTC)[reply]
thank you, trying that today.--87.180.231.32 06:57, 12 February 2009 (UTC)[reply]

BlockMe

What is BlockMe? How can I test this feature in my wiki (mw 1.15)?—Kwj2772 14:50, 8 February 2009 (UTC)[reply]

  • MediaWiki version: 1.6.7
  • PHP version: 5.1.4-pl4-gentoo (apache2handler)
  • MySQL version: 4.1.21-log
  • URL:

I want to edit the wiki pages using scripting language like perl. So that i can edit the pages with automation. This is one of my requirement in the project. Please help me how to do it.


148.87.1.167 11:25, 9 February 2009 (UTC)Sreekanth[reply]

Secure on XP?

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

General question, hence none of the above information. Is it possible to host a wiki open to the internet on a computer running XP while still being secure ie people cant damage that computer nor any others on my network? What precautions should I take? And do I need to take any if I use a Linux based OS instead? Thanks

Tiddly Tom 19:40, 9 February 2009 (UTC)[reply]

You should first ask whether it's safe to run a server in your environment; if you're concerned about the data on your computer or network and you don't really know what you're doing, then maybe you should find another host. As far as MediaWiki goes, it's designed to be secure, but running an application on a server always carries some amount of risk. —Emufarmers(T|C) 23:13, 9 February 2009 (UTC)[reply]

large page no longer loading

  • MediaWiki version: 1.12.0
  • PHP version: 5.1.6 (apache)
  • MySQL version: 4.1.22 standard log
  • URL: www.wikicrimeline.co.uk


Hello, I have a page on my wiki which I think is simply too large, for some time now it will simply not load, is there any way I can rectify this? I have very little by way of computer skills!

http://www.wikicrimeline.co.uk/index.php?title=Criminal_Justice_Act_2003

many thanks

86.145.142.119 15:44, 11 February 2009 (UTC)[reply]

Custom Cookies Problem on Login and Discussion Pages

Product Version

MediaWiki 1.13.4

PHP 5.2.8 (apache2handler)

MySQL 5.1.30-community

visited from 127.0.0.1


I'm using the monobook skin and modified monobook.php to include setting a cookie. Everything works great and as expected until I click on "login" or "discussion" and then the cookie resets or becomes not available or something.

The cookie is set to http://www.domain.com and displayed using a variable. It is checked against a referrer containing the string "wiki" so that it doesn't get reset on the wiki. When I go to login or discussion (when logged in or not) the variable I use to display the cookie shows http://127.0.0.1/mediawiki/index.php/Main_Page even though it successfully finds "wiki" and does not enter the set cookie code or the set variable code. THe variable is $forumlink and the cookie is "returnToForumLink" so they shouldn't intersect with anything else.

I've output the steps to check and set the cookie and the steps between the main page and login are identical. Main page, and all the other links work, but login doesn't. The variables are all unique, and the cookie doesn't use any site prefix. I've located the function clearCookies, but it is not called on the login page. I've looked at all the other code that contains setcookie.

I don't use the &cookie array. I don't use $wgCookiePrefix. I'm guessing this is some kind of security measure, but I can't figure out what is going on. Is there some way I can work inside of the existing cookie structure and have my cookie come through on these two pages? OR Where is the security function that is doing this? (I can decipher and decide whether to bypass with this one value, I just can't find it.)

This is all done in PHP in monobook.php. This is my first wiki project, but I'm familiar with php.

TIA

Jage 07:41, 13 February 2009 (UTC)[reply]

Site background

A MediaWiki site uses a background different from the default one (the grey book pages). What do I add to my monobook to make the default one appear? MassimoAr 19:11, 13 February 2009 (UTC)[reply]

1) spam 2) security of our old version 3) email list to be notified of security updates

  • MediaWiki version: 1.5.7
  • PHP version: 4.4.9 (cgi-fcgi)
  • MySQL version: 4.1.21-log
  • URL: private

I am new at helping admin the wiki.

1) We are getting overrun with spam. I keep protecting everything but they create new articles. We have a ConfirmEdit captcha with the package but have never activated it. Is there any solution for spam with this old version? The other admin said he tried to close off registration but they still got through.

2) We have an older version. Is it a security risk?

3) Can I get on an email list to be notified of new releases and security updates?

Thanks for you patience, I KNOW how ignorant this sounds and you probably hear the same noob questions every day.

CarolC 01:23, 14 February 2009 (UTC)[reply]

1) Most of the anti-spam measures will work with MediaWiki 1.6+.
2) Yes
3) Yesmail:mediawiki-announce
Emufarmers(T|C) 16:54, 14 February 2009 (UTC)[reply]
  • MediaWiki version: 1.13.4
  • PHP version: 5
  • MySQL version: 5.0.67
  • URL:

Dear Support

I have installed MediaWiki and it is running but how do i get it to link to Wikipedia, say if i do a search for anything in MediaWiki it will also check the Wikipedia site for answers?

196.212.41.38 14:21, 16 February 2009 (UTC)[reply]

Regards

Neil Blignaut neilb@goggatrack.co.za

Importing JavaDoc to Wikimedia

  • MediaWiki version: 1.12.0
  • PHP version: 1.12.0
  • MySQL version: 5.0.67-0ubuntu6
  • URL: eawars.sytes.net / eawiki

Hello folks,

I wonder if it is possible to export a JavaDoc or Doxygen documentation into a wikimedia framework for developing purposes.

Thanks!

Pol


88.8.42.250 19:35, 16 February 2009 (UTC)[reply]

Experienced an issue when upgrading from 1.12 to 1.13

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.6
  • MySQL version: 5.0.51
  • URL:

The issue I experienced was vary particular. I have several wikis running on one server, with the same code and same database but different table prefixes. I re-ran the Configure script to update the code - filled everything out, etc. Then I went back to do it for the second wiki, and could not for the life of me find where to specify the table prefix. It did not appear until I had selected the other DB type and then selected MySQL again. It seems to me that it should have been there in the first place...


96.226.117.15 04:21, 17 February 2009 (UTC)[reply]

Desktop Version or Recommendation

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

It would be great to have a limited desktop version of MediaWiki for writing and saving Wiki pages locally that could be automatically uploaded to sites using MediaWiki. Are there any programs that could be recommended that would be compatible with MediaWiki's formatting? greg.collver@gmail.com

75.106.192.36 19:02, 19 February 2009 (UTC)[reply]

How to perform static export of mediawiki files ?

  • MediaWiki version:1.13.4
  • PHP version: PHP 5.2.1
  • MySQL version: MySQL 5.0.33
  • URL:

I have managed to install and create a number of wepages using Mediawiki Software in my computer. My intension is export these webpapges to a CDs/DVDs and keep all the links and the database unaltered so that my users will be able to view the pages using their personal laptops.

41.222.89.98 05:53, 20 February 2009 (UTC)[reply]

You could use the DumpHTML extension. —Emufarmers(T|C) 04:59, 21 February 2009 (UTC)[reply]

restricted wiki: incorrect german string

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.45
  • URL:


Hi,

A new MediaWiki, restricted (user cannot edit/ write/ create/ discuss) gives error message:

"Du bist nicht berechtigt, seiten bearbeiten. Gründe: "

correct means:

"Du bist nicht berechtigt, Seiten zu bearbeiten. Gründe: "

There is no String "seiten" in messages:

>grep "seiten" languages/messages/*|grep -v rseiten|grep -v tseiten|grep -v lseiten|grep -v sseiten|grep -v bseiten|grep -v nseiten

>


Other Wikis with same error :

wiki.piratenpartei.de/index.php?title=BB-Web:Vorschl%C3%A4ge_Vorhaben&action=edit

wiki.denog.de/index.php?title=DENOG-Wiki:%C3%9Cber_DENOG-Wiki&action=edit

Regards

Sloat 23:54, 20 February 2009 (UTC)[reply]

This is the same issue in almost every language. In later versions (from 1.14 on), we will be using MediaWiki:action-edit instead of MediaWiki:Right-edit for this use case. siebrand 09:52, 21 February 2009 (UTC)[reply]


Je nu ... i have to corr this? How? 50 percent of sites with primitive orthografik and grammar error. Kids will think, i'm stupid ...

like "you are not able Page edit"

--Sloat 18:04, 21 February 2009 (UTC)[reply]



Now i have changed MessagesDe.php to kill incorrekt $2 String:

'permissionserrorstext-withaction' => 'Du bist nicht berechtigt, $2. ...

to

'permissionserrorstext-withaction' => 'Du bist nicht berechtigt für diese Aktion. ...

--Sloat 19:22, 21 February 2009 (UTC)[reply]

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.6
  • MySQL version: 5.0.67
  • URL:

I have an extranet based on mediawiki 1.3.9 that I am upgrading to 1.13.4. Externally, the site is accessible only via https, but internally we use http. I also have other software packages that run on the same machine as mediawiki (e.g. we have bugzilla installed along side of mediawiki).

Under 1.3.9, it was easy to create a link in mediawiki to a package like bugzilla simply be using the {{SERVER}} variable. For external users, this would resolve to https://foo.bar.com and for my internal users it would resolve to http://foo.bar.local. Under 1.13.4, {{SERVER}} seems to resolve to the server when the page is saved, instead of when the page is loaded. So, if a page with a {{SERVER}} variable is edited externally, then the link is always set to the external protocol and domain name, like https://foo.bar.com; even when the page is accessed internally via http.

There is a fairly ugly work-around, specifically, I can make two fully qualified links for everything - one for external users and one for internal users. Is there a way under 1.13.4 to get the 1.3.9 behavior of {{SERVER}}? Or, is there another way of achieving the same thing?

Many thanks

70.114.198.240 23:17, 22 February 2009 (UTC)[reply]

I can't reproduce the problem you're describing: this test still uses the right protocol/server when it's accessed through the secure server. —Emufarmers(T|C) 03:38, 23 February 2009 (UTC)[reply]
I edited the page on the secure server and it didn't change 'this test' page. It appears as though these are different pages. Maybe I didn't explain the situation very well. Let me try again.
I have a mediawiki accessible internally and externally:
  • External users --> HTTPS --> a_mediawiki_page <-- HTTP <-- Internal users
  • e.g. External users --> https://external.foo.com/Main_Page --> /Main_Page <-- http://internal.foo.local/Main_Page <-- Internal users
When editing a_mediawiki_page externally via HTTPS, the {{SERVER}} variable is thereafter permanently set to the external version of the link (e.g https://external.foo.com/link)
When editing a_mediawiki_page internally via HTTP, the {{SERVER}} variable is thereafter permanently set to the internal version of the link (e.g https://internal.foo.local/link)
Thanks for the help
I understand your problem: I just can't replicate it. The pages you linked to don't reflect your changes because you linked to the revisions that are right before you made the changes; the current revisions on both the regular and secure servers reflect your changes.
My guess is that your machine is using the same parser cache for both access methods. If {{SERVER}}/link for page Foo is yielding https://external.foo.com/link, try purging it with the non-secure access method; does the link changes to display http://internal.foo.com/link? —Emufarmers(T|C) 06:55, 25 February 2009 (UTC)[reply]
Success! Many thanks for the help. Following your lead to look into parser caching, I added $wgParserCacheType=CACHE_NONE; to my LocalSettings.php. Both internal and external pages correctly use the current protocol and server name now. This was the final issue I needed resolved before migrating all of our extranets to the latest version of mediawiki. Once again, thanks for all the help!

Untitled

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Dear Sirs

I'm trying to download some extensions from Special:ExtensionDistributor but all I get is "Invalid response from remote subversion client". Do you have a problem at the moment?

Thanks

Stuart Priest —144.32.212.169 09:23, 24 February 2009 (UTC)[reply]

Untitled

  • MediaWiki version: 1.5.8
  • PHP version: 5.2.5
  • MySQL version: 5.0.67-community
  • URL: www.intraflash.com

We have been using the JoomlaWiki, which integrate MediaWiki into a Joomla site, on other sites and now want to integrate MediaWiki in a new site. We have been informed that JoomlaWiki now longer will be developed/upgraded. As the present version we have of the JoomlaWiki is using a MediaWiki version 1.5.8 we have try to find out how and if it is possible to upgrade to the latest MediaWiki version but so far not been able to find any information.

If it not is possible to upgrade JoomlaWiki to the latest MediaWiki version how can we than integrate MediaWiki into our Joomla site. We know how to install MediaWiki but not how to integrate it to a Joomla 1.5.9.

Best regards, —Jason12 00:09, 28 February 2009 (UTC)[reply]

The requested URL /text/Hauptseite does not exist.

and http://andreasmgross.de/text/Hauptseite

I want to move with my wiki from one server to the other and did the following: download all the files export the mysql-dbs with myphpadmin upload all the files create a new DB import all the tables into the new db edit localsettings.php regarding the new db-name, new user and password. localhost stayed the same. I first had an error on the password and got this message when I called my new uri: URL: http://andreasmgross.swiss-ecommerce.net


(Site-Name) 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 'swisseco_kd0044'@'localhost' (using password: YES) (localhost))

When I corrected the password, I got this new error:

404 Not Found The requested URL /text/Hauptseite does not exist.

Hauptseite is german for mainpage

Now I need some help.

Andreas Groß 20:22, 3 March 2009 (UTC)[reply]

Since 1.14 Templates dont look like before

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.9 (cgi-fcgi)
  • MySQL version: 5.0.51a-24
  • URL: de.narutopedia.eu

Hi, after I updated my MediaWiki, a few templates dont look like before. For example [2] What is the difference between 1.13 and 1.14, I always thought there are only technical changes, but now some templates dont look like before. I hope you have some ideas and can help me. Thank You

91.67.156.126 16:45, 5 March 2009 (UTC)[reply]

Shell Access

  • MediaWiki version: N/A
  • PHP version: N/A
  • MySQL version: N/A
  • URL: N/A

Do I need shell access to configure my wiki? i.e. edit the LocalSettings.php file? The hosting provider I'm looking at charges for that. Thanks, Genius101 21:55, 5 March 2009 (UTC)[reply]

Hi, nope, no shell access required unless you want to run some advanced maintenance scripts (as used on my previous MW installation where no shell access was available at all (even with charge !)). Localsettings.php can either be generated by the MW installer, or by you, locally and the uploaded via FTP. Jhf2442 17:22, 8 March 2009 (UTC)[reply]

All right, thank you very much! Genius101 20:36, 9 March 2009 (UTC)[reply]
  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Hi there,

could you please add the Project: namespace to the default ones scanned by a search on this site ? This would make all the Support desk Q&A's available for default users who don't know/think about enabling it in the advanced search form.

TIA

Jhf2442 17:17, 8 March 2009 (UTC)[reply]

  • MediaWiki version: 1.11.0
  • PHP version: 5.2.9 (isapi)
  • MySQL version: 5.0.45-community-nt
  • URL: (internal only - intranet)

I am trying to link to a document on my company's shared drive (P:\Documents\Wiki_Docs\instructions.doc). I have searched around for instructions on how to do this and I remain clueless. I'm not sure if I'm searching properly. Please help. Thanks!

Dacunhap 18:12, 9 March 2009 (UTC)[reply]

RESOLVED New users...

  • MediaWiki: 1.11.1
  • PHP: 5.2.6 (cgi)
  • MySQL: 5.0.67-community
  • URL: medrevise.co.uk

At the moment, when an unregistered user clicks "edit", it says "The action you have requested is limited to users in the group user."

This is not very approachable for non technical users, so how do I customise this text; just to say something like: "Please register before you can contribute! At the moment, you have to be a member to change a page - however, you don't need to register to read pages, so feel free to browse the site."

Thanks, Chris

91.84.226.53 14:42, 10 March 2009 (UTC)[reply]

The message name is MediaWiki:Badaccess-groups, you can edit it to your own needs.  mgrabovský | talk  (DJ Jeri)   MW Support Team 14:58, 10 March 2009 (UTC)[reply]
I changed that, but it still shows the same message - try clicking a red link on the site. Any ideas? Thanks for the quick response! 91.84.226.53 16:21, 10 March 2009 (UTC)[reply]
The message you want to edit is actually MediaWiki:Badaccess-group1. —Emufarmers(T|C) 03:25, 11 March 2009 (UTC)[reply]
Awesome. That worked. Thank you very much! MedRevise 09:36, 11 March 2009 (UTC)[reply]

Allowing blocked users to edit cetain pages

  • MediaWiki version: 1.15alpha (r47457)
  • PHP version: 5.2.4-2ubuntu5wm1 (apache2handler)
  • MySQL version: 4.0.40-wikimedia-log
  • URL:

When $wgBlockAllowsUTEdit is set to true, blocked users will be able to edit their own talk pages. However, is it possible to allow blocked users to edit certain pages(something like Wikipedia:Appealing)? Regards. --Bencmq 08:27, 15 March 2009 (UTC)[reply]

Automatically download content of wiki pages from edit fields

  • MediaWiki version: 1.6.8
  • PHP version: 5.2.6-1+lenny2 (apache2handler)
  • MySQL version: 5.0.51a-24
  • URL: Itranet-based MediaWiki

Hi,

How can I automatically download the content of a MediaWiki page containing the text of that page and its MediaWiki formatting characters and tags? Image you click the Edit button on a page: what you then see, that´s what I would like to retrieve.

I would like to download this kind of content by using a bash script on my local machine (Linux: cygwin).

  • I do not have remote access to MySQL on the Wiki server (but I have access to the Wiki database via phpmyadmin installed on that server)
  • I do not have shell access to the Wiki Server, so I cannot create exports of the Wiki by using a script on the server.
  • I have FTP access to that server.

195.127.43.185 10:39, 18 March 2009 (UTC)[reply]

Use the API. http://example.com/w/api.php?action=query&prop=revisions&rvprop=content&titles=Foo%7CBarEmufarmers(T|C) 06:55, 19 March 2009 (UTC)[reply]
Thank you for this hint, Emufarmers. But our MW is still version 1.6.8, and this version does not contain any api.php, and I do not have appropriate access rights to the wiki server (see above) to apply an upgrade to the latest MW version. The api.php included in 1.14 says that it can be used from MW 1.8 onwards, so this api.php cannot be used in our MW version (1.6.8). I will investigate for another solution, maybe it works with w3m and appropriate command line parameters? --195.127.43.185 11:21, 19 March 2009 (UTC)[reply]

basepagename not working in main namespace

  • MediaWiki version: 1.14
  • PHP version: 5 on IIS6
  • MySQL version:
  • URL: wiki.pmail.com

BASEPAGENAME does not show proper base page name, thus creates incorrect localization code when using Languages template

It works when in different namespaces than the main namespace

See http://wiki.pmail.com/index.php?title=Test/sv

cheers /Peter

83.209.68.194 23:19, 18 March 2009 (UTC)[reply]

By explicitly defining {{Languages|Main_Page}} the Languages template works in the main namespace.

Case closed /Peter

Reverting image or uploaded file

  • MediaWiki version: 1.12.0
  • PHP version: 5.2.4
  • Postgresql version: PostgreSQL 8.2.4 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.2.1 (SUSE Linux)
  • URL: Internal Company site

I am getting the following error when I try to revert an image or any other uploaded file to a previous version.

A database error has occurred Query: SELECT oi_size,oi_width,oi_height,oi_bits,oi_media_type,oi_major_mime,oi_minor_mime,oi_metadata,oi_timestamp,oi_sha1,oi_user,oi_user_text,oi_description,oi_archive_name FROM oldimage WHERE oi_name = 'Bats_US.png' AND (oi_timestamp <= '20090210135833!Bats_US.png') ORDER BY oi_timestamp DESC LIMIT 1 Function: OldLocalFile::loadFromDB Error: 1 ERROR: invalid input syntax for type timestamp with time zone: "20090210135833!Bats_US.png"

Backtrace:

#0 /opt/wiki/mediawiki-1.12.0/includes/Database.php(799): DatabasePostgres->reportQueryError('ERROR: invalid...', 1, 'SELECT oi_size...', 'OldLocalFile::l...', false)
#1 /opt/wiki/mediawiki-1.12.0/includes/Database.php(1244): Database->query('SELECT oi_size...', 'OldLocalFile::l...')
#2 /opt/wiki/mediawiki-1.12.0/includes/Database.php(1263): Database->select('oldimage', Array, Array, 'OldLocalFile::l...', Array)
#3 /opt/wiki/mediawiki-1.12.0/includes/filerepo/OldLocalFile.php(170): Database->selectRow('oldimage', Array, Array, 'OldLocalFile::l...', Array)
#4 /opt/wiki/mediawiki-1.12.0/includes/filerepo/LocalFile.php(248): OldLocalFile->loadFromDB()
#5 /opt/wiki/mediawiki-1.12.0/includes/filerepo/LocalFile.php(449): LocalFile->load()
#6 /opt/wiki/mediawiki-1.12.0/includes/filerepo/FileRepo.php(90): LocalFile->exists()
#7 /opt/wiki/mediawiki-1.12.0/includes/filerepo/RepoGroup.php(66): FileRepo->findFile(Object(Title), '20090210135833!...')
#8 /opt/wiki/mediawiki-1.12.0/includes/GlobalFunctions.php(2318): RepoGroup->findFile(Object(Title), '20090210135833!...')
#9 /opt/wiki/mediawiki-1.12.0/includes/FileRevertForm.php(137): wfFindFile(Object(Title), '20090210135833!...')
#10 /opt/wiki/mediawiki-1.12.0/includes/FileRevertForm.php(58): FileRevertForm->haveOldVersion()
#11 /opt/wiki/mediawiki-1.12.0/includes/ImagePage.php(498): FileRevertForm->execute()
#12 /opt/wiki/mediawiki-1.12.0/includes/Wiki.php(404): ImagePage->revert()
#13 /opt/wiki/mediawiki-1.12.0/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title), Object(User), Object(WebRequest))
#14 /opt/wiki/mediawiki-1.12.0/index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#15 /opt/wiki/mediawiki-1.12.0/index.php5(1): require('/opt/wiki/media...')
#16 {main}


Teamhonda81 19:07, 19 March 2009 (UTC)[reply]

Upgrade to 1.13 or higher, this has been fixed. (Actually that fix should have been backported into the 1.12 branch...) -- Bryan (talk|commons) 22:18, 28 March 2009 (UTC)[reply]

RESOLVED basepagename not working in main namespace

By explicitly defining {{Languages|Main_Page}} the Languages template works in the main namespace.

Case closed /Peter


Praktitps 21:27, 19 March 2009 (UTC)[reply]

RSS Feeds no longer showing coloured diffs since upgrade

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.0-8+etch9~bpo31+1 (apache)
  • MySQL version: 4.1.11-Debian_4sarge7-log
  • URL: N/A (Intranet)

Since upgrading our MediaWiki version, coloured diffs are no longer appearing in the Recent Changes RSS feeds (I'm using Thunderbird). Instead it just displays the name of the heading of the section that was altered.

The settings in our DefaultSetting.php are;

$wgFeed = true;
$wgFeedLimit = 50;
$wgFeedCacheTimeout = 60;
$wgFeedDiffCutoff = 32768;

Any help gratefully received!

Danduq 16:09, 20 March 2009 (UTC)[reply]

Can't remember wiki admin user name and password :(

I developed this wiki as a volunteer for my neighborhood a few years ago. Embarassingly, I can't remember the admin user name and password for my wiki. :( The wiki has been getting spammed a lot lately, and I'd like to remove all users and ask my users to re-sign up, but this time, I will moderate the sign-up process (approve each user myself). I should probably upgrade the wiki, too, but that's less important than being able to remove all of the spammers (of which there seem to be many). Is there a way to find out my admin user name and get my password reset?

cj (cheryl@cjasper.com)

24.6.210.58 16:23, 28 March 2009 (UTC)[reply]

Reset the password for the admin user (WikiSysop on your wiki). —Emufarmers(T|C) 21:40, 29 March 2009 (UTC)[reply]

Can't see the portal page

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.5 in IIS6
  • MySQL version: 5.0.24
  • URL:

Before the question, I am apologetic for my poor english.

I have installed mediawiki in IIS following the installation manual. (Manual:Installing MediaWiki on Windows Server 2003)

After installation, When I click the portal I can see the 404 error page.

What am I doing, if I solve this problem.


Probitas 04:31, 1 April 2009 (UTC)[reply]

Fatal error : loadbalancer.php on line 647 at startup

I just made an installation on my free website and I search for this error on the web and on your site but I cannot see any information wich could help me. Fatal error: Class 'DatabaseSql.free.fr' not found in /mnt/145/sdb/b/e/pryam3d/wiki/includes/db/LoadBalancer.php on line 647

Thanks in advance



93.2.100.178 15:06, 4 April 2009 (UTC)[reply]

Fatal error : loadbalancer.php on line 647 at startup

I just made an installation on my free website and I search for this error on the web and on your site but I cannot see any information wich could help me. Fatal error: Class 'DatabaseSql.free.fr' not found in /mnt/145/sdb/b/e/pryam3d/wiki/includes/db/LoadBalancer.php on line 647

Thanks in advance



93.2.100.178 15:12, 4 April 2009 (UTC)[reply]

RESOLVED: New install, but some strange problems when logging in and editting a page...

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.8-1
  • MySQL version: 5.1.32
  • URL: (Unavailable from external)


I've installed the MediaWiki on to an existing (Windows XP Pro) hosted machine for internal use. This machine already had PHP and MySQL - which seem to work fine on other scripts (e.g. phpBB3) The original install/config ran fine - no errors reported. About the only other config Ive done is to set the logo to a different file. I have no extensions or addition skins etc.  However, two things I notice :

  1. - Once users have created their account, unless they check 'remember me on this computer', the login, doesn't work. There is no error message, and although users are returned to the main page, MediWiki shows the IP at the top (and hence users aren't logged in).
  2. - Users (in the auto-authenticated and users groups) cannot edit pages - an error occurs when attempting to save stating 'Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in. '



JonandEl 14:02, 6 April 2009 (UTC)[reply]

OK - I fixed it. In the Manual: Errors pages on the install for MediaWiki, it states the PHP sessions aren't working properly (sic) - The help given is applicable to Unix/Linux systems, and I'm on Windows - and for me the problem was the default session.save_path in PHP.ini didn't exist. I simply created the default folder, and gave users write access, and viola ! Now, how do I change the title of this entry to be 'Resolved' ?! --JonandEl 09:04, 7 April 2009 (UTC)[reply]

RESOLVED Problem upgrading from 1.13 to 1.14

  • MediaWiki version: 1.13.5
  • PHP version: 5.2.6
  • MySQL version: 5.0.67
  • URL: Intranet only, no external access.


We run a farm of three small wikis, using Steve Rumbergs Method 1. The original install was Mediawiki 1.12.0

Yesterday I upgraded to 1.13.5 using the web installer method to allow me to upgrade each of the three prefixed sets of tables in my database. This worked fine. All the wikis worked correctly after the upgrade.

Today I tried to upgrade from 1.13.5 to 1.14.0 again using the same method, but after running through the web install for each of the 3 wikis, and it seeming to report the upgrade as a success, I end up with a blank screen when I test any of the wikis.

I tried using the new version of Localsettings.php that gets generated by the fresh install and adding all the custom sections from my original Localsettings, but still nothing, just a blank screen.

This is a copy of the install screen:


Please include all of the lines below when reporting installation problems.

   * PHP 5.2.6 installed
   * Found database drivers for: MySQL
   * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
   * Have XML / Latin1-UTF-8 conversion support.
   * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under.
   * 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.
   * Couldn't find GD library or ImageMagick; image thumbnailing disabled.
   * Installation directory: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\EECApedia
   * Script URI path: /eecapedia
   * 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.0.67-community-nt; enabling MySQL 4.1/5.0 charset mode
   * Database eecapediadb exists
   * There are already MediaWiki tables in this database. Checking if updates are needed...
   * Warning: you requested the mysql5-binary schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4.
   * DB user account ok

...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. ...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. ...have ipb_by_text field in ipblocks table. ...page_props table already exists. ...updatelog table already exists. ...category table already exists. ...category table already populated. ...have ar_parent_id field in archive table. ...have user_last_timestamp field in user_newtalk table. ...rev_parent_id column already populated. protected_titles table has correct pt_title encoding. Checking filearchive indices... ...password hash format already changed ...have ss_active_users field in site_stats table. ...ss_active_users user count set... ...have ipb_allow_usertalk field in ipblocks table. Deleting old default messages (this may take a long time!)...Done Checking site_stats row...ok. Purging caches...done.

   * Finished update checks.
   *
     Creating LocalSettings.php...
     Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.
     You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.

After this upgrade not working, I just switched back to my old version of htdocs and everything worked fine. Is this an indicatior that the databse tables weren't upgaded to 1.14.0, or are the upgrades backwardly compatible with 1.13.5?

Any suggestions on why the 1.13.5 to 1.14.0 upgrade didn't work?

Cheers

Andrew

I GAVE UP ON THE THE MULTIPLE WIKIS FROM ONE MEDIAWIKI INSTALL THING AND JUST RUN EACH WIKI SEPERATLEY. lOADS EASIER AND EVERYTHING WORKS NOW

210.48.49.107 02:28, 7 April 2009 (UTC)[reply]

Google Custom Search Engine

I managed to get the Google search box up with Google-coop.php but I am having problems with the display page. The instructions at Extension:Google Custom Search Engine says to paste the instructions on the display page but this requires rawhtml to be enabled, something that I am not comfortable with.

I tried to create GoogleSearch.php using the codes in Google-coop.php and incorporating the relevant codes for the display page but it returns a blank page when I placed <GoogleSearch /> in the text area of that page. Has anyone managed to solve this? I will be glad to receive your kind assistance. — PM Poon 14:42, 9 April 2009 (UTC)[reply]

Management of subjects

  • MediaWiki version: wikipedia, wiktionary
  • PHP version:
  • MySQL version:
  • URL:

I like the login idea you have. Please make any information you have to show to the public accessable strictly with an account. Mandatory registration is key for keeping order in our civilization. Use tracking to monitor behavioral patterns and establish trust with the information being researched by people.

99.13.215.7 21:56, 9 April 2009 (UTC)[reply]

dots in pagenames

I am setting up a new MediaWiki site and would like to allow people to create a page for their business/website domain, the trouble I'm having is I can not create a page with the "." in it, for example "pagename" works fine but "pagename.com" does not, obviously your site has overcome this obstacle with MediaWiki, Do you know how this was solved? if not you who else would be the best person to ask, thanks for your help with this Njec1979 16:16, 10 April 2009 (UTC)[reply]

Use a better method for short URLs. —Emufarmers(T|C) 02:23, 11 April 2009 (UTC)[reply]

== Administrator Login ==RESOLVED

I do not know how to sign into my wikipedia as an administrator. I am unable to edit the administrator options. Please help me. I have tried creating an account, but that did not work.


121.219.33.198 01:13, 12 April 2009 (UTC)[reply]

  • MediaWiki version: 1.15alpha r49504
  • PHP version: 5.1.6
  • MySQL version: 5.0.45
  • URL:

When I redirect a page the main edit link show to redirecting page, but the section links are show the target page. Why?

Thank. —84.3.166.39 17:43, 15 April 2009 (UTC)[reply]

Could you please point towards the instance you refer to? —Anonymous DissidentTalk 15:10, 23 April 2009 (UTC)[reply]

SiteName in Hebrew = gibberish

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.6 (apache)
  • MySQL version: 5.0.67-log

When i installed the Wiki (in Hebrew), i filled the 'site name' with an Hebrew name and everything on the site worked perfect, but at the LocalSettings.php, the 'SiteName' was gibberish (רויקי) - until here - OK.

the prablem started when i tried to change the 'sitename'. if the site name is in Hebrew, the name of the wiki on the tab (haed tag) is gibberish (not the same gibberish in the LocklSettings.php) and the name is showing ok at the wiki (page headline: sitename:about). if i change the 'sitename' to gibberish, it showing ok in the Tab, but not in the Wiki.


what cen i do to fix the prablem?

sorry about the bad english--Zoidberg 05:26, 16 April 2009 (UTC)[reply]

$wgoverridesitefeed doesn't work properly


I'm trying to use a FeedBurner rss feed instead of the default site feed. I added $wgSiteFeed['rss'] = "http://feeds2.feedburner.com/sitemanualorg-RecentChangesen"; to localsettings.php

The rss feed for the site is still http://www.sitemanual.org/index.php?title=Special:RecentChanges&feed=rss

How can I fix this?


68.48.61.123 11:47, 18 April 2009 (UTC)[reply]

Error sending mail: mailer error

  • MediaWiki version: 1.11.1
  • PHP version: 5.2.4-2ubuntu5.3
  • MySQL version: 5.0.51a-3ubuntu5.1
  • URL: Currently internal only

When users are attempting to get their passwords mailed back to them, they get the following error: Login error: Error sending mail: mailer error

This just started happening a bit ago, previously it was working with no difficulty. I'm not exactly an expert *nix admin, so I'm at a bit of a loss as to where to get going on this. I haven't seen anything in the manuals or documentation, nor has Google turned up anything terribly useful. Suggestions?

Manymobile 15:07, 23 April 2009 (UTC)[reply]

I was faced with the problem of authentication on the server SMTP. Sending mail works after having been commented out the line in the file of PEAR library: .\PEAR\Net\SMTP.php ($Id: SMTP.php,v 1.64 2008/12/20 23:03:49 jon Exp $) The reason why not find out due to lack of time. Only problem is localized place.

Before

    function auth($uid, $pwd , $method = '')
    {
        if (version_compare(PHP_VERSION, '5.1.0', '>=') && isset($this->_esmtp['STARTTLS'])) {
            if (PEAR::isError($result = $this->_put('STARTTLS'))) {
                return $result;
            }
            if (PEAR::isError($result = $this->_parseResponse(220))) {
                return $result;
            }
            if (PEAR::isError($result = $this->_socket->enableCrypto(true, STREAM_CRYPTO_METHOD_TLS_CLIENT))) {
                return $result;
            } elseif ($result !== true) {
                return PEAR::raiseError('STARTTLS failed');
            }

            /* Send EHLO again to recieve the AUTH string from the
             * SMTP server. */
            $this->_negotiate();
        }

        if (empty($this->_esmtp['AUTH'])) {
            return PEAR::raiseError('SMTP server does not support authentication');
        }

After

    function auth($uid, $pwd , $method = '')
    {
        // if (version_compare(PHP_VERSION, '5.1.0', '>=') && isset($this->_esmtp['STARTTLS'])) {
            // if (PEAR::isError($result = $this->_put('STARTTLS'))) {
                // return $result;
            // }
            // if (PEAR::isError($result = $this->_parseResponse(220))) {
                // return $result;
            // }
            // if (PEAR::isError($result = $this->_socket->enableCrypto(true, STREAM_CRYPTO_METHOD_TLS_CLIENT))) {
                // return $result;
            // } elseif ($result !== true) {
                // return PEAR::raiseError('STARTTLS failed');
            // }

            // /* Send EHLO again to recieve the AUTH string from the
             // * SMTP server. */
            // $this->_negotiate();
        // }

        if (empty($this->_esmtp['AUTH'])) {
            return PEAR::raiseError('SMTP server does not support authentication');
        }

--82.144.216.141 05:42, 2 May 2009 (UTC)[reply]

Fatal error

  • MediaWiki : 1.14.0
  • PHP : 4
  • the database : MySQL 5.0

Hello, in my wiki, I have many problems there :

  1. I can not open my account I created when I was installing Mediawiki into my domain name.
  2. A fatal-error message appears and I can't edit anything there. When I try to edit a new page, other than main page, my server says the page doesn't exist (in french) ; and I can't create this.
  3. This is the error message :
Fatal error: Class 'ArrayIterator' not found in /www/sites/1/ifrance.com/w/i/wikipedio/site/vikio/includes/StringUtils.php on line 179

(you can contact me here)

Best regards,

-- 83.199.68.206 15:58, 25 April 2009 (UTC)[reply]

MediaWiki 1.7+ requires PHP 5. —Emufarmers(T|C) 06:34, 26 April 2009 (UTC)[reply]
  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Please,how to move movie to external harddrive thru VLC media player


76.202.221.102 04:16, 27 April 2009 (UTC)[reply]

::: Could not find a suitable database driver!

  • MediaWiki version: mediawiki-1.14.0
  • PHP version: 5.2.9-2
  • MySQL version: 5.0
  • URL:

I've installed apache,php, and mysql already. And i've done possible solutions on how i can solve my prob. Still, this error occurs. Below is the installation error i've encountered upon setting up wiki. It says "Could not find a suitable database driver!" ... :((


MediaWiki 1.14.0 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.6 installed
     Could not find a suitable database driver!
         o For MySQL, compile PHP using --with-mysql, or install the mysql.so module
         o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
         o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module

Can you help me so I can finally set up my wiki installation? Is there something that I've missed in setting up? I'm using windows xp. How can i install the mysql.so module?

I hope someone can help me figure this out.thanks guys!

124.217.31.86 15:16, 27 April 2009 (UTC)[reply]

::: [RESOLVED] Could not find a suitable database driver!

I figured this one out after a lot of researching. I've found an answer in mysql forum. It worked out. Thanks a bunch! I've found it here MySQL Forums :: Newbie :: Could not load MySQL driver! Please compile php --with-mysql or install the mysql.so module


If someone has a problem same as mine, maybe this could help you. Just try to read the contents on the above link. If ever you had trouble locating the link above, here's some of the texts in the mysql forum posted by: Merrill Lamont ()


  * Following Daniel's suggestions and reading PHP's install.txt, I went through the PHP 
    installer(an MSI file),but then had to get the couple of files from the PHP zipped folder 
    (from the same  installer page on the PHP site). I put libmysql.dll in the PHP folder 
    (evidently   already part of the PATH system/environment variable), and php_mysql.dll in 
    the extension folder (I had to make one) within the PHP folder. Now that they're 
    placed,php.ini needs to know that the extension exists and where to find it. I entered 
    into php.ini the following two lines:
  * extension=php_mysql.dll
    extension_dir="C:\Program Files\PHP\ext"
  * WikiMedia should move onto the happy setup form/page after restarting Apache - if that
    doesn't work, reboot the machine, which is how I finally got it working.


Now, I'm reading about the configuration of wiki so I could finally finish setting up wiki. I hope everything will work now. AJA! ^_^

124.217.31.86 15:16, 27 April 2009 (UTC)[reply]


@ http://wikademia.org/Special:Statistics - links to Meta:Import Meta:Rollback and Meta:Upload all link to the URL+&action=edit&redlink=1

But - the pages do exists, so I'm not sure how to have them just link properly to where they should.

Thanks. —Wikademia 03:34, 4 May 2009 (UTC)[reply]

  • MediaWiki version: 1:1.12.0-2lenny
  • PHP version: PHP/5.2.6-1
  • MySQL version: 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
  • URL: Not deployed yet...

Hi everyone. I am trying to remove the SpecialPages (Special:Specialpages) from the toolbox for all new users. I would like to keep it for sysops account only but I am now clueless about "how to do this..." or if there is a way that I can set it up when a user clicks on the SpecialPage link, he gets a message that the page is only available for admins.

Also, I would like to modify the Toolbox like I did for the Sidebar. Is anyone can help me with that?

Best regards,

—David

HTTP/500 when trying to edit a page

HTTP/500 when trying to edit a page

MediaWiki version: 1.13.3 PHP version: 5.2.6 (CGI) MySQL version: 5.0.67-community URL: protected/no external address Summary: When I try to edit a page, I get a 500 Internal Server Error. Steps to trigger: Go to Main Page, click edit, press Save. Details: I have installed MediaWiki several times, and have never had this issue before. I am not certain if this has anything to do with the problem, but PHP has a lower memory limit than usual (this is not under my control). Also, I believe PHP is running as CGI. Thanks ahead of time! - Ben —69.249.106.162 02:52, 19 January 2009 (UTC)

I have the same problem. Have installed MAMP, and am running mediawiki in a subdirectory. Anyone?

-Sven- 18 May 2009

upgrading a wiki family

How do I properly upgrade a wiki family? The upgrade instructions speak of running a maintenance script. Does this need to be done for every wiki, even though they all are the same code (via symlinks)? ⇔ ChristTrekker 03:40, 19 March 2009 (UTC)[reply]

Yes, although you can run update.php for each wiki in the farm with a script like this one. —Emufarmers(T|C) 08:12, 19 March 2009 (UTC)[reply]
Script has been removed, probably because it wasn't documented, and looked fairly dangerous if used wrongly... Any better solutions? --Naught101 08:58, 9 May 2009 (UTC)[reply]

No sysop access

I just moved my wiki from one server to another and ever since the migration:

  1. All the images are doing this and
  2. NO users have any sysop/bureaucrat access!

The image thing, I can deal with. Having no sysops for the wiki is killing me.

The user list shows "Admin (bureaucrat, sysop)" at the top of the list, just like it should, but that account can't access anything a normal user can't. If you filter the user list, all groups look empty. Updating to 1.14.0 didn't help with either issue and now I'm getting spammed because I can't lock any pages...

I like to think I'm a clever guy, but I'm not sufficiently geeky to figure this one out on my own. I need help... —Grugnir 15:12, 6 May 2009 (UTC)[reply]

My gut reaction is that parts of the database were corrupted at some point in the migration (perhaps $wgDBmysql5 got changed?). Examine the database with phpMyAdmin or a similar tool. Take a look at the user groups table: do you see characters that look like �? If so, remove the corrupted records and restore one of your bureaucrats' permissions (you can ignore the part about registering a new account; just use the account of your choice, and then you can restore the other users' permissions with Special:Userrights).
The image problem probably has the same cause; I was able to "fix" the image you linked to by purging it. I think the refreshLinks.php maintenance script might take care of the problem.
For both of these issues (assuming I'm right about the cause), you could also re-import the database dump, this time making sure that $wgDBmysql5 is set to the same value as on the old server. Of course, you'd lose all changes made after the dump was generated; if this isn't acceptable, then just try to patch things up as above.
For the spam problem, consult the "combating spam" article. Simply restricting editing temporarily is fine as a stopgap measure. —Emufarmers(T|C) 04:16, 7 May 2009 (UTC)[reply]
YES!! You da man.
I now have sysop access again. Now all I need to do is figure out how to get into the new server via SSH and I'll let you know how the image problem went. Thanks a heap, mate!--70.54.4.92 15:19, 7 May 2009 (UTC)[reply]

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)[reply]

Manual:Preventing_access#Restrict_anonymous_editingEmufarmers(T|C) 00:45, 13 May 2009 (UTC)[reply]

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|C) 01:41, 15 May 2009 (UTC)[reply]

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)[reply]

page names broken with + signs

> 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)[reply]

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)[reply]

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)[reply]

Extend the searchbox with text messages

  • MediaWiki version: 1.13.0rc1
  • PHP version: 5.2.6 (apache2handler)
  • MySQL version: 5.0.67-community
  • URL: N.A.

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 <?php this->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)[reply]

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)[reply]



Joe.daly 19:29, 26 May 2009 (UTC)[reply]

Header

  • MediaWiki version: 1.15alpha
  • PHP version: 5.2.6-pl7-gentoo (cgi-fcgi
  • MySQL version: 5.0.70
  • URL: http://www.wikiberal.org

Hi all,

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)[reply]

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)[reply]
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)[reply]
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. Happymelon 15:23, 28 May 2009 (UTC)[reply]
Thanks!

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 (w:en: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.w:bn:বিশেষ:Upload. 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)[reply]

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. Happymelon 08:44, 28 May 2009 (UTC)[reply]

(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)[reply]

  • For poeple who want the solution, please visit : 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.

--24.201.129.40 12:36, 30 May 2009 (UTC)[reply]

Number of monthly downloads

Can anybody tell me how often mediawiki is downloaded each month? I couldn't find any statistics about this. Great software, keep up the great work! Maziminke 16:29, 4 June 2009 (UTC)[reply]

I can't believe that there are no download logs out there?!? Maziminke

Toolbox (RESOLVED)

I'm using MediaWiki 1.13 and I've got a little question. How do I hide the toolbox for not logged in users? —Petru Dimitriu 10:00, 5 June 2009 (UTC)[reply]

Adding
#p-tb { display:none; }
to your wiki's Common.css file will hide it for everyone; you could then override that with JavaScript to show it again for logged-in users. Or, if you'd rather failsafe than fail-deadly, hide it with JS in the first place. Happymelon 16:04, 5 June 2009 (UTC)[reply]
Thank you Petru Dimitriu 16:24, 6 June 2009 (UTC)[reply]

1.11

A 1.11 wiki can hold o can upload SVG images? --Vilarrubla 14:00, 6 June 2009 (UTC)[reply]

unauthorized use of content

I have just come across a site that is using my artwork without permission. Since the site is not in English, I cant figure out what the site is even for, or how to contact them. Below is the link to their site with my art. What is the best way to handle this?

http://www.elmundosefarad.eu/wiki/wiki/index.php?title=LAMED_-_E-NOVINE_ZA_RADOZNALE_IZABRAO_I_PRIREDIO_IVAN_NINI%C4%86

Thanks, Ruth Golmant rgolmant@verizon.net

Generally this is not something that anyone here can fix. However there is an email on that page: m_hanau [at] hotmail [dot] com. You might try email that email and seeing what happens. PS: Try Google Translate for a basic translation. Language seems to be either Croatian or Serbian. The URL appears to be a Basque/.eu, so I don't know if you can look up some information on who's hosting the site or not. Calebrw 02:12, 11 June 2009 (UTC)[reply]
Or talk to a lawyer maybe... Wikademia

Tabs (RESOLVED)

I'm using MediaWiki 1.13, how can I hide the tabs for the main page? Petru Dimitriu 09:28, 7 June 2009 (UTC)[reply]

How do I totally hide the tabs from the pages? Petru Dimitriu 09:54, 7 June 2009 (UTC)[reply]
You need some CSS. Something like:
#p-cactions { display: none !important; }
#content { margin-top: 1.5em !important; }

will hide the tabs and remove most of the associated whitespace. You might need to tweak the margin-top of the #content element to get the spacing exactly right. Happymelon 17:04, 7 June 2009 (UTC)[reply]

Thank you. Petru Dimitriu 17:21, 7 June 2009 (UTC)[reply]

Different default skins for different browsers

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)[reply]

(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)[reply]

=> 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)[reply]

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[reply]

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)[reply]

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 Wikipedia: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)[reply]

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 "{{SITENAME}}" apparently at the request of the devs, back in early 2006.[3]

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)[reply]

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. Happymelon 13:27, 3 July 2009 (UTC)[reply]

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. Happymelon 13:23, 3 July 2009 (UTC)[reply]
Thanks, that worked. I used Manual:Short URL/wiki/Page title -- no root access 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: [4] (where the URLs should be) or [5] (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)[reply]

Xml class forms

  • MediaWiki version: 1.14
  • PHP version: 5
  • MySQL version: 
  • URL:

I see an example on page 306 of the MediaWiki book by Daniel Barrett. I would like to explore more uses of the MediaWiki Xml class particularly for implementing more forms. I cannot find any documentation for the class. Is there documentation, in particular for the implementation of forms? Is there a better way to do forms on wiki pages similar to the example I mention? I am interested in features like the select1 element of XForms.


149.173.6.51 17:37, 15 July 2009 (UTC)[reply]

How Do I change the owner of a page ?

Product Version

  • MediaWiki 1.14.0
  • PHP 5.2.9-1 (isapi)
  • MySQL 5.1.32-community
  • URL: Not available externally.

To get my Wiki kickstarted, I created many pages myself. Now that the community is growing, I want to change the owner of many of those pages - such that they get notifications when others contribute to the page, rather than me. How Do I change the owner of a page ?

JonandEl 09:53, 16 July 2009 (UTC)[reply]

Rendering difference between php versions?

Migrating from

To:


The same exact content renders slightly differently between these two installations, placing the end of a template inside of the closing tags of template's contents (like a bulleted list's closing tag ends up outside of the template closing text) on the page above. Is this normal or did I install something incorrectly? I just copied both the files and the database to the new server

thanks —71.141.241.143 10:21, 16 July 2009 (UTC)[reply]

Is HTML Tidy compiled in both PHP versions? Happymelon 10:57, 16 July 2009 (UTC)[reply]
Ah, no it is not compiled on the new server (php 5.1.6). We are planning to upgrade the php installation, i'll make sure the admin compiles that into the executable. thanks --71.141.241.143 12:09, 16 July 2009 (UTC)[reply]

External user creation

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.5 (apache)
  • MySQL version: 5.0.41-community
  • URL: private

I want to create users remotely,9 with a script that has access to the database, what is the best way to do so? Write n encrypt script etc so that the data is thesame as when somebody registers via the wiki, or user the classes from the wiki?

Kind regards

Frank

89.146.16.136 10:29, 17 July 2009 (UTC)[reply]

WAMP & MediaWiki

  • MediaWiki version: 1.5.8
  • PHP version: 5.2.9
  • MySQL version: 5.1.32
  • URL: Internal

I am trying to setup MediaWiki with WAMP and I am unable to get the email setting configured properly. I keep getting the following error:

Error sending mail: mail() [function.mail]: Failed to connect to mailserver at "mail.domain.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

My ISP's SMTP server requires SSL auth. Is that's what causing the problem?

Thank you, —207.188.29.244 23:36, 21 July 2009 (UTC)[reply]

Previous and Next icons linking to pages rather than the icon page

  • MediaWiki version: 1.11.0
  • PHP version: 5.2.0
  • MySQL version: 5.0.33
  • URL: Internal system

I want to provide navigation. I have a template and two icons (an up arrow (Image:UP.JPG) and a down arrow (Image:Down.JPG)). When I click on the value beside the icon I am taken to the correct page but if I actually click on the icon I get taken to the page Image:Up.JPG.

Not sure how to include the actual code?


193.130.71.68 09:03, 22 July 2009 (UTC)[reply]

Change sent by IRC before available by API

I built a bot framework that has to request a page when it was changed. So it listens at irc.wikimedia.org and gets the rcids from there. But I got the following error multiple times:

{"query":{"badrevids":{"62525671":{"revid":62525671}}}}

So I set a little delay, and it worked. Would it be possible to change the behaviour so that the message comes when the article is available? —TheJH 11:03, 23 July 2009 (UTC)[reply]

How to read protect pages so that they can be read by administrators only ?

  • MediaWiki 1.15.0
  • PHP 5.2.9 (apache2handler)
  • MySQL 5.1.33-community
  • URL: (local)

I want to read protect some pages in media wiki, so that these pages can only be viewed by an administrator. for example, it would be useful if i could define a category that can only be read by administrators. is there an easy way to solve this?


80.153.148.74 07:58, 24 July 2009 (UTC)[reply]

maybe try Extension:SimpleSecurity Dr. Eme

How to get an url from an uploaded file?

  • MediaWiki version: 1.14
  • PHP version: 5.2.0
  • MySQL version: 5.0.32
  • URL: n/a

Is it possible to get an url from an uploaded file via php function (e.g. in an extension)?

Example:

 $image = "File:ImageName.jpg";
 $url   = getUrlFromImage($image);

$url should now be something like this: http://your.mediawiki.org/images/9/9a/ImageName.jpg

Is this possible?


79.206.49.18 07:16, 28 July 2009 (UTC)[reply]

Can the API help here? --Dr DBW | talk 04:14, 5 August 2009 (UTC)[reply]

Handling TIFF and RAW

Hi all, I get some result in handling TIFF images on MediaWiki and the correspondent NEF (Nikon Raw - formally a TIFF with special tags); all these modifications has been implemented on my own test MediaWiki but I'd like to disclose everything to other developers to evaluate if may be a part of future releases of MW and/or get some hints about. What do you think will be the correct place to discuss about and eventually post the code?--Fpiraneo 17:37, 29 July 2009 (UTC)[reply]

where is the code implimented? Is it an extensions? Or part of the main MediaWiki code? Probably best to look at Developer hub and find something from there. --Dr DBW | talk 04:17, 5 August 2009 (UTC)[reply]

(Republic of Kanto wiki) Template:Infobox Election (from Wikipedia) transclusion snag

I am trying to transclude Wikipedia's Template:Infobox Election to this wiki for use in micronational elections. However, it is not appearing as it does on Wikipedia, instead showing almost all the code, which does not happen on Wikipedia's version. I have held off on transcluding the documentation at the moment.

CJMiller 21:12, 31 July 2009 (UTC)[reply]

Links to the template you are copying and the template you have created would be a good start, so that people can look at them. --Dr DBW | talk 04:19, 5 August 2009 (UTC)[reply]

I am trying to copy w:en:Template:Infobox_Election to http://republicofkanto.exofire.net/wiki/Template:Infobox_Election.

Wamp, Mediawiki, Email

   * MediaWiki version: 1.15.1
   * PHP version: 5.2.9 (apache2handler)
   * MySQL version:  5.1.32-community-log
   * URL: http://edrivetracking.com/w

I can't seem to connect to email no matter what i do. 90% of time i get following error.


Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\w\includes\UserMailer.php on line 119

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='C:\wamp\www\w;C:\wamp\www\w/includes;C:\wamp\www\w/languages;.;C:\php5\pear') in C:\wamp\www\w\includes\UserMailer.php on line 119


After first time i did some research and tried the following array


$wgSMTP => array( 'host' => "mail.domain.com", 'IDHost' => "domain.com", 'port' => 25, 'auth' => false, );


I also tried with authentication

the only change i've seen is when i log with my admin account i get


Login error A password reminder has already been sent, within the last 24 hours. To prevent abuse, only one password reminder will be sent per 24 hours.


but this does not happen with any other account. all other accounts just give the first error i described.


—[JD] Jdmckinstry 20:02, 4 August 2009 (UTC)[reply]

display media files by category as list

  • MediaWiki version: 1.15.0
  • PHP version: 5.2.9 (cgi)
  • MySQL version: 5.0.81-community
  • URL:

Is it possible to sort media files so that only a specific category will be listed? I would like to get the same output as provided by "Special:ListFiles" but limited to a specific category.

Thank you.

Duchampfan 04:43, 5 August 2009 (UTC)[reply]

How to create a wikibot?

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.10
  • MySQL version: 5.1.36
  • URL: wiki4games.com

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 {{GPNL}} instead of {{GFDL}} 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)[reply]

w:WP:AWB. 62.140.253.6 06:48, 15 August 2009 (UTC)[reply]

How Can I Delete The 'History Log' On MediaWiki?

118.100.3.53 14:40, 8 August 2009 (UTC)[reply]

  • MediaWiki version: 1.11.
  • PHP version: 5
  • MySQL version:5.2

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

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

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

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

--216.254.182.155 16:32, 17 August 2009 (UTC)[reply]

How can I include php scripts in the wiki?

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)[reply]

  • 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)[reply]

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 < or > 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.

  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:

=Tips= <ol> <li>To implement email service(SMTP): <ul> <li>Create a <code>action_mailer.rb</code> file in the folder <code>config/initializers</code></li> <li>Add the following details in the file:<br /> <pre>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" }<pre><br /> </li> </ul> (given above is sample data. Change the values according to your settings.) <li> <ol>

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)[reply]

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)[reply]

There are no diffs in rss feed

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)[reply]

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)[reply]

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)[reply]

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)[reply]


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)[reply]

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 :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)[reply]



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)[reply]

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)[reply]


SUGGESTION


Hi, all the users on the wiki are located on mw_user table on your wiki database and if you have access to that database you are going to be able to modify email and different things on the user, on mysql you run the following

mysql> select user_id,user_name from mw_user order by user_id;

this is going to give you a list of users and user ID like the following

+---------+----------------+
| user_id | user_name      |
+---------+----------------+
|       1 | Admin          |
|       3 | user1          |
|       4 | KristianS      |
|       5 | JSmith         |

for example your User name is user_id is 4 and from here you can change contact email by running the following :

UPDATE mw_user SET user_email='youremail@domain.com' WHERE user_id='4';


Hope it Helps. --Shinehah 01:24, 4 September 2009 (UTC)[reply]

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)[reply]

But where do I put it exactly?

Cam12343 23:53, 20 August 2009 (UTC)[reply]

SUGESTION

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 01:27, 4 September 2009 (UTC)[reply]

Remove the username's first letter auto-capitalization

  • MediaWiki version: 1.15.0
  • PHP version: 5.2.10 (cgi)  
  • MySQL version: 5.0.82sp1-log
  • URL: (with password...)

hi, when i register a new user the first letter is automatic capitalized. for example: i register the new user "neti", the otuput it isn't "neti" but "Neti". what can i do to remove this thing?

it's like the "text-transform: uppercase" in the CSS... i have to remove it

thank you!

217.133.63.2 10:51, 8 September 2009 (UTC)[reply]

  • MediaWiki version: MediaWiki
  • PHP version: 
  • MySQL version: 
  • URL:

Thank you in advance for your time. I appologize for asking such an easy question. I tried to follow the instructions and could not. Again I am sorry. How do I bring in an image? I have tried various ways and none seem to work for me:

H:picture1.png:picture1.png


The picture is on my H drive. Should I have it somewhere else? When I click preview I want to see the image along with words on the same page so that I can explain the image in the text.

Please help me. Do I have to create a separate page for the image alone? Even if I want to type text next to the image?


Graysm2 21:14, 8 September 2009 (UTC)[reply]

To have the same editor like Wikipedia

Hello !

I have just installed MediaWiki (last version), but when i am editing a page, on the bottom of it, there is no tools or specials caracters and syntax avaible like in the real Wikipedia editor.

How to install a full editor like the one used in WikiPedia ?

Thanks !

--96.20.180.204 20:32, 13 September 2009 (UTC)BlueMan.[reply]

Nur Kleinbuchstaben im Artikel-reiter?

MediaWiki 1.15.1 PHP 5.2.8 (cgi) MySQL 4.1.22-standard-log

Habe eine Update von Version 13 auf 15 gemacht. Oben in Artikel-Reiter sind jetzt nur noch Kleinbuchstaben:

Admin eigene diskussion einstellungen beobachtungsliste eigene beiträge abmelden

statt

Admin Eigene Diskussion Einstellungen Beobachtungsliste Eigene Beiträge Abmelden

Woran kann das liegen?

Gruß und Danke für Hilfe. Mirko

Djmirko 19:55, 14 September 2009 (UTC)[reply]

Some characters broken in XML export

   * MediaWiki: 1.9.3
   * PHP: 5.2.6-3 (apache2handler)
   * MySQL: 5.0.51a-24+lenny2-log
   * URL: private

everything Debian GNU/Linux packaged on Lenny except MediaWiki which was kept from an old version


I followed the advise to create an XML dump to convert a Wiki containing German Umlauts. All other suggested methods failed for one or the other reason. The XML export sounded promissing and so I created a dump file but realised that the characters '?' and 'Ä' are broken in the export. Strangely enough 'äöü' are perfectly fine. I tried to find a substitution rule but learned that '?' and 'Ä' are represented by the very same combination of four Bytes (0xEF 0xBF 0xBD 0x3F) so I can not distinguish the characters and manually replace them. It could help if there would ba a way for instance to "mark" the 'Ä' characters in the Wiki before exporting to enable some regular expression doing the conversion somehow. Any other help would be really welcome.

— Andreas Tille 77.87.224.99 09:55, 15 September 2009 (UTC)[reply]

Special pages missing

  • MediaWiki version: Unknown (Version page not present)
  • PHP version: Unknown (Version page not present)
  • MySQL version: Unknown (Version page not present)
  • URL: www.wiki-site.com

This site has been having problems with a vandal, and I was about to move in and help out - but the admin has removed the "Recent changes" and the "All pages" special pages from that listing. "Version" is also missing. Is there another way anyone can see these statistics? Or is that now the sole domain of the admin (if anyone at all). User contributions is also inaccessible.

TLPGHOME YACK 04:49, 13 September 2009 (UTC)[reply]

http://www.wiki-site.com/api.php?action=query&list=recentchanges Splarka 05:22, 13 September 2009 (UTC)[reply]
Thanks for the reply, Splarka. A bit hard though when my browser rejected the XML format. And this might seem like a dim question, but what time period does that list cover? TLPGHOME YACK 08:14, 13 September 2009 (UTC)[reply]
Actually - a better question. Is there a way to expand those results from just ten? TLPGHOME YACK 13:18, 13 September 2009 (UTC)[reply]
Uh would someone mind answering this please? TLPGHOME YACK 04:31, 18 September 2009 (UTC)[reply]

SVG templates

Can templates be used to output parameterized SVG, e.g. {{circle|color=#ff0000}}, or putting the output in an <img> tag? 81.110.104.91 18:49, 18 September 2009 (UTC)[reply]

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.

Manual:Errors_and_Symptoms#You_see_a_Blank_Page 62.140.253.6 05:56, 20 September 2009 (UTC)[reply]

Import content from Apple Wiki-Server

98.218.174.62 22:39, 18 September 2009 (UTC)[reply]

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.10
  • MySQL version: 5.1.37

Hi,

i'm looking for a way to transfer the content of Apples Wiki-Server to a MediaWiki... Is there any existing way to handle that?

Thx Stefan


213.182.154.68 14:30, 22 September 2009 (UTC)[reply]

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 2024-11-02 18:27

Hi, at recent changes you should have a RSS address to suscribe. That can be configurated using some feed variables explained in the manual. The problem is that for me it does not work, it just download the html and does not generate any xml/RSS . I would appreciate some help regarding this issue. It does not seem to be the usual format problem (blank lines at the begining).

Thanks

  • MediaWiki 1.13.3
  • PHP 5.1.6

--200.89.69.133 16:11, 25 September 2009 (UTC)[reply]

Cross sections between categories

I have no idea where to ask this question. I would gladly be redirected to a more appropriate venue.

I am sysop at nl.wiktionary and we are using quite a few categories there e.g. for characterizing Dutch verbs. Some cateogories are morphological, some are more grammatical. The same verb can be e.g. in class 3 and be an ergative verb. Is there anyway to determine which entries are AND(class3, ergative)? I.e. determine the cross section between two categories?

nl:wikt:Gebruiker:Jcwf

Jcwf 05:36, 23 September 2009 (UTC)[reply]


  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8 (apache2hadller)
  • MySQL version: 5.1.30-community-log
  • URL: Localhost

Hello,

I implemented the wiki in my company, but I can not approve the contributions of other users. They edit the pages they want without any approval by the moderator.

I am the master User wiki and database. Is there any special configuration to be come a moderator?

Thank you. Márcio Morais marciohammer@gmail.com


Morais 14:41, 24 September 2009 (UTC)[reply]

Realtor Section

  • MediaWiki version: X
  • PHP version: 
  • MySQL version: 
  • URL:

When I go to Realtor section to buy more property, there is nothing listed. It is a blank page.

Mary Lee Neely


74.252.8.133 03:31, 27 September 2009 (UTC)[reply]

Atlanta Georgia Time zone

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

Martin Luther King, Andrew Young appear with a CST time zone. Ramsey JonBenet with EDT. Sampling those born in Atlanta, Georgia shows an inconsistent time zone. Why is this?


71.29.175.222 14:14, 6 October 2009 (UTC)[reply]

== Comeniusstraße 32 (Dresden) ==

Warum wird diese Seite anders als alle anderen dargestellt? --WOBE3333 17:42, 7 October 2009 (UTC) anscheinend erledigt --188.192.133.242 17:50, 7 October 2009 (UTC)[reply]

What's the best way to create a survey that preserves all data

  • A series of questions
  • Participants have to respond with a 1-5 (or skip)
  • Must preserve all data-- we need each response to each question by each participant.
  • All results must be easily exportable to .csv (or similar format)
  • About 100-500 questions, needs to be able to hand thousands of participants

All things being equal, we'd prefer to do this in Mediawiki itself, for maximum transparency. But expedience is import too.

Should I use MediaWiki for this? If so, how? I know there are some poll, quiz, and survey extensions, but what would be easy, stable, and quickly get the job done?

If Mediawiki isn't a good fit, what should I use instead? Any standard cgi software to use in a case like this? Or a free web service, provided it can really do what's necessary.

Please help-- it's for a good cause. --Alecmconroy 12:31, 10 October 2009 (UTC)[reply]

  • MediaWiki version: 1.11.1
  • PHP version: 5.1.2 (apache2handler)
  • MySQL version: 5.0.18
  • URL: (the wiki is only available on intranet)

Is there a way to link from an internal wiki to an internal server? Example: the wiki is located on server X. I want to link to a file in server Y. Both servers are within the same internal network.

I have tried

[\\serverY\support\FILE.xlsx]
-AND-
[file:///\\serverY\support\FILE.xlsx]

but neither work. Is this even possible?

128.187.0.164 22:55, 14 October 2009 (UTC)[reply]

  • MediaWiki version: All
  • PHP version:
  • MySQL version:
  • URL:

Does anyone know of a way (new syntax perhaps?) that allows for internal links to open up in another window? I prefer not to modify code that affects all internal links, only those that we want. Is this even possible? I know in html you can use target="_new" or "_blank" to <a> tags. Would love a Wikitext equivalent. 06:38, 18 October 2009 (UTC)

Image deletion

Hi, could an admin delete [File:Mp2.jpg]]. I uploaded it to the wrong wiki. Samuell 02:16, 20 October 2009 (UTC)[reply]

Why is the first letter of all usernames automatically capitalized, and how can I undo this setting?

  • MediaWiki version: All
  • PHP version: 
  • MySQL version: 
  • URL:

What is the reasoning behind making the first letter of all usernames automatically capitalized, and how can I undo this setting in the wiki my group is using? Thanks.


128.227.207.154 18:29, 15 October 2009 (UTC)[reply]

You could set $wgCapitalLinks or if using MediaWiki 1.16 $wgCapitalLinkOverrides -- Bryan (talk|commons) 14:54, 20 October 2009 (UTC)[reply]
$wgCapitalLinks doesn't have any effect on usernames in 1.15. —Emufarmers(T|C) 06:20, 21 October 2009 (UTC)[reply]

Is it possible to create, edit, and view MediaWiki pages in an offline environment?

I find MediaWiki syntax useful for managing information, and I would like to make files in this environment for my own use. I have no need to host such files online. Is there a way to create, edit, and view wiki pages which live on my home computer, rather than pages that are hosted at a URL? I am using Ubuntu 9.04, and I downloaded MediaWiki today, via Synaptic Package Manager. Any assistance is appreciated. Thank you.—MW Question 20:38, 20 October 2009 (UTC)[reply]

Mistakenly created Mediawiki.org page

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

Please delete Powertech Labs and the Category SDTC.

Sorry


24.80.112.29 00:34, 23 October 2009 (UTC)[reply]

Removing large amount of spam user accounts

Our wiki's been dormant for a while, and lots of spam users have signed up for accounts. We've since implemented reCAPTCHA for signups, but would now like to remove all the old accounts. Googling reveals Extension:User Merge and Delete, but this is still a fair amount of work (we've got >1000 spam accounts). However, none of them have any contributions; is there a way to remove all accounts with no contributions? Or is there anything else we can do? Cheers, Alex Muller 10:10, 28 October 2009 (UTC)[reply]

I solved this using iMacros with Firefox - it's not a MediaWiki solution, but it worked. Here's my script:
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE user.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=NAME:olduser CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=NAME:newuser CONTENT=Anonymous
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:http://ystv.york.ac.uk/wiki/index.php/Special:UserMerge ATTR=ID:deleteuser CONTENT=YES
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:usermergeform ATTR=VALUE:Merge<SP>user
Alex Muller 17:45, 28 October 2009 (UTC)[reply]

strange behavior of nl.wikt

I was trying to edit the page "delfstof" at nl.wiktionary and the server does not accept my edit, even though it accepts other changes. I do not know where to report this. Seems like a server problem

nl:wikt:Gebruiker:Jcwf

Jcwf 17:38, 28 October 2009 (UTC)[reply]

  • MediaWiki version: mediawiki-1.15.1
  • PHP version: php-5.3.0-Win32-VC6-x86
  • PostgreSQL version: postgresql-8.4.1-1-windows
  • URL: built within LAN, cannot access from Internet
  • Apache: apache_2.2.14-win32-x86-openssl-0.9.8k


I had just install MediaWiki (in Chinese) which can be accessed within a LAN, and I can create new users, access it with the newly created user, and it seems all working well except: while clicking the "My preferences" (in Chinese is "我的参数设置") on the TOP of the page, I just got a fault page displaying: Internet Explorer can not display the page ("Internet Explorer 无法显示该网页").

Is there anyone who can tell me how to solve this problem?

PS: The user running the apache service has the proper rights to read/write(executive) within the main web directive (i.e. <Apache_dir/htdocs/>).

Buyun 14:02, 31 October 2009 (UTC)[reply]

RESOLVED: New Entries Not Showing On Category Pages for Anonymous Users

Since my sysop moved our site to a new host last week, newly-created wiki entries do not show up on the Category pages to which they have been added. This is only for anonymous users; when logged in, my editors and I can see them just fine.

At the above Category URL, for example, there are currently 65 entries. For anonymous users, only the 48 that were input before last week are visible (though the entries themselves may still be viewed via Search and direct linking).

Any idea why this is happening, and how I can fix it? (Not sure if it is move related, but the timing makes me suspicious.)

Thanks!

81.151.5.143 22:39, 6 November 2009 (UTC)[reply]

EDIT (9 November 2009):

Problem fixed. I wasn't aware of MediaWiki's page caching function, which I just disabled with these instructions:

m:MediaWiki FAQ#How do I completely disable caching.3F

Default text

I am using

  • MediaWiki Version 1.16 alpha r 58683
  • PHP 5.2.8 (Apache2Handler)
  • and MySQL 5.1.34 - log

and I would like to know one thing:

As an administrator for my private wiki, I would like to make it such that every time a new page is created in the main namespace, some default text shows, for example:

User 1 types in New Page and that page does not exist. He clicks on Create This Page and the text that shows up in the edit box is This is example text

Any ways of doing this in the MediaWiki: Namespace?

Deathgleaner 02:08, 8 November 2009 (UTC)[reply]

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.11 (apache2handler)
  • MySQL version: 5.0.86-log
  • URL:

I'm trying to create a bot for Mediawiki, but I'm having the hardest time with some regex. I was hoping somebody might be able to help me with my coding, or better yet, might know of a website with some regex geared towards Wikipedia, considering the many bots written for it.

What I'm looking to do with my regex pattern is to convert:

[[Link]] => Link
[[Complex link|Link]] => Link
[[A more complex link!|Link]] => Link
[[Link]]s => Links
[[File:Image.jpg|thumb|An example with a [[link]]]] => [[File:Image.jpg|thumb|An example with a link]]
[[Image:Image.jpg|thumb|An example with a [[link]]]] => [[Image:Image.jpg|thumb|An example with a link]]

And do nothing to:

[[File:Image.jpg|thumb]]
[[Category:Examples]]
[[fr:Le link]]
[[be-x-old:Linko]]

What I have is:

$contents=$input;
$contents=preg_replace("/\[\[[a-z]{2,7}:[^\|\.]+\]\]/iU","",$contents);
$contents=preg_replace("/\[\[[^:\|]+\|([^:\{\}\|]+)\]\][^\[\]]/i","$1",$contents);
$contents=preg_replace("/\[\[([^:]+)\]\]/iU","$1",$contents);
$output=$contents;

And while it does an ok job, I'm noticing its a little loosely written, and sometimes takes out large chunks of code, leaves behind random brackets, and takes out spaces between words.

Any help is greatly appreciated.


Gpaper 15:45, 9 November 2009 (UTC)[reply]

Substing text added in EditFormPreloadText

  • MediaWiki version: 1.15
  • PHP version: 5
  • MySQL version: 
  • URL: not yet released

Hi, I've an extension with this peace of code:

$wgHooks['EditFormPreloadText'][] = 'addcategory';

function 
addcategory(&$text)
	{
	global $wgParser;

	if(isset($_GET['category']))
		{
		$cname = $_GET['category'];
		$wnew = $_GET['new'];

		if ($wnew == 1)
			{
			$temp1 = "{{subst:Articolo Modello 1}}\n[[category:".$cname."]]";
			$text .= $temp1;
			}
		return true;
		}
	return false;
	}

when I use it i get the text in the new article that is

{{subst:Articolo Modello 1}}
[[category:categoria 1]]

I'd like to have the subst executed. How can I do that?

Maiocchim 16:53, 13 November 2009 (UTC)[reply]

Favicon

I added the line $wgFavicon = "ftp.bstcenter.org/favicon.ico"; to my LocalSettings.php. The reason I didn't use $wgFavicon = "$wgScriptPath/favicon.ico"; as recommended in Manual:$wgFavicon is because my LocalSettings.php didn't have a $wgScriptPath defined, notwithstanding what it says in Manual:$wgScriptPath, and I was reluctant to add it because I don't know what other consequences that may have. Obviously I also uploaded a file "favicon.ico" to that same root directory where LocalSettings.php is located. Why then don't I see the favicon? Let's assume my browser works ok. Debresser 19:52, 14 November 2009 (UTC)[reply]

First, MediaWiki wouldn't work with no $wgScriptPath at all, so a sane default is used. Second, take a look at page source, if it's <link rel="shortcut icon" href="ftp.bstcenter.org/favicon.ico" />, there's no chance it will work, because links need either an explicit protocol specification or path relative to site root (/favicon.ico), in the latter case current protocol will be assumed. Third, you should really use the same protocol for all stuff on the page. Summarizing: just drop the favicon to the server root, remove its variable from LocalSettings and it will work. Max Semenik 20:41, 14 November 2009 (UTC)[reply]
I did as you said. Which brought me back to my initial state. net result: all I have done is add the favicon to the root directory. But it doesn't show. And yes, the icon is of 16x16 format. Debresser 20:56, 14 November 2009 (UTC)[reply]
I don't see favicon.ico at http://bstcenter.org/ , or your wiki is located on a subdomain? The icon should be in the server root, not where MediaWiki is installed. Max Semenik 15:16, 15 November 2009 (UTC)[reply]

Now I see the favicon. Don't know what happened. Debresser 01:19, 17 November 2009 (UTC)[reply]

Import failed: Loss of session data. Please try again.

I'm getting this repeatedly. How do I fix? --68.9.226.101 23:47, 22 November 2009 (UTC)[reply]

Enabling API so users don' t have to log in repeatedly

  • MediaWiki version: 1.15.0
  • PHP version: 5.2.10 (apache2handler)
  • MySQL version:  5.0.77-log

After a server crash our users now have to log in repeatedly. I tried enabling API using this line in our LocalSettings.php $wgGroupPermissions['*']['writeapi'] = true; That doesn't stop the issue Any help??

Pula Davis The Gazette, Colorado Springs

209.177.133.254 18:40, 11 November 2009 (UTC)[reply]

Write API has nothing to do with your problem, API is not for humans at all. See Manual:Errors and Symptoms#Sorry.21 We could not process your edit due to a loss of session data. Please try again. If it still doesn.27t work.2C try logging out and logging back in. and Manual:FAQ#.E2.80.A6do I get logged out constantly.3F for your problem. Max Semenik 07:57, 22 November 2009 (UTC)[reply]

How to install MediaWiki for the Oracle database

  • MediaWiki version: 1.15
  • PHP version: 5.3.1

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)[reply]

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

  • MediaWiki version: 1.13.4
  • PHP version 5.2.10

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)[reply]

  • 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)[reply]

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)[reply]

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)[reply]

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)[reply]

Thank you for your fast answer

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

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)[reply]

  • 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

File:Http://www.helpit.ru/images/delete/err1.jpg

[6]

but full time i view :

File:Http://www.helpit.ru/images/delete/err2.jpg

[7]

sorry for my english


84.253.88.50 16:43, 11 December 2009 (UTC)[reply]

Including of path

Header created by EivindJ.
  • MediaWiki version: 1.13.2
  • PHP version: 5.2.0-8+etch13(cgi-fcgi)
  • MySQL version: 5.0.32-Debian-7etch8-log
  • URL:

Hello
I'm trying to include the path on the top on each page (example wiki>help>questions). What is the code that the path infix in the page?

thanks for help — Preceding unsigned comment added by 212.101.18.161 (talkcontribs) 07:57, 22 January 2009

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)[reply]

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)[reply]

Manual:FAQ#Templates imported from other wikis (such as Wikipedia) don't work for me. Max Semenik 12:07, 17 December 2009 (UTC)[reply]

$wgGroupPermissions in LocalSettings.php

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)[reply]

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

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)[reply]

Your database schema is out of date. Needs an update. Max Semenik 10:50, 18 December 2009 (UTC)[reply]

@ 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)[reply]

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)[reply]

Better GUI

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I am unable to find where to leave comments; sorry for the wrong location.

I have installed mediawiki in a number of offices and it usually dies from lack of support, when I get too busy to stay on top of it. The biggest complaint from the other users is unable to edit the pages easily. What is needed is graphical interface which is at the level of current word processors for the average computer user. This one feature in my opinion have wikis explode in use.


69.77.190.15 16:44, 28 December 2009 (UTC)[reply]

Wiki markup is very hard to parse automagically, while there are a few extensions that try. OverlordQ 22:37, 30 December 2009 (UTC)[reply]

SOLVED: Issue with "cookies not found" during login

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.9-1
  • MySQL version: 5.1.11
  • URL: Private Network

I recently installed MediaWiki. It is installed on a Windows Server 2003 with PHP 5 and MySQL 5 support. MediaWiki installed with no issues. My problem is that the login page throws a cookie error when logging in. "Login error Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again." I get this error regardless of which browser I use. Currently I use FF 3 but I also tested in IE 8, 7, and 6. I verified that I have cookies enabled on my local machine and verified that the PHP sessions directory has read/write permissions and that it is receiving data. I have installed MediaWiki on an XP box running XAMPP with no cookie errors, and I have installed MediaWiki on a full Linux box running Apache and PHP 5, again no errors. Does anyone know what is going on and how to fix it?

I finally found the issue for me: session.use_cookies was set to "Off" in our php.ini file which I verified using the phpinfo(). I made the change "session.use_cookies = 1" and then had to restart IIS. When IIS came back up, phpinfo() listed use_cookies as "on" and our Wiki let us log in.


63.115.43.35 20:36, 29 December 2009 (UTC)Amanda[reply]

Multiple Language support

  • MediaWiki version: 1.16alpha-wmf (r59858)
  • PHP version: 5.2.4-2ubuntu5.7wm1 (apache2handler)
  • MySQL version: 4.0.40-wikimedia-log
  • URL: http://www.mediawiki.org/wiki

Currently all other languages of a subject are something like under a sub-folder of English version (like "subject/zh").

This design causes at least two problems:

1. Cannot create a subject in other language, or a language specific topic.

Such as a topic "中文维基页面" ("WIKI pages in Chinese"), it doesn't make sense in other languages.

I know somebody create in English wiki first and create Chinese version then delete original English version, like this page:

http://developer.symbian.org/wiki/index.php/Symbian%E5%87%BA%E7%89%88%E7%9A%84%E4%B8%AD%E6%96%87%E5%9B%BE%E4%B9%A6/zh-hans

And it still has "Other Languages" on left side, which doesn't make sense in other languages at all.


2. Cannot translate Category pages

Look at this page:

It supposes to be Chinese version of this Category. If a guy only knows Chinese but not English, he can't understand this page at all.


To compare with wikipedia, I feel that mediawiki is not designed friendly to non-English users.

It is good that keeps various languages forced linked, but how to make it friendly to non-English user?


Is it possible to create something like Alias? such as

[Language-en: Subject]

[Language-de: Subjekt]

[Language-es: súbdito]

[Language-zh: 主题]


In its German page and German Category should display "Subjekt", instead of "Subject/de". This should be a simple workaround to the current design.


Does similar feature exist? Shall I raise a feature request?


Flywhc 13:26, 7 January 2010 (UTC)[reply]

Hello, I have a template of a padlock which I add on protected pages. I want to put it above the heading (as in Wikipedia). I have tried adding <div class="metadata topicon" id="protected-icon" style="display:none; right:55px;"> with closing tags ect... but nothing appears.

Also, if you can, could you tell me how you could allow only Admins to add a Template (once again, like Wikipedia). It's no problem if it's too difficult to explain.

Thank you in Advance.

Thompson.matthew 10:54, 8 January 2010 (UTC)[reply]

Broken LocalSettings.php

  • MediaWiki version: 1.15.1
  • PHP version: 5.1.8
  • MySQL version: 5.0.89
  • URL:

Hello! I followed all the instructions and successfully manually installed MediaWiki, created a user and edited some pages, but a wee accident destroyed LocalSettings.php when I tried to enable Image Uploading. I had no backup :(

I have tried re-installing MediaWiki even to the point of dropping and recreating the wikidb but to no avail.

browsing to file:///pathtowiki/config/index.php yields "Can't write config file, aborting"

How can I get MediaWiki up again from this disaster?

Many Thanks

cameron.duffy[nospamplease]@hotmail.com —114.78.176.215 13:45, 9 January 2010 (UTC)[reply]

You need to adjust permissions for config/. Max Semenik 14:11, 9 January 2010 (UTC)[reply]

Updates request, for the sidebar here on mediawiki.org

Hi,

The following system messages need to be created/updated here at MediaWiki.org. They relate to the translation of the sidebar. As I lack the priviledges to update the MediaWiki: namespace, could an administrator please be so kind as to create/update them for me?

Message name Content
MediaWiki:cat-browser/pt Navegar categorias
MediaWiki:blog-text/pt Blogue técnico
MediaWiki:Sharedupload/pt

Please do not copy the tags in the message content

<br style="clear:both;" /> {| align=center border=0 cellpadding=2 cellspacing=2 style="border: solid #aaa 1px; background: #f9f9f9; font-size: 90%; margin: .2em auto .2em auto;" |- | [[Image:Commons-logo.svg|20px|Wikimedia Commons Logo]] |Este ficheiro é do [[Commons:Main Page|Wikimedia Commons]]. A descrição na '''[[Commons:Image:{{PAGENAME}}|página de descrição no Commons]]''' é mostrada abaixo. |}
MediaWiki:manual-text/pt Manual técnico
MediaWiki:mediawiki/pt MediaWiki
MediaWiki:extensions/pt Extensões
MediaWiki:development/pt Desenvolvimento
MediaWiki:bugtracker/pt Incidências (Bugzilla)
MediaWiki:downloadfromsvn/pt Transferir do SVN
MediaWiki:codereview/pt Alterações ao código
MediaWiki:browse cvs/pt Navegar SVN
MediaWiki:phpdocs/pt Docs do código
MediaWiki:communication/pt Comunicação
MediaWiki:Mailing lists/pt Lista de divulgação

On a related issue, are there any plans to retrieve the sidebar links also from the user language's systems messages (in the same way that the link names already are), instead of always retrieving them from the english ones, as seems to be the case? Many thanks! Hamilton Abreu 22:41, 18 December 2009 (UTC)[reply]

Following up on this, if my request should be placed elsewhere, please let me know where, so I can move it appropriately. Alternatively, if I could be granted the necessary priviledges for a couple of days, I can take care of it myself. Many thanks. Hamilton Abreu 21:32, 13 January 2010 (UTC)[reply]

Heading of the combined article

Text of the article

Heading

Text under the heading.

Subheading of the combined article

Text of the article

Heading

Text under the heading.

--Petrus Adamus 16:51, 8 January 2010 (UTC)[reply]

I'm sorry, could you try explain that again? By Title, I mean the header. For example, go on Wikipedia and type Michael Jackson. See how the Padlock appears above the line, and to the right of the header that says Michael Jackson. Thats what I want. --Thompson.matthew 05:15, 9 January 2010 (UTC)[reply]

I'm also sorry, yes, you're right of course, I have meant headings, not titles. --Petrus Adamus 20:07, 9 January 2010 (UTC)[reply]
Petrus, one possible manual workaround for that, is to place the section heading decreases within <includeonly> tags. They will only appear on the page (and therefore decrease the heading) when the page is transcluded. For a practical example, check the way the page Manual:Installation_requirements is constructed (this page used to be transcluded into another page here at MediaWiki, but no longer is...). Hamilton Abreu 21:27, 13 January 2010 (UTC)[reply]
Yes, it is able, nevertheless this solution would have two weak points: 1) The same article can be included to different level places of other articles (under headings of various level) and there is no ability to reflect it. 2) The solution is quite intransparent and inelegant, many users wouldn't understand at all what does it mean and thus would be afraid of editing the article. --Petrus Adamus 21:54, 13 January 2010 (UTC)[reply]
Correct. It's not a solution. It's just a manual workaround that may help, at times. Hamilton Abreu 04:10, 14 January 2010 (UTC)[reply]

how can I upload my wiki on the web?

It's on a server, but how do I put it on the web? Please help,


216.205.224.64 18:55, 13 January 2010 (UTC)[reply]

Please read Installation. Hamilton Abreu 04:16, 14 January 2010 (UTC)[reply]

Problem whis the Database

I make a update to 1.15.1

Now:

Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Timeout sein, der Ausfall eines Servers oder auch ein Programmierfehler. Die letzte Datenbankabfrage lautete:

   (SQL-Abfrage versteckt)

aus der Funktion „SpecialRecentChanges::doMainQuery“. MySQL meldete den Fehler „1146: Table 'usrdb_wiki.wikitag_summary' doesn't exist (localhost)“.

What is the Problem

84.184.198.98 00:20, 14 January 2010 (UTC)[reply]

Manual:Upgrading#Run_the_update_script. Max Semenik 07:58, 14 January 2010 (UTC)[reply]

Completely Anonymous Editting (No IP)

  • MediaWiki 1.13.3
  • PHP 5.2.8 (cgi)
  • MySQL 5.0.67-community

Is there a way to allow complete anonymity? Or how about a system whereby an ID is shown instead of showing IPs?

No ^demon 12:10, 15 January 2010 (UTC)[reply]

How can I restrict certain user groups from Special pages

  • MediaWiki 1.13.3
  • PHP 5.2.6-3ubuntu4.2 (apache2handler)
  • MySQL 5.0.75-0ubuntu10.2
  • URL local

Hi,

I'm trying to restrict the specials page to only the sysop user. Other user should not be allowed to view anything on it. I was thinking of just restricting the link in the toolbox for it. And I tried using Manual:Interface/Sidebar#Add or remove sections .28JavaScript.29 but adding the code to the common.js file didn't make any difference.

Then using the SimpleSecurity extension I tried blocking the Namespace Special, but then the user cannot logout.

Is there another way I can restrict the Specials pages to only the sysop usergroup?

Try with Extension:Lockdown Platonides 16:21, 20 January 2010 (UTC)[reply]

Wiki claims uploads are disabled when they're not

Latest Wiki, MYSQL and PHP, Latest Apache, intranet Made sure countless times that uploads are all okay and yet I still get prompted that they're disabled whenever I try to add something to my images database. Made sure PHP uploads are enabled as well. What could I be missing? --Zephyrtr

I suspect the problem lies on Made sure countless times that uploads are all okay. Have you set $wgEnableUploads = true;? Perhaps you placed it at the top of LocalSettings.php instead of at the bottom? Platonides 16:23, 20 January 2010 (UTC)[reply]

Import failed: No pages to import.

I am attempting to import templates and articles from MediaWiki and en:Wikipedia into a new wiki, version 1.15.1, and I succeeded just once, but now, using Special:Import and browsing to an XML page which looks OK with Metapad, I get the following: Importing pages… Import failed: No pages to import. What can I do about this?--Dthomsen8 19:39, 24 January 2010 (UTC)[reply]

  • MediaWiki version:  1.14.0
  • PHP version:  5.2.6-1+lenny4 (apache2handler)
  • MySQL version:  5.0.51a-24+lenny2
  • URL:

I need to find a solution to have parts of a wiki page and of a usual website permanently synchronized. Editing should be able (as simple as) on a wiki page.

Is there a possibility to link get a link to only the text of a certain paragraph of a wiki page?

I think of something like the "cell permalink"-Option in editgrid (text of a single cell of a spreadsheet).

The wiki's admin would agree to that, but he wouldn't agree to change any of the configurations.

If that's not possible, I would be grateful if somebody'd tell me how to integrate such a piece of text like the example above into a wiki page, so we could use editgrid as content management system for both, a usual website and a wiki page.

Dan-yell 17:20, 25 January 2010 (UTC)[reply]

Having problems with email sending

  • MediaWiki version: 1.15.1
  • PHP version: 5.3.1 (apache2handler)
  • MySQL version: 5.1.41-community
  • URL:

Not sure what's wrong, I've followed every direction I can find including one from another site that discussed how to send emails via Stunnel, but I can't get my Wiki to send any emails. Here's the link for the directions I followed with Stunnel (for a different project, but the directions are generic): http://www.projectpier.org/node/817

If someone could tell me what I'm doing wrong, please do so. I want to set my Wiki so that only users with confirmed emails can edit pages, but right now, I can't. Thanks!


173.81.147.219 16:15, 20 January 2010 (UTC)[reply]

Edited to post correct URL. My ISP blocks incoming port 80 requests.

-173.81.147.219 06:07, 21 January 2010 (UTC)[reply]

Edited to remove the URL, my ISP has completely blocked any hosting possibilities I have.

-YmerejO42 07:54, 27 January 2010 (UTC)[reply]

Help:Navigation creation

I attempted to create a Help:Navigation page on a new Wiki, version 1.15.1, as an Administrator, and when I saved, I received this message: (reduced)

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Is there a configuration parameter to be set so I can create and edit help pages?--Dthomsen8 23:18, 25 January 2010 (UTC)[reply]

How to use Tibetan characters on MediaWiki

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.10 (Apache)
  • MySQL version: 4.1.22-standard-log
  • URL:

How can I use Tibetan script/characters in MediaWiki?

I did a standard install of the MediaWiki system and set MySQL to store characters as binary.

Thanks


90.184.67.152 13:34, 27 January 2010 (UTC)[reply]

How to delete users

  • MediaWiki version: 1.15.0
  • PHP version: 5.2.10-2ubuntu6.3
  • MySQL version: 5.1.37-1ubuntu5
  • URL:

How do I delete a user from my wiki?


132.183.13.9 19:49, 27 January 2010 (UTC)[reply]

Email address as username

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.5
  • MySQL version: 5.0.51a-community-nt
  • URL:

I am integrating MediaWiki with a site that uses email addresses as usernames. How can I configure MediaWiki to allow email addresses as usernames? —Ssevern 16:39, 29 January 2010 (UTC)[reply]

$wgInvalidUsernameCharacters. Max Semenik 18:16, 29 January 2010 (UTC)[reply]

sysop controls over AWB

Upgrade..?

  • MediaWiki version: 1.15.1 and 1.6.5
  • PHP version: 
  • MySQL version: 
  • URL: mylittlewiki.org

I was using 1.15.1 mediawiki and after a big mess I upgraded to 1.6.5. So I have the EXACT same wiki coding, but now it doesn't work. I can't get image galleries to work or images to link to other pages. My code worked just fine before. I thought maybe I needed to add more extensions to enable galleries and image linking, but everything I read says extensions become obsolete with newer versions. Please let me know what I have to do.


68.50.239.219 03:27, 31 January 2010 (UTC)[reply]

Because 15 > 6, 1.15 is also later than 1.6.5. Obviously, such downgrade will not work. Max Semenik 07:07, 31 January 2010 (UTC)[reply]

Finding the source of Wiki Software and Editing

Recently, I was hired to maintain a Wiki for a department of my college. I've spent alot of time being a wikipedia contributer, but not as an administrator. Before I came here, someone else was maintaining the wiki and left it pretty much with bare bones. Right now, I am trying to create templates such as infoboxes, but it never works and I was told to download Parser Tools to the Wiki. However, there is not Wiki software on any of the computers I've worked on, and no one seems to know where the source computer was that has the software. Is there a way I can install Parser Tools without the software in my drive, or am I even going in the right direction to making our wiki able display such things as infoboxes, changing the background skin, etc.?

Spike—128.206.83.121 21:35, 3 February 2010 (UTC)[reply]

Infoboxes and such are defined in templates. Some templates use CSS, which may be in a system message (a page in the wiki) or in the skin files. These files are stored in the internet server that is running the wiki. Extensions are also stored in the internet server running the wiki. You'll need access to that server, which is something entirely separate from accessing the wiki itself. You need to read up on templates, skins and installing extensions. Start by reading the related public domain help pages (in Help:Contents) then move on to the User and System Administrator hubs (in Manual:Contents). Hamilton Abreu 00:12, 4 February 2010 (UTC)[reply]

Templates

Does "hard" templates (like this) are bad for wikipedia server (make them overloaded)? —AS 17:24, 12 February 2010 (UTC)[reply]

Heading of the combined article

Text of the article

Heading

Text under the heading.

Subheading of the combined article

Text of the article

Heading

Text under the heading.

--Petrus Adamus 16:51, 8 January 2010 (UTC)[reply]

I'm sorry, could you try explain that again? By Title, I mean the header. For example, go on Wikipedia and type Michael Jackson. See how the Padlock appears above the line, and to the right of the header that says Michael Jackson. Thats what I want. --Thompson.matthew 05:15, 9 January 2010 (UTC)[reply]

I'm also sorry, yes, you're right of course, I have meant headings, not titles. --Petrus Adamus 20:07, 9 January 2010 (UTC)[reply]
Petrus, one possible manual workaround for that, is to place the section heading decreases within <includeonly> tags. They will only appear on the page (and therefore decrease the heading) when the page is transcluded. For a practical example, check the way the page Manual:Installation_requirements is constructed (this page used to be transcluded into another page here at MediaWiki, but no longer is...). Hamilton Abreu 21:27, 13 January 2010 (UTC)[reply]
Yes, it is able, nevertheless this solution would have two weak points: 1) The same article can be included to different level places of other articles (under headings of various level) and there is no ability to reflect it. 2) The solution is quite intransparent and inelegant, many users wouldn't understand at all what does it mean and thus would be afraid of editing the article. --Petrus Adamus 21:54, 13 January 2010 (UTC)[reply]
Correct. It's not a solution. It's just a manual workaround that may help, at times. Hamilton Abreu 04:10, 14 January 2010 (UTC)[reply]

Active Spell-Checking As I Edit Pages Doesn't Work Consistently

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.11
  • MySQL version: 5.0.89-community-log
  • URL: secret

I'm having trouble with spell-checking. I used to access my wiki through a couple of different computers, and it used to be that on one of them spell-checking worked fine while on the other it never worked. Now it doesn't work anywhere - that is, active spell-checking as I type in my wiki. I figure this facility must be browser-dependent (somehow) but I don't know how it works so I don't know how to change its behaviour. I really like having an active/constant spellchecker and I miss it.

Anyone have any idea how to consistently keep spellchecking working?

99.254.11.16 17:01, 21 February 2010 (UTC)[reply]

Governance Problem for Wiki on Intranet

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I'm in charge of creating a corporate wikipedia as part of my companies' intranet. We have specific "legal" definitions for terms (or translations) but would like to enable users to post additional information on a wiki post. Does mediawiki allow for a "locked down" section of the page and possibly an "open section" as well. I.e. user looks up the word "Paper" and is given the 'official definition' which is locked (uneditable), such as "instrument for recording information" followed by an open section that users may upload details to explain such as "folded in xyz manner, makes a great projectile."

If I've missed a solution in the FAQ or manual please direct me.

Thanks in advance for helping. Ben —208.67.168.72 22:00, 1 March 2010 (UTC)[reply]

You could transclude a second page into the protected page. Your official definition would be fully protected and the open section would be another page transcluded on that page. Users who edit that section would then be editing the unprotected page, and they'll actually return to that second page after editing. That might be seen as odd by people who don't understand why it's set up that way, but I'm not aware of any decent alternatives. Reach Out to the Truth 00:03, 2 March 2010 (UTC)[reply]

Access problem RESOLVED

  • MediaWiki version: 1.13.5
  • PHP version: 5.2.12-pl0-gentoo
  • MySQL version: 5.0.84-log
  • URL: intenaet only, sorry

I want to restrict access for users who aren't logged in and restrict creation of users by themselves. I followed the manual and added the following section to LocalSettings.php



# prevent user creation <br\>

$wgGroupPermission['*']['createaccount'] = false;

$wgGroupPermission['sysop']['createaccount'] = false;

#prevent editing by anons

$wgGroupPermissions['*']['edit'] = false;

$wgShoIPinHeader = false;

#prevent viewing by anons , except the main page

$wgGroupPermissions['*']['read'] = false;<

$wgWhiteListRead = array ( "Main Page", "Special: Userlogin", "Help: Contents");



But any anonymous user still can create account from login page. I don't know if it's a bug or my mistake, I'm not so familiar with php. Thanks in advance. And how do you do this frame around the code? —192.115.215.60 15:12, 6 March 2010 (UTC)[reply]

-192.115.215.60 15:50, 6 March 2010 (UTC) Common typo :([reply]

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.5 (apache2handler)
  • MySQL version: 5.0.26
  • URL: Intranet-only

Is there a way to make a link that automatically makes an edit? I found on Manual:Parameters_to_index.php how to use the &action=edit command and the &preload=PAGE command to take users to an edit page with stuff already filled out. However, many people using my wiki don't know much about computers and will navigate away from the page without clicking the save button. I tried adding variations on &wpSave=true and &autoclick=save, but none of those worked. Thank you! —198.103.172.9 14:23, 9 March 2010 (UTC)[reply]

Embed a Google Form in a MediaWiki Page

  • MediaWiki version: 1.15.1
  • PHP version: 5.1.6 (apache2handler)
  • MySQL version: 5.0.77
  • URL: N/A - Intranet


Hello - I'm trying to set up a wiki where we have a Google Docs form embedded in a wiki page. I'm fairly new to this system and I tried simply pasting in the embed code, but that didn't work. I've seen that there is a "widget" for Google forms, but my sysadmin is a bit skeptical about using that 3rd party plugin and thinks there must be an easier way to do this. Can anyone tell me how to do this? Thanks!


140.239.58.226 21:34, 9 March 2010 (UTC)[reply]

Problems with the Url to Articles

Hello, i have installed MediaWiki fore any time but i have a new url, www.ke-wiki.de and i have swiched the datas from http://www.punicas-werke.de/ke-wiki/index.php5 to ke-wiki. But on ke-wiki.de i have the problem, when i click on a link, the site send a error-message (404). The problem is, the url ha a /ke-wiki/ to much, how can i change the link to the articles? --217.5.204.78 18:10, 18 March 2010 (UTC)[reply]

Two Languages

  • MediaWiki version:  1.15.2
  • PHP version: 5.3.0
  • MySQL version: 5.1.37
  • URL:

Hi, I would like to have two languages: english first and german second. But I did not find information for people who use the mediawiki how to set it up. I tried the Language Temaplate, but it did not work. I also tried out a language link, but this did also not work. Is it possible to add Multilanguage topic in the manual? That would be great. I googled but I did not find useful information.

I would also like to know how this FlaggedRevs works. We need also a system to set a status of the page.

79.223.172.19 19:24, 19 March 2010 (UTC)[reply]

When an Article is an article?

Are there restrictions, when articles are counted by {{NUMBEROFARTICLES}}. I have the problem, that my wiki has a lot of 3-sign-lemmatas which are apparently not counted by this system-variable. The content of the 3-sign-lemmatas are mostly just a template and a category.{{NUMBEROFARTICLES}} shows 47 articles, Special:ShortPages shows 110 Articles. There are not more than 2 redirects in the whole wiki. I've no idea, where i have to search for a solution. --Darkking3 14:45, 22 March 2010 (UTC)[reply]

MediaWiki  	1.15.0
PHP 	5.2.6-3ubuntu4.5 (apache2handler)
MySQL 	5.0.75-0ubuntu10.3

--Darkking3 14:46, 22 March 2010 (UTC)[reply]

Check if this description helps: Manual:Article_count. Hamilton Abreu 18:50, 22 March 2010 (UTC)[reply]
Not really, because the Content is in most of the articles just an Template and a category. I tried to fix this issue in putting some links in the template, but this doesn't work. --Darkking3 08:58, 23 March 2010 (UTC)[reply]

Discard some document content from database indexes in searches

Hello, I want discard some document content (not title) from my searches. This is becase I want some content to be not searchable.

Is this possible in mediawiki?

The content has tables, sections, etc.

MediaWiki  	1.15.1
PHP 	5.2.0-8+etch11 (apache2handler)
PostgreSQL 	8.1.19

Thanks. --Lodopidolo 08:54, 29 March 2010 (UTC)[reply]

On the occasion of the 250th birthday of an alemannic Poet, we'd like to change the logo of als.wikipedia.org for one month. I saw on various manual pages that I have to change the file "LocalSettings.php", but I have no idea how or where to edit such a file. Can anyone explain me or direct me to a help page where that is clarified? Thanks in advance, --Strommops 23:15, 2 April 2010 (UTC)[reply]

LocalSettings.php resides on the web server where that wikipedia is hosted. Only those with access to the web server can perform the change. For the change itself, check Manual:LocalSettings.php#Logo. Hamilton Abreu 12:07, 3 April 2010 (UTC)[reply]
Who can do that in the case of Alemannic WP? A developer? And is it also possible to provide a MediaWiki syntax instead of an image as a logo? --Strommops 22:10, 3 April 2010 (UTC)[reply]
  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:



93.218.104.35 15:11, 9 April 2010 (UTC)[reply]

To whom it may concern, please tell me how to buy a "Wikipedia-CD" or DVD.

With best regards,

Frank Uhlig

e-mail: frank.uhlig@hotmail.com

How to by a"Wikipedia-CD" or DVD

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

To whom it may concern, please tell me how to buy a "Wikipedia-CD" or DVD.

With best regards,

Frank Uhlig

e-mail: frank.uhlig@hotmail.com

93.218.104.35 15:13, 9 April 2010 (UTC)[reply]

Common.js bafflement

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.5 (cgi)
  • MySQL version: 5.0.45-community
  • URL: Common.js

Okay, so I'm smart as a bag o' hammers... Here's my situation:

I've been trying for some time to get some of the little nifties that other wikis have to make things snazzier and easier - collapsable tables, slideshow functionality, stuff like that - working on my site. To this end, I've been adding bits & peices here and there that I've filched from other wikis (I know exactly enough coding to do some serious damage and so try to avoid writing stuff from scratch) to my common.js file as I go.

Everything was jolly until a few days ago when I noticed a little oddity: You know how collapsable tables are supposed to have a little link in the corner that says show or hide? All mine have two of those. Hey; twice the buttons, twice the fun, mirite?

Uh, no.

I've fiddled with this to the point of driving myself nearly bats**t and I just can't figure out what needs to be yanked to fix the problem without breaking something else (yeah, I've been doing a lot of that)...

Any ideas/suggestions? At this point, just about any direction I can get pointed in would likely be helpful. Thanks. —Grugnir 18:28, 18 April 2010 (UTC)[reply]

Looks like you have the collapse code in there twice, thus the buttons get added twice. Try removing the part near the bottom labeled /* Collapsible tables */ 01:12, 19 April 2010 (UTC)
Naw, it can't be that eas... ok, maybe it can. Thanks, mate; remind me to buy you a beer sometime. --Grugnir 13:47, 19 April 2010 (UTC)[reply]

List of files that changed with the recent update

Hi, Where I could find the list of files updated with the recent update?

I would like to upgrade my mediawiki to the latest version and since I've made many changes to the code(not only skin and settings files) the best and fastest way for me would be to know what files have changed and to overwrite only them, I would like to avoid overwriting all files and then rewriting again to update them with my tweaks. Does anyone know where I could see the list of the files which changed since 1.15.2? I think there should be such lists somewhere but I have difficulty to find them.

Thank you in advance and best regards.


217.44.91.186 16:03, 20 April 2010 (UTC)[reply]

On wikibry, a (valid) interwiki link to ZeldaWiki shows up as a "Wanted page" on Special:Wantedpages, and shows up in blue.

The following is a modified quote from a forum post, at the NIWA forums:

From (name removed)'s talk page on WiKirby:

(reduced heading level)

Interwiki Table & Wanted Pages

For some odd reason, zw:Special:Search/ZW is on the Wanted Pages. The link comes up blue and leads to ZW as it's supposed to, but leads to a ZW search with "ZW" as the search terms. Nothing links to this, so I'm guessing that's why it's on the Wanted Pages... that's my guess. (Sig removed)
The Interwiki tables are one of the things here I never figured out. Good to see your editing issue has been resolved. Sorry I wasn't around enough to look into it. (Sig removed)

Retrieved from "(URL Removed)"

http://wikirby.info/~wikirbyi/index.php?title=Special:WantedPages&limit=500&offset=0 [Use CTRL + F and search for "zw" to find it.]

Please be aware, that since it's a forum thread, and a talk page, other people may replay to it after i submit this. Still, i appreciate any help i can can get for these guys. —Bud0011 00:00, 24 April 2010 (UTC)[reply]