Fix linking Special:ChangeContentModel from action=info
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 29 Oct 2016 18:06:15 +0000 (20:06 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 11 Nov 2016 16:46:11 +0000 (17:46 +0100)
commit92606ec14b59745ddefcc355e92009b044952647
tree10ddaade103e5328d8463be3d5da087ac5302d30
parent31a3a94d20e2cd549c148019aa52af978d312623
Fix linking Special:ChangeContentModel from action=info

Just link the special page, when it is there, means checking
$wgContentHandlerUseDB

Change Title::quickUserCan to Title::userCan and pass a user object to
avoid a global..
Change some other places to use the local variable, instead of calling
the context source again.

Change-Id: I561899446235165fb77b626b55f35ce716d798c9
includes/actions/InfoAction.php