jenkins-bot has submitted this change and it was merged. Change subject: Remove num parameter from referencesKey function ......................................................................
Remove num parameter from referencesKey function Change-Id: Ib215a09dc2d77988cb63a1b3c5fce4cd0cb886cb --- M Cite_body.php 1 file changed, 1 insertion(+), 6 deletions(-) Approvals: Jdlrobson: Looks good to me, approved jenkins-bot: Verified diff --git a/Cite_body.php b/Cite_body.php index 96f237c..cbb2e95 100644 --- a/Cite_body.php +++ b/Cite_body.php @@ -968,16 +968,11 @@ * @static * * @param string $key The key - * @param int $num The number of the key * @return string A key for use in wikitext */ - public static function getReferencesKey( $key, $num = null ) { + public static function getReferencesKey( $key ) { $prefix = wfMessage( 'cite_references_link_prefix' )->inContentLanguage()->text(); $suffix = wfMessage( 'cite_references_link_suffix' )->inContentLanguage()->text(); - if ( isset( $num ) ) { - $key = wfMessage( 'cite_reference_link_key_with_num', $key, $num ) - ->inContentLanguage()->plain(); - } return "$prefix$key$suffix"; } -- To view, visit https://gerrit.wikimedia.org/r/273110 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib215a09dc2d77988cb63a1b3c5fce4cd0cb886cb Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/Cite Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Cenarium <cenarium.sy...@gmail.com> Gerrit-Reviewer: Jackmcbarn <jackmcb...@gmail.com> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits