Page MenuHomePhabricator

migrate administrators from $wgProxyKey to $wgSecretKey
Closed, DeclinedPublic

Description

http://www.mediawiki.org/wiki/Manual:$wgProxyKey says "This feature
has been deprecated and should not be used with current versions of
MediaWiki. This feature was deprecated in version 1.4.0."

However, go install fresh MediaWiki from scratch. There $wgProxyKey
is. hardwired right in LocalSettings.php "sticking right in the users'
face with no documentation".


Version: unspecified
Severity: trivial

Details

Reference
bz8783

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:32 PM
bzimport set Reference to bz8783.
bzimport added a subscriber: Unknown Object (MLST).

This was fixed in r40355. LocalSettings no longer generates $wgProxyKey, it generates $wgSecretKey.

OK, but how are you going to get the message across to users during updates that they should change their LocalSettings.php to use the new variable?

You could have update.php detect presence of the old variable and print a message surrounded by '***'s perhaps.

Bryan.TongMinh wrote:

This was reverted anyway.