Project:Support desk

Jump to navigation Jump to search

About this board

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

(Read this message in a different language)

See also

Other places to ask for help:

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".

How do I know if I am a member?

2
2600:1700:EE90:2890:B49B:3A23:90CD:26FD (talkcontribs)

Neither my email address or my name is coming up anywhere I try to enter it. However, this was years ago and I may have had a different email address which I do not remember. Can ANYONE help me? These help pages might as well be in Swahili!

I cannot log in, because the site will not accept my name or email addresses, so I am adding my email address here. mrdoolin1@yahoo.com.

Thank you so much!

Malyacko (talkcontribs)

Welcome to the support desk for the MediaWiki software. Which website is that about? Member of what exactly?

Reply to "How do I know if I am a member?"

MediaWiki does not load at all

7
Summary by Amfidiusz

Some PHP process got looped, server support managed to kill it. No logs to determine whats happened.

Amfidiusz (talkcontribs)

Hello,


I have encountered the first issue with my MadiaWiki installation. I was playing with Vector.CSS file yesterday when the site stopped loading. At all. It doesn not show any errors or misconfiguration alerts, it just keeps endlessly loading. I tried different pages, other than main page, still the same. I removed all extra extensions and rss whitelist form LocalSettings.php, still the same. Tried different devices and browsers. I placed a custom .html file in the main directory and it was accessible, it's not a domain problem. I tried Manual:How to debug but the files is not being written as nothing loads. Same with browser console, it's empty.


What my be the issue there?



While creating this thread I received a reply from my server helpdesk. They claim the PHP process got looped and caused the site not able to run. They attached a screenshot with the lsphp73 process endlessly running. Possible MediaWiki bug or misconfiguration in my files?

Bawolff (talkcontribs)

it would be interesting to know what you put in the css. Ideally it would be good to know where mediawiki is stuck.


Try running manual:runJobs.php from the commandline (does it work?). You could try seeing if the api (especially actual api not the doc page) works and remove whatever you added to the css. You could also try manual:edit.php to edit from commandline.

Amfidiusz (talkcontribs)

Thanks! I don't have access tothe commandline, it's a shared hosting.

I played with vector.css and mobile.css styles doing some minor changes to the background or font colors. I also placed my infoboxes styles in common.css. After the support broke the loop, they are accessible here:

https://wiki.starfield.pl/wiki/MediaWiki:Vector.css

https://wiki.starfield.pl/wiki/MediaWiki:Mobile.css (should be same as vector.css)

https://wiki.starfield.pl/wiki/MediaWiki:Common.css

Is there a way to avoid that issue in the future?

MarkAHershberger (talkcontribs)

Without knowing what happened, it is hard to know how to avoid it. If it does happen again, please raise the issue with us and we'll try to get some more information. Logs would be good.

Bawolff (talkcontribs)

maybe it could be an i18n recache event that somehow got stuck, but that doesnt quite sound right (if so adjusting manual:$wgCacheDirectory to somewhere writable might help). Really impossible to know without knowing what happened.

Amfidiusz (talkcontribs)

Thank you, gentlemen! I will address my issue here next time it happens before contacting the server support desk. The last four days were alright, nothing has happened. Cheers!

PaulLCarter (talkcontribs)

I have the same problem, but managed to work around it. When running ImportTextFiles.php, after about 10-20 files, the upload would loop (not progressing) without an error and memory/cpu would climb indefinitely.

My work-around is to call the script with one file at a time and add a 4 second sleep interval between each call. It has been working reliably that way for the last couple of hours.


I think there's an issue in ImportTextFiles with async handling of page updates. If the updates occur too quickly and the machine, DB or disk IO are too slow, then some sub-function is returning success to the ImportTextFiles.php program without actually completing the task. This needs to be changed so that updates are synchronous.

Reply to "MediaWiki does not load at all"

Run All Cache Invalidations

1
Jabowery (talkcontribs)

How does one run all cache invalidations subsequent to updating a template?

I'm making extensive use of templates to simulate what might be thought of as a "Documented Spreadsheet" and can't afford to present invalid cached HTML after an update. Moreover, I don't want to recalculate all HTML cached pages after an update since many pages may have fallen into obsolescence but not yet been deleted for historical purposes.

Reply to "Run All Cache Invalidations"

Trouble configuring the upload directory.

1
TheAutomaticc (talkcontribs)

I have sat here for hours trying to research this problem extensively and am back to square 1. I have followed the examples

on the previous pages to no avail.

I have an issue similar to the one I found from Adba.swht 4 years ago. (Unable to display file in Mediawiki)

The problem is that files upload are being created at the root folder for some reason.

Here is what i have in the Localsettings.php file.

$wgUploadDirectory = "$IP/images";

$wgUploadPath = "$wgScriptPath/images";

If I change it to $wgUploadPath = "/inetpub/wwwroot/mediawiki/images";

I get the following error message:

Action failed

Could not open lock file for "mwstore://local-backend/local-public/e/eb/ABCover.jpg". Make sure your upload directory is configured correctly and your web server has permission to write to that directory.

See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgUploadDirectory for more information.

I changed the upload path to $wgUploadDirectory = "/mediawiki2/images";

just to verify it is being created and sure enough at C:\mediawiki2\images

the files are created. ie. /f/ff/testimage.jpg

Its not that the files dont upload, its that when they do then

1. The file itself cannot be found

2. The thumbnail fails to render (Error creating thumbnail: File missing)

Also, the system temp folder keeps creating phpXXX.tmp files

this is probably related so I figured its worth mentioning.

As stated before I have tried several examples but nothing seems to work.

Any and all help would be GREATLY appreciated.

Thank you in advance.

Reply to "Trouble configuring the upload directory."

Forgotten password with no email

3
109.213.7.154 (talkcontribs)

Hi,

I'd like to start re-using my old Wikipedia account which I made in 2014 and haven't used since 2016ish. My password doesn't seem to work. I tried resetting the password but that doesn't seem to work either, I don't receive any email; I don't know if I ever attached the account to a specific email address, maybe I didn't.

The account is called @Liberivore and apparently still exists.

Any chance of getting it back or is it dead and gone and I should make a new account?

Thank you for any assistance.

Malyacko (talkcontribs)

If you find a way to absolutely surely prove that you are the very same person who also once created that very account, then please share more info.

109.213.7.154 (talkcontribs)

Hi,

If it has an email address associated with it, my name is in that address.

If not, I found the list of contributions from that account (https://en.wikipedia.org/w/index.php?title=Special:Contributions/Liberivore&dir=prev&offset=20150422203729&target=Liberivore). One of the very first edits is to the page of my high school and, a few years later, that of my university and that of my senator. I'd be able to prove all of those things individually. I don't know if that's sufficient though as there could hypothetically be someone with very similar life-interests.

Thanks

L

Reply to "Forgotten password with no email"
Sokote zaman (talkcontribs)

Hello I installed the wiki from scratch and replaced the new 5GB photo folder The previous wiki is 1.35 with the current one Everything is fine but does not call photos Also, Special:ListFiles is nothing

Sokote zaman (talkcontribs)

I'm disappointed in your guidance. Is it permissible to take more than 1,000 photos from Wikiman and transfer it to The Destination Wiki? @Jonathan3

Jonathan3 (talkcontribs)

The wiki won't know about the files, unless you copy across the old database (as well as the wiki files) - or maybe Category:Bulk_upload will help.

This post was hidden by Jonathan3 (history)
Reply to "Move the images folder"

[SMW] Embedded queries are not auto updated

2
92.89.123.253 (talkcontribs)

Hello,

I am facing an issue with Semantic Mediawiki embedded queries {{#ask:...}} on my wiki with Mediawiki 1.35.1 and Semantic Mediawiki 3.2.3.

Queries are working fine but their displayed result are not automatically updated even when their *actual* results change (i.e. the retrieved data change as a result of some modifications on queried pages). I can force the update by purging the query page, but I have multiples queries accross my wiki and this is not a long term solution.

I have disabled all caching mechanisms (wgMainCacheType, smwgMainCacheType, smwgQueryResultCacheType) and non-default extensions, without any visible improvement.

Yet if I execute the SQL I get from {{#ask:...|format=debug}}, everything is fine. I don't know how to go further :(

Any idea on how I could fix this?

Jonathan3 (talkcontribs)
Reply to "[SMW] Embedded queries are not auto updated"
Plastacikec (talkcontribs)

Hello, so I wanted to install the Scratch Wiki skin on my wiki, I loaded it using wfLoadSkin( 'ScratchWikiSkin2' ); but when I set it as a default skin and try to visit the wiki, it displays a 500 HTTPS error for some reason. Is there a way on how to fix this?

Reply to "Scratch Wiki skin issue"

Search results for other wikis

2
Kanasalaatti (talkcontribs)

I have my own wiki farm, multiple wikis, and I would like to enable it so that when I search for something on a wiki on the Special:Search -special page, it shows similar results from other wikis. We have CentralAuth up and running and the wikis are connected.

What setting should be on for the search function to show results from other connected wikis?

Bawolff (talkcontribs)
Reply to "Search results for other wikis"
Plastacikec (talkcontribs)

Where can I get the templates like This page in a nutshell, or a Stub template?

Tanbirzx (talkcontribs)

At first you should go to a page with source editing option then you will see a function bar top of the page. In there you can find a search box for template.

For external help-

See Help:Templates#Linking to a template

Bawolff (talkcontribs)
Reply to "Templates"