jenkins-bot has submitted this change and it was merged. Change subject: (bug 39397) Only show rollback links if they work ......................................................................
(bug 39397) Only show rollback links if they work To only show rollback links if they work I had to patch Linker to have a function (Linker::rollbackData) which can verify that the editor isn't the only editor of the page. Furthermore it is checked that the user name or the text of the revision we might rollback to isn't deleted. Due to the fact that I've altered the already existing method which showed how many edits a rollback will revert for that, this wont affect the performance. Change-Id: I5d1adec993370c39ae8c5c712edd919d456441c6 --- M RELEASE-NOTES-1.21 M includes/DefaultSettings.php M includes/Linker.php M includes/actions/HistoryAction.php M includes/diff/DifferenceEngine.php 5 files changed, 105 insertions(+), 31 deletions(-) Approvals: Anomie: Looks good to me, approved jenkins-bot: Verified -- To view, visit https://gerrit.wikimedia.org/r/31312 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5d1adec993370c39ae8c5c712edd919d456441c6 Gerrit-PatchSet: 15 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hoo man <h...@online.de> Gerrit-Reviewer: Alex Monk <kren...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: Hoo man <h...@online.de> Gerrit-Reviewer: IAlex <ialex.w...@gmail.com> Gerrit-Reviewer: Liangent <liang...@gmail.com> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: Skizzerz <skizz...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits