[MediaWiki-commits] [Gerrit] Implement hooks for logging - change (labs...Luke081515IRCBot)

2016-06-28 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296470

Change subject: Implement hooks for logging
..

Implement hooks for logging

Stalking channels is fun!
Change-Id: I96f8d04c29b5eab8a82e4ddb7dc42dc52da8580b
---
A bot_functions/logging.php
A bot_functions/logwrite.php
2 files changed, 37 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/70/296470/1

diff --git a/bot_functions/logging.php b/bot_functions/logging.php
new file mode 100644
index 000..9396427
--- /dev/null
+++ b/bot_functions/logging.php
@@ -0,0 +1,21 @@
+add_privmsg_hook($c . "log-on", "ircbot_log-on");
+function ircbot_log-on($object, $params, $prefix, $channel) {
+   global $owner;
+   
+   $nick = IRC::get_nick($prefix);
+   if ($nick == $owner) {
+   $LoggingChannels [$channel] = true;
+   }
+}
+
+$bot->add_privmsg_hook($c . "log-off", "ircbot_log-off");
+function ircbot_log-off($object, $params, $prefix, $channel) {
+   global $owner;
+   
+   $nick = IRC::get_nick($prefix);
+   if ($nick == $owner) {
+   unset ($LoggingChannels [$channel]);
+   }
+}
+?>
\ No newline at end of file
diff --git a/bot_functions/logwrite.php b/bot_functions/logwrite.php
new file mode 100644
index 000..3800d22
--- /dev/null
+++ b/bot_functions/logwrite.php
@@ -0,0 +1,16 @@
+add_hook("PRIVMSG", "ircbot_log");
+
+function ircbot_log($object, $command, $params, $prefix) {
+   global $log_format;
+   global $LoggingChannels;
+   
+   if (isset ($LoggingChannels [$channel]) === true) {
+   $nick = IRC::get_nick($prefix);
+   $dest = substr($params, 0, strpos($params, " "));
+   $msg = substr($params, strpos($params, " :") + 2);
+   $file = "./Logs/" . $channel;
+   file_put_contents($file, date($log_format) . " $dest <$nick> 
$msg\n", FILE_APPEND);
+   }
+}
+?>

-- 
To view, visit https://gerrit.wikimedia.org/r/296470
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96f8d04c29b5eab8a82e4ddb7dc42dc52da8580b
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Adjust url[en/de]code tools - change (labs...Luke081515IRCBot)

2016-06-28 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296427

Change subject: Adjust url[en/de]code tools
..

Adjust url[en/de]code tools

Pings the user instead of mentioning him.

Change-Id: I41f64f3e711eb4006bafed8559a27bc4886b3f07
---
M bot_functions/tools.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/27/296427/1

diff --git a/bot_functions/tools.php b/bot_functions/tools.php
index 1bf6a0f..a565d0f 100644
--- a/bot_functions/tools.php
+++ b/bot_functions/tools.php
@@ -4,12 +4,12 @@
$nick = IRC::get_nick($prefix);
$param = urlencode($params);
$param = str_replace ("%0D", "", $param);
-   $object->privmsg($channel, ":urlencode@" . $nick . ": " . $param);
+   $object->privmsg($channel, $nick . ": '" . $param . "'");
 }
 
 $bot->add_privmsg_hook($c . "urldecode", "ircbot_urldecode");
 function ircbot_urldecode($object, $params, $prefix, $channel) {
$nick = IRC::get_nick($prefix);
-   $object->privmsg($channel, ":urldecode@" . $nick . ": " . 
urldecode($params));
+   $object->privmsg($channel, $nick . ": '" . urldecode($params) . "'");
 }
 ?>

-- 
To view, visit https://gerrit.wikimedia.org/r/296427
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41f64f3e711eb4006bafed8559a27bc4886b3f07
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Implement hook "remove" - change (labs...Luke081515IRCBot)

2016-06-28 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296425

Change subject: Implement hook "remove"
..

Implement hook "remove"

Kick is a brutal action... just remove the user, and he will not notice it

Change-Id: Iad21049e8eb5503db2ab748e45ac032674b43df4
---
A bot_functions/remove.php
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/25/296425/1

diff --git a/bot_functions/remove.php b/bot_functions/remove.php
new file mode 100644
index 000..b9280fe
--- /dev/null
+++ b/bot_functions/remove.php
@@ -0,0 +1,9 @@
+add_privmsg_hook($c . "remove", "ircbot_remove");
+function ircbot_kick($object, $params, $prefix, $channel) {
+   global $owner;
+   $nick = IRC::get_nick($prefix);
+   if ($nick == $owner)
+   $object->remove($channel . " " . $params);
+}
+?>
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/296425
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad21049e8eb5503db2ab748e45ac032674b43df4
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Two permission changes at urwiki - change (operations/mediawiki-config)

2016-06-15 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/294652

Change subject: Two permission changes at urwiki
..

Two permission changes at urwiki

* Assigned tboverride-account and override-antispoof to accountcreators
* create filemover group with movefile
* Allow sysops to add or remove these two groups from users

Bug: T137888
Change-Id: I6e48d84c7fa615052817c0250ca2e06bc09b5177
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/52/294652/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 3e0e28f..0711f06 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8746,8 +8746,10 @@
'autoeditor' => [ 'autoreview' => true ],
],
'urwiki' => [
-   'rollbacker' => [ 'rollback' => true ], // T47642
+   'accountcreator' => [ 'tboverride-account' => true, 
'override-antispoof' => true ], // T137888
+   'filemover' => [ 'movefile' => true ], // T137888
'interface-editor' => [ 'editinterface' => true ], // T120348
+   'rollbacker' => [ 'rollback' => true ], // T47642
],
'vecwiki' => [
'flood' => [ 'bot' => true ],
@@ -9551,7 +9553,7 @@
],
'+urwiki' => [
'bureaucrat' => [ 'import', 'confirmed', 'abusefilter', 
'rollbacker' ], // T44737 and T47643
-   'sysop' => [ 'confirmed', 'abusefilter', 'rollbacker', 
'interface-editor' ], // T44737, T47643 and T120348
+   'sysop' => [ 'confirmed', 'abusefilter', 'rollbacker', 
'interface-editor', 'accountcreator', 'filemover' ], // T44737, T47643, T120348 
and T137888
],
'+viwiki' => [
'sysop' => [
@@ -10242,7 +10244,7 @@
],
'+urwiki' => [
'bureaucrat' => [ 'import', 'confirmed', 'abusefilter', 
'rollbacker' ], // T44737 and T47643
-   'sysop' => [ 'confirmed', 'interface-editor' ], // T44737 and 
T120348
+   'sysop' => [ 'confirmed', 'interface-editor', 'accountcreator', 
'filemover' ], // T44737, T120348 and T137888
],
'+viwiki' => [
'sysop' => [

-- 
To view, visit https://gerrit.wikimedia.org/r/294652
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e48d84c7fa615052817c0250ca2e06bc09b5177
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] [maps/tilerator/deploy] define noop - change (integration/config)

2016-05-27 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/291286

Change subject: [maps/tilerator/deploy] define noop
..

[maps/tilerator/deploy] define noop

So the repository get known to Zuul.

Bug: T128569
Change-Id: I0c3aeacf92d430ad1272f5f00e7fb7182b8a05bf
---
M zuul/layout.yaml
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/86/291286/1

diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 54bdafa..4314696 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -1262,6 +1262,12 @@
   - integration-zuul-debian-glue
   - debian-glue
 
+  - name: maps/tilerator/deploy  
+test:
+  - noop
+gate-and-submit:
+  - noop
+
   - name: mediawiki/core
 template:
   - name: extension-gate

-- 
To view, visit https://gerrit.wikimedia.org/r/291286
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c3aeacf92d430ad1272f5f00e7fb7182b8a05bf
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Grant groups from flaggedrevs the patrol rights at test2wiki - change (operations/mediawiki-config)

2016-05-05 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/287090

Change subject: Grant groups from flaggedrevs the patrol rights at test2wiki
..

Grant groups from flaggedrevs the patrol rights at test2wiki

* Assigned autopatrol to the autoreview group
* Assigned patrol to the editor group
test2wiki has flaggedrevs and patrol, so after this patch nobody needs to 
assign sysop rights for patrolling

Bug: T134491
Change-Id: I9684f305c3897b30095b3263e07bff66a7e2
---
M wmf-config/InitialiseSettings.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/90/287090/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index feae66d..8cb47a3 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8595,6 +8595,12 @@
'centralnoticeadmin' => [ 'centralnotice-admin' => true, 
'editinterface' => true ], //adding to allow CN access without local sysop JRA 
2013-02-21
],
'test2wiki' => [
+   'autoreview' => [ // T134491
+   'autopatrol' => true,
+   ],
+   'editor' => [ // T134491
+   'patrol' => true,
+   ],
'user' => [
'upload_by_url' => true, // For testing of Flickr 
uploading via UploadWizard
'upload' => true,

-- 
To view, visit https://gerrit.wikimedia.org/r/287090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9684f305c3897b30095b3263e07bff66a7e2
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Typo fix at the warning for the inactive deployment server - change (operations/puppet)

2016-04-20 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284605

Change subject: Typo fix at the warning for the inactive deployment server
..

Typo fix at the warning for the inactive deployment server

Changing "canges" to "changes" at the warning for the inactive 
deployment-server,

Change-Id: Id8153a5f7e4720a2cbe6a3bd9d5f67116bd20268
---
M modules/role/files/deployment/inactive.motd
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/284605/1

diff --git a/modules/role/files/deployment/inactive.motd 
b/modules/role/files/deployment/inactive.motd
index 72c8b76..7d51e9c 100755
--- a/modules/role/files/deployment/inactive.motd
+++ b/modules/role/files/deployment/inactive.motd
@@ -18,6 +18,6 @@
 
 If you want to deploy software, you should /not/ do it from here; if
 will probably work, but the next deployer could lose track of any of
-your canges. Connect to 'deployment.eqiad.wmnet' instead, it will
+your changes. Connect to 'deployment.eqiad.wmnet' instead, it will
 route you to the correct server.
 MOTD

-- 
To view, visit https://gerrit.wikimedia.org/r/284605
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8153a5f7e4720a2cbe6a3bd9d5f67116bd20268
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Define hook "joinActions" - change (labs...Luke081515IRCBot)

2016-04-20 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284496

Change subject: Define hook "joinActions"
..

Define hook "joinActions"

This hook is able to react to joins. For example you can define
a "kick all people except me" function, 
if you don't like people at your channel.

Change-Id: If15b2265184f1f9edc6c343ffd8237b482b8e84b
---
A bot_functions/joins.php
1 file changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/96/284496/1

diff --git a/bot_functions/joins.php b/bot_functions/joins.php
new file mode 100644
index 000..ae8540f
--- /dev/null
+++ b/bot_functions/joins.php
@@ -0,0 +1,15 @@
+add_hook("joinActions", "ircbot_joinActions");
+
+/** joinActions
+* This hook gets triggered if someone joins
+* @params $nick - Nickname, $command - has the value "JOIN", always, $params - 
Name of the joined channel, $prefix - Nickname with hostdomain/cloak
+* Remeber that the bot triggers this hook itself if he joins a channel
+*/
+function ircbot_joinActions($object, $command, $params, $prefix) {
+global $owner;
+global $c;
+   $nick = IRC::get_nick($prefix);
+   // define your custom actions here
+}
+?>

-- 
To view, visit https://gerrit.wikimedia.org/r/284496
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If15b2265184f1f9edc6c343ffd8237b482b8e84b
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Implemented hook "akick" - change (labs...Luke081515IRCBot)

2016-04-20 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284448

Change subject: Implemented hook "akick"
..

Implemented hook "akick"

Tired of kicking users manually? Let's let the bot do it, and you can relax,
while the akicked user gets annoyed, the situation will get deescalated fast! 
Sure!

Change-Id: I9637475812abd7aef8fb9b72db44638e04979c9f
---
M IRCBot.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/48/284448/1

diff --git a/IRCBot.php b/IRCBot.php
index 22e8f06..98c5e93 100644
--- a/IRCBot.php
+++ b/IRCBot.php
@@ -2,7 +2,7 @@
 include("BotData.php");
 
 $bot = new IRC_Bot;
-
+public $akick;
 // Config for the bot
 
 // Define channels here like $channel [0] = "#wikimedia-codereview";

-- 
To view, visit https://gerrit.wikimedia.org/r/284448
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9637475812abd7aef8fb9b72db44638e04979c9f
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Implement hook "kick" - change (labs...Luke081515IRCBot)

2016-04-19 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284355

Change subject: Implement hook "kick"
..

Implement hook "kick"

Allows the bot to kick people by the !kick command. Indispensable for a quiet 
channel! Owner only at the moment.

Change-Id: Ica5f186c7d24921066311ebb848e3d12a3234e9f
---
M IRCBot.php
A bot_functions/kick.php
M bot_functions/kicked.php
3 files changed, 11 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/55/284355/1

diff --git a/IRCBot.php b/IRCBot.php
index 7b4e5ca..22e8f06 100644
--- a/IRCBot.php
+++ b/IRCBot.php
@@ -14,7 +14,7 @@
 $log_format = "d.m H:i";
 $info["owner"] = $owner;
 $info["commands"] = $c . "info, " . $c . "urlencode " . $c . "urldecode";
-$info["admin_commands"] = $c . "quit, " . $c . "nick, ";
+$info["admin_commands"] = $c . "quit, " . $c . "nick, " . $c . "kick";
 // Config end
 
 $dir = "bot_functions/";
diff --git a/bot_functions/kick.php b/bot_functions/kick.php
new file mode 100644
index 000..f2b0368
--- /dev/null
+++ b/bot_functions/kick.php
@@ -0,0 +1,9 @@
+add_privmsg_hook($c . "kick", "ircbot_kick");
+function ircbot_kick($object, $params, $prefix, $channel) {
+   global $owner;
+   $nick = IRC::get_nick($prefix);
+   if ($nick == $owner) {
+   $object->kick($channel . " " . $params);
+}
+?>
diff --git a/bot_functions/kicked.php b/bot_functions/kicked.php
index 4bfa31f..ad73127 100644
--- a/bot_functions/kicked.php
+++ b/bot_functions/kicked.php
@@ -1,5 +1,5 @@
 add_hook("KICK", "ircbot_kicked");
+$bot->add_hook("KICKED", "ircbot_kicked");
 
 function ircbot_kicked($object, $command, $params, $prefix) {
global $channel;

-- 
To view, visit https://gerrit.wikimedia.org/r/284355
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica5f186c7d24921066311ebb848e3d12a3234e9f
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/Luke081515IRCBot
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] [WIP] Initial Commit - change (labs...Luke081515IRCBot)

2016-04-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283996

Change subject: [WIP] Initial Commit
..

[WIP] Initial Commit

Change-Id: Ia8e540e409c128ef03d8d35893549100be249a40
---
A .gitignore
A BotData.php
A IRCBot.php
A IRCConnection.php
A Password.example.php
A bot_functions/admin.php
A bot_functions/info.php
A bot_functions/init.php
A bot_functions/invite.php
A bot_functions/kicked.php
A bot_functions/msglog.php
A bot_functions/other.php
A bot_functions/tools.php
13 files changed, 396 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/96/283996/1

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..06f0707
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+Password.php
+logfile
\ No newline at end of file
diff --git a/BotData.php b/BotData.php
new file mode 100644
index 000..3bbca1c
--- /dev/null
+++ b/BotData.php
@@ -0,0 +1,106 @@
+password = new Password();
+   $Found = false;
+   echo ("\nstart");
+   $this->password->init();
+   $LoginName = unserialize($this->password->getLoginName ());
+   $LoginHost = unserialize($this->password->getLoginHost());
+   $LoginAccount = unserialize($this->password->getLoginAccount());
+   $LoginPassword = 
unserialize($this->password->getLoginPassword());
+   while (isset ($LoginName [$a]) === true) {
+   if ($LoginName [$a] === $Account) {
+   $this->server = $LoginHost [$a];
+   $this->username = $LoginAccount [$a];
+   $this->nickname = $LoginAccount [$a];
+   $this->password = $LoginPassword [$a];
+   $Found = true;
+   }
+   $a++;
+   }
+   if (!$Found) {
+   throw new Exception("Can't found the correct 
logindata");
+   die(1); // exit with error
+   }
+   }
+   
+   function run() {
+   $Account = 'Luke081515Bot@Freenode';
+   $this->start ($Account);
+   $this->irc = IRC::startConnection($this->server,
+   $this->port,
+   $this->nickname,
+   $this->username,
+   $this->servername,
+   $this->hostname,
+   $this->realname,
+   $this->password);
+   while (true) {
+   $input = $this->irc->get();
+   $this->do_hooks($input);
+   }
+   }
+
+   function add_hook($command, $function) {
+   $this->hooks[] = array("command" => $command, "function" => 
$function);
+   }
+
+   function add_privmsg_hook($command, $function, $channel = "*") {
+   $this->privmsg_hooks[] = array("command" => $command, 
"function" => $function, "channel" => $channel);
+   }
+
+   function do_hooks($input) {
+   foreach ($this->hooks AS $hook) {
+   if ($hook["command"] == $input["command"]) {
+   call_user_func($hook["function"],
+   $this->irc,
+   $input["command"],
+   $input["params"],
+   $input["prefix"]);
+   }
+   }
+   if ($input["command"] == "PRIVMSG") {
+   foreach ($this->privmsg_hooks AS $hook) {
+   $string = $hook["channel"] . " :" . 
$hook["command"];
+   $string2 = strstr($input["params"], ":");
+   if ($hook["channel"] != "*" &&
+   substr($input["params"], 0, 
strlen($string)) == $string) { 
+   call_user_func($hook["function"],
+   $this->irc,
+   substr($input["params"], 
strlen($string) + 1),
+   $input["prefix"],
+   $hook["channel"]);
+   } elseif (substr($string2, 0, 
strlen($hook["command"]) + 1) == ":" . $hook["command"]) {
+   $params_pos = @strpos($input["params"], 
$hook["command"]) + strlen($hook["command"]) + 1;
+   $params = substr($input["params"], 
$params_pos);
+   $channel = substr($input["params"], 0, 
strpos($input["params"], " "));
+   

[MediaWiki-commits] [Gerrit] [WIP] Initial Commit - change (labs...Luke081515IRCBot)

2016-04-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283995

Change subject: [WIP] Initial Commit
..

[WIP] Initial Commit
---
A .gitignore
A BotData.php
A IRCBot.php
A IRCConnection.php
A Password.example.php
A bot_functions/admin.php
A bot_functions/info.php
A bot_functions/init.php
A bot_functions/invite.php
A bot_functions/kicked.php
A bot_functions/msglog.php
A bot_functions/other.php
A bot_functions/tools.php
13 files changed, 397 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/95/283995/1

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..06f0707
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+Password.php
+logfile
\ No newline at end of file
diff --git a/BotData.php b/BotData.php
new file mode 100644
index 000..7ddf973
--- /dev/null
+++ b/BotData.php
@@ -0,0 +1,107 @@
+password = new Password();
+   $Found = false;
+   echo ("\nstart");
+   $this->password->init();
+   $LoginName = unserialize($this->password->getLoginName ());
+   $LoginHost = unserialize($this->password->getLoginHost());
+   $LoginAccount = unserialize($this->password->getLoginAccount());
+   $LoginPassword = 
unserialize($this->password->getLoginPassword());
+   while (isset ($LoginName [$a]) === true) {
+   if ($LoginName [$a] === $Account) {
+   $this->server = $LoginHost [$a];
+   $this->username = $LoginAccount [$a];
+   $this->nickname = $LoginAccount [$a];
+   $this->password = $LoginPassword [$a];
+   $Found = true;
+   }
+   $a++;
+   }
+   if (!$Found) {
+   throw new Exception("Can't found the correct 
logindata");
+   die(1); // exit with error
+   }
+   }
+   
+   function run() {
+   $Account = 'Luke081515Bot@Freenode';
+   $this->start ($Account);
+   $this->irc = IRC::startConnection($this->server,
+   $this->port,
+   $this->nickname,
+   $this->username,
+   $this->servername,
+   $this->hostname,
+   $this->realname,
+   $this->password);
+   while (true) {
+   $input = $this->irc->get();
+   $this->do_hooks($input);
+   }
+   }
+
+   function add_hook($command, $function) {
+   $this->hooks[] = array("command" => $command, "function" => 
$function);
+   }
+
+   function add_privmsg_hook($command, $function, $channel = "*") {
+   $this->privmsg_hooks[] = array("command" => $command, 
"function" => $function, "channel" => $channel);
+   }
+
+   function do_hooks($input) {
+   foreach ($this->hooks AS $hook) {
+   if ($hook["command"] == $input["command"]) {
+   call_user_func($hook["function"],
+   $this->irc,
+   $input["command"],
+   $input["params"],
+   $input["prefix"]);
+   }
+   }
+   if ($input["command"] == "PRIVMSG") {
+   foreach ($this->privmsg_hooks AS $hook) {
+   $string = $hook["channel"] . " :" . 
$hook["command"];
+   $string2 = strstr($input["params"], ":");
+   if ($hook["channel"] != "*" &&
+   substr($input["params"], 0, 
strlen($string)) == $string) { 
+   call_user_func($hook["function"],
+   $this->irc,
+   substr($input["params"], 
strlen($string) + 1),
+   $input["prefix"],
+   $hook["channel"]);
+   } elseif (substr($string2, 0, 
strlen($hook["command"]) + 1) == ":" . $hook["command"]) {
+   $params_pos = @strpos($input["params"], 
$hook["command"]) + strlen($hook["command"]) + 1;
+   $params = substr($input["params"], 
$params_pos);
+   $channel = substr($input["params"], 0, 
strpos($input["params"], " "));
+   call_user_func($hook["function"],
+  

[MediaWiki-commits] [Gerrit] [WIP] Initial Commit - change (labs...Luke081515IRCBot)

2016-04-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283993

Change subject: [WIP] Initial Commit
..

[WIP] Initial Commit
---
A .gitignore
A BotData.php
A IRCBot.php
A IRCConnection.php
A Password.example.php
A bot_functions/admin.php
A bot_functions/info.php
A bot_functions/init.php
A bot_functions/invite.php
A bot_functions/kicked.php
A bot_functions/msglog.php
A bot_functions/other.php
A bot_functions/tools.php
13 files changed, 397 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/Luke081515IRCBot 
refs/changes/93/283993/1

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..06f0707
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+Password.php
+logfile
\ No newline at end of file
diff --git a/BotData.php b/BotData.php
new file mode 100644
index 000..ff17c4a
--- /dev/null
+++ b/BotData.php
@@ -0,0 +1,107 @@
+password = new Password();
+   $Found = false;
+   echo ("\nstart");
+   $this->password->init();
+   $LoginName = unserialize($this->password->getLoginName ());
+   $LoginHost = unserialize($this->password->getLoginHost());
+   $LoginAccount = unserialize($this->password->getLoginAccount());
+   $LoginPassword = 
unserialize($this->password->getLoginPassword());
+   while (isset ($LoginName [$a]) === true) {
+   if ($LoginName [$a] === $Account) {
+   $this->site = $LoginHost [$a];
+   $this->username = $LoginAccount [$a];
+   $this->nickname = $LoginAccount [$a];
+   $this->password = $LoginPassword [$a];
+   $Found = true;
+   }
+   $a++;
+   }
+   if (!$Found) {
+   throw new Exception("Can't found the correct 
logindata");
+   die(1); // exit with error
+   }
+   }
+   
+   function run() {
+   $Account = 'Luke081515Bot@Freenode';
+   $this->start ($Account);
+   $this->irc = IRC::startConnection($this->server,
+   $this->port,
+   $this->nickname,
+   $this->username,
+   $this->hostname,
+   $this->servername,
+   $this->realname,
+   $this->password);
+   while (true) {
+   $input = $this->irc->get();
+   $this->do_hooks($input);
+   }
+   }
+
+   function add_hook($command, $function) {
+   $this->hooks[] = array("command" => $command, "function" => 
$function);
+   }
+
+   function add_privmsg_hook($command, $function, $channel = "*") {
+   $this->privmsg_hooks[] = array("command" => $command, 
"function" => $function, "channel" => $channel);
+   }
+
+   function do_hooks($input) {
+   foreach ($this->hooks AS $hook) {
+   if ($hook["command"] == $input["command"]) {
+   call_user_func($hook["function"],
+   $this->irc,
+   $input["command"],
+   $input["params"],
+   $input["prefix"]);
+   }
+   }
+   if ($input["command"] == "PRIVMSG") {
+   foreach ($this->privmsg_hooks AS $hook) {
+   $string = $hook["channel"] . " :" . 
$hook["command"];
+   $string2 = strstr($input["params"], ":");
+   if ($hook["channel"] != "*" &&
+   substr($input["params"], 0, 
strlen($string)) == $string) { 
+   call_user_func($hook["function"],
+   $this->irc,
+   substr($input["params"], 
strlen($string) + 1),
+   $input["prefix"],
+   $hook["channel"]);
+   } elseif (substr($string2, 0, 
strlen($hook["command"]) + 1) == ":" . $hook["command"]) {
+   $params_pos = @strpos($input["params"], 
$hook["command"]) + strlen($hook["command"]) + 1;
+   $params = substr($input["params"], 
$params_pos);
+   $channel = substr($input["params"], 0, 
strpos($input["params"], " "));
+   call_user_func($hook["function"],
+

[MediaWiki-commits] [Gerrit] Add php55lint to labs/tools/Luke081515IRCBot - change (integration/config)

2016-04-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283976

Change subject: Add php55lint to labs/tools/Luke081515IRCBot
..

Add php55lint to labs/tools/Luke081515IRCBot

Change-Id: I68983de1dd11245fbc0cb7027903bf7ae34f
---
M zuul/layout.yaml
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/76/283976/1

diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 6413c0d..365e51c 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -1502,6 +1502,12 @@
   - name: php55lint
   - name: jsonlint
 
+  - name: labs/tools/Luke081515IRCBot
+check-voter:
+  - php55lint
+gate-and-submit:
+ - php55lint
+
   - name: labs/tools/ptable
 template:
   - name: tox-jessie

-- 
To view, visit https://gerrit.wikimedia.org/r/283976
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I68983de1dd11245fbc0cb7027903bf7ae34f
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Revert "Display messages from mediawiki/core at #wikimedia-c... - change (labs...grrrit)

2016-04-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283944

Change subject: Revert "Display messages from mediawiki/core at 
#wikimedia-codereview"
..

Revert "Display messages from mediawiki/core at #wikimedia-codereview"

per Legoktm

This reverts commit c712c5847daf1adf1f7a0f2e9d618f8c5159cebf.

Change-Id: I7a4ec3ae8624118a7a0577179675cc93e2f09dc7
---
M config.yaml
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/grrrit 
refs/changes/44/283944/1

diff --git a/config.yaml b/config.yaml
index 414f53a..962b6a3 100644
--- a/config.yaml
+++ b/config.yaml
@@ -180,5 +180,3 @@
 mediawiki/services/restbase/deploy:
 mediawiki/services/service-runner:
 mediawiki/services/service-template-node:
-"#wikimedia-codereview":
-mediawiki/core:

-- 
To view, visit https://gerrit.wikimedia.org/r/283944
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a4ec3ae8624118a7a0577179675cc93e2f09dc7
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/grrrit
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Display messages from mediawiki/core at #wikimedia-codereview - change (labs...grrrit)

2016-04-17 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/283850

Change subject: Display messages from mediawiki/core at #wikimedia-codereview
..

Display messages from mediawiki/core at #wikimedia-codereview

Adding grrrit to #wikimedia-codereview to display the current progress of 
codereview at that channel.

Bug: T128371
Change-Id: I3606503f7f227955ad67594eb9f0d17729367ade
---
M config.yaml
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/grrrit 
refs/changes/50/283850/1

diff --git a/config.yaml b/config.yaml
index 962b6a3..7ff4d70 100644
--- a/config.yaml
+++ b/config.yaml
@@ -180,3 +180,5 @@
 mediawiki/services/restbase/deploy:
 mediawiki/services/service-runner:
 mediawiki/services/service-template-node:
+   "#wikimedia-codereview":
+   mediawiki/core:
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/283850
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3606503f7f227955ad67594eb9f0d17729367ade
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/grrrit
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add 'extendedconfirmed' protection level on enwiki - change (operations/mediawiki-config)

2016-04-05 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281807

Change subject: Add 'extendedconfirmed' protection level on enwiki
..

Add 'extendedconfirmed' protection level on enwiki

'extendedconfirmed' right is assigned to users in the new extendedconfirmed 
group, bot and sysop group. Sysops are able to add or remove users from the 
extendedconfirmed group too

Also added the right to $wgAvailableRights so that it can be assigned to global 
groups.

Bug: T126607
Change-Id: Ibeb3d0d8f7c0e92813bcacbf0c0d3d988b7a8e38
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/07/281807/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index ccc8b4e..9d2b734 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -614,9 +614,11 @@
 $wgAvailableRights[] = 'templateeditor';
 $wgAvailableRights[] = 'editeditorprotected';
 $wgAvailableRights[] = 'editextendedsemiprotected';
+$wgAvailableRights[] = 'extendedconfirmed';
 $wgGrantPermissions['editprotected']['templateeditor'] = true;
 $wgGrantPermissions['editprotected']['editeditorprotected'] = true;
 $wgGrantPermissions['editprotected']['editextendedsemiprotected'] = true;
+$wgGrantPermissions['editprotected']['extendedconfirmed'] = true;
 
 // Allow tboverride with editprotected, and tboverride-account with 
createaccount
 $wgGrantPermissions['editprotected']['tboverride'] = true;
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 50591be..0ecade8 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4324,7 +4324,7 @@
'arwiki' => array( '', 'autoconfirmed', 'autoreview', 'sysop' ), // 
T54109
'ckbwiki' => array( '', 'autoconfirmed', 'autopatrol', 'sysop' ), // 
T54533
'dewiki' => array( '', 'autoconfirmed', 'editeditorprotected', 'sysop' 
), // T94368
-   'enwiki' => array( '', 'autoconfirmed', 'templateeditor', 'sysop' ), // 
T57432
+   'enwiki' => array( '', 'autoconfirmed', 'extendedconfirmed', 
'templateeditor', 'sysop' ), // T126607, T57432
'frwiki' => array( '', 'autoconfirmed', 'editextendedsemiprotected', 
'sysop' ), // T131109
'hewiki' => array( '', 'autoconfirmed', 'autopatrol',  'templateeditor' 
/* T102466 */, 'sysop' ), // T60207
'huwiki' => array( '', 'autoconfirmed', 'templateeditor', 'sysop' ), // 
T74055
@@ -7641,6 +7641,7 @@
'bot' => array(
'ipblock-exempt' => true, // T30914
'changetags' => true, // T97013
+   'extendedconfirmed' => true // T126607
),
'oversight' => array( 'browsearchive' => true, 'deletedhistory' 
=> true, 'deletedtext' => true, 'abusefilter-view-private' => true), // T30465, 
T119446
'checkuser' => array( 'browsearchive' => true, 'deletedhistory' 
=> true, 'deletedtext' => true, 'abusefilter-view-private' => true ), // 
T30465, T119446
@@ -7649,10 +7650,12 @@
'sysop' => array(
'templateeditor' => true, // T57432
'changetags' => true, // T97013
+   'extendedconfirmed' => true // T126607
),
'massmessage-sender' => array( // T60962
'massmessage' => true,
),
+   'extendedconfirmed' => array( 'extendedconfirmed' => true ), // 
T126607
),
'+enwikibooks' => array(
// 'rollbacker' => array( 'rollback' => true ),
@@ -9026,7 +9029,7 @@
),
'+enwiki' => array(
'bureaucrat' => array( 'accountcreator', 'flow-bot' ),
-   'sysop' => array( 'abusefilter', 'accountcreator', 
'autoreviewer', 'confirmed', 'filemover', 'reviewer', 'rollbacker', 
'templateeditor', 'massmessage-sender' ),
+   'sysop' => array( 'abusefilter', 'accountcreator', 
'autoreviewer', 'confirmed', 'filemover', 'reviewer', 'rollbacker', 
'templateeditor', 'massmessage-sender', 'extendedconfirmed' ), // T126607
),
'+enwikibooks' => array(
'sysop' => array( 'transwiki', 'uploader' ),
@@ -9703,7 +9706,7 @@
),
'+enwiki' => array(
'bureaucrat' => array( 'ipblock-exempt', 'accountcreator', 
'sysop', 'flow-bot' ),
-   'sysop' => array( 'rollbacker', 'accountcreator', 
'abusefilter', 'autoreviewer', 'confirmed', 'reviewer', 'filemover', 
'templateeditor', 'massmessage-sender' ),
+   'sysop' => array( 'rollbacker', 'accountcreator', 
'abusefilter', 'autoreviewer', 'confirmed', 'reviewer', 'filemover', 
'templateeditor', 'massmessage-sender', 'extendedconfirmed' ), // T126607
),
   

[MediaWiki-commits] [Gerrit] fix epcoordinator name at cswiki - change (operations/mediawiki-config)

2016-04-04 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281565

Change subject: fix epcoordinator name at cswiki
..

fix epcoordinator name at cswiki

Bug: T131684
Change-Id: I9ae7ef340865e06ed22ed32d459ba49257c790ea
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/65/281565/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 32f3130..abecf1e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7525,7 +7525,7 @@
'deletedtext' => true,
'abusefilter-log-detail' => true,
),
-   'ep-coordinator' => array ( 'noratelimit' => true ), // T131684
+   'epcoordinator' => array ( 'noratelimit' => true ), // T131684
'rollbacker' => array ( 'rollback' => true, ), // T126931
'patroller' => array( // T126931
'patrol' => true,

-- 
To view, visit https://gerrit.wikimedia.org/r/281565
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ae7ef340865e06ed22ed32d459ba49257c790ea
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Two permission changes at cswiki - change (operations/mediawiki-config)

2016-04-03 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281314

Change subject: Two permission changes at cswiki
..

Two permission changes at cswiki

* Allow Sysops to add or remove users from the accountcreator group
* Assign the noratelimit permission to coursecoordinators

Bug: T131684
Change-Id: I17adf4a20da2a734f8bb9f6cbed9af07fd5d
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/14/281314/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index fef15f7..83b0637 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7525,6 +7525,7 @@
'deletedtext' => true,
'abusefilter-log-detail' => true,
),
+   'ep-coordinator' => array ( 'noratelimit' => true ), // T131684
'rollbacker' => array ( 'rollback' => true, ), // T126931
'patroller' => array( // T126931
'patrol' => true,
@@ -8968,7 +8969,7 @@
),
'+cswiki' => array(
'bureaucrat' => array( 'arbcom', 'autopatrolled' ), // T63418
-   'sysop' => array( 'rollbacker', 'patroller' ), // T126931
+   'sysop' => array( 'rollbacker', 'patroller', 'accountcreator' 
), // T126931, T131684
),
'+cswikinews' => array(
'bureaucrat' => array( 'autopatrolled' ),
@@ -9651,7 +9652,7 @@
),
'+cswiki' => array(
'bureaucrat' => array( 'arbcom', 'autopatrolled' ), // T63418
-   'sysop' => array( 'rollbacker', 'patroller' ), // T126931
+   'sysop' => array( 'rollbacker', 'patroller', 'accountcreator' 
), // T126931, T131684
),
'+cswikinews' => array(
'bureaucrat' => array( 'autopatrolled' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/281314
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I17adf4a20da2a734f8bb9f6cbed9af07fd5d
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add 'editextendedsemiprotected' protection level on dewiki - change (operations/mediawiki-config)

2016-04-01 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281070

Change subject: Add 'editextendedsemiprotected' protection level on dewiki
..

Add 'editextendedsemiprotected' protection level on dewiki

'editextendedsemiprotected' right is assigned to users in theautopatrolled 
group.

Also added the right to $wgAvailableRights so that it can be
assigned to global groups.

Sorted the groups at frwiki.

Bug: T131109
Change-Id: I504f1a84e7054fdae9ebb6a96d6fca8c84598f5e
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/70/281070/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index f6fc033..2a66389 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -613,8 +613,10 @@
 // So that protection rights can be assigned to global groups
 $wgAvailableRights[] = 'templateeditor';
 $wgAvailableRights[] = 'editeditorprotected';
+$wgAvailableRights[] = 'editextendedsemiprotected';
 $wgGrantPermissions['editprotected']['templateeditor'] = true;
 $wgGrantPermissions['editprotected']['editeditorprotected'] = true;
+$wgGrantPermissions['editprotected']['editextendedsemiprotected'] = true;
 
 // Allow tboverride with editprotected, and tboverride-account with 
createaccount
 $wgGrantPermissions['editprotected']['tboverride'] = true;
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 18840fa..93deb40 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4324,6 +4324,7 @@
'ckbwiki' => array( '', 'autoconfirmed', 'autopatrol', 'sysop' ), // 
T54533
'dewiki' => array( '', 'autoconfirmed', 'editeditorprotected', 'sysop' 
), // T94368
'enwiki' => array( '', 'autoconfirmed', 'templateeditor', 'sysop' ), // 
T57432
+   'frwiki' => array( '', 'autoconfirmed', 'editextendedsemiprotected', 
'sysop' ), // T131109
'hewiki' => array( '', 'autoconfirmed', 'autopatrol',  'templateeditor' 
/* T102466 */, 'sysop' ), // T60207
'huwiki' => array( '', 'autoconfirmed', 'templateeditor', 'sysop' ), // 
T74055
'lvwiki' => array( '', 'autoconfirmed', 'autopatrol', 'sysop' ), // 
T92645
@@ -7832,10 +7833,10 @@
'flood' => array( 'bot' => true ),
),
'frwiki' => array(
-   'user' => array( 'move' => false, 'changetags' => false ), // 
requested by hashar, T98629
+   'autopatrolled' => array( 'patrol' => true, 'autopatrol' => 
true, 'movefile' => true, 'changetags' => true, 'editextendedsemiprotected' => 
true ), // T10904, T23078, T87145, T98629, T131109
'bot' => array ( 'changetags' => true ), // T98629
-   'autopatrolled' => array( 'patrol' => true, 'autopatrol' => 
true, 'movefile' => true, 'changetags' => true ), // T10904, T23078, T87145, 
T98629
'checkuser' => array( 'browsearchive' => true, 'deletedhistory' 
=> true, 'deletedtext' => true ), // T23044
+   'user' => array( 'move' => false, 'changetags' => false ), // 
requested by hashar, T98629
),
'+frwikibooks' => array(
'patroller' => array( 'patrol' => true, 'autopatrol' => true ),

-- 
To view, visit https://gerrit.wikimedia.org/r/281070
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I504f1a84e7054fdae9ebb6a96d6fca8c84598f5e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add messages for 'editextendedsemiprotected' protection level - change (mediawiki...WikimediaMessages)

2016-04-01 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281068

Change subject: Add messages for 'editextendedsemiprotected' protection level
..

Add messages for 'editextendedsemiprotected' protection level

Bug: T131109
Change-Id: If35178b06bd18d07b06caf78e4c184403bcb777d
---
M i18n/wikimedia/en.json
M i18n/wikimedia/qqq.json
2 files changed, 6 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaMessages 
refs/changes/68/281068/1

diff --git a/i18n/wikimedia/en.json b/i18n/wikimedia/en.json
index 43e5399..9d6376b 100644
--- a/i18n/wikimedia/en.json
+++ b/i18n/wikimedia/en.json
@@ -255,6 +255,9 @@
"right-editeditorprotected": "Edit pages protected as 
\"{{int:protect-level-editeditorprotected}}\"",
"protect-level-editeditorprotected": "Allow only editors",
"restriction-level-editeditorprotected": "editor protected",
+   "right-editextendedsemiprotected": "Edit pages protected as 
\"{{int:protect-level-editextendedsemiprotected}}\"",
+   "protect-level-editextendedsemiprotected": "Allow only autopatrollers",
+   "restriction-level-editextendedsemiprotected": "autopatroller 
protected",
"wikimedia-ipb-confirmhideuser": "You are about to block a user with 
\"hide user\" enabled. This will suppress the user's name in all lists and log 
entries on this wiki. Are you sure you want to do that?\n\nIf the username 
needs to be hidden on all Wikimedia wikis, please contact 
[[m:Special:MyLanguage/Stewards|stewards]] at stewa...@wikimedia.org.",
"wikimedia-feedback-termsofuse": "I agree to provide feedback in 
accordance with the https://wikimediafoundation.org/wiki/Terms_of_Use\; 
target=\"_blank\">Terms of Use.",
"wikimedia-globalrenamequeue-email-body-approved": "The request to 
rename \"{{GENDER:$1|$1}}\" to \"{{GENDER:$1|$2}}\" has been approved. Once 
completed, you will be able to log in using your new username with your old 
password. Thank you for participating on Wikimedia projects.",
diff --git a/i18n/wikimedia/qqq.json b/i18n/wikimedia/qqq.json
index 9fa7c9f..77857da 100644
--- a/i18n/wikimedia/qqq.json
+++ b/i18n/wikimedia/qqq.json
@@ -281,6 +281,9 @@
"right-editeditorprotected": "{{doc-right|editeditorprotected}}\nRefers 
to a protection level",
"protect-level-editeditorprotected": "Used as protect level.",
"restriction-level-editeditorprotected": "Used on 
[[Special:ProtectedPages]] and [[Special:ProtectedTitles]]. An option in the 
drop-down box 'Restriction level' and in brackets after each page name entry.",
+   "right-editextendedsemiprotected": 
"{{doc-right|editextendedsemiprotected}}\nRefers to a protection level",
+   "protect-level-editextendedsemiprotected": "Used as protect level.",
+   "restriction-level-editextendedsemiprotected": "Used on 
[[Special:ProtectedPages]] and [[Special:ProtectedTitles]]. An option in the 
drop-down box 'Restriction level' and in brackets after each page name entry.",
"wikimedia-ipb-confirmhideuser": "Used as confirmation message in 
[[Special:Block]] before doing a HideUser block.\n\nSee also:\n* 
{{msg-mw|Ipb-blockingself}} and {{msg-mw|ipb-confirmhideuser}}",
"wikimedia-feedback-termsofuse": "Label for agreeing to the Wikimedia 
terms of use with a link to the official terms of use page.",
"wikimedia-globalrenamequeue-email-body-approved": "Email body for 
approved request.\n\n* $1 is the old username\n* $2 is the new username.",

-- 
To view, visit https://gerrit.wikimedia.org/r/281068
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If35178b06bd18d07b06caf78e4c184403bcb777d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaMessages
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add movefile to the editor group - change (operations/mediawiki-config)

2016-03-30 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/280449

Change subject: Add movefile to the editor group
..

Add movefile to the editor group

Adds the right 'movefile' to the editor group at arwiki, per community vote.

Bug: T131249
Change-Id: I770f42395ee87fed892aea4ea4bba60a84489e3f
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/49/280449/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 48cb263..18840fa 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7362,6 +7362,7 @@
),
'arwiki' => array(
'autoconfirmed' => array( 'patrol' => true ),
+   'editor' => array ( 'movefile' => true ), // T131249
'rollbacker' => array( 'rollback' => true ),
),
'+arwikisource' => array(

-- 
To view, visit https://gerrit.wikimedia.org/r/280449
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I770f42395ee87fed892aea4ea4bba60a84489e3f
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable rollbacker and suppressredirect group at cewiki - change (operations/mediawiki-config)

2016-02-28 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/273828

Change subject: Enable rollbacker and suppressredirect group at cewiki
..

Enable rollbacker and suppressredirect group at cewiki

* Enabled group 'rollbacker' with rollback and group 'suppressredirect' with 
suppressredirect and move-categorypages
* Allow sysops to add or remove users from these groups

Bug: T128205
Change-Id: I5999c7aedb91163df168b8187f0096556e44162a
---
M wmf-config/InitialiseSettings.php
1 file changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/28/273828/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 79ad31c..ad6abf9 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7387,6 +7387,13 @@
'+cawikinews' => array(
'flood' => array( 'bot' => true ), // T98576
),
+   '+cewiki' => array(
+   'rollbacker' => array( 'rollback' => true ), // T128205
+   'suppressredirect' => array( // T128205
+   'suppressredirect' => true,
+   'move-categorypages' => true,
+   ),
+   ),
'+checkuserwiki' => array( // T30781
'autoconfirmed' => array(
'autoconfirmed' => false,
@@ -8849,6 +8856,9 @@
'+cawikinews' => array(
'sysop' => array( 'flood' ), // T98576
),
+   '+cewiki' => array(
+   'sysop' => array( 'rollbacker', 'suppressredirect' ), // T128205
+   ),
'+checkuserwiki' => array(
'bureaucrat' => array( 'accountcreator', 'import', 'transwiki', 
'user', 'autoconfirmed', 'ipblock-exempt', ),
),
@@ -9516,6 +9526,9 @@
'+cawikinews' => array(
'sysop' => array( 'flood' ), // T98576
),
+   '+cewiki' => array(
+   'sysop' => array( 'rollbacker', 'suppressredirect' ), // T128205
+   ),
'+checkuserwiki' => array(
'bureaucrat' => array( 'sysop', 'accountcreator', 'import', 
'transwiki', 'user', 'autoconfirmed', 'ipblock-exempt', 'bureaucrat', ),
),

-- 
To view, visit https://gerrit.wikimedia.org/r/273828
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5999c7aedb91163df168b8187f0096556e44162a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Correct one Domain at $wgCopyUploadsDomains - change (operations/mediawiki-config)

2016-02-28 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/273776

Change subject: Correct one Domain at  $wgCopyUploadsDomains
..

Correct one Domain at  $wgCopyUploadsDomains

*.ethz.ch matches *.e-pics.ethz.ch, so replacing this for user of the GWT, that 
they can upload files from this domain.

Bug: T123109
Change-Id: I8f807023a9288c263f8841b5e3c5428b814abe7e
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/76/273776/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 79ad31c..254d85c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -11934,7 +11934,7 @@
'*.davidabian.com', // Trusted user website, 
used by Museo del Romanticismo - T121383
'davidabian.com',
'webapi.aucklandmuseum.com',// Auckland Museum - T122995
-   '*.ethz.ch',// ETH Library  - T123109
+   '*.e-pics.ethz.ch', // ETH Library  - T123109
'*.museumvictoria.com.au',  // Victoria State (AU) 
Museum, requested in T125387
),
 ),

-- 
To view, visit https://gerrit.wikimedia.org/r/273776
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f807023a9288c263f8841b5e3c5428b814abe7e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable confirmed group at nowiki - change (operations/mediawiki-config)

2016-02-01 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/267804

Change subject: Enable confirmed group at nowiki
..

Enable confirmed group at nowiki

* Added a confirmed group with the same rights as the autopatrol group
* Sysop are allowed to add or remove users from that group

Bug: T125448
Change-Id: I59c8707794fcfe3176a5718f4168863a0ff19b79
---
M wmf-config/InitialiseSettings.php
1 file changed, 16 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/04/267804/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index cb4c687..f2cdfcb 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8102,6 +8102,20 @@
'nowiki' => array(
'patroller' => array( 'patrol' => true, 'autopatrol' => true, 
'rollback' => true, 'unwatchedpages' => true, 'suppressredirect' => true, ),
'autopatrolled' => array( 'autopatrol' => true, 
'unwatchedpages' => true ),
+   'confirmed' => array( // T125448
+   'autoconfirmed' => true,
+   'collectionsaveascommunitypage' => true,
+   'collectionsaveasuserpage' => true,
+   'editsemiprotected' => true,
+   'flow-edit-post' => true,
+   'mwoauthproposeconsumer' => true,
+   'mwoauthupdateownconsumer' => true,
+   'move' => true,
+   'reupload' => true,
+   'skipcaptcha' => true,
+   'transcode-reset' => true,
+   'upload' => true,
+   ),
),
'+nowikibooks' => array(
'user' => array( 'patrol' => false ),
@@ -9130,7 +9144,7 @@
),
'+nowiki' => array(
'bureaucrat' => array( 'patroller', 'autopatrolled', 
'accountcreator' ),
-   'sysop' => array( 'patroller', 'autopatrolled', 'abusefilter', 
'transwiki' ),
+   'sysop' => array( 'patroller', 'autopatrolled', 'abusefilter', 
'transwiki', 'confirmed' ),
),
'+nowikibooks' => array(
'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot', 
'patroller', 'autopatrolled' ),
@@ -9798,7 +9812,7 @@
),
'+nowiki' => array(
'bureaucrat' => array( 'patroller', 'autopatrolled', 
'transwiki', 'accountcreator' ),
-   'sysop' => array( 'autopatrolled', 'abusefilter' ),
+   'sysop' => array( 'autopatrolled', 'abusefilter', 'confirmed' ),
),
'+nowikibooks' => array(
'bureaucrat' => array( 'bot', 'patroller', 'autopatrolled' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/267804
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I59c8707794fcfe3176a5718f4168863a0ff19b79
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Apply global blocks for meta, not for deploymentwiki - change (operations/mediawiki-config)

2016-01-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/264758

Change subject: Apply global blocks for meta, not for deploymentwiki
..

Apply global blocks for meta, not for deploymentwiki

Bug: T123936
Change-Id: I96ec8afc0e08517b35da1a139be8a59c9b1928ac
---
M wmf-config/InitialiseSettings-labs.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/58/264758/1

diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index 3b105a2..3d94c51 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -168,6 +168,12 @@
),
),
 
+   'wmgApplyGlobalBlocks' => array( // T123936
+   'default' => true,
+   'metawiki' => true,
+   'deploymentwiki' => false
+   ),
+
//'-wgDebugLogGroups' => array(),
'-wgJobLogFile' => array(),
 

-- 
To view, visit https://gerrit.wikimedia.org/r/264758
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96ec8afc0e08517b35da1a139be8a59c9b1928ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable flood group at lvwiki: Correct mistake - change (operations/mediawiki-config)

2016-01-12 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263632

Change subject: Enable flood group at lvwiki: Correct mistake
..

Enable flood group at lvwiki: Correct mistake

Bug: T121238
Change-Id: I9a25c88898d7750d8a7c94f9cc78e8867d057011
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/32/263632/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index bf0565f..0f06f8a 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7917,7 +7917,7 @@
'lvwiki' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T72441
'patroller' => array( 'autopatrol' => true, 'patrol' => true ), 
// T72441
-   'flood' => array( 'bot' ), // T121238
+   'flood' => array( 'bot' => true ), // T121238
),
'+maiwiki' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T89346

-- 
To view, visit https://gerrit.wikimedia.org/r/263632
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a25c88898d7750d8a7c94f9cc78e8867d057011
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Throttle exceptionat commonswiki/hewiki on 2016-01-12 - change (operations/mediawiki-config)

2016-01-11 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263427

Change subject: Throttle exceptionat commonswiki/hewiki on 2016-01-12
..

Throttle exceptionat commonswiki/hewiki on 2016-01-12

* Wikis: Commonswiki, hewiki
* 50 participants
* 15-21 UTC+2

Bug: T123161
Change-Id: I613877604ddc4224ae3f47c11b4e9c2cce27e45e
---
M wmf-config/throttle.php
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/27/263427/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 814844c..485a60a 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -39,6 +39,17 @@
'value'  => 50 //30 expected participants
 );
 
+$wmgThrottlingExceptions[] = array( // T123161
+   'from'   => '2016-01-12T15:00 +2:00',
+   'to' => '2016-01-12T21:00 +2:00',
+   'range'  => array(
+   '132.74.0.0/16',
+   '132.75.0.0/16',
+   ),
+   'dbname' => array( 'hewiki', 'commonswiki' ),
+   'value'  => 50 // 30 expected participants
+);
+
 ## Add throttling definitions above.
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/263427
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I613877604ddc4224ae3f47c11b4e9c2cce27e45e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add exceptions for eswiki, eswikivoyage at 2016-01-19 - change (operations/mediawiki-config)

2016-01-11 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263414

Change subject: Add exceptions for eswiki, eswikivoyage at 2016-01-19
..

Add exceptions for eswiki, eswikivoyage at 2016-01-19

* IP 200.54.189.226
* 10-19 UTC
* 60 Participants
* Removed outdated exception

Bug: T123261
Change-Id: I70e5ea499247c7651e73388530ed9f6ded233397
---
M wmf-config/throttle.php
1 file changed, 6 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/14/263414/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 814844c..4e60f93 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -28,15 +28,12 @@
'value'  => 50
 );
 
-$wmgThrottlingExceptions[] = array( // T121321
-   'from'   => '2015-12-15T07:30 +2:00',
-   'to' => '2015-12-15T13:00 +2:00',
-   'range'  => array(
-   '132.74.0.0/16',
-   '132.75.0.0/16',
-   ),
-   'dbname' => array( 'hewiki', 'commonswiki' ),
-   'value'  => 50 //30 expected participants
+$wmgThrottlingExceptions[] = array( // T123261
+   'from'   => '2016-01-19T10:00 +0:00',
+   'to' => '2016-01-19T19:00 +0:00',
+   'IP' => '200.54.189.226',
+   'dbname' => array( 'eswiki', 'eswikivoyage' ),
+   'value'  => 60 // 40 expected participants
 );
 
 ## Add throttling definitions above.

-- 
To view, visit https://gerrit.wikimedia.org/r/263414
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70e5ea499247c7651e73388530ed9f6ded233397
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Remove the unblockself right from sysops at trwikiquote - change (operations/mediawiki-config)

2016-01-01 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/261869

Change subject: Remove the unblockself right from sysops at trwikiquote
..

Remove the unblockself right from sysops at trwikiquote

Bug: T122710
Change-Id: Ie274b2801920a936ac3108a0e108aab59392ad85
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/69/261869/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index d3b8a02..9b4cf70 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8361,6 +8361,9 @@
'noratelimit' => true, // T40690
),
),
+   'trwikiquote' => array(
+   'sysop' => array( 'unblockself' => false ), // T122710
+   ),
'ukwiki' => array(
'patroller' => array( 'patrol' => true, 'autopatrol' => true, ),
'rollbacker' => array( 'rollback' => true ),

-- 
To view, visit https://gerrit.wikimedia.org/r/261869
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie274b2801920a936ac3108a0e108aab59392ad85
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] dewikibooks: Set $wgRestrictDisplayTitle to false - change (operations/mediawiki-config)

2015-12-25 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/260964

Change subject: dewikibooks: Set $wgRestrictDisplayTitle to false
..

dewikibooks: Set $wgRestrictDisplayTitle to false

Set $wgRestrictDisplayTitle to false at dewikibooks per community decision.

Bug: T122433
Change-Id: I081e2f95e2a0334b2775d86f9ecd166c7ded476d
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/64/260964/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 7ad13c0..744cb6b 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -10497,6 +10497,7 @@
'cawikimedia' => false, // T94346
'cswiktionary' => false,
'donatewiki' => false,
+   'dewikibooks' => false, // T122433
'enwikibooks' => false,
'fawikinews' => false, // T85380
'foundationwiki' => false,

-- 
To view, visit https://gerrit.wikimedia.org/r/260964
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I081e2f95e2a0334b2775d86f9ecd166c7ded476d
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable interface-editor group at ukwiki - change (operations/mediawiki-config)

2015-12-11 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258453

Change subject: Enable interface-editor group at ukwiki
..

Enable interface-editor group at ukwiki

Created a interface-editor group with the editinterface right, and allowed 
sysops to add or remove users from that group.

Bug: T120348
Change-Id: Ie05f531bddee88201796bebc3e2abb009ddc4dae
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/53/258453/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 8081bf8..741d300 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8349,6 +8349,7 @@
),
'urwiki' => array(
'rollbacker' => array( 'rollback' => true ), // T47642
+   'interface-editor' => array( 'editinterface' => true ), // 
T120348
),
'vecwiki' => array(
'flood' => array( 'bot' => true ),
@@ -9119,7 +9120,7 @@
'bureaucrat' => array( 'technician' ), // T41690
),
'+ukwiki' => array(
-   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover' ), // T104034, T119636
+   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover', 'interface-editor' ), // T104034, T119636, T120348
),
'+ukwikivoyage' => array(
'sysop' => array( 'rollbacker', 'uploader', 'autopatrolled' ), 
// T56229
@@ -9784,7 +9785,7 @@
'bureaucrat' => array( 'technician' ), // T41690
),
'+ukwiki' => array(
-   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover' ), // T104034, T119636
+   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover', 'interface-editor' ), // T104034, T119636, T120348
),
'+ukwikimedia' => array(
'bureaucrat' => array( 'sysop' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/258453
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie05f531bddee88201796bebc3e2abb009ddc4dae
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable flood group at lvwiki - change (operations/mediawiki-config)

2015-12-11 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258477

Change subject: Enable flood group at lvwiki
..

Enable flood group at lvwiki

* Created group with the right "bot"
* Allow sysops to add users to that group, or remove them
* Allow flooders to remove theirselves from that group

Bug: T121238
Change-Id: Ief8d364a40197cf3fac9b82c3654b43bcbf8b0a3
---
M wmf-config/InitialiseSettings.php
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/77/258477/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 8081bf8..75c90be 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7872,6 +7872,7 @@
'lvwiki' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T72441
'patroller' => array( 'autopatrol' => true, 'patrol' => true ), 
// T72441
+   'flood' => array( 'bot' ), // T121238
),
'+maiwiki' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T89346
@@ -8915,7 +8916,7 @@
'sysop' => array( 'abusefilter' ),
),
'+lvwiki' => array(
-   'sysop' => array( 'autopatrolled', 'patroller' ), // T72441
+   'sysop' => array( 'autopatrolled', 'patroller', 'flood' ), // 
T72441, T121238
),
'+maiwiki' => array(
'sysop' => array( 'autopatrolled', 'patroller', 'rollbacker', 
'import' ), // T89346, T99491, T118934
@@ -9574,7 +9575,7 @@
'sysop' => array( 'abusefilter' ),
),
'+lvwiki' => array(
-   'sysop' => array( 'autopatrolled', 'patroller' ), // T72441
+   'sysop' => array( 'autopatrolled', 'patroller', 'flood' ), // 
T72441, T121238
),
'+maiwiki' => array(
'sysop' => array( 'autopatrolled', 'patroller', 'rollbacker', 
'import' ), // T89346, T99491, T118934
@@ -11425,6 +11426,7 @@
'frwikinews' => array( 'sysop' => array( 'flood' ) ),
'frwiktionary' => array( 'botadmin' => array( 'botadmin' ) ),
'itwikisource' => array( 'sysop' => array( 'flood' ) ), // T38600
+   'lvwiki' => array( 'flood' => array( 'flood' ) ), // T121238
'mlwiki' => array( 'botadmin' => array( 'botadmin' ) ),
'mlwikisource' => array( 'botadmin' => array( 'botadmin' ) ), // T46335
'mlwiktionary' => array( 'botadmin' => array( 'botadmin' ) ),

-- 
To view, visit https://gerrit.wikimedia.org/r/258477
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief8d364a40197cf3fac9b82c3654b43bcbf8b0a3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add three new groups to pawiki, and allow sysops to add or r... - change (operations/mediawiki-config)

2015-12-09 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/257881

Change subject: Add three new groups to pawiki, and allow sysops to add or 
remove users to them
..

Add three new groups to pawiki, and allow sysops to add or remove users to them

The following groups were added:
* patroller (rights: patrol)
* autopatrol (rights: autopatrol)
* transwiki (rights: import)
Sysops can add or remove users from that group.

Bug: T120369
Change-Id: I5bdc1f5a532924430522102642bb78dd05d6ae34
---
M wmf-config/InitialiseSettings.php
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/81/257881/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 8bc8196..4e90f8d 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7992,6 +7992,11 @@
'rollbacker' => array( 'rollback' => true ),
'sysop' => array( 'import' => true ),
),
+   'pawiki' => array(
+   'patroller' => array( 'patrol' => true ); // T120369
+   'autopatrolled' => array( 'autopatrol' => true ); // T120369
+   'transwiki' => array ( 'import' => true ); // T120369
+   );
// T8303
'plwiki' => array(
'user' => array( 'upload' => false ),
@@ -8960,6 +8965,9 @@
'+outreachwiki' => array(
'bureaucrat' => array( 'translationadmin' ),
),
+   '+pawiki' => array(
+   'sysop' => array( 'patroller', 'autopatrolled', 'transwiki' ), 
// T120369
+   ),
'+plwiki' => array(
'bureaucrat' => array( 'abusefilter', 'flood' ),
),
@@ -9613,6 +9621,9 @@
'translationadmin', // T56207
),
),
+   '+pawiki' => array(
+   'sysop' => array( 'patroller', 'autopatrolled', 'transwiki' ), 
// T120369
+   ),
'+plwiki' => array(
'bureaucrat' => array( 'abusefilter', 'flood' ),
),

-- 
To view, visit https://gerrit.wikimedia.org/r/257881
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5bdc1f5a532924430522102642bb78dd05d6ae34
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add temporary lift of IP cap for cawiki and commons on 2015-... - change (operations/mediawiki-config)

2015-11-27 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/255726

Change subject: Add temporary lift of IP cap for cawiki and commons on 
2015-11-30
..

Add temporary lift of IP cap for cawiki and commons on 2015-11-30

Adding this for 2015-11-30, and the three days after this between 10 and 21 
UTC+1

Removed old throttle entries

Bug: T119715
Change-Id: Icbb507e16e8c87d0c78025f492a1bda32b31fa86
---
M wmf-config/throttle.php
1 file changed, 22 insertions(+), 33 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/26/255726/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 9b2df5e..c978f08 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -28,46 +28,35 @@
'value'  => 50
 );
 
-$wmgThrottlingExceptions[] = array( // T119205
-'from'   => '2015-11-20T06:00 +1:00',
-'to' => '2015-11-20T23:00 +1:00',
-'ip' => '195.76.195.27',
+$wmgThrottlingExceptions[] = array( // T119715
+'from'   => '2015-11-30T10:00 +1:00',
+'to' => '2015-11-30T21:00 +1:00',
+'ip' => '178.237.148.150',
 'dbname' => array( 'cawiki', 'commonswiki' ),
 'value'  => 50
 );
 
-$wmgThrottlingExceptions[] = array( // T118702 - Editatón contra la violencia 
hacia las mujeres
-   'from'   => '2015-11-21T00:00 -3:00',
-   'to' => '2015-11-21T23:00 -3:00',
-   'IP' => array(
-   '186.67.125.3',
-   '163.247.67.20',
-   '200.72.159.9',
-   ),
-   'dbname' => array( 'eswiki', 'commonswiki' ),
-   'value'  => 50 // 30 participants expected
+$wmgThrottlingExceptions[] = array( // T119715
+'from'   => '2015-12-01T10:00 +1:00',
+'to' => '2015-12-01T21:00 +1:00',
+'ip' => '178.237.148.150',
+'dbname' => array( 'cawiki', 'commonswiki' ),
+'value'  => 50
 );
 
-$wmgThrottlingExceptions[] = array( // T118858 - UK Senate House Library
-   'from'   => '2015-11-21T10:00 +0:00',
-   'to' => '2015-11-21T16:00 +0:00',
-   'IP' => array(
-   '217.138.7.29',
-   '217.138.7.30',
-   ),
-   'dbname' => array( 'enwiki', 'commonswiki' ),
-   'value'  => 30 // 20 participants expected
+$wmgThrottlingExceptions[] = array( // T119715
+'from'   => '2015-12-02T10:00 +1:00',
+'to' => '2015-12-02T21:00 +1:00',
+'ip' => '178.237.148.150',
+'dbname' => array( 'cawiki', 'commonswiki' ),
+'value'  => 50
 );
-
-$wmgThrottlingExceptions[] = array( // T118122
-   'from'   => '2015-11-23T06:00 +0:00',
-   'to' => '2015-11-23T12:00 +0:00',
-   'range' => array(
-   '132.74.0.0/16',
-   '132.75.0.0/16',
-   ),
-   'dbname' => array( 'hewiki', 'commonswiki' ),
-   'value'  => 35 // 25 participants expected
+$wmgThrottlingExceptions[] = array( // T119715
+'from'   => '2015-12-03T10:00 +1:00',
+'to' => '2015-12-03T21:00 +1:00',
+'ip' => '178.237.148.150',
+'dbname' => array( 'cawiki', 'commonswiki' ),
+'value'  => 50
 );
 
 ## Add throttling definitions above.

-- 
To view, visit https://gerrit.wikimedia.org/r/255726
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbb507e16e8c87d0c78025f492a1bda32b31fa86
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable filemover group at ukwiki - change (operations/mediawiki-config)

2015-11-25 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/255422

Change subject: Enable filemover group at ukwiki
..

Enable filemover group at ukwiki

This group includes:
* movefile
* move-subpages

Sysops can add user to this group, or remove them.

Bug: T119636
Change-Id: I8e3dc721f45f02e00f8a8c90f722681ff566e396
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/22/255422/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index f644d24..5d4b75a 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8300,6 +8300,7 @@
'ukwiki' => array(
'patroller' => array( 'patrol' => true, 'autopatrol' => true, ),
'rollbacker' => array( 'rollback' => true ),
+   'filemover' => array ( 'movefile' => true, 'move-subpages' => 
true ) // T119636
),
'+ukwikivoyage' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T56299
@@ -9070,7 +9071,7 @@
'bureaucrat' => array( 'technician' ), // T41690
),
'+ukwiki' => array(
-   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator' 
), // T104034
+   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover' ), // T104034, T119636
),
'+ukwikivoyage' => array(
'sysop' => array( 'rollbacker', 'uploader', 'autopatrolled' ), 
// T56229
@@ -9726,7 +9727,7 @@
'bureaucrat' => array( 'technician' ), // T41690
),
'+ukwiki' => array(
-   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator' 
), // T104034
+   'sysop' => array( 'patroller', 'rollbacker', 'accountcreator', 
'filemover' ), // T104034, T119636
),
'+ukwikimedia' => array(
'bureaucrat' => array( 'sysop' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/255422
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e3dc721f45f02e00f8a8c90f722681ff566e396
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable rollbacker and patroller group at maiwiki - change (operations/mediawiki-config)

2015-11-20 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/254443

Change subject: Enable rollbacker and patroller group at maiwiki
..

Enable rollbacker and patroller group at maiwiki

Allow sysops to assign and remove this group from users

Bug: T118934
Change-Id: I32a0626a09814fee1cca48dce87ce391c01d3349
---
M wmf-config/InitialiseSettings.php
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/43/254443/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 5f2ba2e..cf5a186 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7840,6 +7840,8 @@
),
'+maiwiki' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T89346
+   'patrol' => array ( 'patrol' => true ), // T118934
+   'rollbacker' => array ( 'rollback' => true ), // T118934
),
'mediawikiwiki' => array(
'user' => array( 'move' => false ),
@@ -8867,7 +8869,7 @@
'sysop' => array( 'autopatrolled', 'patroller' ), // T72441
),
'+maiwiki' => array(
-   'sysop' => array( 'autopatrolled', 'import' ), // T89346, T99491
+   'sysop' => array( 'autopatrolled', 'patroller', 'rollbacker', 
'import' ), // T89346, T99491, T118934
),
'+mediawikiwiki' => array(
'sysop' => array( 'autoreview' ),
@@ -9517,7 +9519,7 @@
'sysop' => array( 'autopatrolled', 'patroller' ), // T72441
),
'+maiwiki' => array(
-   'sysop' => array( 'autopatrolled', 'import' ), // T89346, T99491
+   'sysop' => array( 'autopatrolled', 'patroller', 'rollbacker', 
'import' ), // T89346, T99491, T118934
),
'+mediawikiwiki' => array(
'sysop' => array( 'autoreview' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/254443
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32a0626a09814fee1cca48dce87ce391c01d3349
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Remove rights from sysop group, and give them to the bureauc... - change (operations/mediawiki-config)

2015-11-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/254029

Change subject: Remove rights from sysop group, and give them to the 
bureaucrats group at enwikiversity
..

Remove rights from sysop group, and give them to the bureaucrats group at 
enwikiversity

Removed from sysop group and added to bureaucrats group:
* nuke
* unblockself

Bug: T113109
Change-Id: I1f56ae3573d71a9629b8376a3d0c01cef449f966
---
M wmf-config/InitialiseSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/29/254029/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 181c832..f71909c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7419,6 +7419,8 @@
),
'enwikiversity' => array(
'user' => array( 'move' => false ), // autoconfirmed only
+   'sysop' => array ( 'nuke' => false, 'unblockself' => false ), 
// T113109
+   'bureaucrat' => array ( 'nuke' => true, 'unblockself' => true 
), // T113109
'curator' => array( // T113109
'createaccount' => true,
'delete' => true,

-- 
To view, visit https://gerrit.wikimedia.org/r/254029
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f56ae3573d71a9629b8376a3d0c01cef449f966
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add a rollbacker group for wuuwiki - change (operations/mediawiki-config)

2015-11-14 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/253084

Change subject: Add a rollbacker group for wuuwiki
..

Add a rollbacker group for wuuwiki

Allow sysops to assign or remove that group.

Bug: T116270
Change-Id: I85cb9cc9c2fbee80cc1feac35bc8ea9ea20694b2
---
M wmf-config/InitialiseSettings.php
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/84/253084/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 5b837b5..e7651e9 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8419,6 +8419,11 @@
'sysop' => array( 'property-create' => true ), // T48953
'flood' => array( 'bot' => true ), // T50013
),
+   
+   'wuuwiki' => array(
+   'rollbacker' => array( 'rollback' => true, 'autopatrol' => 
true, 'patrol' => true ), // T116270
+   ),
+   
// due to mass vandalism complaint, 2006-04-11
'zhwiki' => array(
// '*' => array( 'createpage' => false ),  # re-enabled 
createpage priv according to T27142, then redisabled *sigh*, then reenabled \o/
@@ -9129,6 +9134,9 @@
'+wikimania2016wiki' => array(
'bureaucrat' => array( 'translationadmin' ),
),
+   '+wuuwiki' => array(
+   'sysop' => array( 'rollbacker' ),
+   ),
'zerowiki' => array(
'sysop' => true,
),
@@ -9793,6 +9801,9 @@
'+wikimaniateamwiki' => array(
'bureaucrat' => array( 'sysop', 'bureaucrat', 'autopatrolled', 
'import' ),
),
+   '+wuuwiki' => array(
+   'sysop' => array( 'rollbacker' ),
+   ),
'zerowiki' => array(
'sysop' => true,
),

-- 
To view, visit https://gerrit.wikimedia.org/r/253084
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I85cb9cc9c2fbee80cc1feac35bc8ea9ea20694b2
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add new group to enwikiversity - change (operations/mediawiki-config)

2015-11-09 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/252012

Change subject: Add new group to enwikiversity
..

Add new group to enwikiversity

One new group was added, sysops can add or remove users to that group, and nuke 
and unblockself are now only granted for bureaucrats.

Bug: T113109
Change-Id: I097c5f9510206435c65aa641e73cf589120687f8
---
M wmf-config/InitialiseSettings.php
1 file changed, 24 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/12/252012/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 1fb2b4f..f71909c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7419,6 +7419,24 @@
),
'enwikiversity' => array(
'user' => array( 'move' => false ), // autoconfirmed only
+   'sysop' => array ( 'nuke' => false, 'unblockself' => false ), 
// T113109
+   'bureaucrat' => array ( 'nuke' => true, 'unblockself' => true 
), // T113109
+   'curator' => array( // T113109
+   'createaccount' => true,
+   'delete' => true,
+   'editprotected' => true,
+   'import' => true,
+   'ipblock-exempt' => true,
+   'mergehistory' => true,
+   'move-categorypages' => true,
+   'movefile' => true,
+   'move' => true,
+   'move-subpages' => true,
+   'protect' => true,
+   'rollback' => true,
+   'suppressredirect' => true,
+   'upload' => true,
+   ),
),
'enwikivoyage' => array(
'autopatrolled' => array( 'autopatrol' => true ),
@@ -8681,6 +8699,9 @@
'sysop' => array( 'autopatrolled' ),
'bureaucrat' => array( 'patroller' ),
),
+   '+enwikiversity' => array(
+   'sysop' => array( 'curator' ), // T113109
+   ),
'+eswiki' => array(
'bureaucrat' => array( 'rollbacker', 'confirmed' ),
'sysop' => array( 'rollbacker', 'autopatrolled', 'patroller' ),
@@ -9325,6 +9346,9 @@
'sysop' => array( 'autopatrolled' ),
'bureaucrat' => array( 'sysop', 'patroller' ),
),
+   '+enwikiversity' => array(
+   'sysop' => array( 'curator' ), // T113109
+   ),
'+enwikisource' => array(
'bureaucrat' => array( 'autopatrolled', 'flood' ), // T38863
'sysop' => array( 'abusefilter', 'autopatrolled', ),

-- 
To view, visit https://gerrit.wikimedia.org/r/252012
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I097c5f9510206435c65aa641e73cf589120687f8
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Set throttle exception for account creation on hewiki and co... - change (operations/mediawiki-config)

2015-11-09 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/252010

Change subject: Set throttle exception for account creation on hewiki and 
commons
..

Set throttle exception for account creation on hewiki and commons

2015-11-16 and  2015-11-23

Bug: T118122
Change-Id: Ib443bd7b55b84fcea1cf173b137a3941a0b4e899
---
M wmf-config/throttle.php
1 file changed, 14 insertions(+), 36 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/10/252010/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 528c175..2c9b76c 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -20,18 +20,6 @@
 # (default: any project)
 ## Add throttling definitions below.
 
-$wmgThrottlingExceptions[] = array( // T116745
-   'from' => '2015-10-27T12:00 +0:00',
-   'to' => '2015-10-27T20:00 +0:00',
-   'ip' => '213.219.164.166',
-   'dbname' => array(
-   'frwikisource',
-   'frwiki',
-   'commonswiki'
-   ),
-   'value' => 50 //45 participants
-);
-
 $wmgThrottlingExceptions[] = array( // T110352
'from'   => '2015-08-29T00:00 +0:00',
'to' => '2016-02-28T00:00 +0:00',
@@ -40,36 +28,26 @@
'value'  => 50
 );
 
-$wmgThrottlingExceptions[] = array( // T115245
-   'from'   => '2015-10-13T12:00 +1:00',
-   'to' => '2015-10-13T18:00 +1:00',
+$wmgThrottlingExceptions[] = array( // T118122
+   'from'   => '2015-11-16T06:00 +0:00',
+   'to' => '2015-11-16T12:00 +0:00',
'range' => array(
-   '129.215.133.0/24'
+   '132.74.0.0/16',
+   '132.75.0.0/16',
),
-   'dbname' => array( 'enwiki', 'commonswiki' ),
-   'value'  => 30 // 20 participants expected
+   'dbname' => array( 'hewiki', 'commonswiki' ),
+   'value'  => 35 // 25 participants expected
 );
 
-$wmgThrottlingExceptions[] = array( // T115632
-   'from'   => '2015-10-24T09:00 +0:00',
-   'to' => '2015-10-24T16:00 +0:00',
+$wmgThrottlingExceptions[] = array( // T118122
+   'from'   => '2015-11-23T06:00 +0:00',
+   'to' => '2015-11-23T12:00 +0:00',
'range' => array(
-   '194.113.40.224/28'
+   '132.74.0.0/16',
+   '132.75.0.0/16',
),
-   'dbname' => 'dewiki',
-   'value'  => 50
-);
-
-$wmgThrottlingExceptions[] = array( // T116183
-   'from'   => '2015-10-23T09:00 +16:00',
-   'to' => '2015-10-24T16:00 +18:00',
-   'IP' => array(
-   '186.67.125.3',
-   '163.247.67.20',
-   '200.72.159.9'
-   ),
-   'dbname' => 'eswiki',
-   'value'  => 40 // 30 participants expected
+   'dbname' => array( 'hewiki', 'commonswiki' ),
+   'value'  => 35 // 25 participants expected
 );
 
 ## Add throttling definitions above.

-- 
To view, visit https://gerrit.wikimedia.org/r/252010
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib443bd7b55b84fcea1cf173b137a3941a0b4e899
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add patroller group to sawiki - change (operations/mediawiki-config)

2015-11-02 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/250454

Change subject: Add patroller group to sawiki
..

Add patroller group to sawiki

Allow sysops to add or remove users to that group

Bug: T117314
Change-Id: Ieba8c7746337e8d92795a03605653ee82e56078a
---
M wmf-config/InitialiseSettings.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/54/250454/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 6ddaa09..73141e6 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8086,6 +8086,7 @@
),
'+sawiki' => array(
'autopatrolled' => array( 'autopatrol' => true ),
+   'patroller' => array ( 'patrol' => true ),
),
'+sawikisource' => array(
'autopatrolled' => array( 'autopatrol' => true ),
@@ -8963,7 +8964,7 @@
'sysop' => array( 'autopatrolled', 'rollbacker', 'patroller', 
'filemover' ), // T48915 and T116143
),
'+sawiki' => array(
-   'sysop' => array( 'autopatrolled' ),
+   'sysop' => array( 'autopatrolled', 'patroller' ),
),
'+sawikisource' => array(
'sysop' => array( 'autopatrolled' ),
@@ -9616,7 +9617,7 @@
'sysop' => array( 'autopatrolled', 'rollbacker', 'patroller', 
'filemover' ), // T48915 and T116143
),
'+sawiki' => array(
-   'sysop' => array( 'autopatrolled' ),
+   'sysop' => array( 'autopatrolled', 'patroller' ),
),
'+sawikisource' => array(
'sysop' => array( 'autopatrolled' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/250454
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieba8c7746337e8d92795a03605653ee82e56078a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add reupload-shared right to autoconfirmed users (ruwikivoyage) - change (operations/mediawiki-config)

2015-10-29 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249762

Change subject: Add reupload-shared right to autoconfirmed users (ruwikivoyage)
..

Add reupload-shared right to autoconfirmed users (ruwikivoyage)

Bug: T116575
Change-Id: Ieb13ef64773f1b9bd2b55ec9823f96bb30ce18ad
---
M wmf-config/InitialiseSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/62/249762/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 9691ffd..881a3c1 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8075,6 +8075,7 @@
'patroller' => array( 'patrol' => true, 'autopatrol' => true ),
),
'ruwikivoyage' => array(
+   'autoconfirmed' => array ( 'reupload-shared' => true ), // 
T116575
'autopatrolled' => array( 'autopatrol' => true ), // T48915
'rollbacker' => array( 'rollback' => true ), // T116143
'patroller' => array( 'patrol' => true ), // T116143

-- 
To view, visit https://gerrit.wikimedia.org/r/249762
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb13ef64773f1b9bd2b55ec9823f96bb30ce18ad
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add three new groups to ruwikivoyage - change (operations/mediawiki-config)

2015-10-21 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247850

Change subject: Add three new groups to ruwikivoyage
..

Add three new groups to ruwikivoyage

Add rollbacker, patroller and filemover to ruwikivoyage, and allow sysops to 
add and remove users to these groups.

Bug: T116143
Change-Id: I5001e09e0173cae979a42d74580f13c6c64eca92
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/50/247850/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 978edb2..1a0136e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8075,6 +8075,9 @@
),
'ruwikivoyage' => array(
'autopatrolled' => array( 'autopatrol' => true ), // T48915
+   'rollbacker' => array( 'rollback' => true ), // T116143
+   'patroller' => array( 'patrol' => true ), // T116143
+   'filemover' => array( 'movefile' => true ), // T116143
),
'+sawiki' => array(
'autopatrolled' => array( 'autopatrol' => true ),
@@ -8952,7 +8955,7 @@
'sysop' => array( 'autoeditor', 'rollbacker', 'abusefilter', 
'flood' ),
),
'+ruwikivoyage' => array(
-   'sysop' => array( 'autopatrolled' ), // T48915
+   'sysop' => array( 'autopatrolled', 'rollbacker', 'patroller', 
'filemover' ), // T48915 and T116143
),
'+sawiki' => array(
'sysop' => array( 'autopatrolled' ),
@@ -9609,7 +9612,7 @@
'sysop' => array( 'autoeditor', 'rollbacker', 'abusefilter', 
'flood' ),
),
'+ruwikivoyage' => array(
-   'sysop' => array( 'autopatrolled' ), // T48915
+   'sysop' => array( 'autopatrolled', 'rollbacker', 'patroller', 
'filemover' ), // T48915 and T116143
),
'+sawiki' => array(
'sysop' => array( 'autopatrolled' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/247850
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5001e09e0173cae979a42d74580f13c6c64eca92
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add throttle exception for eswiki at 2015-10-23 - change (operations/mediawiki-config)

2015-10-21 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247872

Change subject: Add throttle exception for eswiki at 2015-10-23
..

Add throttle exception for eswiki at 2015-10-23

Lift limit to 40 users for three IPs, only at eswiki

Bug: T116183
Change-Id: I697bcf603509ed7cb5e4844084be11c38ba17b1c
---
M wmf-config/throttle.php
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/72/247872/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 1fcfaa2..35f0cd3 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -48,6 +48,18 @@
'value'  => 50
 );
 
+$wmgThrottlingExceptions[] = array( // T116183
+   'from'   => '2015-10-23T09:00 +16:00',
+   'to' => '2015-10-24T16:00 +18:00',
+   'IP' => array(
+   '186.67.125.3',
+   '163.247.67.20',
+   '200.72.159.9'
+   ),
+   'dbname' => 'eswiki',
+   'value'  => 40 // 30 participants expected
+);
+
 ## Add throttling definitions above.
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/247872
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I697bcf603509ed7cb5e4844084be11c38ba17b1c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Enable four new namespaces at thwikitionary - change (operations/mediawiki-config)

2015-10-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247088

Change subject: Enable four new namespaces at thwikitionary
..

Enable four new namespaces at thwikitionary

Namespaces Index, Appendix, and talkpages for that added.

Bug: T114458
Change-Id: Ic8bca24fce0b801cac373688d3082f10db38d436
---
M wmf-config/InitialiseSettings.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/88/247088/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index c0d602a..f4040c1 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -3585,6 +3585,10 @@
),
'+thwiktionary' => array(
'คุยเรื่องWiktionary' => NS_PROJECT_TALK,
+   'ดัชนี' => 100, // T114458
+   'คุยเรื่องดัชนี' => 101, // T114458
+   'ภาคผนวก' => 102, // T114458
+   'คุยเรื่องภาคผนวก' => 103, // T114458
),
'+trwikibooks' => array(
'VK' => NS_PROJECT,

-- 
To view, visit https://gerrit.wikimedia.org/r/247088
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8bca24fce0b801cac373688d3082f10db38d436
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Rename two namespaces at bswiki - change (operations/mediawiki-config)

2015-10-18 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247093

Change subject: Rename two namespaces at bswiki
..

Rename two namespaces at bswiki

Rename NS_PROJECT_TALK and NS_USER_TALK at bswiki

Bug: T115812
Change-Id: If5fa59351c5a0e6a56976aa9bcc813f07fae12f1
---
M wmf-config/InitialiseSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/93/247093/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index c0d602a..c4cda10 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -2687,6 +2687,8 @@
),
'+bswiki' => array(
'Portal_talk' => 101, // T39226
+   'Razgovor s Wikipedijom' => NS_PROJECT_TALK, // T115812
+   'Razgovor s korisnikom' => NS_USER_TALK, // T115812
),
'+cawikisource' => array(
'Author' => 106,

-- 
To view, visit https://gerrit.wikimedia.org/r/247093
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If5fa59351c5a0e6a56976aa9bcc813f07fae12f1
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Add throttle exception for dewiki - change (operations/mediawiki-config)

2015-10-15 Thread Luke081515 (Code Review)
Luke081515 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/246709

Change subject: Add throttle exception for dewiki
..

Add throttle exception for dewiki

Add exception to allow account creation for a workshop

Bug: T115632
Change-Id: Ieede7728bea9c8227b691b47cb7b7931515f468f
---
M wmf-config/throttle.php
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/09/246709/1

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 832aa52..2ec70aa 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -38,6 +38,16 @@
'value'  => 30 // 20 participants expected
 );
 
+$wmgThrottlingExceptions[] = array( // T115632
+   'from'   => '2015-10-24T09:00 +0:00',
+   'to' => '2015-10-24T16:00 +0:00',
+   'range' => array(
+   '194.113.40.224/28'
+   ),
+   'dbname' => 'dewiki',
+   'value'  => 50 
+);
+
 ## Add throttling definitions above.
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/246709
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieede7728bea9c8227b691b47cb7b7931515f468f
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Luke081515 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits