Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".

Change the default questions

6
M4tinbeigi (talkcontribs)

After installing the media wiki script, a few questions will be asked during the registration that the name of Wikipedia is mentioned. Shouldn't this name change the name of the site?

For example, I started WikiDM, instead of asking questions about WikiDM, it asks questions about Wikipedia.

Malyacko (talkcontribs)

Please see "Post a new question" in the sidebar.

Bawolff (talkcontribs)

The install should never ask any questions about wikipedia at all. Although it might use the phrase "your wiki" (wiki being a generic noun).

What is the exact text it is asking you think should be changed?

M4tinbeigi (talkcontribs)

You can go to wikidm.org, and check in the registration section that all questions are related to Wikipedia. I would also like to say that this happens in Persian, I did not study in English.

Malyacko (talkcontribs)

Did you set up and run wikidm.org? If so, which steps where (URL) did you follow?

Bawolff (talkcontribs)
Reply to "Change the default questions"

New article I can’t get it written for Drug Adicts Anonymous Uk

2
Jamieparrie (talkcontribs)

Would I be able to ask someone to write an article for our group we just don’t have the know how and it’s a very good potential article I just need help to write it

Bawolff (talkcontribs)

This is not the place to ask. You could try asking at w:WP:Teahouse or somewhere like that, but its unlikely someone will just write an article for you.

Please also be aware of w:WP:COI

Reply to "New article I can’t get it written for Drug Adicts Anonymous Uk"
Celyn Kendrick (talkcontribs)

I seem to run into an issue where templates nested to a certain depth don't display... what is that number, and can I change it? (i.e. if its default is set to 3, can I go to 4?)

ex:

Page>All Items for sale > each item > each item details

Bawolff (talkcontribs)

Manual:$wgMaxTemplateDepth. Default is 100 so maybe your issue is something else? If you view html source there should be a comment saying all the limits.

Celyn Kendrick (talkcontribs)

Thanks. It was all the onlyinclude/includeonly tags messing things up. I think I've got it sorted out now.

Reply to "Depth of templates?"

Template inside of template parameter

2
Redheadkelly (talkcontribs)

I have a template that includes a 'citation' parameter. That parameter might contain {{cite web|title=website}} or {{cite book|title=book}}.


I would like to use this parameter two different ways in the template. First, I want to display the text exactly as it is: {{cite book|title=book}}. Secondly, I would like to actually invoke the cite template to format the citation as a citation.


I can't figure out how to get it to display exactly as entered in the parameter: {{cite book|title=book}}. Ideally, I would prefer it to display as code using the <code> tag.

Bawolff (talkcontribs)

Its not possible. At best you could (with scribunto) load the wikitext of the original page and try to find the template invocation (i dont reccomend this).


You could of course make the parameter be not a template and just the template name.

See also phab:T322513

Reply to "Template inside of template parameter"

Unable to log into any mediawiki site other than this one

4
Entropy2 (talkcontribs)

Whenever I try to log into any mediawiki hosted wiki, I receive an "incorrect username or password" error. I have verified that I am using the correct username and password, it persists across browsers, it persists in incognito mode, it persists across devices.

Any assistance is welcome.

Ammarpad (talkcontribs)

How did you verify that you have "correct username and password" in the first place.

Entropy2 (talkcontribs)

Typed to separate notepad, pasted both here and the wikis in question. Worked here, did not work at the wikis.

Bawolff (talkcontribs)

What is the wiki in question?

Reply to "Unable to log into any mediawiki site other than this one"

Edit the text for the permissions error message

3
Lucy Tech (talkcontribs)

When a user doesn't have the correct permissions to edit a page on my site a 'permissions error' shows. How do I edit the text for this permissions error?

MarkAHershberger (talkcontribs)

Add ?uselang=qqx to the url where you are seeing the error message. In place of the error message, you'll see a string like "user-permission-denied". That tells you that you can use the page MediaWiki:user-permission-denied on your own wiki to change what that message says.

2804:F24:C105:F600:D59C:7756:B2E0:9E3A (talkcontribs)

Eu não entendi, uselang=qqx?

Reply to "Edit the text for the permissions error message"

how do I delete my editor account

3
Thenewurbanshaman (talkcontribs)

Dear Support, I'd either like to change my username or delete my editing account and create another with my new desired user name. Thanks, Terry.

Ciencia Al Poder (talkcontribs)
Thenewurbanshaman (talkcontribs)

Dear Ciencia AI Poder, I'll follow the link, thank you very much. Kind regards, Terry ;-)

dpl3 lists update automatically ?

1
Marcellinjobard (talkcontribs)

according to the manual : "DPL lists are automatically updated whenever said data changes." but I have to edit and save a page with DPL pattern to force all DPL lists to update.

In the DPL3 page on this wiki : "by default all output is cached for a period of one hour to reduce the need to rerun the query every page load"


Is it possible to force DPL3 to refresh lists when users add or edit pages ?

I see this question in this support desk, in the DPL3 talk page and in other forums from almost 7 years without seeing an answer. I don't see any counter-indications on a small wiki that doesn't allow public editing

Reply to "dpl3 lists update automatically ?"

Regular run to the bot

5
Neriah (talkcontribs)

I run a bot through paws. How can I set it to run automatically every day or every week? Thanks!

Ammarpad (talkcontribs)
Neriah (talkcontribs)

@Ammarpad Can this be done using paws? I don't like using Toolforge...

Ammarpad (talkcontribs)

In you original post you said you're already using PAWS to run a bot. So what are you asking now?

BDavis (WMF) (talkcontribs)

PAWS does not currently provide cron or other scheduling engines, so your only option there is manual execution. As Ammarpad has suggested, Toolforge would allow scheduled jobs using wikitech:Help:Toolforge/Jobs framework.

Reply to "Regular run to the bot"

Error: The file for "file" could not be stored for processing due to a server misconfiguration (no temporary directory).

4
Gachangi (talkcontribs)

I am getting this error when I try to upload a file to my CentOS8 server. I have tried setting the path in LocalSettings as below and on both instances it does not work. All other images are rendering properly as intended, only uploads not working.


User apache has read and write rights to the temp folder

$wgEnableUploads = true;

$wgFileExtensions = array('png','gif','jpg','jpeg','ogg','mp3','svg','bmp');

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

$wgTmpDirectory = false;

-------Second configuration tried-------

$wgEnableUploads = true;

$wgFileExtensions = array('png','gif','jpg','jpeg','ogg','mp3','svg','bmp');

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

$wgTmpDirectory ="/var/www/html/w/images/temp";

Product Version
MediaWiki 1.37.1
PHP 7.4.33 (fpm-fcgi)
MariaDB 10.3.28-MariaDB
Bawolff (talkcontribs)

For the second config, does /var/www/html/w/images/temp actually exist and is writable by webserver (and selinux is not preventing writing?)?

Gachangi (talkcontribs)

Yes apache has full read and write and even execute, see below;


drwxrwxrwx.  2 apache apache  41 Mar  2 10:34

Gachangi (talkcontribs)

A reboot for me solved this issue

Reply to "Error: The file for "file" could not be stored for processing due to a server misconfiguration (no temporary directory)."