Thanks Amir... I'm perfectly fine. I am just wondering and worrying about "others" that might not get the hint on what/where the error is coming from and how to resolve._______________________________________________On Mon, Jul 22, 2019 at 12:10 PM Amir Sarabadani <amir.sarabadani@wikimedia.de> wrote:_______________________________________________Unfortunately not, this is due to technical limitations plus the fact that it has been giving depreciation warning and link to the hook for two years now (you can try it by running me.config.get('wbEntity') in your console). It's time to pull the plug.Javascript code is explicitly mentioned as an unstable interface (while javascript hooks are considered stable) in the public interface policy.BestOn Mon, Jul 22, 2019, 18:57 Thad Guidry <thadguidry@gmail.com> wrote:Will the error mention to users they need to use the hook and point them to a wiki page for more information?_______________________________________________On Mon, Jul 22, 2019 at 3:52 AM Léa Lacroix <lea.lacroix@wikimedia.de> wrote:_______________________________________________Hello all,
This message is important for people who still use the config value
mw.config.get( 'wbEntity')
in their tools or scripts. This value, deprecated for two years, will be completely dropped on July 24th.The config value
mw.config.get( 'wbEntity')
has been deprecated in order to improve the page load time, especially on large Items. Currently, a significant proportion of the HTML on every entity page is generated by this value. Dropping wbEntity completely will make the first paint (time needed to load the page) faster, and will better utilize the server and client cache.If your code is still using
mw.config.get( 'wbEntity')
, you can replace it by the hookwikibase.entityPage.entityLoaded
(see an example here).On Wednesday, July 24th, we will drop
mw.config.get( 'wbEntity')
from Wikidata’s codebase and calling the value will result in an error.If you have any questions or need help, feel free to leave a comment under the related task.
Thanks for your understanding,
Cheers,--Léa Lacroix
Project Manager Community Communication for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech