Lydia_Pintscher added a comment.
At some point in the past we decided that we count even nearly empty items as
articles. I don't see a reason to revise that atm.
TASK DETAIL
https://phabricator.wikimedia.org/T76145
EMAIL PREFERENCES
daniel added a comment.
@JanZerebecki:
ItemContent has:
public function isCountable( $hasLinks = null ) {
return !$this->isRedirect() && !$this->getItem()->isEmpty();
}
This could easily be changed to
public function isCountable( $hasLinks = null ) {
daniel added a comment.
I wonder why initSiteStats.php would come to a different result if it's using
Content::isCountable()
TASK DETAIL
https://phabricator.wikimedia.org/T76145
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: daniel
Cc: Addshore,
JanZerebecki added a comment.
I thought Content pages was supposed to not count stubs?
TASK DETAIL
https://phabricator.wikimedia.org/T76145
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JanZerebecki
Cc: Addshore, Aklapper, JanZerebecki, Lucie,
Addshore added a comment.
So in-fact the issue is with initSiteStats.php?
TASK DETAIL
https://phabricator.wikimedia.org/T76145
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Addshore
Cc: Addshore, Aklapper, JanZerebecki, Lucie, daniel,
JanZerebecki added a comment.
The problem here is that the maintenance script recomputes the number
differently than the incremental update process.
TASK DETAIL
https://phabricator.wikimedia.org/T76145
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/