Niedzielski updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
Also, for `getEarliestRevTime()`, do we need to check that it exists? E.g.:
```lang=php
$firstRevisionTimestamp = $title->getEarliestRevTime();
if ( $firstRevisionTimestamp ) {
$schema['datePublished'] = wfTimestamp( TS_ISO_8601, $firstRevisionTimestamp );
}
```
...
- leave a note, that in this cases `dateModified` is not necessaryAlso, for `getEarliestRevTime()`, do we need to check that it exists? E.g.:
```lang=php
$firstRevisionTimestamp = $title->getEarliestRevTime();
if ( $firstRevisionTimestamp ) {
$schema['datePublished'] = wfTimestamp( TS_ISO_8601, $firstRevisionTimestamp );
}
```
TASK DETAIL
EMAIL PREFERENCES
To: Niedzielski
Cc: Niedzielski, pmiazga, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, Chicocvenancio, QZanden, LawExplorer, Winter, D3r1ck01, Wikidata-bugs, aude, Mbch331, Krenair
Cc: Niedzielski, pmiazga, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, Chicocvenancio, QZanden, LawExplorer, Winter, D3r1ck01, Wikidata-bugs, aude, Mbch331, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs