Talk:MediaWiki

Jump to: navigation, search

About this board

Not editable

This page is only for discussion of MediaWiki.org's main page.

Please use the SANDBOX to see how easy it is to edit a wiki.


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

I have a question regarding wikipedia itself and languages

8
Ganeshtheone (talkcontribs)

Dear all,

I just got an sudden thought, that 'Why do we need wikipedia in all languages, instead we have a single pool of all the articles, from all the languages, and just translate them to the requested language.

benefits:

  1. all the languages will have the all the articles.
  2. less maintance of articles.

needed:

  1. a better software to translate the articles -> not exist now, but can be built if open source contibuters wish to have.
  2. better community -> which already exist.

It's a thought, may be someone have come across such idea's earlier, or it have some practical complications. Let the community to think on it.

I really feel sorry for my poor english. I tried on my best to write it right. Thank you all!

FeralOink (talkcontribs)

Developing high quality, universal language (machine) translation is beyond the scope of Wikipedia. (At this point in time, it seems to be beyond the scope of anyone, anywhere!) In fact, sufficiently accurate, nuanced language translation between any two languages is not yet at the level of accuracy needed for users of encyclopedic content.

Also, the difference between the various language versions of Wikipedia is greater than the language difference. I don't know how to articulate what this difference is, but I have observed it. The current approach seems to be rather effective.

Summary

Readers can choose to use machine language translation as needed. For now, this seems the more prudent arrangement i.e. to have machine language translation as an option, a helpful alternative, rather than the default.

174.22.202.58 (talkcontribs)

Why write "I have a question?" Why not write "My question is this?"

FeralOink (talkcontribs)

Because this is Wikipedia, not Stack Overflow, nor Quora?

Because we need more machine translation?

Tiny joke.

I concur with Qgil, that any further discussion of this topic should be continued on MetaWikimedia.org.

FeralOink (talkcontribs)

Eek, that is thumbnail sized! I'm sorry.

Ricordisamoa (talkcontribs)

I had already proposed a similar sistem for Wikivoyage: archived discussion.

Qgil-WMF (talkcontribs)

This topic (discussed several times over the years) belongs to http://meta.wikimedia.org and not mediawiki.org. Please continue the discussion there, if you wish.

This post was posted by Qgil-WMF, but signed as Qgil.

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)

Ping @AKlapper (WMF) just because.

AKlapper (WMF) (talkcontribs)

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

This comment 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:

Software Version
MediaWiki 1.24.1
PHP 5.5.8 (cgi-fcgi)
MySQL 5.5.25a-log

to a Windows 2012 Server with Apache:

Software Version
MediaWiki 1.24.1
PHP 5.6.8 (apache2handler)
MySQL 5.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 comment was hidden by 69.131.20.168 (history)
223.255.224.115 (talkcontribs)

Hello,

I want make wiki for math web. Can i show math formula with mediawiki?

This comment was hidden by Kghbln (history)
Nobita931 (talkcontribs)

Hello. A wiki, is not a math web. If you want the skins of mediawiki, you can create a new skin for your math web, But Is not possible use the same skin in a math web, beccause the mediawiki skin is ONLY for wikis.

A best regard.

Tdayok202 (talkcontribs)

If I start a wiki page, will it show on the mediawiki or on my own wiki?

Wargo (talkcontribs)

MediaWiki is software which allows you to create your own wiki. Install it on your server and then you can create pages on your wiki.

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 comment was hidden by Kghbln (history)

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

1
Markelovzahar (talkcontribs)

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

how to set per default

2
Summary by Maxedrom

thanks

Maxedrom (talkcontribs)

Hello, good afternoon guys.

I need to know how to set per default only when people want to create a page, automatically appears a custom head.

Best regards.

Seb35 (talkcontribs)

As an administrator of the wiki, you can customise the system message MediaWiki:Newarticletext. If you want to customise the message in a language which is not the default language of the wiki (say, you wiki is in Deutsch (code=de), and you want to customise the message in Hungarian (code=hu)), you can customise the system message MediaWiki:Newarticletext/hu (the language code is generally wikipedia:ISO 639-1).

For this type of question, a better appropriate place is Project:Support desk.

Which is the extension of the discussion section?

2
Summary by Maxedrom

Thats correct

200.5.196.72 (talkcontribs)

Hello Any One knows which is the extension of the discussion section?

Seb35 (talkcontribs)

This is Extension:Flow, which is developped by the Wikimedia Foundation since some years, and currently deployed here and on some discussion pages on Wikipedia.