Gergő Tisza has uploaded a new change for review. https://gerrit.wikimedia.org/r/268907
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/IndexFunction refs/changes/07/268907/1 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: newchange Gerrit-Change-Id: Ie5854d25fef6db9356a4305074bb790ee917a5b6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/IndexFunction Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits