You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Module:Deployment schedule/doc: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Nhatminh01
imported>Nhatminh01
No edit summary
Line 1: Line 1:
The deployment schedule module provides functions for formatting and organizing the deployment calendar
The deployment schedule module provides functions for formatting and organizing the deployment calendar.


== formatTable ==
== formatTable ==
Line 5: Line 5:


== row ==
== row ==
Workhorse of the calendar. Accepts options
Workhorse of the calendar. Accepts options:
* <code>when</code> Start date and time of the deployment. Expressed as some timestamp like <code>2014-05-12 8:00 PDT</code>
* <code>when</code> Start date and time of the deployment. Expressed as some timestamp like <code>2014-05-12 8:00 PDT</code>
* <code>length</code> Length of deployment window in hours. Default is 2.
* <code>length</code> Length of deployment window in hours. Default is 2.

Revision as of 10:43, 9 January 2019

The deployment schedule module provides functions for formatting and organizing the deployment calendar.

formatTable

Produces the wrapper around each row in the table. You only need one of these per calendar. It accepts one option, hidedate which if set to true will display all dates as only the day of the week.

row

Workhorse of the calendar. Accepts options:

  • when Start date and time of the deployment. Expressed as some timestamp like 2014-05-12 8:00 PDT
  • length Length of deployment window in hours. Default is 2.
  • window Name of the window, usually the name of the component being modified (e.g. parsoid).
  • who Who is performing the deployment. Consider using the {{ircnick}} template.
  • what What is being deployed.

dateOf

  • Gives the date in the current week for a given day, e.g. Monday.

Example

{{#invoke:Deployment schedule|formatTable|hidedate=false|

{{#invoke:Deployment schedule|row
|when=2014-05-12 8:00 PDT
|length=1
|window=[[SWAT deploys|SWAT]] <br/><small>'''(Max 8 patches)'''</small>
|who=Nik (manybubbles), Brad (anomie)
|what=
''Tomasz (twkozlowski)''
* [config] Enable Extension:NewUserMessage on the Ukrainian Wikipedia {{gerrit|132747}}
''Timo (Krinkle)''
* [wmf3] VisualEditor i18n fix backport {{gerrit|132770}}; cite case sensitivity backport {{gerrit|132773}}
* [wmf4] VisualEditor i18n fix backport {{gerrit|132769}}; cite case sensitivity backport {{gerrit|132772}}
''Requesting developer'' (''irc handle'')
* ''Gerrit link to backport or config change''
}}

}}

Result

Time Component Deployer Changes

Monday, May 12

 UTC #
 PDT
SWAT
(Max 8 patches)
Nik (manybubbles), Brad (anomie) Tomasz (twkozlowski)
  • [config] Enable Extension:NewUserMessage on the Ukrainian Wikipedia 132747

Timo (Krinkle)

  • [wmf3] VisualEditor i18n fix backport 132770; cite case sensitivity backport 132773
  • [wmf4] VisualEditor i18n fix backport 132769; cite case sensitivity backport 132772

Requesting developer (irc handle)

  • Gerrit link to backport or config change