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".
Language:Project:Language policy English  español
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

Hown to have the same usernames on different wikis?

4
Kianlolcat99 (talkcontribs)

Without making wiki farms. Basically how Wikipedia is like. If you don't understand what I am saying: For example, my Wikipedia user and mediawiki user is the same exact. If I get a notification on mediawiki and I amust on Wikipedia, a notification for it will show.

AhmadF.Cheema (talkcontribs)

Probably something to do with Extension:OAuth and Extension:OAuthAuthentication.

AKlapper (WMF) (talkcontribs)

Extension:CentralAuth

Kianlolcat99 (talkcontribs)

AKlapper Should I do it with a wikifarm, or no?

Reply to "Hown to have the same usernames on different wikis?"

Sorry! This site is experiencing technical difficulties.

9
Kianlolcat99 (talkcontribs)

Hello, My wiki is not on the internet, rather I am editing it locally. It worked perfectly. I moved my wiki from one computer to another. Now when I open it, it says the following message- "Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Cannot access the database)"

I am using XXAMP (on both computers), and both computers are windows. Can someone help me? Thanks, Kianlolcat99.

Edit: This is Mediawiki 1.26

83.135.239.136 (talkcontribs)

In LocalSettings.php you have the database credentials, which MediaWiki is using to connect to the database. On the new server these credentials obviously are different from the old one.

Make sure that database name, MySQL username, password and host are correct!

Reception123 (talkcontribs)

It could be a problem with the ports. Be sure to check those and check that you haven't changed the MySQL username or password.

Kianlolcat99 (talkcontribs)

Ok I will check them then. When I do both of the things you suggested, I will report what happened.

Kianlolcat99 (talkcontribs)

83.135.239.136, do I have to update my media wiki version?

83.135.232.71 (talkcontribs)

No, to get this problem solved you don't have to update MediaWiki. All you have to do is adjust the database variables in LocalSettings.php. Then MW 1.26 will work again.

However, when you are looking at Version lifecycle you will notice that MW 1.26 no longer is supported. So you in fact should upgrade - in order to keep your system safe.

Kianlolcat99 (talkcontribs)

What database variables do I have to adjust?

Ciencia Al Poder (talkcontribs)

Manual:Configuration settings#Database settings.

Setting $wgShowSQLErrors to true may also display a more detailed error message.

Be also sure that the database server is running.

Kianlolcat99 (talkcontribs)
Reply to "Sorry! This site is experiencing technical difficulties."

What is the difference between CentralAuth and a Shared Data Base

1
Kianlolcat99 (talkcontribs)

Please make the explanation simple. I read the pages, and I think I do know what are the differences, but I am not 100 percent sure however. Please explain it as simple as possible. Thank you.

Reply to "What is the difference between CentralAuth and a Shared Data Base"

Extension:pdfHandler - Restrict rendering of pdf

8
Carchaias (talkcontribs)

I have a Wiki wich contains a lot of pages wich list a larger amount of uploaded pdf-files (by semantic mediawiki). I tried to activate Extension:PDFHandler but it acquired so much system resource when calling that pages that errors come up. I think thats some timeout and the initial rendering is very slow. There is no problem with pages that contain only some pdf-files and / or even smaller ones. I'm not very interrested in having thumbnails for each pdf on everywhere but I like the preview on the File:-pages. Is it somehow possible to control where pdf-handler should render the pdf-s and where not. Maybe a magicword like __nopdfhandler__ on the pages which contain larger number of links to pdf files or the like would help. One could include this to templates.

Ɲʊŋɛ ʁɑɣʊɪŋðɪŋ (talkcontribs)

i know the history of word alphabet from past to explored to begun in proper arrangement by historical share of every culture become perfect word of god...

AKlapper (WMF) (talkcontribs)

What is the exact error that comes up? That should be the first thing to investigate, not necessarily some ideas for random workarounds...

Carchaias (talkcontribs)

The message is

"This page is experiencing technical difficulties. "

Malyacko (talkcontribs)

You get a completely blank page and the only single thing that is displayed literally says "This page is experiencing technical difficulties" in English, and nothing else at all? I'm asking as I can imagine that's not an error created by MediaWiki.

Ciencia Al Poder (talkcontribs)

In Extension:PdfHandler there's a configuration variable called $wgPdfCreateThumbnailsInJobQueue. Have you tried that? It should queue the thumbnails so they're rendered one at a time. This should mitigate the issue when a page contains lots of embedded PDFs and all need to be rendered, speeding the load, but the thumbnails in this case may be delayed (not all PDFs would have thumbnails).

Carchaias (talkcontribs)

I doublecheckt what happens when I turn pdfHandler on. On pages that contain a larger amount of links to uploaded pdf-files (by semantic mediawiki #ask) -> It take about 2 minutes with a white screen and the the following message appears (on the white screen)

"An internal server error occurred. Please try again later."

I found out that some of the pdf that have to be rendered cause errors. I checked this by calling the file:-pages one by one. One error is

<pre>"An internal server error occurred. Please try again later."</pre>

as above.

Another errror is the File:-Page loads but there is something like

<pre>"Fehler beim Erstellen des Vorschaubildes: convert: unable to acquire cache view `File too large' @ fatal/cache-view.c/AcquireAuthenticCacheView/121."</pre

instead of the thumbnail.

Yes I think that message is not generateed by mediawiki but at least it is related to pdfHandler (and it's environment), cause there are no problems when turning it of.

I tried $wgPdfCreateThumbnailsInJobQueue = true and = false but I can't see any difference .

Ɲʊŋɛ ʁɑɣʊɪŋðɪŋ (talkcontribs)

we need to respect nationality dialect of their language in right grammar to accept but if the rules of word of god to disgrace and they change without any thing reliable from past I therefor to reject their cultured word knowing where it helpful for us in freewill order by world to respect all of us...

Reply to "Extension:pdfHandler - Restrict rendering of pdf"
CSchrieb (talkcontribs)

I know this is probably over-asked, but I'm running out of time. I'm having trouble finding information on creating Templates, specifically for Infobox, for a private MediaWiki site. I understand the hesitation to offer the information, due to the chance someone may take it as license to make changes to public sites. However, as a private site, I have some specific needs.

I attempted to follow the Import/Export process spelled out here (below), but I get a Server 500 error when I do the import. (The XML appears well-formed to me, though.)

Manual:Importing Wikipedia infoboxes tutorial

Any direction that can be provided would be appreciated.

MediaWiki version 1.28.0 (release 83)

PHP version 5.4

MySQL version -- unsure

My proof of concept site (my testing for compatibility with the full need) is lisbona.trianglemoon.com

Fokebox (talkcontribs)

Please, see here: https://en.wikijournal.org/wiki/How_to_create_website_on_MediaWiki#Using_of_templates_in_articles

CSchrieb (talkcontribs)

Thank you. I may be misunderstanding the topic. It looks like this is where I needed to start.

CSchrieb (talkcontribs)

Unfortunately, this primarily shows how to consume a template. I'm looking to create a template, (and additionally, figure out how to format it so that it moves to the right, like you see on MediaWiki pages).

Any further direction greatly appreciated!

AhmadF.Cheema (talkcontribs)

The server 500 error you are getting is likely because of some server side configuration issue. Take a look at this: Manual:How to debug, in order to get more error information.

CSchrieb (talkcontribs)

I'm still having trouble understanding the relationship between "Template:Infobox" and "Template:Infobox connector", for example. Is Infobox required to create a template like Infobox connector?

I'm literally just trying to create something simple that gets offset to the right:

Name = Bob_File

Location = GLBS22\peer

Acceptance Date = Mar 22, 1988

Am I perhaps not looking for the right object?

Reply to "Template Information"
Jackieslk (talkcontribs)

my letters wont send on open office

Reply to "my letters wont send on open office"

What are the recommended file and directory permissions for MediaWiki?

1
Tommyheyser (talkcontribs)

New install of MediaWiki 1.28 on Ubuntu 16.04. Permissions for /var/www/html set to 755, owned by me user:www-data.

Did a Download from Git install, before and after doing composer install, the file and directory permissions are readable and writable but not executable for group. Should I set them to 755 manually?

Reply to "What are the recommended file and directory permissions for MediaWiki?"

trying to use gimp but keep sending me to other programs

1
47.203.49.96 (talkcontribs)

trying to use gimp but keeping sent to other sites like this one. pls help a granny

Reply to "trying to use gimp but keep sending me to other programs"
47.203.49.96 (talkcontribs)

where is create image button???

Reply to "where is create image button???"

There were no results matching the query.

7
110.142.220.167 (talkcontribs)

Hi , I am working on my own wiki site. I installed it using MS SQL Server as DB.

The only problem is it failed to do content full-text searching, no matter what key words I typed in (I am pretty sure some pages contains the key words), it just gave 'There were no results matching the query.' No searching results shown.

What's wrong with it? Could somebody help me?

Best Regards,

Richard

Lk richard (talkcontribs)

Plus, I use

Nginx 1.10.2 + Microsoft Sql Server 10.50.2550.0 + PHP 7.0.15-nts-Win32-VC14-x86 + MediaWiki 1.27.1

The only extra modification I made is I cut the oi_name,oi_archive_name length from 255 to 225 because of the problem

Error: 1945 [SQLSTATE 01000][Error Code 1945][Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Warning! The maximum key length is 900 bytes. The index 'oi_name_archive_name' has maximum length of 1020 bytes.

I am not sure if this is the cause for that.

Thanks in advance.

Best Regards

Richard

Lk richard (talkcontribs)

Can anyone help me?

Lk richard (talkcontribs)

Hi guys,

When I check the table 'searchindex' , I found all content is messy code.

Is it the problem of failing to make full text searching? How may I fix it?

Ciencia Al Poder (talkcontribs)

SQL Server has poor support in MediaWiki, that's probably a bug. Try to bugreport it

MarkAHershberger (talkcontribs)

@Lk richard: Did you file a bug?

Lk richard (talkcontribs)

@Ciencia Al Poder Thanks very much. Have posted one.

@MarkAHershberger Yes, https://phabricator.wikimedia.org/T158530  :-)

Reply to "There were no results matching the query."