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

Other places to ask for help:

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".

Your default directory for uploads /var/www/mediawiki/images/ is vulnerable to arbitrary scripts execution.

1
MrJConstantine (talkcontribs)

I tried this solution and added the following to my apache2.conf file:

<Directory /var/www/mediawiki/images>

AllowOverride None

AddType text/plain .html .htm .shtml .phtml

<IfModule LiteSpeed>

php_admin_flag engine off

</IfModule>

</Directory>

I added <IfModule LiteSpeed>, </IfModule> tags according to this because otherwise my apache2 server shows the syntax error on the line where php_admin_flag is.

I also tried to add the following to the/var/www/mediawiki/images/.htaccess file:

AddType text/plain .html .htm .shtml .phtml .php .php3 .php4 .php5 .php7

RemoveHandler .php

<FilesMatch "\.ph(p[3457]?s?|tml)$">

SetHandler None

</FilesMatch>

but it did not help.

I changed the server API from Apache 2.0 Handler to FPM/FastCGI as this is one of the MediaWiki's requirements.

What else can I do to solve that security problem? The help is appreciated.

Reply to "Your default directory for uploads /var/www/mediawiki/images/ is vulnerable to arbitrary scripts execution."

How to increase rows in Edit Source window?

2
RedKnight7 (talkcontribs)

I've been doing editing for many years and recently updated my tiny site's MediaWiki. I still "Edit Source" a lot, and I now have dual monitors. The one I use for editing is portrait orientation (very tall). I'd like my source edit window to be much taller, but it seems fixed at 25 rows. Years ago, there was a Preferences setting that let you change the number of rows. I can't seem to find it now. Help?

Malyacko (talkcontribs)
Reply to "How to increase rows in Edit Source window?"

Problems when upgrading from MW 1.29.2 to MW 1.33.0 [Solved]

5
Summary by Ciencia Al Poder
Micgrote (talkcontribs)

Hi,

when running the upgrade script upgrade.php inside the maitenance folder the following error occurs:

Beginning migration of logging.log_user and logging.log_user_text to logging.log_actor

[d0923ea25688c2ffc826f976] [no req]   Wikimedia\Rdbms\DBQueryError from line 1587 of /var/customers/webs/mgfvlw/wiki/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: INSERT  INTO `actor` (actor_name) VALUES ('')

Function: MigrateActors::addActorsForRows

Error: 1062 Duplicate entry '' for key 'actor_name' (localhost)

Backtrace:

#0 /var/customers/webs/mgfvlw/wiki/includes/libs/rdbms/database/Database.php(1556): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /var/customers/webs/mgfvlw/wiki/includes/libs/rdbms/database/Database.php(1274): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /var/customers/webs/mgfvlw/wiki/includes/libs/rdbms/database/Database.php(2149): Wikimedia\Rdbms\Database->query(string, string)

#3 /var/customers/webs/mgfvlw/wiki/maintenance/includes/MigrateActors.php(226): Wikimedia\Rdbms\Database->insert(string, array, string)

#4 /var/customers/webs/mgfvlw/wiki/maintenance/includes/MigrateActors.php(306): MigrateActors->addActorsForRows(Wikimedia\Rdbms\DatabaseMysqli, string, array, array, integer)

#5 /var/customers/webs/mgfvlw/wiki/maintenance/includes/MigrateActors.php(122): MigrateActors->migrate(string, array, string, string, string)

#6 /var/customers/webs/mgfvlw/wiki/maintenance/Maintenance.php(1719): MigrateActors->doDBUpdates()

#7 /var/customers/webs/mgfvlw/wiki/includes/installer/DatabaseUpdater.php(1318): LoggedUpdateMaintenance->execute()

#8 /var/customers/webs/mgfvlw/wiki/includes/installer/DatabaseUpdater.php(489): DatabaseUpdater->migrateActors()

#9 /var/customers/webs/mgfvlw/wiki/includes/installer/DatabaseUpdater.php(453): DatabaseUpdater->runUpdates(array, boolean)

#10 /var/customers/webs/mgfvlw/wiki/maintenance/update.php(203): DatabaseUpdater->doUpdates(array)

#11 /var/customers/webs/mgfvlw/wiki/maintenance/doMaintenance.php(96): UpdateMediaWiki->execute()

#12 /var/customers/webs/mgfvlw/wiki/maintenance/update.php(266): require_once(string)

#13 {main}


The system is Debian 9 with PHP version 7.1.30 and MariaDB 10.1

I searched a lot of pages but nothing really fixed the issue.

Is there anyone who call help me?

Kind regards Michael

Malyacko (talkcontribs)

Wondering if running maintenance/migrateActors.php and/or maintenance/cleanupUsersWithNoId.php might help, as per

Micgrote (talkcontribs)

Hi,

maintenance/migrateActors.php hast the same result as above and maintenance/cleanupUsersWithNoId.php does not help either

KR Michael

Micgrote (talkcontribs)

Hi,

problem solved by deleting an "empty" entry in the actors table: Duplicate entry '' for key 'actor_name' (localhost)

Thanks

Michael

Ciencia Al Poder (talkcontribs)

If you have more information about how that entry with a blank actor name did end up in your database, it would be good to bugreport that so the migration script takes that into account.

Reply to "Problems when upgrading from MW 1.29.2 to MW 1.33.0 [Solved]"
136.158.7.154 (talkcontribs)

Hi.

I have a 404 error when I go to my wiki.

Luckily I got a error log, which says $wgPasswordSender and $wgEnableEmail are undefined and unexpected in that order.

For the first one $wgResourceBasePathki is undefined. I cant find any reference to it in MediaWiki.

The second one says that the variable is unexpected.

There is a third one where the string “apache” is unexpected, and it expected a closing [.

All lines go to the variables, $wgPasswordSender to itself, $wgEnableEmail to $wgEmailAuthentication, and the Apache to $wgDBserver.

Malyacko (talkcontribs)

This lacks version info and lacks logical steps. We don't know how you got to "For the first one $wgResourceBasePathki is undefined." Or what those have to do with each other. Or what you mean by "all lines go to the variables". Please avoid paraphrasing. Thanks.

136.158.7.154 (talkcontribs)

Sorry for under-detailing, I was in a rush.

$wgResourceBasePathki was undefined, and the error was in $wgPasswordSender

The Apache error is in $wgDBserver

And $wgEnableEmail (the unexpected one) to the $wgEnableEmail

Thanks.

Malyacko (talkcontribs)

If you don't share error messages, then only you know what the error is and everybody else has to guess.

Also, nobody knows what "$wgResourceBasePathki" is. Manual:$wgResourceBasePath exists though.

2404:3C00:2540:8DD0:0:0:0:2 (talkcontribs)

Hi same user as before.

Errors:

  • Undefined variable: wgResourceBasePathki in /var/lib/mediawiki/LocalSettings.php on line 39
  • syntax error, unexpected '$wgEnableEmail' (T_VARIABLE)
  • syntax error, unexpected 'apache' (T_STRING), expecting ']'

The code for the errors:

  • $wgPasswordSender = "apache@🌻.invalid";
  • $wgEmailAuthentication = true;
  • $wgDBtype = "mysql";

The order of the code is the same with the errors, Pathki to Password Sender, Enable Email to Authentication, Apache to wgDBType.

Also, here is the code for the rewrite:

RewriteEngine On

RewriteRule ^/?wiki(/.*)?$ /var/www/html/mediawiki/index.php [L]

RewriteRule ^/*$ /var/www/html/mediawiki/index.php [L]

LogLevel alert rewrite:trace6

Malyacko (talkcontribs)

You get an "Undefined variable" because "wgResourceBasePathki" does not exist. See my previous comment. Adding random strings to a config file usually leads to problems, so you may want to remove or fix such strings.

136.158.7.154 (talkcontribs)

But the string was there and it worked fine.

136.158.7.154 (talkcontribs)

Sorry.

I’ll show it tomorrow though.

Thhanks a lot for the help.

136.158.7.154 (talkcontribs)

I cant show the code, because this is my mobile account.

Reply to "PHP Errors"

Gallery Slideshow Features

1
Zachruff (talkcontribs)

Hello! I have just discovered the slideshow feature for galleries and I am loving it, as it totally hides all the clutter from having a lot of pictures. I was just wondering two things however.

1) Is it possible to remove/hide the "toggle thumbnails" button, as the way our page is formatted, turning on the thumbnails kind of just creates a mess and its not very useable anyways.

2) The images in the slideshow look noticeably worse quality-wise than if they were displayed on the page directly. Is this a known issue or is there any way to fix this?

Thank you very much!

Reply to "Gallery Slideshow Features"
2003:C2:3F1A:A400:B804:E73C:A488:F118 (talkcontribs)

Every Wiki page shows a helplink: in the vector skin right-hand site of the article header. This links to a Mediawiki help page, which is of absolutely no use for any other Wiki besides Mediawiki. How can I get rid of this?


NB:

div.mw-indicator-mw-helplink { display: none; }

div.mw-helplink { display: none; }

in the common.css does not work for category pages.

Reply to "Hide helplink"

Side Bar, BlueSpice Question

2
Dossod11 (talkcontribs)

Running BlueSpice/ MW 1.27(I know it's old).


Wanting to set the sie bar (showing Links to Main Page/ Recent Changes/ Random Pages/ Tools,..) to not floating. What file do I have to edit? Tried several but can't find the right file under skins>BlueSpiceSkin>resources

Osnard (talkcontribs)

BlueSpice related questions may probably better be asked at https://sourceforge.net/projects/bluespice/support

The file you are looking for is most likely `resources/screen.layout.less` [1]. Check the styles for the `#bs-nav-sections` selector.

Modifying source code is in general not a good idea. As there won't be any updates for your software version there is at least no risk of overwriting you changes on an update though. Yet, it is highly recommended to use a more recent version.

[1] https://phabricator.wikimedia.org/diffusion/SBSS/browse/REL1_27/resources/screen.layout.less$118

Reply to "Side Bar, BlueSpice Question"

Editing Vector .less does not take effect

1
83.22.234.146 (talkcontribs)

What do I have to do to make changes in .less files inside Vector skin to take effect? I don't really want to edit MediaWiki:Vector.css, I prefer to work with files instead.

Reply to "Editing Vector .less does not take effect"

update.php and rebuildtextindex.php

3
93.202.133.224 (talkcontribs)

Hi!

Since I ran an update I would have to run once the update.php and rebuildtextindex.php file in the maintenance folder. Problem is: When I enter the URL, I immediately come back out on my main domain. The PHP are not executed. Have now already suspected the htaccess. But even if I delete this happens the same.

Do you have any ideas?

Thanks!

Malyacko (talkcontribs)

Hi, trying to open a URL (read-only; publicly accessible file) in a web browser is unrelated to executing/running a command on a server after logging into that server.

93.202.133.224 (talkcontribs)

I have now successfully run update.php via the console.

My real problem was in the search, when I tried to search something there I got this error message:


[YP6LREk6FTQknBkHX9xlkwAASwo] /wiki/index.php?search=tet&title=Spezial%3ASuche&go=Seite Wikimedia\Rdbms\DBQueryError from line 1603 of /home/domain/wiki/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 page_id,page_namespace,page_title FROM `wiki_page`,`wiki_searchindex` WHERE (page_id=si_page) AND ( MATCH(si_title) AGAINST('+tetu800 ' IN BOOLEAN MODE) ) AND page_namespace = '0' ORDER BY MATCH(si_title) AGAINST('+tetu800 ' IN NATURAL LANGUAGE MODE) DESC LIMIT 21

Function: SearchMySQL::searchInternal

Error: 1191 Can't find FULLTEXT index matching the column list (localhost)

Backtrace:

#0 /home/domain/wiki/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

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

#2 /home/domain/wiki/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)

#3 /home/domain/wiki/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)

#4 /home/domain/wiki/includes/libs/rdbms/database/DBConnRef.php(315): Wikimedia\Rdbms\DBConnRef->__call(string, array)

#5 /home/domain/wiki/includes/search/SearchMySQL.php(193): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)

#6 /home/domain/wiki/includes/search/SearchMySQL.php(179): SearchMySQL->searchInternal(string, boolean)

#7 /home/domain/wiki/includes/search/SearchDatabase.php(73): SearchMySQL->doSearchTitleInDB(string)

#8 /home/domain/wiki/includes/search/SearchEngine.php(143): SearchDatabase->doSearchTitle(string)

#9 /home/domain/wiki/includes/search/SearchEngine.php(172): SearchEngine->{closure}()

#10 /home/domain/wiki/includes/search/SearchEngine.php(144): SearchEngine->maybePaginate(Closure)

#11 /home/domain/wiki/includes/specials/SpecialSearch.php(355): SearchEngine->searchTitle(string)

#12 /home/domain/wiki/includes/specials/SpecialSearch.php(179): SpecialSearch->showResults(string)

#13 /home/domain/wiki/includes/specialpage/SpecialPage.php(575): SpecialSearch->execute(NULL)

#14 /home/domain/wiki/includes/specialpage/SpecialPageFactory.php(611): SpecialPage->run(NULL)

#15 /home/domain/wiki/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#16 /home/domain/wiki/includes/MediaWiki.php(900): MediaWiki->performRequest()

#17 /home/domain/wiki/includes/MediaWiki.php(527): MediaWiki->main()

#18 /home/domain/wiki/index.php(44): MediaWiki->run()

#19 {main}


However, Update.php was executed, but problem with search still exists. If I run Update.php again, this message appears:


Your composer.lock file is up to date with current dependencies!

Going to run database updates for wiki_

Depending on the size of your database this may take a while!

Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0

Turning off Content Handler DB fields for this part of upgrade.

...have ipb_id field in ipblocks table.

...have ipb_expiry field in ipblocks table.

...already have interwiki table

...indexes seem up to 20031107 standards.

...have rc_type field in recentchanges table.

...index new_name_timestamp already set on recentchanges table.

...have user_real_name field in user table.

...querycache table already exists.

...objectcache table already exists.

...categorylinks table already exists.

...have pagelinks; skipping old links table updates

...il_from OK

...have rc_ip field in recentchanges table.

...index PRIMARY already set on image table.

...have rc_id field in recentchanges table.

...have rc_patrolled field in recentchanges table.

...logging table already exists.

...have user_token field in user table.

...have wl_notificationtimestamp field in watchlist table.

...watchlist talk page rows already present.

...user table does not contain user_emailauthenticationtimestamp field.

...page table already exists.

...have log_params field in logging table.

...logging table has correct log_title encoding.

...have ar_rev_id field in archive table.

...have page_len field in page table.

...revision table does not contain inverse_timestamp field.

...have rev_text_id field in revision table.

...have rev_deleted field in revision table.

...have img_width field in image table.

...have img_metadata field in image table.

...have user_email_token field in user table.

...have ar_text_id field in archive table.

...page_namespace is already a full int (int(11)).

...ar_namespace is already a full int (int(11)).

...rc_namespace is already a full int (int(11)).

...wl_namespace is already a full int (int(11)).

...qc_namespace is already a full int (int(11)).

...log_namespace is already a full int (int(11)).

...have img_media_type field in image table.

...already have pagelinks table.

...image table does not contain img_type field.

...already have unique user_name index.

...user_groups table exists and is in current format.

...have ss_total_pages field in site_stats table.

...user_newtalk table already exists.

...have iw_trans field in interwiki table.

...wl_notificationtimestamp is already nullable.

...index times already set on logging table.

...have ipb_range_start field in ipblocks table.

...no page_random rows needed to be set

...have user_registration field in user table.

...templatelinks table already exists

...externallinks table already exists.

...job table already exists.

...have ss_images field in site_stats table.

...langlinks table already exists.

...querycache_info table already exists.

...filearchive table already exists.

...have ipb_anon_only field in ipblocks table.

...have user_newpass_time field in user table.

...redirect table already exists.

...querycachetwo table already exists.

...have ipb_enable_autoblock field in ipblocks table.

...index pl_namespace on table pagelinks includes field pl_from.

...index tl_namespace on table templatelinks includes field tl_from.

...index il_to on table imagelinks includes field il_from.

...have rc_old_len field in recentchanges table.

...have user_editcount field in user table.

...page_restrictions table already exists.

...have log_id field in logging table.

...have rev_parent_id field in revision table.

...have pr_id field in page_restrictions table.

...have rev_len field in revision table.

...have rc_deleted field in recentchanges table.

...have log_deleted field in logging table.

...have ar_deleted field in archive table.

...have ipb_deleted field in ipblocks table.

...have fa_deleted field in filearchive table.

...have ar_len field in archive table.

...have ipb_block_email field in ipblocks table.

...index cl_sortkey on table categorylinks includes field cl_from.

...have oi_metadata field in oldimage table.

...have ar_page_id field in archive table.

...have img_sha1 field in image table.

...protected_titles table already exists.

...page_props table already exists.

...updatelog table already exists.

...category table already exists.

...category table already populated.

...have ar_parent_id field in archive table.

...have user_last_timestamp field in user_newtalk table.

...protected_titles table has correct pt_title encoding.

...have ss_active_users field in site_stats table.

...ss_active_users user count set...

...have ipb_allow_usertalk field in ipblocks table.

...change_tag table already exists.

...user_properties table already exists.

...log_search table already exists.

...l10n_cache table already exists.

...ct_rc_id key doesn't exist.

...have rd_interwiki field in redirect table.

...*_mime_minor fields are already long enough.

...iwlinks table already exists.

...index iwl_prefix_title_from already set on iwlinks table.

...have ul_value field in updatelog table.

...have iw_api field in interwiki table.

...iwl_prefix key doesn't exist.

...have cl_collation field in categorylinks table.

...categorylinks up-to-date.

...module_deps table already exists.

...ar_page_revid key doesn't exist.

...skipping index ar_revid because index ar_revid_uniq already set on archive table.

...ll_lang is up-to-date.

...user_last_timestamp is already nullable.

...index user_email already set on user table.

...up_property in table user_properties already modified by patch patch-up_property.sql.

...uploadstash table already exists.

...user_former_groups table already exists.

...have rev_sha1 field in revision table.

...batch conversion of user_options: nothing to migrate. done.

...user table does not contain user_options field.

...have ar_sha1 field in archive table.

...index page_redirect_namespace_len already set on page table.

...have us_chunk_inx field in uploadstash table.

...have job_timestamp field in job table.

...index page_user_timestamp already set on revision table.

...have ipb_parent_block_id field in ipblocks table.

...index ipb_parent_block_id already set on ipblocks table.

...category table does not contain cat_hidden field.

...have rev_content_format field in revision table.

...have rev_content_model field in revision table.

...have ar_content_format field in archive table.

...have ar_content_model field in archive table.

...have page_content_model field in page table.

Content Handler DB fields should be usable now.

...site_stats table does not contain ss_admins field.

...recentchanges table does not contain rc_moved_to_title field.

...sites table already exists.

...have fa_sha1 field in filearchive table.

...have job_token field in job table.

...have job_attempts field in job table.

...have us_props field in uploadstash table.

...ug_group in table user_groups already modified by patch patch-ug_group-length-increase-255.sql.

...ufg_group in table user_former_groups already modified by patch patch-ufg_group-length-increase-255.sql.

...index pp_propname_page already set on page_props table.

...index img_media_mime already set on image table.

...iwl_prefix_title_from index is already non-UNIQUE.

...index iwl_prefix_from_title already set on iwlinks table.

...have ar_id field in archive table.

...have el_id field in externallinks table.

...have rc_source field in recentchanges table.

...have page_links_updated field in page table.

...have user_password_expires field in user table.

...have pp_sortkey field in page_props table.

...recentchanges table does not contain rc_cur_time field.

...index wl_user_notificationtimestamp already set on watchlist table.

...have page_lang field in page table.

...have pl_from_namespace field in pagelinks table.

...have tl_from_namespace field in templatelinks table.

...have il_from_namespace field in imagelinks table.

...img_major_mime in table image already modified by patch patch-img_major_mime-chemical.sql.

...oi_major_mime in table oldimage already modified by patch patch-oi_major_mime-chemical.sql.

...fa_major_mime in table filearchive already modified by patch patch-fa_major_mime-chemical.sql.

...comment fields are up to date.

...hitcounter doesn't exist.

...site_stats table does not contain ss_total_views field.

...page table does not contain page_counter field.

...msg_resource_links doesn't exist.

...msg_resource doesn't exist.

...bot_passwords table already exists.

...have wl_id field in watchlist table.

...cl_collation key doesn't exist.

...index cl_collation_ext already set on categorylinks table.

...collations up-to-date.

...index rc_name_type_patrolled_timestamp already set on recentchanges table.

...rev_page_id index not found on revision.

...pl_namespace, tl_namespace, il_to indices are already non-UNIQUE.

...have ct_id field in change_tag table.

...rc_ip in table recentchanges already modified by patch patch-rc_ip_modify.sql.

...have el_index_60 field in externallinks table.

...ug_user_group key doesn't exist.

...have ug_expiry field in user_groups table.

...img_media_type in table image already modified by patch patch-add-3d.sql.

...ip_changes table already exists.

...index PRIMARY already set on categorylinks table.

...index PRIMARY already set on templatelinks table.

...index PRIMARY already set on pagelinks table.

...index PRIMARY already set on text table.

...index PRIMARY already set on imagelinks table.

...index PRIMARY already set on iwlinks table.

...index PRIMARY already set on langlinks table.

...index PRIMARY already set on log_search table.

...index PRIMARY already set on module_deps table.

...index PRIMARY already set on objectcache table.

...index PRIMARY already set on querycache_info table.

...index PRIMARY already set on site_stats table.

...index PRIMARY already set on user_former_groups table.

...index PRIMARY already set on user_properties table.

...comment table already exists.

...revision_comment_temp table already exists.

...have ar_comment_id field in archive table.

...have fa_description_id field in filearchive table.

...img_description field does not exist in image table, skipping modify field patch.

...have ipb_reason_id field in ipblocks table.

...have log_comment_id field in logging table.

...have oi_description_id field in oldimage table.

...have pt_reason_id field in protected_titles table.

...have rc_comment_id field in recentchanges table.

...rev_comment in table revision already modified by patch patch-revision-rev_comment-default.sql.

...have img_description_id field in image table.

...index PRIMARY already set on l10n_cache table.

...bot_passwords.bp_user is already unsigned int.

...change_tag.ct_log_id is already unsigned int.

...change_tag.ct_rev_id is already unsigned int.

...page_restrictions.pr_user is already unsigned int.

...user_newtalk.user_id is already unsigned int.

...user_properties.up_user is already unsigned int.

...slots table already exists.

...have slot_origin field in slots table.

...content table already exists.

...slot_roles table already exists.

...content_models table already exists.

...actor table already exists.

...revision_actor_temp table already exists.

...have ar_actor field in archive table.

...have ipb_by_actor field in ipblocks table.

...have img_actor field in image table.

...have oi_actor field in oldimage table.

...have fa_actor field in filearchive table.

...have rc_actor field in recentchanges table.

...have log_actor field in logging table.

Migrating actors to the 'actor' table, printing progress markers. For large

databases, you may want to hit Ctrl-C and do this manually with

maintenance/migrateActors.php.

Creating actor entries for all registered users

... 1 - 101

... 102 - 102

Completed actor creation, added 0 new actor(s)

Beginning migration of revision.rev_user and revision.rev_user_text to revision_actor_temp.revactor_actor

User name "Guguguna" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.

User name "Pilotka" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.

User name "Netriut" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.

User name "Yupier" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.

... rev_id=2057

Completed migration, updated 0 row(s) with 0 new actor(s), 4 error(s)

No need to migrate archive.ar_user, field does not exist

No need to migrate ipblocks.ipb_by, field does not exist

No need to migrate image.img_user, field does not exist

No need to migrate oldimage.oi_user, field does not exist

No need to migrate filearchive.fa_user, field does not exist

No need to migrate recentchanges.rc_user, field does not exist

No need to migrate logging.log_user, field does not exist

Beginning migration of log_search

Completed migration, inserted 0 row(s) with 0 new actor(s), 0 error(s)

errors were encountered.

...rev_text_id in table revision already modified by patch patch-rev_text_id-default.sql.

...table site_stats already modified by patch patch-site_stats-modify.sql.

...index rc_namespace_title_timestamp already set on recentchanges table.

...change_tag_def table already exists.

...el_index_60 in table externallinks already modified by patch patch-externallinks-el_index_60-drop-default.sql.

Running maintenance/deduplicateArchiveRevId.php...

...Update 'DeduplicateArchiveRevId' already logged as completed. Use --force to run it again.

done.

...have ct_tag_id field in change_tag table.

...index ar_revid_uniq already set on archive table.

...index log_type_action already set on logging table.

...type_action key doesn't exist.

...index PRIMARY already set on interwiki table.

...index PRIMARY already set on page_props table.

...index PRIMARY already set on protected_titles table.

...index PRIMARY already set on site_identifiers table.

...index rc_this_oldid already set on recentchanges table.

...transcache doesn't exist.

Running maintenance/populateChangeTagDef.php...

...Update 'PopulateChangeTagDef' already logged as completed. Use --force to run it again.

done.

...index change_tag_rc_tag_id already set on change_tag table.

...have ipb_sitewide field in ipblocks table.

...ipblocks_restrictions table already exists.

...change_tag table does not contain ct_tag field.

...valid_tag doesn't exist.

...tag_summary doesn't exist.

...protected_titles table does not contain pt_reason field.

...table job already modified by patch patch-job-params-mediumblob.sql.

...ar_usertext_timestamp key doesn't exist.

...usertext_timestamp key doesn't exist.

...logging table does not contain log_user field.

...index un_user_ip already set on user_newtalk table.

...site_stats is populated...done.

...Update 'populate rev_len and ar_len' already logged as completed. Use --force to run it again.

...Update 'populate rev_sha1' already logged as completed. Use --force to run it again.

...img_sha1 column of image table already populated.

...protocol-relative URLs in externallinks table already fixed.

...fa_sha1 column of filearchive table already populated.

...*_from_namespace column of backlink tables already populated.

...Update 'FixDefaultJsonContentPages' already logged as completed. Use --force to run it again.

...Update 'cleanup empty categories' already logged as completed. Use --force to run it again.

...RFC and PMID already added to interwiki database table.

...Update 'populate pp_sortkey' already logged as completed. Use --force to run it again.

...Update 'populate ip_changes' already logged as completed. Use --force to run it again.

...externallinks table indexes up to date

Set the local repo temp zone container to be private.

Purging caches...done.

Done in 0.3 s.

Reply to "update.php and rebuildtextindex.php"

Are 7.4.0 - 7.4.8 versions of PHP still unsupported by MediaWiki?

3
MrJConstantine (talkcontribs)

When I try to install the LAMP server on Ubuntu 20.04 LTS the latest version of PHP I can get is 7.4.3.

Is it still unsupported by MediaWiki or that upastream bug was fixed?

If it is still unsupported than I don't understand how can I install the LAMP properly on Ubuntu 20.04 LTS so MediaWiki works fine.

Any help is appreciated.

Bawolff (talkcontribs)

use a PPA perhaps?

MrJConstantine (talkcontribs)

@Bawolff I'm new to Linux. I don't really know how.

Reply to "Are 7.4.0 - 7.4.8 versions of PHP still unsupported by MediaWiki?"