Actions

Property

Has day segment

From WikiApiary, monitoring the MediaWiki universe

Has day segment is a number defined by taking the PAGEID and using the modulo of 7. The value is set in Template:Website. There are certain functions that we want to perform on all websites in WikiApiary on a weekly basis. This property defines a set of websites for each day of the week that a script can then work with. An example of this would be to perform a weekly backup.

Combining Has day segment with Has hour segment allows a bot to run smoothly over 1/168th of the websites each hour of the week.

Related