Mw.wikibase.entity.lua错误修复指导

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Mw.wikibase.entity.lua bug fix instructions and the translation is 14% complete.
Other languages:
English • ‎polski • ‎العربية • ‎中文 • ‎日本語 • ‎한국어

Lua executing entity = mw.wikibase.getEntity() or entity = mw.wikibase.getEntityObject() caused problems with a big error message that says Lua error in mw.wikibase.entity.lua at line ???: The entity data must be a table obtained via mw.wikibase.getEntityObject and the page sometimes was added to Category:Pages with script errors (or a localized equivalent). This has now been fixed so we don't get new errors, but all affected pages still need to be fixed.

To do this, you can do any one of the following things to: (1) all pages in your localized "有脚本错误的页面" category and its technical subcategories, if any; and also (2) all pages you find when you search for mw.wikibase.entity.lua (because not all affected pages are in the error category!) in all namespaces: