Project:Support desk

Jump to: navigation, search

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, Q&A 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".
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Jfedelem (talkcontribs)

We are looking for software to use for our companies intranet, which includes our policies and has employee resources and training. One of the challenges we have is that many times we will identify a page that needs to be updated, but there is more that one stakeholder or all the information is not known right away. It would be great to be able to save a new draft version of the page that doesn't actually get published. That way everyone has a chance to look at it, and once everyone has communicated one of the folks in the group can publish.

Can this be done, either out of the box or with a plugin or extension?

88.130.107.89 (talkcontribs)

Wikipedia uses Extension:FlaggedRevs for something like that. A lightweight alternative is Extension:Approved Revs.

Reply to "Scheduling future edits?"
Skyllfully (talkcontribs)

Hey there, why must the be a colon before Category: links?

Clump (talkcontribs)

Because without it you'd be adding the page to the category, rather than just referring to the category.

88.130.107.89 (talkcontribs)

And for the part "why a colon and not another sign":

Because the developers think that a normal page name does not start with a colon. That makes the colon a perfect character to give it a special meaning, in this case: Create a link to the category, but do not add the page to the category itself.

Reply to "Why a Colon Before Category: Links?"
79.111.28.70 (talkcontribs)

С дуру вляпался в систему Windows 10, теперь никак не могу вернуться в систему Widows 7. В системе 10 я не копенгаген, так как мне уже 80 лет и осилить её не могу. Помогите восстановиться в 7. моя электронная почта <email removed to protect the user>

Malyacko (talkcontribs)

This is a support place for a software called "MediaWiki". We do not provide support for problems with the "Microsoft Windows" software here, sorry.

88.130.107.89 (talkcontribs)

If you have a problem with Windows 10, a good place to ask is here:

http://tenforums.com/

In this forum, you should describe, what problem you are having!

Reply to "Вадим"

Recreate mediawiki database with an existing LocalSettings.php

5
Yoonghm (talkcontribs)

Due to corruption I would like to re-create mediawiki using CLI instead of the web interface. Is there a mean?

Malyacko (talkcontribs)

What does "corruption" mean? Why do you think that it's relevant whether you use a CLI or a web interface to install? Please share your underlying assumptions and more information first.

Yoonghm (talkcontribs)

Partially installed extension and debugging causes error in accessing the wikipedia database. I would like to "re-initialize" the database using an existing LocalSettings.php, instead of deleting the LocalSettings.php and access http://localhost/w/index.php .

Malyacko (talkcontribs)

So there is no "corruption" but an error, and you have not told us the full and exact error message yet.

88.130.107.89 (talkcontribs)

Have you lost your LocalSettings.php file?

Or is the database broken?

If the database is broken, what exactly is the problem with it? What is it that is not working?

What database is that? You wrote it would be "wikipedia". Do you have a Wikipedia clone? Or was that a typing error and you mean something else?

Please answer these questions!

Reply to "Recreate mediawiki database with an existing LocalSettings.php"

MediaWiki and Creative Commons Share Alike license commercial use

1
194.114.62.124 (talkcontribs)

I'm developing a commercial App and I want to use a MediaWiki which is under CC ShareAlike license. I know what this means, but I have a few questions that I couldn't get answers to so far:

  1. If I use MediaWiki, does this mean that my complete App needs to be under CC ShareAlike license as well? I have a few functional parts, that wouldn't have anything to do with this at all. Can I somehow protect these parts from being 'open source'?
  2. If my app (or parts of it) would be under CC ShareAlike license, are there rules for how I need to make my code publicly accessible? I mean do I need to provide it somewhere somehow or do I only need to make it available if someone asks for it?

Hope you can help me.Thanks in advance!

Reply to "MediaWiki and Creative Commons Share Alike license commercial use"
81.22.162.228 (talkcontribs)

I get this error when I'm trying to use VisualEditor in Flow conversations:

[9149bd06] Exception Caught: Conversion from 'html' to 'wikitext' was requested, but core's Parser only supports 'wikitext' to 'html' conversion.

VisualEditor is working on other sites normally.

I have these lines in my LocalSettings.php:

$wgVisualEditorParsoidURL = 'http://localhost:8000';

$wgVisualEditorParsoidForwardCookies = true;

$wgSessionsInObjectCache = true;

$wgFlowContentFormat = 'html';

$wgFlowEditorList = array( 'visualeditor', 'none' );


Malyacko (talkcontribs)

Parsoid/Debugging

81.22.162.228 (talkcontribs)

Parsoid is debugging html to wikitext normally. Dont know what to do, seriously.

Malyacko (talkcontribs)

Well, the error message says "core's Parser only supports 'wikitext' to 'html' conversion." I might be wrong but that sounds like it's not using Parsoid at all but the old MediaWiki core parser?

81.22.162.228 (talkcontribs)

Yes, that's true. But how i configure it to use Parsoid? VisualEditor is working without problems on other pages.

81.22.162.228 (talkcontribs)

If i add this $wgFlowParsoidURL = 'http://localhost:8000'; (which is exactly the same address as $wgVisualEditorParsoidURL = 'http://localhost:8000';) Flow gives [3d590fb2] Exception Caught: Failed contacting Parsoid

Reply to "Flow Extension and VisualEditor issue"

Linked Languages do not appear if not logged in to Wiki

1
Hmilch (talkcontribs)

On the german Wiki page

https://de.wikipedia.org/wiki/Loituma

I don't see any language Links if I'm not logged in to wikipedia.

not logged in:

http://postimg.org/image/zbx805y7n/

logged in:

http://postimg.org/image/w6cm9yflf/

Reply to "Linked Languages do not appear if not logged in to Wiki"
HurricaneTeen6900 (talkcontribs)

Hi I was wondering how to configure my WebChat for mibbit because every time I attempted it said MW Fatal Exception.

HurricaneTeen6900 (talk) 11:43, 1 October 2015 (UTC)

Reply to "Mibbit WebChat?"
Pikar60 (talkcontribs)

Hi,

I migrated a mediawiki solution from Windows to Debian (and from MediaWiki 1.16 to MediaWiki 1.25)

The application works but i'm not able to edit or save a page which exceed certain limits. If i write too many characters, i get an ERR_CONNECTION_RESET error in Chrome and the same with Firefox. I increased memory cache in PHP.ini but it doesn't do anything. I tried to check Apache log but even in Debug mode, nothing appears.

i use PHP 5.4. Do you have any idea? What should I check?

Thanks for your help.

Ciencia Al Poder (talkcontribs)

A connection reset is very weird, because it's not a failure at the HTTP level, but at the TCP level.

This is usually caused by a PHP bug, that causes the PHP engine to crash badly, usually a segmentation fault. Look at the server's error log (usually at /var/log/apache2/error.log in Debian) for more information.

If the problem were memory, you'd still see an error message of "Allowed memory size of XX bytes exhausted", or just a blank page.

If the problem is segmentation fault, that's usually hard to debug and can be caused by a bug in PHP or a PHP extension (like a PHP opcode cache/acceleator).

Pikar60 (talkcontribs)

Hello,

Thanks for you answer. I change the HTTP LogLevel to debug. Now, i can see these errors occur when I have a connexion reset.

[info] [client 192.168.0.22] Request body read timeout [debug] mod_deflate.c(700): [client 192.168.0.22] Zlib: Compressed 313 to 229 : URL /index.php, referer: http://wiki.url.com/index.php?title=MediaWiki:Common.js&action=submit

But these errors doesn't appear at each connexion reset :/

I increased values in /etc/apache2/mods-enabled/reqtimeout.conf it doesn't change anything


I don't have opcode installed. I have exactly the same configuration files (apache2 and php.ini) on both my Test server and Production server. Test server works correctly but it is installed in a different network.

It doesn't have a cache accelerator installed on the server. (like opcode)

When we have a connexion reset a TCPDump shows these kind of info.

[TCP Suprious Retransmission] [TCP Dup ACK] [TCP Retransmission]

My network admin tells it's an issue from the server.

For info : PHP Version in production server : 5.4.45-0+deb7u1 (apache2filter) PHP Version in test server : 5.4.39-0+deb7u2 (apache2handler) Do you think, it can change something?

Reply to "ERR_CONNECTION_RESET"

Random "File not found" error

5
Summary by Ciencia Al Poder

Set $wgCacheEpoch when you change your URL scheme

Sorin.sfirlogea (talkcontribs)

I installed mediaWiki in a folder under my Apache home - lets assume the folder name was enciclopedie and I was accesing it at http://123.123.123.123/enciclopedie/. After testing and deciding that this is what I need, I made a different folder - carteamuntilor.ro - and I moved the wiki files from folder enciclopedie to the folder carteamuntilor.ro, keeping the same database (MySQL on localhost). I am now accessing the mediaWiki instance at www.carteamuntilor.ro (domain and DNS entries are configured at my registrar). The problem that I'm having is that randomly some links are not working properly because instead of pointing to

www.carteamuntilor.ro/index.php?title=some_title

they are pointing to

www.carteamuntilor.ro/enciclopedie/index.php?title=some_title

If I go to editing the page with the wrong links and just save it without any modification, links are changing to the correct URL, but it might occur again later with no apparent reason. I have no ideea how to fix that.

You can see an example of this issue here. See the wrong links in Munți section (containing the folder enciclopedie in the URL) while everything else has the correct URL. If you click on a wrong link it will generate a 'File not found' error.

Malyacko (talkcontribs)

What is your $wgScriptPath set to? Also, have you checked your Apache configuration?

Sorin.sfirlogea (talkcontribs)

$wgScriptPath = ""

Can't see anything wrong with Apache configuration:

<VirtualHost *:80>

DocumentRoot /var/www/html/carteamuntilor.ro

ServerName carteamuntilor.ro

ServerAlias www.carteamuntilor.ro

ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/carteamuntilor.ro

<Directory /var/www/html/carteamuntilor.ro>

AllowOverride FileInfo AuthConfig

Allow from all

Options Indexes FollowSymLinks

</Directory>

</VirtualHost>

Ciencia Al Poder (talkcontribs)

This happens because pages are cached in the parser cache, with the previous URL scheme. This is fixed itself whenever someone edits that page (even a null edit).

I think you can use $wgCacheEpoch to force this cache to expire.

Sorin.sfirlogea (talkcontribs)

I introduced the $wgCacheEpoch in LocalSettings.php and the problem seems to be solved. Let's hope that is for good. Thanks, Ciencia!