Oberbuchheim was formerly part of the German Empire. In the German Empire, the place was called Oberbuchheim.
The place is now called Zgornji Gabrnik and belongs to Slovenia.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Ober-Gabernik | Austro-Hungary | Pettau/Ptuj | before the Treaty of Saint-Germain |
| Zgornji Gabrnik | Austro-Hungary | Pettau/Ptuj | before the Treaty of Saint-Germain |
| Zgornji Gabernik | Yugoslavia | Šmarje | after the Treaty of Saint-Germain |
| Oberbuchheim | German Empire | Cilli | 1941 |
| Zgornji Gabernik | Yugoslavia | Celje | 1945 |
| Zgornji Gabrnik | Yugoslavia | Socialistična rep. Slovenija | 1992 |
| Zgornji Gabrnik | Slovenia | Slowenien | 1991 |