[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Show protection log on every use of moveddeleted-notice
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/375618 ) Change subject: Show protection log on every use of moveddeleted-notice .. Show protection log on every use of moveddeleted-notice As a follow-up to T171338, the other uses of the message were ignored. This change adds the protection log to these uses; that is, history and image pages. Bug: T174889 Change-Id: Ib9f22d6e06c372c4a32e77a08c846d768853bc21 --- M includes/actions/HistoryAction.php M includes/page/ImagePage.php 2 files changed, 2 insertions(+), 2 deletions(-) Approvals: GeoffreyT2000: Looks good to me, but someone else must approve Brian Wolff: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index a9e3d6a..0e964bf 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -154,7 +154,7 @@ # show deletion/move log if there is an entry LogEventsList::showLogExtract( $out, - [ 'delete', 'move' ], + [ 'delete', 'move', 'protect' ], $this->getTitle(), '', [ 'lim' => 10, diff --git a/includes/page/ImagePage.php b/includes/page/ImagePage.php index 76ff41b..67f9e09 100644 --- a/includes/page/ImagePage.php +++ b/includes/page/ImagePage.php @@ -589,7 +589,7 @@ # Show deletion log to be consistent with normal articles LogEventsList::showLogExtract( $out, - [ 'delete', 'move' ], + [ 'delete', 'move', 'protect' ], $this->getTitle()->getPrefixedText(), '', [ 'lim' => 10, -- To view, visit https://gerrit.wikimedia.org/r/375618 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib9f22d6e06c372c4a32e77a08c846d768853bc21 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Ebe123Gerrit-Reviewer: Aaron Schulz Gerrit-Reviewer: Brian Wolff Gerrit-Reviewer: GeoffreyT2000 Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Show protection log on every use of moveddeleted-notice
Ebe123 has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/375618 ) Change subject: Show protection log on every use of moveddeleted-notice .. Show protection log on every use of moveddeleted-notice As a follow-up to T171338, the other uses of the message were ignored. This change adds the protection log to these uses; that is, history and image pages. Bug: T174889 Change-Id: Ib9f22d6e06c372c4a32e77a08c846d768853bc21 --- M includes/actions/HistoryAction.php M includes/page/ImagePage.php 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/18/375618/1 diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 7460340..4d92d36 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -154,7 +154,7 @@ # show deletion/move log if there is an entry LogEventsList::showLogExtract( $out, - [ 'delete', 'move' ], + [ 'delete', 'move', 'protect' ], $this->getTitle(), '', [ 'lim' => 10, diff --git a/includes/page/ImagePage.php b/includes/page/ImagePage.php index 0e3eaa5..8765576 100644 --- a/includes/page/ImagePage.php +++ b/includes/page/ImagePage.php @@ -583,7 +583,7 @@ # Show deletion log to be consistent with normal articles LogEventsList::showLogExtract( $out, - [ 'delete', 'move' ], + [ 'delete', 'move', 'protect' ], $this->getTitle()->getPrefixedText(), '', [ 'lim' => 10, -- To view, visit https://gerrit.wikimedia.org/r/375618 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib9f22d6e06c372c4a32e77a08c846d768853bc21 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Ebe123___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits