I've just imported
and it was not displayed as a module but as an article, even when I emptied my cache.
I've renamed it Module:Wikidata/Bug and pasted its content into Module:Wikidata and then it worked.
So I tried to merge their histories, but it failed again.
Finally I've let the history into Module:Wikidata/Bug, if you can merge it...