Open main menu

Project:Support desk

About this board

vde   Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions!

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Wikimedia Developer Support, Q&A, mwusers (unofficial forum) etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
Gdecianni (talkcontribs)

I don't have "save" button how do I "get out of the red" so to speak?

AhmadF.Cheema (talkcontribs)

Which Wiki is this in reference to?

Reply to "Save button"

How can I easily visualise (maybe animated) the progress of my wiki, e.g. page & user growth, top access from pages and users...

1
Jaehnsen (talkcontribs)

Hello everybody,

I need to display how my wiki is growing in numbers for like pages, users and also what pages are the top pages and so on.

If I remember correctly I once saw an animation where you saw a graphic like created with graphviz just animated over time that new pages came across as well as new users and so on. The interconnection between the pages where displayed as well.

Does anyone has a clue how to do that?

Many thanks in advance.

Cheers,

Jan

Reply to "How can I easily visualise (maybe animated) the progress of my wiki, e.g. page & user growth, top access from pages and users..."

cannot reset password or establish account

5
173.71.98.83 (talkcontribs)

I get a message stating that the account name is taken when I try to establish a new account. I get a message saying account name does not exist when I try to reset the password for this account

Malyacko (talkcontribs)

Which website/URL is this about? Which MediaWiki version is this about?

This post was hidden by AhmadF.Cheema (history)
Gdecianni (talkcontribs)

What was the resolution to this

Malyacko (talkcontribs)

Nothing as this" is not resolved.

Reply to "cannot reset password or establish account"
37.221.200.35 (talkcontribs)

It is necessary to add a section related to the article that would contain tests to check whether the reader remembered the autumn facts presented in the article. Each test consists of a set (for example 10) questions. For each question, several answers are given in advance, while one of them is right. Such a test could be created by anyone

AhmadF.Cheema (talkcontribs)

Any relevance to MediaWiki?

Reply to "test for understanding the article"

MediaWiki 1.27 Exception encountered, of type "Error"

2
Dennis2130 (talkcontribs)

Two weeks ago I installed and configured MediaWIki 1.27 using MS SQL as the backend db. I'm running on Windows 2012 Server using MAMP Pro as the Apache/PHP handler.

I've had issue from the start, small things mainly. The search returns no results at all, some of the Special Pages return DB Errors, etc.

For the last week I've had users putting content into the Wiki, we were up to nearly 25 articles fully written and formatted. Within the last hour, something happened that caused my Wiki to start giving the above Error Message no matter what I do.

I'm not completely sure how to even go about troubleshooting. I've removed all Extensions from my LocalSettings.php that I added after the installation. I've turned on:

    error_reporting( -1 );

    ini_set( 'display_startup_errors', 1 );

    ini_set( 'display_errors', 1 );

and

$wgShowSQLErrors = true;

within my LocalSettings.php to try to come up with a solution, but they add nothing to the page. I'm still presented with Exception encountered, of type "Error" anytime I try to access my wiki.

Any help would be greatly appreciated.

Thanks

AhmadF.Cheema (talkcontribs)
Reply to "MediaWiki 1.27 Exception encountered, of type "Error""
2601:602:A7F:C092:85B4:5AFB:EA33:7B1C (talkcontribs)

Greetings, Im attempting to install MediaWiki 1.30.0 on a Godaddy Linuz server using php version 5.6. This is my first time installing MediaWiki. I followed the install/config directions exactly, but when going to my site I get the error messages listed below. Could anyone advise? Thank you.

Warning: include(/home/content/82/8106582/html/ops/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php): failed to open stream: No such file or directory in /home/content/82/8106582/html/ops/vendor/composer/ClassLoader.php on line 444

Warning: include(): Failed opening '/home/content/82/8106582/html/ops/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php' for inclusion (include_path='/home/content/82/8106582/html/ops/vendor/pear/pear_exception:/home/content/82/8106582/html/ops/vendor/pear/console_getopt:/home/content/82/8106582/html/ops/vendor/pear/mail_mime-decode:/home/content/82/8106582/html/ops/vendor/pear/net_smtp:/home/content/82/8106582/html/ops/vendor/pear/pear-core-minimal/src:/home/content/82/8106582/html/ops/vendor/pear/mail:/home/content/82/8106582/html/ops/vendor/pear/mail_mime:/home/content/82/8106582/html/ops/vendor/pear/net_socket:.:/usr/local/php5_6/lib/php') in /home/content/82/8106582/html/ops/vendor/composer/ClassLoader.php on line 444

Fatal error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in /home/content/82/8106582/html/ops/includes/libs/stats/BufferingStatsdDataFactory.php on line 35

AhmadF.Cheema (talkcontribs)

Which instructions or installation method did you follow? The tarball method or through Git? Did you run composer update?

2601:602:A7F:C092:85B4:5AFB:EA33:7B1C (talkcontribs)
2601:602:A7F:C092:85B4:5AFB:EA33:7B1C (talkcontribs)

Also I downloaded the install files from Download.

Reply to "Issues installing MediaWiki 1.30.0"

MediaWiki 1.31 not recognizing PHP7 after PHP update.

3
DrewUniverse (talkcontribs)

My web server had previously been on PHP 5.6 while using MW 1.30. I learned that MW 1.31 would require PHP 7, and it turns out my web hosting service does have that option.

I went ahead and installed MW 1.31 and proceeded to update PHP to version 7. I tried all three settings, waiting ten minutes each before testing if MW 1.31 would recognize it. Regular PHP7, single-ini version, and Fast versions all came back with the response that "I am using PHP5.6.37" still. I don't know whether MW is failing to recognize the new PHP 7 status, if I have to wait longer before it will be propagated, or if PHP didn't update after all.

I'm at a loss, and would appreciate guidance. Note: The web hosting is given via Hostmonster, and is not my own personal server setup.

Malyacko (talkcontribs)

Does Hostmonster install both PHP versions in parallel on your system? If so you need to configure your system to make version 7 the default on your system, I'd guess.

DrewUniverse (talkcontribs)

Hi @Malyacko, thanks for the reply!!! I forwarded your suggestion to Hostmonster. I am still unsure what the issue was, but a tech support agent did something internally that corrected the detection issue. PHP 7 is now detected by MediaWiki and the install is proceeding (so far). I guess we can close this thread! Thank the universe.

Fokebox (talkcontribs)

Guys! Do you know if there are any extension that allows to set up user page just like in social networks? Users of my wiki just teenagers and they don't know nothing about wiki mark up and templates.

AhmadF.Cheema (talkcontribs)
Reply to "User page"
Riddimshocker (talkcontribs)

There's formatting problem in MW 1.31.0 when <code> tag used. If you start a line inside tag with space, then additional lines appear before and after "code" block.

How to reproduce:

//additional line will appear here by her own

<code>

testline_started_with_space

testline2_started_with_space

</code>

//additional line will appear here by her own

AhmadF.Cheema (talkcontribs)

Don't the two extra lines show up without the spaces too?

Additionally, unless the default CSS rules change, I think <code></code> tags are meant to be used for inline elements, rather than multiline? <pre> or <syntaxhighlight> tags for code blocks.

Reply to "Formatting problem"
PlavorSeol (talkcontribs)

I added this to nginx.conf file:

	# [...]

	# Location for the wiki's root
	location /plavorexitbeta/ {
		# Do this inside of a location so it can be negated
		location ~ \.php$ {
			try_files $uri $uri/ =404; # Don't let php execute non-existent php files
			include fastcgi_params;
			fastcgi_pass 127.0.0.1:9000;
		}
	}
	
	location /plavorexitbeta/images {
		# Separate location for images/ so .php execution won't apply
		
		location ~ ^/plavorexitbeta/images/thumb/(archive/)?[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ {
			# Thumbnail handler for MediaWiki
			# This location only matches on a thumbnail's url
			# If the file does not exist we use @thumb to run the thumb.php script
			try_files $uri $uri/ @thumb;
		}
	}
	location /plavorexitbeta/images/deleted {
		# Deny access to deleted images folder
		deny	all;
	}
	
	# Deny access to folders MediaWiki has a .htaccess deny in
	location /plavorexitbeta/cache       { deny all; }
	location /plavorexitbeta/languages   { deny all; }
	location /plavorexitbeta/maintenance { deny all; }
	location /plavorexitbeta/serialized  { deny all; }
	
	# Just in case, hide .svn and .git too
	location ~ /.(svn|git)(/|$) { deny all; }
	
	# Hide any .htaccess files
	location ~ /.ht { deny all; }
	
	# Uncomment the following code if you wish to hide the installer/updater
	## Deny access to the installer
	#location /plavorexitbeta/mw-config { deny all; }
	
	# Handling for the article path
	location /exit {
		include fastcgi_params;
		# article path should always be passed to index.php
		fastcgi_param SCRIPT_FILENAME	$document_root/plavorexitbeta/index.php;
		fastcgi_pass  127.0.0.1:9000;
	}
	
	# Thumbnail 404 handler, only called by try_files when a thumbnail does not exist
	location @thumb {
		# Do a rewrite here so that thumb.php gets the correct arguments
		rewrite ^/plavorexitbeta/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ /plavorexitbeta/thumb.php?f=$1&width=$2;
		rewrite ^/plavorexitbeta/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ /plavorexitbeta/thumb.php?f=$1&width=$2&archived=1;
		
		# Run the thumb.php script
		include fastcgi_params;
		fastcgi_param SCRIPT_FILENAME	$document_root/plavorexitbeta/thumb.php;
		fastcgi_pass  127.0.0.1:9000;
	}
	
	# [...]

and added this to LocalSettings.php:

$wgArticlePath="/exit/$1";
$wgUsePathInfo=true;

After that, skins are broken.

Bawolff (talkcontribs)

You need to ensure that requests to /plavorexitbeta/skins and /plavorexitbeta/extensions are being let through.

PlavorSeol (talkcontribs)

How can I do that?

Reply to "Skins are broken after setting Short URL"