HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/RestBaseUpdateJobs…

Authored by mobrovac.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/RestBaseUpdateJobs 143900154c16f6b6c73cd8f1f4b413b5f56311d9

Use $wgCanonicalServer instead of $wgServer

Unlike $wgServer, $wgCanonicalServer always contains the protocol
portion of the URL, easing domain extraction.

Also:

  • better RegEx for extracting the domain from $wgCanonicalServer
    • now accounts for the possibility of $wgCanonicalServer having the form host:port
  • minor variable name fix in RestbaseUpdate.php

Bug: T87520
Change-Id: I4f4242e31aeb21cf7aaff9fed24e0f376a0da4d2

Details

Committed
Gerrit Code ReviewMar 9 2015, 9:35 PM
Parents
rMEXT9fe1af2c1016: Syncronize VisualEditor: 9901c02..ba7db69
Branches
Unknown
Tags
Unknown
ChangeId
I4f4242e31aeb21cf7aaff9fed24e0f376a0da4d2