Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/65677
Change subject: Deprecated $wgDataValues ...................................................................... Deprecated $wgDataValues Change-Id: I17e8c899215ca53945f3de7b0eb5e3a249ed76fd --- M DataValues/DataValues.php 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DataValues refs/changes/77/65677/1 diff --git a/DataValues/DataValues.php b/DataValues/DataValues.php index 66faf88..6e284e3 100644 --- a/DataValues/DataValues.php +++ b/DataValues/DataValues.php @@ -66,6 +66,9 @@ } global $wgDataValues; +/** + * @deprecated since 0.1 This is a global registry that provides no control over object lifecycle + */ $wgDataValues = array(); $wgDataValues['boolean'] = 'DataValues\BooleanValue'; -- To view, visit https://gerrit.wikimedia.org/r/65677 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I17e8c899215ca53945f3de7b0eb5e3a249ed76fd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DataValues Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits