Page MenuHomePhabricator

Use of ObjectCache::getMainWANInstance was deprecated in MediaWiki 1.28
Closed, ResolvedPublic

Description

<b>Deprecated</b>:  Use of ObjectCache::getMainWANInstance was deprecated in MediaWiki 1.28. [Called from TranslatablePage::isSourcePage in /www/dev.translatewiki.net/docroot/w/extensions/Translate/tag/TranslatablePage.php at line 858]

Documentation: https://doc.wikimedia.org/mediawiki-core/master/php/classObjectCache.html#a2b7dc1c2305ee06eab50f2a89599a51e

Event Timeline

abi_ created this task.Jul 18 2019, 8:24 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 18 2019, 8:24 AM
Nikerabbit added a project: good first bug.

This looks quite simple replacement thing.

Zoranzoki21 closed this task as Resolved.Sun, Sep 15, 12:52 PM
Zoranzoki21 assigned this task to D3r1ck01.
Zoranzoki21 added a subscriber: Zoranzoki21.

Done in https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Translate/+/5603da2c726d46f3374a3fc483cd673a75316a6c%5E%21/#F0

I will make a subtask for removing ObjectCache::getMainWANInstance from includes/objectcache/ObjectCache.php in mediawiki/core repository as it is hard deprecated in 1.28 but we are on 1.33 currently and 1.34 will be realised soon.

Restricted Application added a project: User-D3r1ck01. · View Herald TranscriptSun, Sep 15, 12:52 PM