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
Summary by BDavis (WMF)

Image updated to . 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)

CirrusSearch Extention Issues

2
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)

Как запустить update.php

1
Markelovzahar (talkcontribs)

Как запустить файл /public_html/maintenance/update.php?

How do I change my wiki's domain?

5
Derrickfarnell (talkcontribs)

Hello

I don't have much technical knowledge, but am running a MW site via ControlPanel and Softaculous. I want to change the domain name for my wiki - what changes do I need to make the MW installation?

Thanks in advance for any help.

Tamimih (talkcontribs)

Hi pardon for my bad English I try to solve the same problem, Unfortunately obtain temporary solution is Moving a wiki

Manual:Moving a wiki


Simple explanation :

You can try to backup and re-install then import backup your previous installed MW.

  1. Backup your MW. Based from mediawiki installing guide Manual:Installing MediaWiki
    Manual:Installation guide.
    • your automatic installation with softaculous
      softaculous site[].
    • backup your MW
      navigate to DB Tools Menu on Dashboard [].
    • backup your configuration file
      navigate to menu which contain about configuration file. I don't know exactly which menu to backup configuration file MW on softaculous (Im not running mw on softaculous).
  2. Carefully reinstall fresh MW concerning FAQ for config guide mediawiki on softaculous Manual:FAQ Installation and configuration
    Manual:FAQ
    • read FAQ to re-check in order to avoid the same mistake about domain
    • re-install on softaculous with new domain name for your wiki
      Import backup.
  3. Import database and configuration file to fresh MW
    Manual:Moving a wiki
    • open your newly MW, restore DB and configuration file 
      same with point 3 in number 1.

Additional :

contact softaculous help and support [].
ask again at mailinglist wiki if my simple advice insufficient aid [] .

regards

©Tamimih

Derrickfarnell (talkcontribs)

Thanks very much for your response, Tamimih. :-)

However, I've found that, after changing the domain name via my web host control panel, it seems that you simply need to change mentions of the old web domain in LocalSettings.php to the new one.

Tamimih (talkcontribs)

Yeah, that shortcut you got it. sorry for my long procedural. i'm noob on wiki :)

Derrickfarnell (talkcontribs)

No problem!

Mediawiki login deviant

5
Summary by Tomybrz

Please ask on the Support Desk

Ilee9999 (talkcontribs)

mediawiki direct reversed login page, right corner of the screen does not display login account name, and Wiki does not show Login failed, but if the login screen, the [Remember me Status] option checked, that after login, account name the top right corner of the screen will display properly, we must ask why this option is checked, whether there are ways you can uncheck this option, but also during login display properly into account all information. Thank you

mediawiki login後直接轉回首頁,畫面右上角不會顯示登入的帳號名稱,而且Wiki並無顯示登入失敗,但是如果在登入畫面,將 [記住我的登入狀態]選項勾選,那登入後,畫面右上角的帳號名稱就會正常顯示,請問為何一定要勾選這個選項,是否有方法可以在不勾選這個選項,又可以在登入時,正常顯示都入帳號的資訊。謝謝

This post was hidden by Shirayuki (history)
61.166.175.32 (talkcontribs)

oh

Dsfasfdf (talkcontribs)

kho na piyar hai

This post was hidden by NeedAGoodUsername (history)