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".
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
138.204.191.121 (talkcontribs)

Boa tarde.

Eu carrego uma imagem e ela aparece deste tipo:

Quando clico na imagem ele retorna um error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Ciencia Al Poder (talkcontribs)

It's a possible problem with .htaccess in the upload directory. See Manual:Configuring file uploads#Check .htaccess file. A directive in the .htaccess file may not be allowed in your setup, causing an error when you load a file inside that folder

138.204.191.121 (talkcontribs)

Não consegui compreender.

Abrir o arquivo .htaccess mas não encontrei nada lá dentro.

Você poderia me explicar melhor ?

Grato

Reply to "Problema no upload imagem"

[RESOLVED] Category:Pages with broken file links

6
Stampstudy (talkcontribs)

Mediawiki : 1.19.4 PHP : 5.3.3 MySQL : 5.1.67

On my site we have many pages that fall into the "Pages with broken file links" category as it is the nature of the site to create the image placeholders first and upload images at a later date. The problem I am having is that once a page is created and then the wanted files uploaded at a later date the page is not cleared from the "Pages with broken file links" category. The only way that I can seem to clear them is by editing the page and clicking save (no actual edit required).

Is there a way to automatically clear the pages from the category? maybe a maintenance script ?


Site : http://www.stampsoftheworld.co.uk/

88.130.65.121 (talkcontribs)

Yes, there is a maintenance script called rebuildall.php. I think it should do the job.

Stampstudy (talkcontribs)

Many thanks - that fixed it. It took forever (94700 links) but will put it in a cronjob.

88.130.65.121 (talkcontribs)

> will put it in a cronjob.

That would have been my next advice. I guess not many people use your system say at 3 a.m. ;-)

Bawolff (talkcontribs)

if the category is not useful it can be disabled by replacing the page mediawiki:broken-file-category with a single hyphen.

you don't need rebuildAll.php, refreshLinks.php should be sufficient (but still way to long)

really this is a mw bug. uploading an image should do a linksupdate on relabent pages.

Beginneruser (talkcontribs)

if with run maintenance scriptas:

  • rebuildAll.php
  • refreshLinks.php

problem not solved, what's another way for fix showing image from common in custom wiki?

Reply to "[RESOLVED] Category:Pages with broken file links"

Уважаемая администрация помогите,

1
Wwweeerrr724 (talkcontribs)

помогите, Я создал статью про музыкальную группу,почему у меня не получается основную информацию под фотографии поместить

Reply to "Уважаемая администрация помогите,"

API json result for prop=imageinfo fails

1
Summary by User587668
$.getJSON(url, function(res) {
           var pages = res["query"]["pages"];
           $.each( pages, function( i, item ) {
               var info = item.imageinfo[0],
                   width = item.width;
           });
});
User587668 (talkcontribs)

I want to receive image info via the API in json. The Sandbox looks fine: https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&prop=imageinfo&titles=File%3AExample.jpg&iiprop=timestamp%7Cuser%7Curl%7Csize

But running the query in real life, the imageinfo array is empty:

How would I properly iterate over the result objects?

86.155.95.154 (talkcontribs)

Unable to Scribunto/Lua working on our wiki. Getting the following error:

Fatal error: Call to undefined function pcntl_wifsignaled() in/home/jackdl5/public_html/jurassicoutpost.com/encyclopedia/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645Fatal error: Call to undefined function

Permissions for the Engine binaries are all set correctly and both Scribunto and Lua show as being installed on Special:Version.

Any thoughts?

Ciencia Al Poder (talkcontribs)

pcntl_wifsignaled() is a PHP function, that needs to be installed/enabled on the server, although it's not listed as a requirement in Extension:Scribunto. I wonder how many shared host provide that requirement.

86.155.95.154 (talkcontribs)

Because we're on a shared server our host is telling us it's not possible to get this set up, is there another work around?

TheDJ (talkcontribs)

The alternative to luastandalone is luasandbox, but that requires even more influence on the php server I believe.

TheDJ (talkcontribs)

Seems this dependency was introduced in may 2015.

https://gerrit.wikimedia.org/r/#/c/213586/

86.155.95.154 (talkcontribs)

Would using an older version pre-May 2015 help combat this issue for now?

TheDJ (talkcontribs)

Apparently this is a known issue logged as phab:T128048. It links to a proposed patch, that has not fully been tested yet, that might workaround this.

86.155.95.154 (talkcontribs)

Believe it or not that actually worked! Pages are loading again, but I'm getting this error now:

Lua error: Internal error: The interpreter has terminated with signal "11".

Next step?

Reply to "Error with Scribunto/Lua"
User587668 (talkcontribs)

How can you create a thumb which links to its full url?

[[File:Example.jpg|200px]] should link to https://upload.wikimedia.org/wikipedia/mediawiki/a/a9/Example.jpg.This is for a template, so I don't know the URL. [[Media:File:Example.jpg]] is only a text link.

Reply to "Image thumb link= full url?"
Ragnar Hegna (talkcontribs)

Gramar and Spell Checking do not work. Language is Norwegian Bokmål an installed. Windows 10. Log in is Ragnar Hegna. Browser is Microsoft Edge with 'Don't block cookis'. If no way to overcome problem I have to delete LibreOffice.

Regards Ragnar Hegna

ragnar.hegna@lyse.net

AKlapper (WMF) (talkcontribs)

Welcome to the support desk for the MediaWiki software. MediaWiki is unrelated to LibreOffice. For LibreOffice support, please see https://help.libreoffice.org/Writer/Automatically_Check_Spelling and ask in a LibreOffice support channel. (Also, your browser and your login should be unrelated as LibreOffice is a separate application from your browser.)

Reply to "The LibreOffice Writer"
193.145.201.52 (talkcontribs)

Hola soc nou en açò i necessitaria que quan vull fer una cerca en el quadre de cerques, em proposara termes que comencen igual que el que jo estic emplenant, sense tenir en compte majúscules ni accents.

Es a dir: si jo escric al quadre tar... ell em propose Tàrtar, tarjeta, categoría: taronja, ...

Es possible?

Gràcies

193.145.201.52 (talkcontribs)

Sóc l'autor del post: Oblideu-se, la traducció és prou dolenta, no s'enten res.

Ciencia Al Poder (talkcontribs)

Segons diu API:Opensearch#Note_on_case_sensitivity, si instal·les Extension:TitleKey això farà que les suggerències de cerca no tinguin en compte majúscules ni minúscules. Els accents encara els tindrà en compte.

Reply to "Cerques més genèriques"
Pronull (talkcontribs)

how to create an infobox? i've installed Scribunto and yet i'm still lost. Thanks

67.244.58.187 (talkcontribs)

Copy and paste the wikipedia modules and pages. In this case Wikipedia:Module:Infobox, Wikipedia:Module:InfoboxImage, Wikipedia:Module:Navbar, Wikipedia:Template:Nowrap, Wikipedia:Template:Infobox, and any any other inbox templates you may want. Hope this helps.

Pronull (talkcontribs)

I've copy paste modules and templates and yet still no infobox. Thanks btw for your response, i really appreciate it

24.39.1.140 (talkcontribs)

Did you put th template on a page and specify parameters.

Pronull (talkcontribs)

yup, already done it.

let say i want to use Infobox person and i entered these info

{.{ Infobox person

| name = jon | image = | alt = | caption = lalalala | birth_name = asdasdaqweqweqwe | birth_date = | birth_place = KL | death_date = | death_place = | nationality = MAS | other_names = tralalala | occupation = | years_active = | known_for = | notable_works =

}.}

then, the whole page(same like Template:Infobox person/doc) come out instead an infobox.

Thanks.

24.39.1.140 (talkcontribs)

Did you copy from Wikipedia:Template:Infobox Person?

Bencola (talkcontribs)

Hello,

I am also trying to add infoboxes to mediawiki, I followed these instructions : Manual:Importing Wikipedia infoboxes tutorial. But when I try to import, I get this error : Fatal error: Call to undefined function mb_check_encoding() in /var/www/mediawiki/extensions/Scribunto/engines/LuaCommon/UstringLibrary.php on line 36

Can somebody help me ?

I run MW 1.26.2

Thanks.

TheDJ (talkcontribs)

@Bencola Your php server needs mbstring

http://in1.php.net/manual/en/mbstring.installation.php

Reply to "Infobox"
Peteforsyth (talkcontribs)

The page above seems to be significantly out of date: it assumes that bureaucrats are the only ones assigning permissions. However, as an administrator on English Wikipedia, I have the ability to assign rights such as Account Creator and Confirmed. Does this vary from one wiki to another? Can somebody more knowledgeable than myself help update the page? -Pete F (talk) 03:18, 2 May 2016 (UTC)

Tactica amiga (talkcontribs)

I think you overlooked this part:

By default, you will need to be a 'Bureaucrat' (in the 'Bureaucrat' group) before you can access the Special:UserRights page. The first user created when setting up a MediaWiki installation is a bureaucrat.

My guess is that in (English) Wikipedia either (some) admins are given the "userrights" permission OR someone granted those rights to you for whatever reason. IMHO the page is OK as it is.

87.123.49.6 (talkcontribs)

If you can access this page, then you have the "userrights" right.

Note that user rights can always only be assigned to groups. So if you can access the Special:UserRights page, then you have the "userrights" permission in at least one of your groups. Which of the groups that is/are, can be checked on Special:ListGroupRights!

Peteforsyth (talkcontribs)

Thank you Tactica amiga and 87. I had indeed seen that sentence, but both of your remarks help me better understand its significance.

It seems to me that there are two overlapping, but not identical needs:

  1. We should have (and perhaps do have) good documentation of how the MediaWiki software works; and
  2. We should have good documentation of how Wikimedia wikis work.

As a trainer, facilitator, and functionary on Wikimedia wikis, my interest is much more with #2. Perhaps I will work on a page that is more finely tuned to that need. Many thanks for your help! -Pete F (talk) 18:53, 2 May 2016 (UTC)

87.123.57.72 (talkcontribs)

Your #1, the technical aspect inside the MediaWiki software, is documented on Manual:$wgGroupPermissions!

Reply to "Help:Assigning permissions seems out of date"