From: Bryan Tong Minh Date: Mon, 12 Apr 2010 10:40:03 +0000 (+0000) Subject: (bug 23167) Check the watch checkbox by default if the watchcreations preference... X-Git-Tag: 1.31.0-rc.0~37135 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=fc8bd69043f94c96438580970dc8a3c2868a793b;p=lhc%2Fweb%2Fwiklou.git (bug 23167) Check the watch checkbox by default if the watchcreations preference is set --- 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' ), ) ); }