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, 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".
This comment was hidden by 113.185.15.116 (history)
AhmadF.Cheema (talkcontribs)

Might need to run update.php to get the fields to update.

Waanders (talkcontribs)

Isn't that a bit drastic method?

Reply to "Date extension Special:Version page"

Any user cannot change password using Preferences

4
GreenGhost (talkcontribs)
MediaWiki 1.27.4
PHP 7.0.27-0+deb9u1 (apache2handler)
MariaDB 10.1.26-MariaDB-0+deb9u1

User log in, press Preferences, then Change password. And instead Change password form open url <server>/w/index.php?title=Special:ChangeCredentials/MediaWiki\Auth\PasswordAuthenticationRequest&returnto=Special%3APreferences with authorization request.

Ciencia Al Poder (talkcontribs)

What extensions do you have installed? Looks like you may have an auth plugin or similar

GreenGhost (talkcontribs)

Installed extensions:

Cite

Nuke

ParserFunctions

Renameuser

SyntaxHighlight_GeSHi

WikiEditor

Math

Semantic MediaWiki

Already tried to disable all extensions - nothing changed.

Ciencia Al Poder (talkcontribs)

Ugh, well, I though it was an error, but no, it's normal behavior. To change your password you should first enter your current password. What's the problem with that?

Reply to "Any user cannot change password using Preferences"

There were no results matching the query.ಠ ̯ಠ

5
Jaller79 (talkcontribs)

Can I change this page when no results are found Id like to list alternative locations where we hold information to point - users at -

There were no results matching the query.

Where in the wiki can I edit this to tailor it?

thanks

All J

Osnard (talkcontribs)

You could modity the system message by editing the page MediaWiki:Search-nonefound on your wiki. See also Help:System_message

Jaller79 (talkcontribs)

Super thanks for the fast response

Jaller79 (talkcontribs)

Sorry no Luck I can get to help system messages then search then tried search for

There were no results matching the query

no luck

Jaller79 (talkcontribs)

ah found it

had to set search 5000

Reply to "There were no results matching the query.ಠ ̯ಠ"
37.29.48.130 (talkcontribs)

Уважаемая администрация Википедии. Прошу Вас  из своего ресурса навсегда убрать все статьи  про меня, Уланова Владимира Ивановича

Убрать все статьи, инкубаторы и курятники на русском и английском языке, которые я никогда не писал и не давал согласие на их написание Полностью убрать мое имя из вашего ресурса и завещаю, что после моей смерти мое имя в Википедии, чтобы никогда и никем не упоминалось, если она еще будет существовать.  Потому как считаю,  быть в таком несовершенном ресурсе, плохим тоном, зазорно и оскорбительно, который не соответствует европейским стандартам

                    Писатель Уланов Владимир Иванович

Reply to "обращение"
212.204.92.13 (talkcontribs)

There is the maintenance script importTextFiles.

My Question: Exists the opposite, a script like exportTextFiles.php

which produces a textfile for each page?

Additionally: How to remove all pages without the main page?

best regards....

AhmadF.Cheema (talkcontribs)

The most appropriate way to export Wiki content is to use Special:Export, which will export pages in an XML format. The XML format can be used to see the content in plain text.

For deleting pages, the way would be to create a text file with a list of all pages in the Wiki, remove "Main page" from the list and then use DeleteBatch.php with the text file to bulk delete pages.

See Manual:DeleteBatch.php for more details.

Ciencia Al Poder (talkcontribs)

There's getText.php which you can use to redirect the output to a file. If you have a list of pages, you can easily script it.

Deleting pages will still leave them in the archive, and the text remains on the database, so you can restore it later, but it takes disk space. If you only want to "reset wiki to initial state" you may want to drop the database and create it again from the installer.

2001:16B8:10A9:8700:D12B:CA52:FFE2:E32F (talkcontribs)

> If you only want to "reset wiki to initial state"... ...this however will not only remove the pages, but also everything else, e.g. the users and the references to all files.

Actually, after you deleted pages so that they are in the archive table, you can use the maintenance script deleteArchivedRevisions.php to permanently delete the revisions from the archive table. Note that it is not the revisions, which take up much space. Instead, the text of the single revisions is taking up most of the space. The deleteArchivedRevisions.php script also takes care to remove the according texts.

Reply to "maintenance"

Set User-Preferences - Notification per default?

2
Evetro (talkcontribs)

Hi,

how i can do this to set a checklist element in the User-Settings to default. I want to inform the User per E-Mail, after a site was edited (Notifications)

Thanks for Support

AhmadF.Cheema (talkcontribs)

See the second to last comment on Topic:Rmkfhnqnha5j7wmh.

Reply to "Set User-Preferences - Notification per default?"

How to put external link to QuicNavi template

1
TraaBBIT (talkcontribs)

Hello.

Here is my template QuickNavi.

How to put external link inside it? When I do that I break all template.

https://wazeopedia.waze.com/wiki/Poland/Szablon:PL_QuickNavi/Spo%C5%82eczno%C5%9B%C4%87

Reply to "How to put external link to QuicNavi template"
Krayfishkarl (talkcontribs)

I've been getting some complaints from the users of my site about error messages regarding account creation. Specifically, when trying to create an account, they get "Forbidden. Please submit form again. " or a variant that says "You submitted too quickly." I tested this out myself and it's been fairly inconsistent. Sometimes, I'm able to create an account after one try, but other times I can't at all after five or more tries.

After doing some digging, I found that temporarily disabling CleanTalk (from the Antispam plugin) allows one to register their account with no further hindrances. I don't quite understand why CleanTalk has to do it with it though because to my knowledge, a different error message regarding blacklisting appears if a spambot tries to register. However, I am hesitant to turn CleanTalk off in the long term because it actually does its job really well at blocking spam. It blocks about 300 - 400 attacks per week with only one or two misses every now and then.

I haven't been able to find any other topics regarding similar issues, so I was wondering what I could do to be able to fix this.

MarkAHershberger (talkcontribs)

It sounds like CleanTalk is taking too long to update or erroring out. What do the logs of your site say when there is a problem?

This comment was hidden by 113.185.25.103 (history)
星耀晨曦 (talkcontribs)

This should be just a logical issue with the extension code, it's just a notice.

Reply to "Forbidden. Please submit form again."
Huwmanbeing (talkcontribs)

I'm setting up a Mediawiki installation and somehow got into a state where my password is not accepted. Since I hadn't yet gotten email configured, I tried to reset my password using the instructions at Manual:ChangePassword.php, but encountered this error:

PasswordError from line 62 of /var/www/mywiki/public_html/maintenance/changePassword.php: * The supplied credentials cannot be changed, as nothing would use them.
* The authentication data change was not handled. Maybe no provider was configured?

Backtrace:
#0 /var/www/mywiki/public_html/maintenance/doMaintenance.php(111): ChangePassword->execute()
#1 /var/www/mywiki/public_html/maintenance/changePassword.php(73): require_once(string)
#2 {main}

Does anyone know how to go about diagnosing this, or what the cause might be? Any advice is greatly appreciated since at the moment I'm unable to administer my wiki. Thanks very much!

MediaWiki=1.29.1, PHP=7.0.22, MySQL=5.7.20.

Huwmanbeing (talkcontribs)

Just pinging for a response. Any thoughts? Huwmanbeing (talk) 20:52, 18 January 2018 (UTC)

Osnard (talkcontribs)

Do you have an authentication provider enabled? Do you use any authentication extensions? OAuth?

Reply to "ChangePassword.php error"
Kghbln (talkcontribs)

Admittedly this is the first time I try this. The docu on how to do this is pretty unclear. As a result saving pages does not work.

My setup:

  • MW 1.30.0
  • PHP 5.6.33
  • MariaDB 10.0.33
  • Parsoid 0.8.0
  • NodeJS 8.9.4

(MediaWiki) LocalSettings.php:

## VisualEditor
wfLoadExtension( 'VisualEditor' );
$wgVisualEditorAvailableNamespaces = [
        NS_MAIN => true,
        NS_USER => true,
        NS_EXTRA => true
        ];
$wgVirtualRestConfig['modules']['parsoid'] = [
        'url' => 'https://parsoid.example.org:8143',
        'domain' => 'sd.example.org',
        'prefix' => 'seexo'
        ];

(parsoid) config.yaml:

conf:
 mwApis:
     uri: 'https://sd.example.org/w/api.php'
     domain: 'sd.example.org'  # optional
 serverPort: 8143

(stunnel) parsoid.conf:

cert = /etc/letsencrypt/live/sd.example.org/fullchain.pem
key = /etc/letsencrypt/live/sd.example.org/privkey.pem

[parsoid]
accept  = 8143
connect = 8142

(apache) sd.example.org.conf

   ...
   ServerAlias parsoid.example.org
   ...

As soon as I want to save a page I get:

(curl error: 7) Couldn't connect to server

and

apierror-visualeditor-docserver-http-error

From reading all the related threads it is either a version mismatch or a config issue. However I do not get what I am doing wrong.

Any hint is highly appreciated. Thanks a ton in advance!

Kghbln (talkcontribs)

Needless to say that parsoid is running, at least the service parsoid status is telling me. I also checked if it is possible to work with NodeJS i.e. typing node and getting > ... . This test ended positively, too. The parsoid.log remains empty for this issue.

Kghbln (talkcontribs)

Downgrading to nodeJS 6.12.3 does not help either. I get the same error. This is pretty frustrating.

Kghbln (talkcontribs)

Switching all to use localhost does not help either. Same error or all ports I tried, i.e. 8000, 8142 or 8143. Tried several variations.

Kghbln (talkcontribs)

So the big question is: Where should parsoid show up?

  1. https://parsoid.example.org:8143
  2. https://parsoid.example.org:8000
  3. https://sd.example.org:8143
  4. https://sd.example.org:8143
  5. https://localhost:8000

- same for http.

Again the error message remains the same.

Kghbln (talkcontribs)

Well the thread should be called getting parsoid to work??? I realized that parsoid is not getting stiff. I expected issues but did not realizes that it will be that bad. I will revisit this and try to get it running.

Reply to "Getting VisualEditor to work???"