Lucas_Werkmeister_WMDE added a comment.

  Why do we need separate configuration for this? The client already knows the 
general article path of the repo:
  
    mw.loader.using( 'mw.config.values.wbRepo', () => {
        const repoConfig = mw.config.get( 'wbRepo' );
        console.log( repoConfig.url + repoConfig.articlePath.replace( '$1', 
'Special:EntityData' ) );
    } );
  
  And just for future reference, because I happened to see it at the same time, 
there’s also a `wikibase.client.getMwApiForRepo` module that we should be able 
to use for `wbgetentities`.

TASK DETAIL
  https://phabricator.wikimedia.org/T228408

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Michael, darthmon_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to