Thảo luận Mô đun:Coordinates

Nội dung trang không được hỗ trợ ở ngôn ngữ khác.
Bách khoa toàn thư mở Wikipedia

Due to the fact, that mw.wikibase.getEntity() is deprecated and it would be great to change it into a wrapper around mw.wikibase.getEntityObject() at one point, we first need to bring all Lua modules up to date and change them to mw.wikibase.getEntityObject. More details [1]. Shouldn't be too hard in this case since it's used only once and changed on different Wikipedias already. --Lucie Kaffee (WMDE) (thảo luận) 10:38, ngày 25 tháng 2 năm 2015 (UTC)[trả lời]

Also if you are onto that, it would be great ì you could remove mw.wikibase.entity.create since it's not nêcssary. What it could look like: [2] --Lucie Kaffee (WMDE) (thảo luận) 17:54, ngày 3 tháng 3 năm 2015 (UTC)[trả lời]

Breaking change to mw.wikibase.getEntity()[sửa mã nguồn]

mw.wikibase.getEntity() will be changed in a not backwards compatible way in two weeks. In order for your module still work then you need to change from mw.wikibase.getEntity() to mw.wikibase.getEntityObject(). Please reach out to me if you have any questions regarding this change. I’d be happy to help! There is also the Module:Coordinates on the English Wikipedia with the new method. --Lucie Kaffee (WMDE) (thảo luận) 16:39, ngày 24 tháng 3 năm 2015 (UTC)[trả lời]