Shirayuki has uploaded a new change for review. https://gerrit.wikimedia.org/r/121921
Change subject: i18n: Give grep a chance to find the usages ...................................................................... i18n: Give grep a chance to find the usages Change-Id: Iac0d7cba8633fedd420c6b8e21999e94b4d438a2 --- M includes/specials/SpecialRevisiondelete.php 1 file changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/121921/1 diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 81463e5..c10b7a6 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -176,6 +176,7 @@ # Initialise checkboxes $this->checks = array( + # Messages: revdelete-hide-text, revdelete-hide-image, revdelete-hide-name array( $this->typeLabels['check-label'], 'wpHidePrimary', RevisionDeleter::getRevdelConstant( $this->typeName ) ), @@ -352,6 +353,7 @@ protected function showForm() { $userAllowed = true; + // Messages: revdelete-selected-text, revdelete-selected-file, logdelete-selected $this->getOutput()->wrapWikiMsg( "<strong>$1</strong>", array( $this->typeLabels['selected'], $this->getLanguage()->formatNum( count( $this->ids ) ), $this->targetObj->getPrefixedText() ) ); @@ -449,6 +451,7 @@ * @todo FIXME: Wikimedia-specific policy text */ protected function addUsageText() { + // Messages: revdelete-text-text, revdelete-text-file, logdelete-text $this->getOutput()->wrapWikiMsg( "<strong>$1</strong>\n$2", $this->typeLabels['text'], 'revdelete-text-others' ); if ( $this->getUser()->isAllowed( 'suppressrevision' ) ) { $this->getOutput()->addWikiMsg( 'revdelete-suppress-text' ); @@ -472,6 +475,8 @@ $bitfield = RevisionDeleter::extractBitfield( $this->extractBitParams(), $bitfield ); } foreach ( $this->checks as $item ) { + // Messages: revdelete-hide-text, revdelete-hide-image, revdelete-hide-name, + // revdelete-hide-comment, revdelete-hide-user, revdelete-hide-restricted list( $message, $name, $field ) = $item; $innerHTML = Xml::checkLabel( $this->msg( $message )->text(), $name, $name, $bitfield & $field ); if ( $field == Revision::DELETED_RESTRICTED ) { @@ -488,6 +493,8 @@ $html .= '<th class="mw-revdel-checkbox">' . $this->msg( 'revdelete-radio-set' )->escaped() . '</th>'; $html .= "<th></th></tr>\n"; foreach ( $this->checks as $item ) { + // Messages: revdelete-hide-text, revdelete-hide-image, revdelete-hide-name, + // revdelete-hide-comment, revdelete-hide-user, revdelete-hide-restricted list( $message, $name, $field ) = $item; // If there are several items, use third state by default... if ( $this->submitClicked ) { @@ -556,6 +563,7 @@ * Report that the submit operation succeeded */ protected function success() { + // Messages: revdelete-success, logdelete-success $this->getOutput()->setPageTitle( $this->msg( 'actioncomplete' ) ); $this->getOutput()->wrapWikiMsg( "<span class=\"success\">\n$1\n</span>", $this->typeLabels['success'] ); $this->wasSaved = true; @@ -567,6 +575,7 @@ * Report that the submit operation failed */ protected function failure( $status ) { + // Messages: revdelete-failure, logdelete-failure $this->getOutput()->setPageTitle( $this->msg( 'actionfailed' ) ); $this->getOutput()->addWikiText( $status->getWikiText( $this->typeLabels['failure'] ) ); $this->showForm(); -- To view, visit https://gerrit.wikimedia.org/r/121921 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iac0d7cba8633fedd420c6b8e21999e94b4d438a2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Shirayuki <shirayuk...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits