On Wed, 2023-01-11 at 01:04 +, irvingwash--- via Wikitech-l wrote:
> I think you should reply to me quickly.
Hi, this is a public community mailing list.
Posting to individuals about potential previous communication that may
(or may not) have taken place in private or third-party venues, in th
The Search Platform Office Hours are starting in about 1h. Feel free to
join if you want to talk to us!
On Fri, 6 Jan 2023 at 15:59, Guillaume Lederrey
wrote:
> Hello all!
>
> The Search Platform Team usually holds an open meeting on the first
> Wednesday of each month. Come talk to us about an
On MW 1.39.0 and .1 and PHP 8.1.2-1ubuntu2.9,
I am trying to revise a parserhook extension to mediawiki that uses
wfParseUrl().
https://doc.wikimedia.org/mediawiki-core/master/php/GlobalFunctions_8php.html#a178b2b51ef87926e5daa08f66fbae9b0
says that is deprecated and I should use UrlUtils::parse()
$urlUtils->parse() is not a static method.
Non-dependency injection way:
use MediaWiki\MediaWikiServices;
$urlUtils = MediaWikiServices::getInstance()->getUrlUtils()
$urlUtils->parse()
Otherwise inject the UrlUtils service. For example, if using
HookHandlers[1], add the service to your extens