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
No edit summary
imported>Krinkle
(Remove unused dateOf)
 
Line 11: Line 11:
* <code>who</code> Who is performing the deployment. Consider using the <nowiki>{{ircnick}}</nowiki> template.
* <code>who</code> Who is performing the deployment. Consider using the <nowiki>{{ircnick}}</nowiki> template.
* <code>what</code> What is being deployed.
* <code>what</code> What is being deployed.
== dateOf ==
* Gives the date in the current week for a given day, e.g. Monday.


== Example ==
== Example ==

Latest revision as of 02:40, 17 February 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.

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