2022-12-01 20:52:16 +01:00
|
|
|
<?php
|
|
|
|
|
2022-12-04 23:56:49 +01:00
|
|
|
namespace com\fwdekker\deathnotifier\wikipedia;
|
2022-12-01 20:52:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The type of Wikipedia article.
|
|
|
|
*/
|
|
|
|
enum ArticleType
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* A page about a real-life person.
|
|
|
|
*/
|
|
|
|
case Person;
|
|
|
|
/**
|
|
|
|
* A disambiguation page.
|
|
|
|
*/
|
|
|
|
case Disambiguation;
|
|
|
|
/**
|
|
|
|
* A page that is not one of the other types.
|
|
|
|
*/
|
|
|
|
case Other;
|
|
|
|
}
|