Siebrand has submitted this change and it was merged.

Change subject: Give grep a chance to find the usages
......................................................................


Give grep a chance to find the usages

Change-Id: Ic85546f3369262f6deca5111403ab4f26e7286c6
---
M specialpages/BibManagerDelete_body.php
M specialpages/BibManagerEdit_body.php
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Siebrand: Verified; Looks good to me, approved



diff --git a/specialpages/BibManagerDelete_body.php 
b/specialpages/BibManagerDelete_body.php
index fdd4b35..85c263e 100644
--- a/specialpages/BibManagerDelete_body.php
+++ b/specialpages/BibManagerDelete_body.php
@@ -46,6 +46,11 @@
 
                        $table = array ( );
                        $table[] = '<table id="bm_delete" class="wikitable" 
style="width:100%">';
+                       // Give grep a chance to find the usages:
+                       // bm_address, bm_annote, bm_author, bm_booktitle, 
bm_chapter, bm_crossref, bm_edition,
+                       // bm_editor, bm_eprint, bm_howpublished, 
bm_institution, bm_journal, bm_key, bm_month,
+                       // bm_note, bm_number, bm_organization, bm_pages, 
bm_publisher, bm_school, bm_series,
+                       // bm_title, bm_type, bm_url, bm_volume, bm_year
                        foreach ( $entryFields as $fieldName ) {
                                $table[] = '  <tr><th style="width:150px">' . 
wfMsg( 'bm_' . $fieldName ) . '</th><td>' . $entry['bm_' . $fieldName] . 
'</td></tr>';
                        }
diff --git a/specialpages/BibManagerEdit_body.php 
b/specialpages/BibManagerEdit_body.php
index ee04efb..f248ad0 100644
--- a/specialpages/BibManagerEdit_body.php
+++ b/specialpages/BibManagerEdit_body.php
@@ -44,6 +44,11 @@
                        return;
                }
 
+               // Give grep a chance to find the usages: 
bm_entry_type_article, bm_entry_type_book,
+               // bm_entry_type_booklet, bm_entry_type_conference, 
bm_entry_type_inbook,
+               // bm_entry_type_incollection, bm_entry_type_inproceedings, 
bm_entry_type_manual,
+               // bm_entry_type_mastersthesis, bm_entry_type_misc, 
bm_entry_type_phdthesis,
+               // bm_entry_type_proceedings, bm_entry_type_techreport, 
bm_entry_type_unpublished
                $wgOut->setPageTitle( wfMsg( 'heading_edit', wfMsg( 
'bm_entry_type_' . $entryType ) ) );
 
                $typeDefs = BibManagerFieldsList::getTypeDefinitions();

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic85546f3369262f6deca5111403ab4f26e7286c6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BibManager
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>

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

Reply via email to