Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/251676
Change subject: Update README ...................................................................... Update README * Requires 1.27 * require_once is not a function * BeforePageDisplay does run in modern versions of the CologneBlue skin. * User code typically runs after Gadgets now, and they do have access to things defined in gadgets. Change-Id: I37431940693abdc2df840980025ff517e95f4a09 --- M README 1 file changed, 2 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gadgets refs/changes/76/251676/1 diff --git a/README b/README index 5fb3c35..b7bea4f 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ they should be mentioned in each file individually. == Prerequisites == -This version of Gadgets requires MediaWiki 1.19 or later. To get a version +This version of Gadgets requires MediaWiki 1.27 or later. To get a version compatible with earlier MediaWiki release, visit https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Gadgets @@ -25,7 +25,7 @@ MediaWiki installation. Then add the following lines to your LocalSettings.php file (near the end): - require_once( "$IP/extensions/Gadgets/Gadgets.php" ); + require_once "$IP/extensions/Gadgets/Gadgets.php"; == Usage == See http://www.mediawiki.org/wiki/Extension:Gadgets#Usage @@ -35,8 +35,3 @@ * Gadgets do not apply to Special:Preferences, Special:UserLogin and Special:ResetPass so users can always disable any broken gadgets they may have enabled, and malicious gadgets will be unable to steal passwords. -* Uses BeforePageDisplay hook, thus only works with MonoBook based skins; - specifically, does not work with CologneBlue. -* Gadget code is included after user code - that means that user JS has no - access to things defined in gadgets, and user CSS is overwritten by CSS - from gadgets. (pending a better way to insert things into the HTML head) -- To view, visit https://gerrit.wikimedia.org/r/251676 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I37431940693abdc2df840980025ff517e95f4a09 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gadgets Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits