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
Cmach7 (talkcontribs)

Hello,

Can you please tell me how to create a MediaWiki? I don't know how to do that. There are no links to do that.

Jasper Deng (talkcontribs)

You mean create your own wiki? See Manual:Installation guide.

Monang (talkcontribs)

U only have to install media wiki??

Bawolff (talkcontribs)

Indeed, its a computer program like any other (So is any other website on the internet).

Some people offer hosted MW (where they take care of those details for you). Some charge for it, while others offer such things for free (Typically the free one's either require adverts and/or require the wiki to be on a topic of interest to the general public) There's a bunch listed at w:Comparison_of_wiki_farms, but there's many others not listed there you can find by googling.

Reply to "How do I create a new MediaWiki?"
2602:306:8B57:76D0:3138:4FA2:C19B:2843 (talkcontribs)

i have had vuze for months i even paid for vuze plus and i have not been able to pull up one music or movie sent i had it what can be done about this need help please

Reply to "how do i get vuze to work"
129.7.105.17 (talkcontribs)

I've scoured to find documentation pertaining to how to disable these vandalism checks. My contributors and I make massive changes throughout the site; it's normal to gets reverted back to previous content since upgrading to a newer version of mediawiki. I would think the tips from using mediawiki as a CMS would be enough to cover it, but it seems not.

Example:

(diff | hist) . . m page-name; 22:51 . . (-47,412)‎ . . ‎User2 (Talk | contribs)‎ (Reverted edits by User2 (Talk); changed back to last version by User1)

Thanks!

87.123.60.188 (talkcontribs)

Is your wiki public so that I could have a look? What is its URL?

Your configuration obviously is that the same user, who did an edit, automatically(?) undoes it again, if some magical criteria are met. I would guess that it is some kind of extension, which might do that.

Please check your Special:Version page in your wiki and see, which extensions it lists there!

129.7.105.17 (talkcontribs)

Not really sorry. Everything is fairly default.

Product Version MediaWiki 1.23.13 PHP 5.4.16 (apache2handler) MariaDB 5.5.44-MariaDB

Last time I looked at the problem I could tell it was something around this mechanism.

https://www.mediawiki.org/wiki/Manual:Interface/Revertpage

You can see it follows the example of the resent change format. Something is triggering a rollback and this revertpage functionality.

I do not have any extensions enabled, no require once in LocalSettings.php.

129.7.105.17 (talkcontribs)

Apparently showing apache logs is a bad idea here.

129.7.105.17 (talkcontribs)

Apache logs showing automatic rollback upon submission. http://pastebin.com/n1MKEffM

87.123.5.214 (talkcontribs)

I am pretty sure that MediaWiki itself does _not_ contain a functionality, which would do automatic reverts.

There are some extensions, which can be used to do automatic reverts (and if these extensions are configured incorrectly, they could show the undesired behaviour, which you see). One of these extensions is Extension:AbuseFilter. However, if you do not have any extensions installed, then this cannot be the problem.

The log excerpt, which you posted, only contains hits, which have been done by one and the same user. To me it looks like this has happened: The user visited Special:RecentChanges and then he hit one of the rollback links, which are present on that page. At least judging from the URLs, which have been requested, this is what happened.

Based on these observations, I would expect that, if you do _not_ visit Special:RecentChanges, _no_ rollback occurs. That mightbe a workaround until the problem is really solved.

Does that happen for _all_ users? Or only for some?

Do you maybe use some JavaScript, which automatically clicks certain links for you?

129.7.105.17 (talkcontribs)

I observe it very rarely. Two or three heavy committer seem to be have this issue. In the database the rc_comment notes the following on the rollback.

Reverted edits by user2 (Talk); changed back to last version by user1

Also rc_log_action and rc_params are blank instead of null for both the commit and the rollback. This differs from normal commits that have null for both fields.

I'll ask the committer not to look at the page and I'll examine it in the database. As for javascript very doubtful. Text data is what the wiki is used. Everything is very vanilla, no customization other than the banner icon.

Since i'm not referencing any extensions I'm just going to delete the directory and see if I notice anything different.

129.7.105.17 (talkcontribs)

I'm not 100% sure yet, but disabling Special:RecentChanges seems to stop this behavior. I disabled access to Special:RecentChanges via the extension Lockdown and I have not seen the activity since. The problem is I know the users are not actively pressing the rollback for the changes. I would like to have the functionality to see changes, but at least it seems working correctly again. Thanks for your suggestions! I'll leave an update when I know for sure.

Reply to "How to disable vandalism checks"
SONiQz (talkcontribs)

I've been searching around trying to establish whether I have missed something however my MediaWiki with VisualEditor doesn't appear to match the editor from the Sandbox page. For the most part it is all there, but the 'Insert' drop down looks to be missing options such as 'Code Block'. I gather it may be down to a plugin that needs to be added but there doesn't appear to be any documentation as to how this was created.

Any help would be appreciated!

Reply to "Missing buttons in Visual Editor"
Stagenine (talkcontribs)

Ich hoffe ich bin hier Richtig mit meiner Frage, wenn ich falsch bin bitte einmal benachrichtigen
Hallo ich bin grade dabei ein eigenes Wiki Projekt Aufzubauen, und benötige dazu Hilfe bei der Konfiguration und Installation von Erweiterungen.

Ich möchte die Erweiterung Echo und Math noch in meinen Wiki Integrieren.
(https://www.mediawiki.org/wiki/Extension:Echo#Configuration)
Bei der Eche erweiterung bekomme ich nach der Installation, (also den Ordner Echo in den Extensions Ordner im Server übertragen) und in die LocalSettings.php den Befehl require_once "$IP/extensions/Echo/Echo.php"; oder wfLoadExtension( 'Echo' ); funktionieren nicht. Irgendwie bin ich ratlos was ich da machen kann.

Die Math Erweiterung habe ich auch versucht so zu installieren, allerdings auch ohne durchschlagenden erfolg.

Auserdem würde ich gerne einen neuen Namensraum erstellen. Dazu habe ich in die LocalSetting.php $wgExtraNamespaces eingetragen, wie aber trage ich den nun genau meinen Namensraum ein?

Quelle: https://www.mediawiki.org/wiki/Manual:FAQ/de#Wie_erstelle_ich_weitere_Namensr.C3.A4ume.3F

Für Hilfe von euch währe ich sehr dankbar und würde mich freuen wenn Ihr mir helfen würdet. ZUrzeit läuft meine Wiki in Version 1.26.2

87.123.5.214 (talkcontribs)

Ob eine Erweiterung installiert ist oder nicht, kannst du auf der Seite Special:Version in deinem Wiki sehen. Wenn die Erweiterung installiert ist, wird sie dort angezeigt. Der Befehl für LocalSettings.php sieht gut aus. Wenn die referenzierte Datei nicht vorhanden ist, dann bekommst du einen PHP-Fehler. Wenn das nicht passiert, dann sollte die Erweiterung zumindest gefunden werden.

Passiert nach der Installation irgendwie gar nichts, dann kann das an einem PHP-Cache liegen, der noch alte Daten enthält. Oder es wurde die falsche LocalSettings.php-Datei bearbeitet (z.B. eine aus einer anderen Installation).

Reply to "Erweiterungen Installieren"

WikiEditor not Showing and Wincache warning message

1
Cgol38 (talkcontribs)

MediaWiki     1.26.0

PHP     7.0.0 (cgi-fcgi)

MySQL     5.7.10-log

Server Windows Server 2008 R2 SP1 with IIS 7.5

Hi,

I have followed the instructions online to install the WikiEditor. I have cleared the browser cache and added the mime type for svg in IIS. However, the WikiEditor is still not showing.

Also, I do not know if this could be causing the problem with the WikiEditor not showing. On every page I navigate to on my wiki, I am getting a warning message:

Warning: wincache_ucache_cas() expects parameter 2 to be integer, string given in D:\inetpub\wwwroot\mediawiki\includes\libs\objectcache\WinCacheBagOStuff.php on line 52

Please advise and help.

Thank You

Reply to "WikiEditor not Showing and Wincache warning message"

Fatal error after trying to install extensions

6
Halfbeing (talkcontribs)

I have been trying to install two different extensions, VisualEditor and WikiLog and in each case I come up with seemingly similar errors. Details of my software versions are listed below.

Firstly, with WikiLog, I install the extension into the extensions directory, as per the official instruction. I verify that the directory name is correct. Then I copy the two lines of code from the instructions into LocalSettings.php, save it, and then got to localhost/(path)/mw-config. I get the following error:

Fatal error: Call to undefined method Wikilog::setupBlogNamespace() in C:\wamp\www\commonplace2\LocalSettings.php on line 152

When I follow a similar procedure with VisualEditor I get the following:

Warning: require_once(C:\wamp\www\commonplace2/extensions/VisualEditor/VisualEditor.php): failed to open stream: No such file or directory in C:\wamp\www\commonplace2\LocalSettings.php on line 156

Fatal error: require_once(): Failed opening required 'C:\wamp\www\commonplace2/extensions/VisualEditor/VisualEditor.php' (include_path='.;C:\php\pear') in C:\wamp\www\commonplace2\LocalSettings.php on line 156

What am I doing wrong?

Product Version
MediaWiki 1.26.2
PHP 5.5.12 (apache2handler)
MySQL 5.6.17
Ciencia Al Poder (talkcontribs)

For the first error, be sure the setupBlogNamespace call in LocalSettings.php is after require_once( 'extensions/Wikilog/Wikilog.php' );

For the second error, does C:\wamp\www\commonplace2\extensions\VisualEditor\VisualEditor.php exist on the server?

Halfbeing (talkcontribs)

Thanks for your suggestions, one of which has worked. It turned out that I had nested VisualEditor one directory too deep because of the way I unpacked the tarball. Now it is functioning properly. However that still leaves WikiLog. I've double-checked and I do have setupBlogNamespace set already. I've left it at the default value of 100.

Ciencia Al Poder (talkcontribs)

I've fixed the installation instructions in Extension:Wikilog, Wikilog::setupNamespace should be used instead

Halfbeing (talkcontribs)

I've made the adjustments you have suggested. Now I get a long list or warnings and notices, starting with

Warning: Missing argument 2 for Wikilog::setupNamespace(), called in C:\wamp\www\commonplace2\LocalSettings.php on line 154 and defined in C:\wamp\www\commonplace2\extensions\Wikilog\Wikilog.php on line 207

Warning: Missing argument 3 for Wikilog::setupNamespace(), called in C:\wamp\www\commonplace2\LocalSettings.php on line 154 and defined in C:\wamp\www\commonplace2\extensions\Wikilog\Wikilog.php on line 207

Notice: Undefined variable: name in C:\wamp\www\commonplace2\extensions\Wikilog\Wikilog.php on line 227 (with Wikilog::setupNamespace( ) at the bottom of the call stack)

etc

87.123.5.214 (talkcontribs)

Wikilog::setupNamespace() needs exactly three parameters: The first one is an even namespace number, th second one is the name of that namespace and the third one is the name of the according talb namespace.

See Extension:Wikilog for how to install the extension correctly!

Reply to "Fatal error after trying to install extensions"
Vincent Eisfeld (talkcontribs)

Hey! My Wiki (1.26.2) using files via InstantCommons since four years. But now there is a problem to open images. I get the error-code (German) "Fehler beim Erstellen des Vorschaubildes". What's wrong? Example

AKlapper (WMF) (talkcontribs)

See phab:T125781

Vincent Eisfeld (talkcontribs)

Ok, thanks! But how I can fix this bug?

AKlapper (WMF) (talkcontribs)

It should work - see https://phabricator.wikimedia.org/T125804#1998381 (as T125781 was marked as a duplicate of this one, in the meantime)

Reply to "Unable to open image (via Commons)"
67.132.9.201 (talkcontribs)

We have an old Media Wiki site currently running 1.6.1 on a server 2003 VM. We need to bring this up to a current version as well as migrate over to Server 2012. Has anyone done a similar upgrade/migration and if so what steps did you take? Unfortunately my team does not have anyone overly familiar with MW so we are attempting this with minimal background.

The current VM has the following versions:

  • MediaWiki: 1.6.1
  • PHP: 5.1.2 (apache2handler)
  • MySQL: 5.0.18-nt
87.123.45.172 (talkcontribs)

We have Manual:Upgrade for such cases. Just follow it and you should be fine!

67.132.9.201 (talkcontribs)

Thanks, hoping to attempt this tomorrow.

[solved] ResourceLoader failed after upgrade to MW1.26.0

3
Zoglun (talkcontribs)

http://zh.moegirl.org/load.php?debug=false&lang=zh&modules=startup&only=scripts&skin=vector

Using

/*
Internal error

Internal error

Problematic modules: {"startup":"error"}
*/
if (window.console && console.error) {console.error("Internal error\n\nInternal error\n\nProblematic modules: {\"startup\":\"error\"}");}
Zoglun (talkcontribs)

error message appear even if all extension turned off......

/*

exception 'LogicException' with message 'getDefinitionSummary must call parent method' in /wiki/includes/resourceloader/ResourceLoaderModule.php:626

Stack trace:

#0 /wiki/includes/resourceloader/ResourceLoader.php(643): ResourceLoaderModule->getVersionHash()

#1 (): Closure$ResourceLoader::getCombinedVersion()

#2 /wiki/includes/resourceloader/ResourceLoader.php(644): array_map()

#3 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(415): ResourceLoader->getCombinedVersion()

#4 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(388): ResourceLoaderStartUpModule->getAllModuleHashes()

#5 /wiki/includes/resourceloader/ResourceLoaderModule.php(624): ResourceLoaderStartUpModule->getDefinitionSummary()

#6 /wiki/includes/resourceloader/ResourceLoader.php(643): ResourceLoaderModule->getVersionHash()

#7 (): Closure$ResourceLoader::getCombinedVersion()

#8 /wiki/includes/resourceloader/ResourceLoader.php(644): array_map()

#9 /wiki/includes/resourceloader/ResourceLoader.php(696): ResourceLoader->getCombinedVersion()

#10 /wiki/load.php(47): ResourceLoader->respond()

#11 {main}

exception 'LogicException' with message 'getDefinitionSummary must call parent method' in /wiki/includes/resourceloader/ResourceLoaderModule.php:626

Stack trace:

#0 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(216): ResourceLoaderModule->getVersionHash()

#1 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(361): ResourceLoaderStartUpModule->getModuleRegistrations()

#2 /wiki/includes/resourceloader/ResourceLoaderModule.php(501): ResourceLoaderStartUpModule->getScript()

#3 /wiki/includes/resourceloader/ResourceLoaderModule.php(469): ResourceLoaderModule->buildContent()

#4 /wiki/includes/resourceloader/ResourceLoader.php(998): ResourceLoaderModule->getModuleContent()

#5 /wiki/includes/resourceloader/ResourceLoader.php(723): ResourceLoader->makeModuleResponse()

#6 /wiki/load.php(47): ResourceLoader->respond()

#7 {main}

Problematic modules: {"startup":"error"}

*/

if (window.console && console.error) {console.error("exception 'LogicException' with message 'getDefinitionSummary must call parent method' in /wiki/includes/resourceloader/ResourceLoaderModule.php:626\nStack trace:\n#0 /wiki/includes/resourceloader/ResourceLoader.php(643): ResourceLoaderModule-\u003EgetVersionHash()\n#1 (): Closure$ResourceLoader::getCombinedVersion()\n#2 /wiki/includes/resourceloader/ResourceLoader.php(644): array_map()\n#3 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(415): ResourceLoader-\u003EgetCombinedVersion()\n#4 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(388): ResourceLoaderStartUpModule-\u003EgetAllModuleHashes()\n#5 /wiki/includes/resourceloader/ResourceLoaderModule.php(624): ResourceLoaderStartUpModule-\u003EgetDefinitionSummary()\n#6 /wiki/includes/resourceloader/ResourceLoader.php(643): ResourceLoaderModule-\u003EgetVersionHash()\n#7 (): Closure$ResourceLoader::getCombinedVersion()\n#8 /wiki/includes/resourceloader/ResourceLoader.php(644): array_map()\n#9 /wiki/includes/resourceloader/ResourceLoader.php(696): ResourceLoader-\u003EgetCombinedVersion()\n#10 /wiki/load.php(47): ResourceLoader-\u003Erespond()\n#11 {main}\n\nexception 'LogicException' with message 'getDefinitionSummary must call parent method' in /wiki/includes/resourceloader/ResourceLoaderModule.php:626\nStack trace:\n#0 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(216): ResourceLoaderModule-\u003EgetVersionHash()\n#1 /wiki/includes/resourceloader/ResourceLoaderStartUpModule.php(361): ResourceLoaderStartUpModule-\u003EgetModuleRegistrations()\n#2 /wiki/includes/resourceloader/ResourceLoaderModule.php(501): ResourceLoaderStartUpModule-\u003EgetScript()\n#3 /wiki/includes/resourceloader/ResourceLoaderModule.php(469): ResourceLoaderModule-\u003EbuildContent()\n#4 /wiki/includes/resourceloader/ResourceLoader.php(998): ResourceLoaderModule-\u003EgetModuleContent()\n#5 /wiki/includes/resourceloader/ResourceLoader.php(723): ResourceLoader-\u003EmakeModuleResponse()\n#6 /wiki/load.php(47): ResourceLoader-\u003Erespond()\n#7 {main}\n\nProblematic modules: {\"startup\":\"error\"}");}

Zoglun (talkcontribs)

Problem caused by extension EventLogging. download 1.26.0 stable version solve it. (Note: master version of this extension does not work for me)