Shirayuki has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97462
Change subject: i18n: add comments for grep
......................................................................
i18n: add comments for grep
Change-Id: I654c2be6900826bd154d82cddb84372e1b026658
---
M client/includes/SiteLinkCommentCreator.php
M repo/includes/specials/SpecialEntitiesWithoutPage.php
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/62/97462/1
diff --git a/client/includes/SiteLinkCommentCreator.php
b/client/includes/SiteLinkCommentCreator.php
index f43fd5a..833c057 100644
--- a/client/includes/SiteLinkCommentCreator.php
+++ b/client/includes/SiteLinkCommentCreator.php
@@ -196,6 +196,7 @@
$params = array();
if ( in_array( $action, array( 'remove', 'restore' ) ) ) {
+ // Messages: wikibase-comment-remove,
wikibase-comment-restore
$params['message'] = 'wikibase-comment-' . $action;
} elseif ( $diffOp instanceof \Diff\DiffOpAdd ) {
$params['message'] = 'wikibase-comment-linked';
diff --git a/repo/includes/specials/SpecialEntitiesWithoutPage.php
b/repo/includes/specials/SpecialEntitiesWithoutPage.php
index 14ec77e..5a2a390 100644
--- a/repo/includes/specials/SpecialEntitiesWithoutPage.php
+++ b/repo/includes/specials/SpecialEntitiesWithoutPage.php
@@ -129,8 +129,8 @@
private function setForm() {
$typeSelect = new XmlSelect( 'type',
'wb-entitieswithoutpage-type', $this->type );
$typeSelect->addOption( $this->msg(
'wikibase-entitieswithoutlabel-label-alltypes' )->text(), '' );
- // item, property and query
foreach( $this->possibleTypes as $type ) {
+ // Messages: wikibase-entity-item,
wikibase-entity-property, wikibase-entity-query
$typeSelect->addOption( $this->msg( 'wikibase-entity-'
. $type )->text(), $type );
}
--
To view, visit https://gerrit.wikimedia.org/r/97462
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I654c2be6900826bd154d82cddb84372e1b026658
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits