Hi,
If we check the contributors of a page using the Contributors special page, we see for some pages that it contains an item with (no username available) (no username available) in the list. I think this happens when you install the Contributors extension after making some edits when running MediaWiki 1.34.
We are running MediWiki starting from 1.28 I think. Then, every year we perform an upgrade to the latest version. We upgraded to v1.34 this year in February. One month later, in March, we installed the Contributors extension. All edits made before we upgraded to v1.34 are correctly populated in the contributors table. Changes made between February and March result in (no username available) (no username available). Changes made while the Contributors extension is installed are tracked correctly.
To reproduce our situation:
Install MediaWiki 1.32, create some pages and edit them. Do not install the Contributors extension yet. Then upgrade to v1.34 of MediaWiki and edit some more pages, or create new ones. Then install the Contributors extension and run the populate script. Optionally edit some more pages. Now check the contributions of those pages you editted. You should see that edits done with v1.34 of MediaWiki but without the Contributors result in an item with (no username available) (no username available) as username. Edits done after installing the Contributors extension are tracked correctly.
It is possible you do not need to install an old version at all and you can directly test with v1.34. I am not sure about this.
I have checked the code and I see that data is parsed from the revision table. When looking at that table, I see that all edits made after we upgraded to MediaWiki 1.34 does not have any user information anymore. It seems that the data this extension need is now stored in the table revision_actor_temp table.
Installation information:
Component | version |
OS | Debian 10.3 |
PHP | 7.3.14 |
MariaDB | 10.3.22 |
MediaWiki | 1.34 |
Contributors extension | 2.0 (04de8a2) |