Very valid point. We have a tool to determine who uses the given feature
<https://phabricator.wikimedia.org/T85499#5330372>and we sent a message to
everyone who uses them, an example.
<https://www.wikidata.org/w/index.php?title=User_talk:Petr_Matas&diff=983363822&oldid=286397699>
Best
On Mon, 22 Jul 2019 at 20:22, Thad Guidry <thadguidry(a)gmail.com> wrote:
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 <
amir.sarabadani(a)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.
Best
On Mon, Jul 22, 2019, 18:57 Thad Guidry <thadguidry(a)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?
Thad
https://www.linkedin.com/in/thadguidry/
On Mon, Jul 22, 2019 at 3:52 AM Léa Lacroix <lea.lacroix(a)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
<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
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
--
Amir Sarabadani (he/him)
Software engineer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
https://wikimedia.de
Unsere Vision ist eine Welt, in der alle Menschen am Wissen der Menschheit
teilhaben, es nutzen und mehren können. Helfen Sie uns dabei!
https://spenden.wikimedia.de
Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.