HomePhabricator

EditPage: Try to avoid using $wgTitle
5cd20435dc1aUnpublished

Authored by Legoktm on Sep 20 2017, 4:30 AM.

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

EditPage: Try to avoid using $wgTitle

The most common code path is from EditAction, so make sure
EditPage::setContextTitle() is called in that case.

Log any uses that fallback to $wgTitle in the GlobalTitleFail log group.

Bug: T144366
Change-Id: Ie6c7dfbaa432239389d210051372427b8fa045b4

Details

Committed
LegoktmSep 20 2017, 4:30 AM
Parents
rMW748d75d4d8a3: EditPage: Don't use $wgRequest
Branches
Unknown
Tags
Unknown
References
refs/changes/66/379166/1
ChangeId
Ie6c7dfbaa432239389d210051372427b8fa045b4