jenkins-bot has submitted this change and it was merged. Change subject: Use strict array search for linker options. ......................................................................
Use strict array search for linker options. This is in anticipation of gerrit change I16b9d6c3044ae60d5a7fd340569c019ffc4b2a55 (and a good practice anyway). Change-Id: Ie5854d25fef6db9356a4305074bb790ee917a5b6 --- M IndexFunction_body.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Anomie: Looks good to me, approved jenkins-bot: Verified diff --git a/IndexFunction_body.php b/IndexFunction_body.php index 9ec9be0..b9ef039 100644 --- a/IndexFunction_body.php +++ b/IndexFunction_body.php @@ -163,7 +163,7 @@ // Turn links to indexes into blue links static function blueLinkIndexes( $skin, $target, $options, &$text, &$attribs, &$ret ) { - if ( in_array( 'known', $options ) ) { + if ( in_array( 'known', $options, true ) ) { return true; } -- To view, visit https://gerrit.wikimedia.org/r/268907 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie5854d25fef6db9356a4305074bb790ee917a5b6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/IndexFunction Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits