Page MenuHomePhabricator

Add user and password globals so that those using SubversionShell and closed svn can see diffs
Closed, ResolvedPublic

Description

Author: skizzerz

Description:
The attached patch adds two globals $wgSubversionUser and $wgSubversionPassword that allow people using SubversionShell with a closed svn to still view diffs, etc. with Special:Code.

Details:
$wgSubversionUser (mixed): String of the username needed to access svn, or false if not needed (default false)
$wgSubversionPassword (mixed): String of the password needed to access svn, or false if not needed (default false)

Both of the above globals are properly escaped before being passed into the shell


Version: unspecified
Severity: enhancement

Details

Reference
bz16361

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:29 PM
bzimport set Reference to bz16361.

skizzerz wrote:

patch to add these two globals

attachment CodeReview.patch ignored as obsolete

skizzerz wrote:

Moving member variables to a private member method instead

per suggestion from brion on IRC

Attached: