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.
Thad https://www.linkedin.com/in/thadguidry/ On Mon, Jul 22, 2019 at 12:10 PM Amir Sarabadani < [email protected]> 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. > > Best > On Mon, Jul 22, 2019, 18:57 Thad Guidry <[email protected]> wrote: > >> Will the error mention to users they need to use the hook and point them >> to a wiki page for more information? >> >> Thad >> https://www.linkedin.com/in/thadguidry/ >> >> >> On Mon, Jul 22, 2019 at 3:52 AM Léa Lacroix <[email protected]> >> 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 >>> <https://phabricator.wikimedia.org/T85499#5330372> mw.config.get( >>> 'wbEntity'), you can replace it by the hook >>> wikibase.entityPage.entityLoaded (see an example here >>> <https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/47952b3b22a4550f3b2677b96c820e559123864c/repo/resources/wikibase.entityPage.entityLoaded.js#L13>). >>> >>> >>> 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 <https://phabricator.wikimedia.org/T85499>. >>> >>> 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 >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>> >> _______________________________________________ >> Wikidata-tech mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >> > _______________________________________________ > Wikidata-tech mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >
_______________________________________________ Wikidata mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata
