Tpt has uploaded a new change for review. https://gerrit.wikimedia.org/r/70389
Change subject: (bug 50154) The parameter of the header template should be in lower case ...................................................................... (bug 50154) The parameter of the header template should be in lower case This fix the break of the automatic header template feature. Change-Id: Ib2a254b7117b809a101d38f5c311ca41bb57a9ff --- M ProofreadPage.body.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/89/70389/1 diff --git a/ProofreadPage.body.php b/ProofreadPage.body.php index 215d2a1..36e7d95 100644 --- a/ProofreadPage.body.php +++ b/ProofreadPage.body.php @@ -846,7 +846,7 @@ } $attributes = $indexPage->getIndexEntriesForHeader(); foreach( $attributes as $attribute ) { - $key = $attribute->getKey(); + $key = strtolower( $attribute->getKey() ); if( array_key_exists( $key, $args ) ) { $val = $args[$key]; } else { -- To view, visit https://gerrit.wikimedia.org/r/70389 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib2a254b7117b809a101d38f5c311ca41bb57a9ff Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: 1.22wmf8 Gerrit-Owner: Tpt <thoma...@hotmail.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits