jenkins-bot has submitted this change and it was merged.

Change subject: Add comments for grep
......................................................................


Add comments for grep

Change-Id: Ie75d6188b50a74e7f6ea8bd92747640b35004c6b
---
M formats/JitGraph/SRF_JitGraph.php
M formats/array/SRF_Array.php
M formats/math/SRF_Math.php
M formats/time/SRF_Time.php
M formats/timeline/SRF_Timeline.php
M formats/tree/SRF_Tree.php
6 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Mwjames: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/formats/JitGraph/SRF_JitGraph.php 
b/formats/JitGraph/SRF_JitGraph.php
index bcbe75f..befd986 100644
--- a/formats/JitGraph/SRF_JitGraph.php
+++ b/formats/JitGraph/SRF_JitGraph.php
@@ -122,6 +122,8 @@
        }
 
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_outline, srf_printername_sum, 
srf_printername_average, srf_printername_max
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
 
diff --git a/formats/array/SRF_Array.php b/formats/array/SRF_Array.php
index 3fde933..cd6885f 100644
--- a/formats/array/SRF_Array.php
+++ b/formats/array/SRF_Array.php
@@ -45,6 +45,8 @@
        }
 
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_array, srf_printername_hash
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
        
diff --git a/formats/math/SRF_Math.php b/formats/math/SRF_Math.php
index fd9dfa3..89d5bef 100644
--- a/formats/math/SRF_Math.php
+++ b/formats/math/SRF_Math.php
@@ -19,6 +19,9 @@
         * @see SMWResultPrinter::getName()
         */
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_max, srf_printername_min, 
srf_printername_sum,
+               // srf_printername_product, srf_printername_average, 
srf_printername_median
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
 
diff --git a/formats/time/SRF_Time.php b/formats/time/SRF_Time.php
index 463cb20..79b0403 100644
--- a/formats/time/SRF_Time.php
+++ b/formats/time/SRF_Time.php
@@ -18,6 +18,8 @@
         * @see SMWResultPrinter::getName()
         */
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_latest, srf_printername_earliest
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
 
diff --git a/formats/timeline/SRF_Timeline.php 
b/formats/timeline/SRF_Timeline.php
index 76d9b58..99326f3 100644
--- a/formats/timeline/SRF_Timeline.php
+++ b/formats/timeline/SRF_Timeline.php
@@ -44,6 +44,8 @@
        }
        
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_timeline, srf_printername_eventline
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
 
diff --git a/formats/tree/SRF_Tree.php b/formats/tree/SRF_Tree.php
index a551e95..fa2aef2 100644
--- a/formats/tree/SRF_Tree.php
+++ b/formats/tree/SRF_Tree.php
@@ -28,6 +28,8 @@
         * @see SMWResultPrinter::getName()
         */
        public function getName() {
+               // Give grep a chance to find the usages:
+               // srf_printername_tree, srf_printername_ultree, 
srf_printername_oltree
                return wfMessage( 'srf_printername_' . $this->mFormat )->text();
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/53019
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie75d6188b50a74e7f6ea8bd92747640b35004c6b
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>
Gerrit-Reviewer: Shirayuki <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to