HomePhabricator

Guard against $wgOut not existing

Description

Guard against $wgOut not existing

UserSaveOptions can be apparently called before $wgOut was
initialized; skip the hook in that case (it's only meant to run
when Special:Preferences or the options API is posted).

Bug: T125151
Change-Id: I9581fd4586d61c66e51eafc1dcaac10631b5bfe1

Details

Provenance
TgrAuthored on
dduvallCommitted on Jan 28 2016, 9:53 PM
Parents
rEWMV833364d9d666: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/46/267146/2
ChangeId
I9581fd4586d61c66e51eafc1dcaac10631b5bfe1