Shirayuki has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79566
Change subject: Give grep a chance to find the usages
......................................................................
Give grep a chance to find the usages
Change-Id: Id07abac133e9216bea2b259ef5b76f96fd28b9d7
---
M BookManagerv2.hooks.php
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BookManagerv2
refs/changes/66/79566/1
diff --git a/BookManagerv2.hooks.php b/BookManagerv2.hooks.php
index 0318dfe..82a4944 100644
--- a/BookManagerv2.hooks.php
+++ b/BookManagerv2.hooks.php
@@ -182,6 +182,9 @@
*/
public static function addArray( $key, $array ) {
global $wgContLang;
+ // Give grep a chance to find the usages:
+ // bookmanagerv2-alternate-titles, bookmanagerv2-authors,
bookmanagerv2-translators,
+ // bookmanagerv2-editors, bookmanagerv2-illustrators
$output = Html::element( 'li', array(),
wfMessage( 'bookmanagerv2-' . $key )
->numParams( count( $array ) )
@@ -198,6 +201,11 @@
* @return string HTML list item element
*/
public static function addString( $key, $string ) {
+ // Give grep a chance to find the usages:
+ // bookmanagerv2subtitle, bookmanagerv2-series-title,
bookmanagerv2-volume,
+ // bookmanagerv2-edition, bookmanagerv2-publisher,
bookmanagerv2-publication-city,
+ // bookmanagerv2-printer, bookmanagerv2-language, description,
bookmanagerv2-isbn,
+ // bookmanagerv2-lccn, bookmanagerv2-oclc
$output = Html::element( 'li', array(),
wfMessage( 'bookmanagerv2-' . $key, $string )->text() );
return $output;
--
To view, visit https://gerrit.wikimedia.org/r/79566
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id07abac133e9216bea2b259ef5b76f96fd28b9d7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BookManagerv2
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits