Talk:MediaWiki

Jump to navigation Jump to search

About this board

Not editable

This page is only for discussion of MediaWiki.org's main page
Previous page history was archived for backup purposes at Talk:MediaWiki/LQT Archive 1 on 2015-07-10
Other languages: English  Esperanto français magyar 日本語 polski

I meet the error of Error loading data from server: apierror-visualeditor-docserver-http: HTTP 401. Would you like to retry?

2
Iszhi (talkcontribs)

Recently, I installed the mediawiki 1.33.0 and parsoid 0.8.0 on my win10 under the environment xampp. But I meed this problem all the time, how to fix this problem?

AKlapper (WMF) (talkcontribs)

Please hide the header for translations

3
Kghbln (talkcontribs)

Now that the header cannot longer be translated, I used this to make the main page in German somewhat sane (also applies to all other languages), the header needs to be hidden via CSS. Currently the header e.g. says "Template:Main page/de" and I believe we cannot be serious about this.

Tomybrz (talkcontribs)
Kghbln (talkcontribs)

This is much better. Not ideal but as good as before the switch to the new homepage layout and stuff. Thanks a lot.

Kghbln (talkcontribs)

Do not get me wrong, but the new image has issues. It is too dark, the people merge somehow with the background making it appear like an undifferentiated mass. Probably the top section needs to be cropped away and more brightness or so may help too.

BDavis (WMF) (talkcontribs)
Kghbln (talkcontribs)

Great, I personally believe this is much much better than the original version. Thanks a lot for working on this!

Quiddity (WMF) (talkcontribs)
BDavis (WMF) (talkcontribs)

Image update (again)

3
Summary last edited by Kghbln 22:25, 18 June 2019 17 days ago

Image updated to File:Wikimedia_Hackathon_Prague_2019_-_2019-05-18_-_Group_Picture_-_0391.jpg. May take a bit for translations to catch up.

Framawiki (talkcontribs)
Jdforrester (WMF) (talkcontribs)

We should probably get it as a JPEG first. Have pinged Chris.

BDavis (WMF) (talkcontribs)

Re-sizing images when uploaded to a maximum width/height?

2
Summary by Tomybrz

Please ask on the Support Desk

Jamiehutber (talkcontribs)

Is it possible to limit images uploaded to a certain pixel size,

maxWidth

MaxHeight

I'd like any size to be uploaded and then scaled down to the maximum dimensioned set.

Does anything like this exist?

AKlapper (WMF) (talkcontribs)
Xevo (talkcontribs)
Michal sirek (talkcontribs)

Hey guys,

I'm trying to setup Cirrus Search with Elastica. I followed the steps on Extension:CirrusSearch. When I load Special:Version I see that Elastica (Version 1.3.0.0) is installed but as soon as I put require_once "$IP/extensions/CirrusSearch/CirrusSearch.php"; in my LocalSetting.php file and try to load Special:Version I now get "Fatal error: Class 'ConfigFactory' not found in /var/www/Wiki/extensions/CirrusSearch/includes/Hooks.php on line 946".

I did not modify this file manually "Hooks.php", I simply downloaded the file and extracted to EXTENSIONS as requested in the documentation.

Can anyone help please?

Idriss baladi (talkcontribs)

hi

What can one do with MediaWiki

5
Nikerabbit (talkcontribs)

The text on the front page assumes people already know what is a wiki and what can it be used for. It states many things which are irrelevant if you don't know why would you want to use MediaWiki.

Elitre (WMF) (talkcontribs)
AKlapper (WMF) (talkcontribs)

I see a "What is a wiki?" link on the front page...

This post was hidden by AKlapper (WMF) (history)
2405:204:6187:CCE4:CCB2:121C:F303:1E8A (talkcontribs)

what we can do with this page

Images missing after move wiki to another server

4
MichaelZ70 (talkcontribs)

Hello!

I want to move my wiki installation from a Windows 2008 Server with IIS:

SoftwareVersion
MediaWiki1.24.1
PHP5.5.8 (cgi-fcgi)
MySQL5.5.25a-log

to a Windows 2012 Server with Apache:

SoftwareVersion
MediaWiki1.24.1
PHP5.6.8 (apache2handler)
MySQL5.6.24

I exported the database on the old server and imported on the new one and copied the complete mediawiki directory to the new server. Most all is working fine but all images are not displayed. There is only the link (name of the image) shown and not the image itself:

Old Wiki:

New Wiki:

Imagemagick is installed on the new Server.

Does anyon have an idea what went wrong?

Thank you in advance

Michael

MichaelZ70 (talkcontribs)

Hallo!

I found out the reason for the problem. All pages (and internal links) on the new Server are like this:

<servername>/mediawiki/index.php/Startseite

if I change the URL to:

<servername>/mediawiki/index.php?Titel=Startseite

all works fine.

But how or where can I change this?

Thank you in advance

Michael

MichaelZ70 (talkcontribs)

ok I found the solution. I added the following two lines to the localsettings.php

$wgScript = "{$wgScriptPath}/index.php";
$wgArticlePath = "{$wgScript}?title=$1";

now all works fine like before :-)

This post was hidden by 69.131.20.168 (history)

Unable to post new query to PostgreSQL

2
Thiagomerino (talkcontribs)

Hi,

I am new at mediawiki.

I have postgres 9.3 installed and mediawiki 1.26.

I have created a table called pragas which has the following definition:

Column id_praga: Type private key integer

Column nome: Type character

I have added just 1 record to "pragas" table.

The table is created under Schemas/public.

I have granted access to my user within the database called "teste".

In my LocalSettings.php, I have the following:

wfLoadExtension( 'ExternalData' );

$edgDBServer['wikimedia'] = "localhost";

$edgDBServerType['wikimedia'] = "postgres";

$edgDBName['wikimedia'] = "wikimedia";

$edgDBUser['wikimedia'] = "teste";

$edgDBPass['wikimedia'] = "aaa";

I am trying to access the database through "get_db_data", as below:

"{{#get_db_data: db=wikimedia|from=pragas|data=nome=nome}}"


I am getting the following error:

[97e6ca33] /mediawiki/mediawiki-1.26.2/index.php?title=Main_Page&action=submit DBUnexpectedError from line 495 of /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/DatabasePostgres.php: Unable to post new query to PostgreSQL

Backtrace:

  1. 0 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1032): DatabasePostgres->doQuery(string)
  2. 1 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1601): DatabaseBase->query(string, string)
  3. 2 /var/www/html/mediawiki/mediawiki-1.26.2/includes/db/Database.php(1690): DatabaseBase->select(string, array, array, string, array, array)
  4. 3 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(1160): DatabaseBase->selectRow(string, array, array, string)
  5. 4 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(349): LCStoreDB->get(string, string)
  6. 5 /var/www/html/mediawiki/mediawiki-1.26.2/includes/cache/LocalisationCache.php(263): LocalisationCache->loadItem(string, string)
  7. 6 /var/www/html/mediawiki/mediawiki-1.26.2/languages/Language.php(3299): LocalisationCache->getItem(string, string)
  8. 7 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(2048): Language->linkPrefixExtension()
  9. 8 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(2013): Parser->replaceInternalLinks2(string)
  10. 9 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(1262): Parser->replaceInternalLinks(string)
  11. 10 /var/www/html/mediawiki/mediawiki-1.26.2/includes/parser/Parser.php(439): Parser->internalParse(string)
  12. 11 /var/www/html/mediawiki/mediawiki-1.26.2/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
  13. 12 /var/www/html/mediawiki/mediawiki-1.26.2/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
  14. 13 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(3627): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
  15. 14 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(2415): EditPage->getPreviewText()
  16. 15 /var/www/html/mediawiki/mediawiki-1.26.2/includes/EditPage.php(582): EditPage->showEditForm()
  17. 16 /var/www/html/mediawiki/mediawiki-1.26.2/includes/actions/EditAction.php(58): EditPage->edit()
  18. 17 /var/www/html/mediawiki/mediawiki-1.26.2/includes/actions/SubmitAction.php(40): EditAction->show()
  19. 18 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(490): SubmitAction->show()
  20. 19 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)
  21. 20 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(714): MediaWiki->performRequest()
  22. 21 /var/www/html/mediawiki/mediawiki-1.26.2/includes/MediaWiki.php(508): MediaWiki->main()
  23. 22 /var/www/html/mediawiki/mediawiki-1.26.2/index.php(41): MediaWiki->run()
  24. 23 {main}


I have already done all the changes suggested in FAQ and other links but the error continues the same.

Could anyone point me what am I missing or doing wrong? Or point me any link that could help me with this issue?

Thanks in advance

This post was hidden by Kghbln (history)