Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".

Received Welcome to first edit message in languages I never edited

2
Mistakefinder (talkcontribs)

Hi, I've received notifications in several languages that I don't know and have never edited, in the past few months. Something is fishy. The languages are:

Macedonian: https://mk.wikipedia.org/wiki/%D0%A0%D0%B0%D0%B7%D0%B3%D0%BE%D0%B2%D0%BE%D1%80_%D1%81%D0%BE_%D0%BA%D0%BE%D1%80%D0%B8%D1%81%D0%BD%D0%B8%D0%BA:Mistakefinder

Central Kurdish:https://ckb.wikipedia.org/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%A8%DB%95%D8%B4%D8%AF%D8%A7%D8%B1%DB%8C%DB%8C%DB%95%DA%A9%D8%A7%D9%86/Mistakefinder

Please let me know what caused notifications to be sent, or if I actually did make some minor change in those languages' pages and when. I do not remember or see any reason why I would have, since I cannot read them at all. Thank you.

TheDJ (talkcontribs)

This can happen for a number of reasons, but for me personally it often happens if those wikis have imported a template which i have once touched (or the documentation associated with it). This then creates your local account in those wikis, resulting in a welcome message.

Reply to "Received Welcome to first edit message in languages I never edited"
Roycruse (talkcontribs)

Hi,

Ive installed the Mediawiki Package from synology on my Synology NAS.

Its Version 1.35.5-1050

The Visual Editor extension is included in this version and after reading this page Extension:VisualEditor#Installation it would appear that for basic operation there should be no further config required.

However i see no VisualEditor when i try to edit a page. Can anyone help me with diagnosing the problem - i contacted Synology Support and they just sent me here.

TheDJ (talkcontribs)

We do not provide support for Synology. We are unfamiliar with their packaging and setup, they choose to include it, they are a commercial company, they provide the service.

Reply to "Synology & Visual Editor"

403 Forbidden by loading WikiEditor (Windows IIS)

4
Lothron (talkcontribs)

Hi,

I just installed MediaWiki on a new webspace, but I get a 403 Forbidden if for example the WikiEditor is loaded.

I have the following MediaWiki configuration:

MediaWiki   1.37.2

PHP     7.3.33 (cgi-fcgi)

Server Windows Server IIS

I set up the WikiEditor in the LocalSettings.php and it is shown as Extension in the Versions-Page (0.5.3).

When I edit a page in the wiki, there is no editor shown and when I look at the Firebug Errormessages I got a 403 error for the File

https://wiki.lothron.de/load.php?lang=de&modules=jquery%2Coojs%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.client%2Ccookie%2ChighlightText%2ClengthLimit%2CmakeCollapsible%2Csuggestions%2CtextSelection%2Cthrottle-debounce%2Cui%7Cjquery.makeCollapsible.styles%7Cmediawiki.String%2CTitle%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cicon%2CjqueryMsg%2Clanguage%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.action.edit%7Cmediawiki.action.edit.collapsibleFooter%2CeditWarning%7Cmediawiki.language.specialCharacters%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cmediawiki.widgets.visibleLengthLimit%7Coojs-ui-widgets.icons%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-citation%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-media%7Cskins.monobook.scripts%7Cuser.defaults&skin=monobook&version=yljmj

If I try to open the link without the modules like this it will load the load.php without errors.

https://wiki.lothron.de/load.php?lang=de&skin=monobook&version=yljmj

Are there any special folders to CHMOD on a windows server to get mediawiki run?

Regards,

Stephan

Bawolff (talkcontribs)

Check your webserver error log, it will hopefully tell you why the page was forbidden.


This is probably not a chmod (or cacls or whatever windows calls it) issue.

Lothron (talkcontribs)

Can find only, that is a 403.0 error für the GET request of the link above.

There are some hint the web that this related to SSL certificates. But the webspace is secured as all my other webspaces with a LetsEncrypt certificat.

TheDJ (talkcontribs)

In my experience 403s that only occur on one or two urls, are generally related to WAFs like mod_security being carelessly deployed and hitting false positives in MWs code.

Reply to "403 Forbidden by loading WikiEditor (Windows IIS)"

Call to undefined method Wikibase\Repo\WikibaseRepo::getDefaultInstance()

2
No39188 (talkcontribs)

Hi, I need some advice, I have an own standalone mediawiki instance with wikibase extension.

In the past, I've imported Qitems and properties using the WikibaseImport extension. This now fails with this exception backtrace,

# php maintenance/importEntities.php --query P31:Q5

[5de1fd28e98e57b7da508039] [no req]   Error: Call to undefined method Wikibase\Repo\WikibaseRepo::getDefaultInstance()

Backtrace:

from /crypt/htdocs/geneawiki/mediawiki-1.37.1/w/extensions/WikibaseImport/maintenance/importEntities.php(112)

#0 /crypt/htdocs/geneawiki/mediawiki-1.37.1/w/extensions/WikibaseImport/maintenance/importEntities.php(51): Wikibase\Import\Maintenance\ImportEntities->newEntityIdListBuilderFactory()

#1 /crypt/htdocs/geneawiki/mediawiki-1.37.1/w/maintenance/doMaintenance.php(108): Wikibase\Import\Maintenance\ImportEntities->execute()

#2 /crypt/htdocs/geneawiki/mediawiki-1.37.1/w/extensions/WikibaseImport/maintenance/importEntities.php(133): require_once(string)

#3 {main}

According to https://phabricator.wikimedia.org/T280984 , it appears the getDefaultInstance() method was removed around April - May 2021,

the WikibaseImport code ( https://github.com/filbertkm/WikibaseImport ) looks untouched since May 7, 2016,

is this code maintained at all ?

TheDJ (talkcontribs)

Probably not then. Have you asked it's maintainer / author ?

Reply to "Call to undefined method Wikibase\Repo\WikibaseRepo::getDefaultInstance()"
Tasmina.c23 (talkcontribs)

Hi, there is a page on me which i made during my studies but i have complete my degree now and my credentials no longer work for me to log back in and remove the page. I no longer want my details on there because when you google my name the wiki page comes up. Please can you help with this.

Bawolff (talkcontribs)

for non wikimedia websites (which i presume is what you are referring to), you have to contact the admins of that website.

2A00:23C8:5214:8101:2DD0:F4CD:D565:1BB3 (talkcontribs)

How would i find the admin because the help section takes me straight to you. I think the extire page “our commons wiki” is no longer in use but my page still exists.

TheDJ (talkcontribs)

Most wikis have an "about" page, linked from the sidebar or the footer of the page. Have you checked that ?

2A00:23C8:5214:8101:2DD0:F4CD:D565:1BB3 (talkcontribs)

Okay thank you

Reply to "Deleting old data"
31.187.0.9 (talkcontribs)

Can someone provide a link or provide simple instructions on how, having created a new page, to set said page so that the public can view it. I have searched the wiki help and am getting all kinds of code to type for database editing and such. Surely it must be simpler than that.

Bawolff (talkcontribs)

The public can view pages by default.

31.187.0.9 (talkcontribs)

I created a page. Which I can view. But when I view it in a private window, I get the message: "You do not have permission to view this page". This is what the public would see. So perhaps I am doing something wrong?

Bawolff (talkcontribs)

it depends on how the wiki you are using is configured. It can be configured so everything is private with no exceptions. We can't really say anything without knowing how the wiki in question was setup.

Reply to "Page permissions"

use #ask to query the current single page

4
2408:8410:6031:339D:6C19:B057:8687:A42C (talkcontribs)

I want to use #ask in one template, and how can it only query the current single page that uses this template? I try to use magic words PAGENAME like {{#ask: [[PAGENAME]]|?ExpertID}} but it doean't work. Thank you!

Malyacko (talkcontribs)

Hi, what is #ask? Please also see "Post a new question" in the sidebar. Thanks.

Bawolff (talkcontribs)

 #ask is a semantic mediawiki thing.


For starters the syntax is {{PAGENAME}}

2408:8410:6031:339D:146B:110F:FB60:15ED (talkcontribs)

thx but I have tried {{PAGENAME}} and some other similar syntaxs too, and they all didn't work

Reply to "use #ask to query the current single page"
Pooja2425 (talkcontribs)

Hi Team,

We are using documents into 1000+ pages , now the server where those docs are replaced to new one .so we need to do changes into 1000+ pages.

Please suggest any extension or plugin by which we can do it automatically.

Bawolff (talkcontribs)
Osnard (talkcontribs)
Jonathan3 (talkcontribs)
Reply to "Editing into 1000+ pages"

I forgot my user name & password

5
2601:483:C480:710:65B8:630B:93CC:593 (talkcontribs)

I forgot my username & password & I need assistance. Can someone help me please?

Bawolff (talkcontribs)

Create a new account.

2601:483:C480:710:65B8:630B:93CC:593 (talkcontribs)

I don't want to.

Malyacko (talkcontribs)

If you don't know the username and address then nobody can help with a key to access that address...

Jonathan3 (talkcontribs)
Reply to "I forgot my user name & password"

Did you forget to run your application's database schema updater after up

13
151.177.171.222 (talkcontribs)

Hello


I am trying to update my mediawiki to 1.33.0 but i get stuck at the error bello, ca someone help me get past this please ?


[51100210b20d6e90dd271609] [no req]   Wikimedia\Rdbms\DBQueryError from line 1587 of /home/student/public_html/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT  ar_id,ar_comment  FROM `archive`    WHERE ar_comment_id = '0' AND (1=1)  ORDER BY ar_id LIMIT 100

Function: MigrateComments::migrate

Error: 1054 Unknown column 'ar_comment_id' in 'where clause' (localhost)

Backtrace:

#0 /home/student/public_html/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /home/student/public_html/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /home/student/public_html/includes/libs/rdbms/database/Database.php(1784): Wikimedia\Rdbms\Database->query(string, string)

#3 /home/student/public_html/maintenance/migrateComments.php(159): Wikimedia\Rdbms\Database->select(string, array, array, string, array)

#4 /home/student/public_html/maintenance/migrateComments.php(53): MigrateComments->migrate(string, array, string)

#5 /home/student/public_html/maintenance/Maintenance.php(1719): MigrateComments->doDBUpdates()

#6 /home/student/public_html/includes/installer/DatabaseUpdater.php(1279): LoggedUpdateMaintenance->execute()

#7 /home/student/public_html/includes/installer/DatabaseUpdater.php(489): DatabaseUpdater->migrateComments()

#8 /home/student/public_html/includes/installer/DatabaseUpdater.php(453): DatabaseUpdater->runUpdates(array, boolean)

#9 /home/student/public_html/maintenance/update.php(203): DatabaseUpdater->doUpdates(array)

#10 /home/student/public_html/maintenance/doMaintenance.php(96): UpdateMediaWiki->execute()

#11 /home/student/public_html/maintenance/update.php(266): require_once(string)

#12 {main}
Wargo (talkcontribs)
151.177.171.222 (talkcontribs)

yes, i did "phph update.php" from the SSH command line.

Wargo (talkcontribs)
Ciencia Al Poder (talkcontribs)
47.31.119.123 (talkcontribs)

go to the ext. dir. and see the folder sql, go to phpmyadmin and manually create the table from sql. terminal .

Lea Schmidt93 (talkcontribs)

Hi, stupid question: I have the same error and every site keeps telling me tu "run" update.php. But how exactly do I do that?


Thanks in advance

Ciencia Al Poder (talkcontribs)
Lea Schmidt93 (talkcontribs)

I added wfLoadExtension( 'ApprovedRevs' ); to my Localsettings after I copied the file of ApprovedRevs in my extensions folder. What I get now is still the error from above. Following the instructions of Manual:Upgrading#Web updater , after step 2 I cant select any language because the error is still shown.

Lea Schmidt93 (talkcontribs)

My Error:

Warning: require_once(/home/www/mediawiki/Maintenance.php): failed to open stream: No such file or directory in /home/www/mediawiki/LocalSettings.php on line 141


Fatal error: require_once(): Failed opening required '/home/www/mediawiki/Maintenance.php' (include_path='/home/www/mediawiki/vendor/pear/console_getopt:/home/www/mediawiki/vendor/pear/mail:/home/www/mediawiki/vendor/pear/mail_mime:/home/www/mediawiki/vendor/pear/net_smtp:/home/www/mediawiki/vendor/pear/net_socket:/home/www/mediawiki/vendor/pear/pear-core-minimal/src:/home/www/mediawiki/vendor/pear/pear_exception:.:/usr/share/php') in /home/www/mediawiki/LocalSettings.php on line 141

Ciencia Al Poder (talkcontribs)

Why do you seem to have a require_once('Maintenance.php') in LocalSettings.php on line 141?

2601:285:303:DE60:E898:C696:E2EB:BBCB (talkcontribs)

Is there any update to this?

Malyacko (talkcontribs)

Everything written above in this thread are updates

Reply to "Did you forget to run your application's database schema updater after up"