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 mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to