From fc8bd69043f94c96438580970dc8a3c2868a793b Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Mon, 12 Apr 2010 10:40:03 +0000 Subject: [PATCH] (bug 23167) Check the watch checkbox by default if the watchcreations preference is set --- includes/specials/SpecialUpload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index d33ffd108d..cf3c1f9971 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -943,6 +943,7 @@ class UploadForm extends HTMLForm { 'id' => 'wpWatchthis', 'label-message' => 'watchthisupload', 'section' => 'options', + 'default' => $wgUser->getOption( 'watchcreations' ), ) ); } -- 2.20.1