Project:Support desk

Jump to navigation Jump to 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, Wikimedia Developer Support, Q&A, mwusers (unofficial forum) 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".
Jtmk1 (talkcontribs)
AhmadF.Cheema (talkcontribs)
Reply to "Edit Page Message"
Anu8791 (talkcontribs)

HI,

We are getting attached error like "Error: Error in provider Thumb info not found" while display some images using MultimediaViewer extension.

Also the thumbnails images on WIKI page are not updated when ever upload the latest version of the image

Though We are using following versions of software(s) in TEST as well as PROD environments. yet, we don't see the multimediaViewer display issue in our test environment. Please suggest resolution for this issue.

Installed software

Product Version
MediaWiki 1.30.0
PHP 7.1.8 (apache2handler)
MySQL 5.6.40
ICU 50.1.2


MultimediaViewer Error


AhmadF.Cheema (talkcontribs)
Malyacko (talkcontribs)
Anu8791 (talkcontribs)

Finally I could able to resolve the Multimedia Viewer display issue.

Actually the issue was occurred for some of newly updated PNG images on the page. And it could be because of insufficient Shell memory

So , I have configured and set following param values in LocalSettings.php on par with our Server configuration . And now I see the issue is no more exists !!!


$wgMaxShellMemory = 8000000;

$wgMaxShellFileSize = 1000000;

$wgMaxShellTime = 300;


Moreover we are in process to upgrade our existing MediaWiki 1.30.0 to the latest LTS version of MediaWiki 1.31.1. So, I would believe the issue with thumbnail creation for new version images in this MediaWiki 1.30.0 is fixed for this LTS version of MediaWiki 1.31.1.


Thanks,

Sanjay

Reply to "MultimediaViewer ERROR"

Upgrade existing installation -> Error: 42P01 Error: relation "ignore" does not exist

3
Summary by Ciencia Al Poder
Xerolino (talkcontribs)

Hello

  • MediaWiki 1.32.0 (old: 1.28.2)
  • PHP 7.0.33-0ubuntu0.16.04.2 (old: 5.5.9-1ubuntu4.26 on Ubuntu 14.04.5)
  • Database PostgreSQL 9.5.14 (old: PostgreSQL 9.3.24)

The upgrade terminates with the following error:

An error occurred:

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: UPDATE IGNORE "externallinks" SET el_index_60 = 'https://14.32.28.172./ws/NAPI/NAPI.asmx?wsdl' WHERE el_id = '1'

Function: PopulateExternallinksIndex60::doDBUpdates

Error: 42P01 ERROR:  relation "ignore" does not exist

LINE 1: ... /* PopulateExternallinksIndex60::doDBUpdates  */ IGNORE "ex...


How can i fix the problem?

Many thanks and best regards

Ciencia Al Poder (talkcontribs)
185.145.108.1 (talkcontribs)

Thanks for your response.

In the meantime i fixed the bug myself. I had done the following steps:

Best regards

Reply to "Upgrade existing installation -> Error: 42P01 Error: relation "ignore" does not exist"

Extension:RSS bug? Does not seperate RSS items

3
Semako96 (talkcontribs)

I want to include the latest topics of my forum within a wiki page and used RSS for that: https://mariowiki.net/wiki/Vorlage:Hauptseite/Forum

The problem however is, that, after configuring Extension:RSS so that it displays links and images within the RSS descriptions, the items aren't seperated properly when the previous item's description ends with an image like a smiley.

I tried workarounds by adding divs and spans to the MediaWiki:Rss-feed template (which I also want because it makes styling with CSS much easier), but that doesn't work either, the div and span tags don't get included in the source code of the RSS feed on the wiki page.

Is there another workaround for this bug?

Semako96 (talkcontribs)

push

Ciencia Al Poder (talkcontribs)

The wiki is rendering bad HTML markup. This is caused by the fact Extension:RSS is truncating the contents of each item to a fixed number of characters, but it's not respecting HTML tags. In one case, it truncates in the middle of the URL of an <img> tag, causing tags and attributes to not be properly closed.

You can try raising item-max-length to the maximum to prevent this.

Reply to "Extension:RSS bug? Does not seperate RSS items"

Block user or group to view pages

10
2610S (talkcontribs)

How can I block a user or a group from viewing pages without getting the pages with a Namespace?

AKlapper (WMF) (talkcontribs)
2610S (talkcontribs)

Looking for pages with access by group, so each group can se there pages, but without namespace

AKlapper (WMF) (talkcontribs)

I don't understand. What is "without namespace"? What does "viewing pages with getting the pages" mean?

2610S (talkcontribs)

"viewing pages with getting the pages" mistake it should be "without"

changed above

2610S (talkcontribs)

I know that I can use this page Manual:$wgNamespaceProtection but then I need to get all pages with Namespace for Ex 1:main page.

so i'm looking for a solution without Namespace

AhmadF.Cheema (talkcontribs)
2610S (talkcontribs)

If I want to use this

Disable reading by anonymous users

$wgGroupPermissions['*']['read'] = false;


# But allow them to read e.g., these pages:

$wgWhitelistRead = [ "Main Page", "Help:Contents" ];

can I write add $wgGroupPermissions['user']['read'] = false; ,how will the system know to restrict not registered users from all pages, and the whitelist should only be for 'user' ?

And how will the system know that users in Group 1 can read all pages ?

AhmadF.Cheema (talkcontribs)

The asterisk (*) means anonymous users. $wgGroupPermissions['*']['read'] = false; will restrict reading by unregistered users. Pages mentioned in $wgWhitelistRead are viewable by all users.

What is "Group 1" here?

Note that, "If you need per-page or partial page access restrictions, you are advised to install an appropriate content management package. MediaWiki was not written to provide per-page access restrictions, and almost all hacks or patches promising to add them will likely have flaws somewhere, which could lead to exposure of confidential data."

Ciencia Al Poder (talkcontribs)

There's no reason to prevent registered users from viewing pages that anonymous users can read. Think about it. A blocked user can just logout to get access!

Reply to "Block user or group to view pages"

Multiline tooltip from inside wikitext

5
Taylor 49 (talkcontribs)

It's sufficiently easy to brew a primitive single-line tooltip:

<span title="British Rail">BR</span>

But the method stops being useful with longer texts. How can I brew a multiline tooltip? Using "<br>" inside "<span>" is not possible. There is the "hover" CSS selector that can brew sophisticated and multiline tooltips, but I can't find a way to use it from wikitext.

Is there a way to brew a multiline tooltip from inside wikitext?

AhmadF.Cheema (talkcontribs)
Taylor 49 (talkcontribs)

Thanks ... I forgot to mention that I need a method for Wikimedia public wikies. "Extension:SimpleTooltip" is extremely promising but doesn't seem to be enabled on public wikies. I don't understand the "Extension:Cite" and "refn" hint. Is there a method feasible for public wikies?

AhmadF.Cheema (talkcontribs)
Taylor 49 (talkcontribs)

OK, thanks. I wonder whether there is a chance to get "Extension:SimpleTooltip" enabled on a public wiki via phabricator bugzilla?

Reply to "Multiline tooltip from inside wikitext"

Non riesco a pubblicare il mio sito

3
Summary by AhmadF.Cheema

Off-topic.

MorwenaMor (talkcontribs)

Buongiorno a tutti , ho aperto un sito ma non riesco a pubblicare le pagine.

Io uso FrontPage per la creazione delle pagine del sito, ho creato l'index e la homepage , vorrei pubblicarlo ma quando clicco sull'FTP e digito il nome del sito e la password che altervista mi ha inviato , mi dice che c'è un errore e non me lo accetta. Questo succede da diversi giorni, credevo che fosse una cosa temporanea , ma non riesco ad andare avanti.

Grazie , saluti , Morwena

MarkAHershberger (talkcontribs)

Questo sito è per richieste di supporto per MediaWiki. Sembra che tu abbia bisogno di contattare il supporto del tuo sito.

(translated using Google Translate. Original English: This site is for support requests for MediaWiki. It sounds like you need to contact your site's support. )

MorwenaMor (talkcontribs)

si, in effetti, grazie mille


46.80.252.226 (talkcontribs)

I am new to mediawiki.

Started a new site and create my first template/form after i followed this example Extension:Page Forms/Quick start guide.

One form-field is of type file.

It is working so for but if want to add a file (

https://wiki.example.de/index.php?title=Special:UploadWindow&pfInputID=input_7)

i get this error:


XI6dwlkWcAgAAA4r7A8AAAAA] /index.php?title=Special:UploadWindow&pfInputID=input_7 ConfigException from line 53 of /var/www/vhosts/example.de/wiki.example.de/includes/config/GlobalVarConfig.php: GlobalVarConfig::get: undefined option: 'EnableAPI'

Backtrace:

#0 /var/www/vhosts/example.de/wiki.example.de/extensions/PageForms/specials/PF_UploadForm.php(350): GlobalVarConfig->get(string)

#1 /var/www/vhosts/example.de/wiki.example.de/extensions/PageForms/specials/PF_UploadForm.php(299): PFUploadForm->addUploadJS()

#2 /var/www/vhosts/example.de/wiki.example.de/extensions/PageForms/specials/PF_UploadWindow.php(182): PFUploadForm->show()

#3 /var/www/vhosts/example.de/wiki.example.de/extensions/PageForms/specials/PF_UploadWindow.php(162): PFUploadWindow->showUploadForm(PFUploadForm)

#4 /var/www/vhosts/example.de/wiki.example.de/includes/specialpage/SpecialPage.php(569): PFUploadWindow->execute(NULL)

#5 /var/www/vhosts/example.de/wiki.example.de/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)

#6 /var/www/vhosts/example.de/wiki.example.de/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#7 /var/www/vhosts/example.de/wiki.example.de/includes/MediaWiki.php(860): MediaWiki->performRequest()

#8 /var/www/vhosts/example.de/wiki.example.de/includes/MediaWiki.php(517): MediaWiki->main()

#9 /var/www/vhosts/example.de/wiki.example.de/index.php(42): MediaWiki->run()

#10 {main}


Can anyone help me out? I have no idea at all what to do. I searched the GlobalVarConfig for EnableAPI, but i couldn't find that.

AhmadF.Cheema (talkcontribs)

What version of MediaWiki and Extension:Page Forms are you using? Does the extension version correspond to the MediaWiki core version?

46.80.248.23 (talkcontribs)

mediawiki 1.32.1

page Forms 4.4.2 / 2018-11-05


Thank you very much for your help!


I used the download from Special:ExtensionDistributor/PageForms, but thats for 1.32 (latest) and my version 1.32.1 is newer as the latest there :D


with page forms 4.5 it works fine.

Reply to "Error Fileupload with Template"

Testing conditions in Survey preview (Version 3.15.8+190130)

3
Summary by AhmadF.Cheema

Off-topic.

97.82.83.252 (talkcontribs)

Trying to test conditional formatting in preview, but not triggering correctly.

If then scenarios, nothing complex. Is this a known problem?

AhmadF.Cheema (talkcontribs)

Is this related to MediaWiki?

97.82.83.252 (talkcontribs)

Oh I guess you just support their user manual wiki,not the applications. Sincerest apologies

Error While uploading file using MS Upload

1
154.59.156.136 (talkcontribs)

Hi,


Getting following error while uploading a file in media wiki using MS Upload. Error: 200-HTTP error.


How can this be resolved.

Thanks,

Reply to "Error While uploading file using MS Upload"