Krinkle has uploaded a new change for review. Change subject: (bug 42136) Use user prefs to set initial state of "Watch this". ......................................................................
(bug 42136) Use user prefs to set initial state of "Watch this". * Don't show at all if user isn't logged in * Use "watch pages I create" and "watch pages I create" prefs * If the user is already watching it, use that Also updated relevant onMakeGlobalVariablesScript hook, it was using old globals still, the hook has context as of MediaWiki 1.19. Change-Id: Ic3daf32505a745b3cccd0663a03bbf7f3885be84 --- M VisualEditor.hooks.php M modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js 2 files changed, 19 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/89/37189/1 -- To view, visit https://gerrit.wikimedia.org/r/37189 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic3daf32505a745b3cccd0663a03bbf7f3885be84 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Krinkle <ttij...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits