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

can't upload mp4 files mediawiki 1.35.3

3
Summary by Makaflay2021

I got more information about the error:


Error from line 119 of /var/lib/mediawiki/extensions/EmbedVideo/classes/media/FFProbe.php: Call to undefined method FSFile::getLocalRefPath()

90.74.93.225 (talkcontribs)

I'm trying to upload mp4 files , I have in LocalSetting.php the next variable:


$wgFileExtensions = array( 'mkv', 'mp3', 'mp4', 'png', 'gif', 'jpg', 'jpeg', 'd$

   'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx',

   'pptx', 'ps', 'odt', 'ods', 'odp', 'odg'

);

when I upload the file I receive the next message error:


[639146afe9eddb3e7ebd0c78] 2021-08-20 17:29:09: Excepción grave de tipo "Error"

TheDJ (talkcontribs)

I believe EmbedVideo doesn't work with the latest versions of MediaWiki.

41.114.211.75 (talkcontribs)

you

Reply to "can't upload mp4 files mediawiki 1.35.3"

Multiple values for a Module string

2
L2212 (talkcontribs)

Hi everyone,

I'm having a problem with a module on sc.wiki, the Citation one. I'm trying to change the string n°1287 (" DeadURL = DeadURL:lower() ~= 'no' ") to make it possible to use both 'nono' and 'no' (two ways to say "no" in Sardinian, even if "nono" is way more used) as values to specify that an URL is not dead, but I don't know how to do it. My previous attempts (1, 2, 3) didn't work. How can I do that?

41.114.211.75 (talkcontribs)

You

Reply to "Multiple values for a Module string"

server stuck starting up how do fix it

2
2600:380:D99E:1C93:8922:A837:759A:2768 (talkcontribs)

how can fix it

41.114.211.75 (talkcontribs)

😗😗😙😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😗😙😙😚😚😚😚😚😚🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰😍🥰🥰🥰😍😍🥰😍😍🤩🤩😍😍😍🤩🤩😉😉😉😉😉😉😉😉

Reply to "server stuck starting up how do fix it"
Jerhag (talkcontribs)

Very confusing.  Please just delete anything related to email: hag0223@gmail.com.   Just let me start over.  I have supported wiki financially a few times.  But this process is insane.  

41.114.211.75 (talkcontribs)

🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰😍😍😍🥰🥰🥰🥰🥰😍😍😊😊😊😊😊😍😍😊😍😊

Reply to "Difficulty with login."

Desktop Improvements will soon be available as default

2
SGrabarczuk (WMF) (talkcontribs)

Did you know?

According to our latest data, 88% of active editors of the 13 pilot wikis have decided to keep our improvements.

Within the next couple of weeks, the Wikimedia Foundation Web team will change the interface on MediaWiki.

Logged-in users will be able to keep the current look individually. A dedicated link will be available in the sidebar.

We are changing Wikimedia wikis to become friendlier websites. When we finish, the new desktop interface will be easier to use, more welcoming, and more intuitive. We are gradually deploying the improvements on more and more wikis.

We are changing one feature at a time. Each change is discussed, developed, and deployed separately. After improving all features, we will improve the overall look. We don't have any vision of the final effect.

What changes are we going to make?

So far, we have deployed:

  • Reconfigured logo - which will allow us to make the header sticky (fixed at the top of the screen). The sticky header will include the search, article tabs, and the user menu.
  • Collapsible sidebar - which allows to focus on the content. On some wikis, this has been a gadget.
  • Limited content width in articles and similar pages (not special pages or other pages containing logs) - which makes reading and learning easier. For more details about this change, like what we would do with the empty space or how this relates to large tables, see our FAQ.
  • Moved and improved search - which allows searching more quickly and effectively (provides pictures and descriptions of the search terms).
  • Exposed language button - which helps to notice the interlanguage links and allows to switch between the languages more often. Language switching is up to 4 times faster!
  • Conslolidated user menu - which makes it easier to understand the context of the links. Also, this will allow us to later make the header sticky.

We will deploy more features in the next months.

How will the changes work?

  • The improved features will be visible by default both for logged-in and logged-out.
  • These changes are for Vector only (it's the default skin). All users of Monobook or other skins will not see any difference.
  • We will not change the article content (as marked on the graphic to the right). We will not remove any functionality.
  • We test the changes a lot. This is how we know these truly are improvements.
  • Our decisions are based on research (example) and community feedback (example) as well.

How can you participate?

  • What is your impression? What do you like? What would you like to see changed? Ask below, or write to me. There's still a lot to refine!
  • Subscribe to our newsletter.
  • Read the pages of the project, and check our FAQ.
  • Follow our messages about gadgets and scripts. We provide support to maintain their compatibility.

The project I've just introduced is called Desktop Improvements, it's developed by the WMF Web team, and my name is Szymon.

41.114.211.75 (talkcontribs)

😁😁😁😁😆😆😆😆😂😂😂😂😂😗😗😗😗😗😗😙😙😚😘😘😘😘😘😚😘😘☺️☺️☺️😊🥰🥰🥰😊😊🥰🥰😍😍😍🥰🥰🥰🤩


😁

Reply to "Desktop Improvements will soon be available as default"

Not receiving email to activate new account registration

1
204.77.163.55 (talkcontribs)

I have attempted to register 3 times and each time I get a on the screen that says "Activation Email successfully sent". No email has yet showed up and it isn't in my SPAM folder... PLEASE HELP!!!!!

Reply to "Not receiving email to activate new account registration"

wiki appears without styles applied and images are missing

2
OOS1859 (talkcontribs)

I upgraded from 1.31.6 to 1.36.1, and the information is there on pages, but with minimal styles and no images. I looked at this: Manual:Common errors and symptoms#The wiki appears without styles applied and images are missing but was not sure what is meant by: " Try to browse the load.php file of your MediaWiki installation with your web browser". Does this literally mean I should enter: [wiki server url]/load.php into my browser search bar?

If so, when I do that, I get: "500 Internal Server Error", which I take to be what that help section refers to as: "500 error responses from load.php urls" (which is confusing to me because I only have one "load.php" url, not many...

If what I get is indeed "500 error responses", then I'm instructed to "check the webserver's error log files to get more information of the errors". Unfortunately, this is hosted on a server at my University, and I don't believe I have direct access to the webserver's error log files. What should I ask the University IT people to check for, exactly? Is there anything else I might try on my end?

OOS1859 (talkcontribs)

Update: If I set $wgShowExceptionDetails = true in my LocalSettings.php file, I can't get the wiki to load - I get "500 Internal Server Error". However, if I comment $wgShowExceptionDetails = true out, I DO get the wiki data without any formatting... Huh?

Reply to "wiki appears without styles applied and images are missing"

Mediawiki macOS installation: pecl install intl not working

3
Summary by YousufSSyed

I'm abdoning this since it's easier to run Mediawiki in a Windows VM

YousufSSyed (talkcontribs)

(I submitted another issue about pecl install redis not working, but this is for intl, I figured it should be a separate issue)

Mediawiki requires intl, which I heard requires icu4c. I ran brew install icu4c to install it, but when I enter in which icu4c, it outputs icu4c not found. When I try pecl install intl but I got this error:

checking whether to enable internationalization support... yes, shared

checking for icu-uc >= 50.1 icu-io icu-i18n... no

configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met:

No package 'icu-uc' found

No package 'icu-io' found

No package 'icu-i18n' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables ICU_CFLAGS

and ICU_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

ERROR: `/private/tmp/pear/temp/intl/configure --with-php-config=/usr/local/opt/php@7.4/bin/php-config --with-icu-dir=DEFAULT' failed

What should I do?

I left prompts like Specify where ICU libraries and headers can be found [DEFAULT] blank. Am I supposed to put answers in? If so, what?

btw, which php outputs /usr/local/bin/php after running brew install php@7.4

TheDJ (talkcontribs)
TheDJ (talkcontribs)

oh one note, some tutorials talks about adding variables to the bash profile etc. But in newer versions of MacOS you have to add these variables to your zsh profile as they come with the zsh shell instead.

Parsoid-/RESTBase-Server (HTTP 403)

1
70.162.164.250 (talkcontribs)

I tried to find a writeapi in filemanager on cpanel, but was not able to locate it...

Reply to "Parsoid-/RESTBase-Server (HTTP 403)"
Apatha11 (talkcontribs)

Hello Team,


We are not able to upload file in media.

Please guide how we can fix this?


Here is error:

Could not store upload in the stash (UploadStashFileException): "Could not create directory "mwstore://local-backend/local-temp/9/92".".

Malyacko (talkcontribs)
Apatha11 (talkcontribs)

Getting error: Error creating thumbnail: /bin/bash: /usr/bin/convert

Fokebox (talkcontribs)

There are can be several reasons for that type of error:

  • Check if image folder has all access rights.
  • Problems with ImageMagick, you check if you set a right path to it.
Apatha11 (talkcontribs)

Hi,

Both things is rights, permission to folder is proper given.

Please check.

$wgEnableUploads = true; 

$wgUseImageMagick = true;

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

Fokebox (talkcontribs)

I have other path to ImageMagick, my hosting provider helped me to set it:

$wgImageMagickConvertCommand = '/usr/local/bin/convert';

And please check once again that folder on your server has all rights: Set the permission of the image folder to 777

Apatha11 (talkcontribs)

This folder(convert) is not exit in my bin folder , I mean in "/usr/bin", there is no folder with name of "convert".

Can I manually create "convert" folder ???

Ciencia Al Poder (talkcontribs)

convert should not be a folder, but an executable file. In fact, it's the executable file that performs the thumbnailing. ImageMagick must be installed on the server. If you're not sure if it's installed or not, ask your hosting provider.

Apatha11 (talkcontribs)

How can we check, if it's installed or not.. as I am the only person handling this?

Is there any CMD to check? If not installed then how to Install it. Please clear this doubt.

Fokebox (talkcontribs)

You can ask your hosting provider to help.

Apatha11 (talkcontribs)

This is not solution , As I am simply asking how can I check, and install?

Please guide properly.

TheDJ (talkcontribs)

imagemagick is generally only installed if the file /usr/local/bin/convert or the file /usr/bin/convert exists. if neither of those files exist most likely ImageMagick is not installed. See your distribution details about how to install that.

Note that this forum is for MediaWiki support, it is not here to teach general Linux and server maintenance basics.

Reply to "Unable to upload file"