Author: daniel
Description:
ShortUrl patch to make $wgShortUrlTemplate function
The ShortUrl extension documents a capability by which you can change the default path of a short URL, normally .../Special:ShortUrl/NNNN
This is to be achieved by setting a global variable $wgShortUrlTemplate, specifying the path component to use instead of the default.
e.g.
$wgShortUrlTemplate = "/r/$1";
This would make the path .../r/NNNN
This capability simply doesn't work.
Examining the code, the extension clobbers $wgShortUrlTemplate, replacing it with the default value (false).
The attached patch file suggests a fix and adds minor doc/comment cleanup.
Version: master
Severity: normal
Attached: