You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Wikimedia site requests: Difference between revisions
Jump to navigation
Jump to search
imported>Gergő Tisza No edit summary |
imported>Framawiki |
||
Line 46: | Line 46: | ||
==== Example ==== | ==== Example ==== | ||
<pre>$wmgThrottlingExceptions[] = [ | <pre>$wmgThrottlingExceptions[] = [ // T184579 | ||
'from' => '2018-01-11T09:00 +5:30', | |||
'to' => '2018-01-11T18:00 +5:30', | |||
'range' => [ '103.8.192.54', '186.67.125.0/24' ], | |||
'dbname' => [ 'enwiki', 'mrwiki' ], | |||
'value' => 45 // 35 expected | |||
];</pre> | ];</pre> | ||
Revision as of 19:46, 22 January 2018
Wikimedia site requests are requests to configure a Wikimedia project. This page gives an overview of the process for volunteers handling them, and other concerned parties from operations side.
Lifecycle of a request
A request generally follows this workflow:
- The local project discuss the matter, in the manner the most appropriated for this project.
- A task is filled on Phabricator, in the Wikimedia-Site-requests project (or Wikimedia-Extension-setup if the change is about enabling an extension). See meta:Requesting wiki configuration changes.
- A volunteer writes a change to edit the relevant files in the operations/mediawiki-config repository.
- Note: please check Limits to configuration changes before.
- The same volunteer - or if reluctant/absent/busy, another volunteer - schedules it for SWAT deployment on the Deployments page.
- The change is merged and deployed.
Prioritisation
The requests are handled in a fast pace, using a one week cadence: we can deploy them three times per day between Monday and Thursday. There is no formal sprint.
Priority on Phabricator | Description |
---|---|
Unbreak now! | The change breaks normal production. You want a deployment right now or in the next hours. That also means you consider this task requests we set other requests aside. |
High | The change is needed very soon, ideally in the next SWAT, or if not possible, this SWAT week (Monday-Thursday). |
Normal | The change is helpful, we can do it this SWAT week or the next (so in max. 7-10 days). This is the priority assigned to most simple tasks. |
Low | The change isn't needed before two weeks. |
Lowest | The change can take as long as needed, or there is nothing actionable before a long time. |
Common tasks
IP throttle exception
Often requested by editors who are hosting an edit-a-thon, account creation throttle exception are one of the most common tasks which Wikimedia site requests deals with.
Associated configuration file
Process
- Follow the normal Gerrit procedure to checkout and branch
- Edit throttle.php, adding an exception (example below)
from
UTC date/time of exception startto
UTC date/time of exception endrange
IP range(s) the exception applies todbname
wiki(s) this exception applies to
- Commit your changes
Example
$wmgThrottlingExceptions[] = [ // T184579 'from' => '2018-01-11T09:00 +5:30', 'to' => '2018-01-11T18:00 +5:30', 'range' => [ '103.8.192.54', '186.67.125.0/24' ], 'dbname' => [ 'enwiki', 'mrwiki' ], 'value' => 45 // 35 expected ];
Site logo changes
Associated configuration file and image path
Process
- Follow the normal Gerrit procedure to checkout and branch
- Add the image to static/images/project-logos
- Edit InitialiseSettings.php, and ensure wgLogo (line 479) is set correctly as per the example below (include a commented task number if possible)
- Commit your changes
Example
'avwiki' => '/static/images/project-logos/avwiki.png', // T48589
Useful links
- Configuration files - A general `about our configuration files` page
- mw:Manual:Using custom namespaces
- How to deploy code