Add a context parameter to Liker::generateRollback() and Linker::buildRollbackLink...
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 5 Jul 2012 21:07:58 +0000 (23:07 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 5 Jul 2012 21:10:03 +0000 (23:10 +0200)
commit026e8534c69f65b889fbf64a608af1a37cdbf3a3
treeb8d29c9f2f1e36c56121c7da5e408438671e8e33
parente773eb0af58715e8c35667e276c9ab2d6fa5a1ab
Add a context parameter to Liker::generateRollback() and Linker::buildRollbackLink() and updated callers.

This allows both methods to not always rely on global object, but also to use the local context when possible.

Change-Id: Id10f55ed9b18c889afd8d9937d9f35acb376cce4
includes/Linker.php
includes/actions/HistoryAction.php
includes/diff/DifferenceEngine.php
includes/specials/SpecialContributions.php