https://bugzilla.wikimedia.org/show_bug.cgi?id=46988
Web browser: --- Bug ID: 46988 Summary: WikidataClient should provide repository url and path and interwiki id for gadgets and userscripts Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: WikidataClient Assignee: wikidata-b...@lists.wikimedia.org Reporter: cacycl...@gmail.com CC: wikidata-b...@lists.wikimedia.org Classification: Unclassified Mobile Platform: --- Gadgets and userscripts that interact with wikibase (wikidata) references in articles need the repository url and path and the interwiki id of the current wiki on the repository. An example is the editor gadget wikEd that linkifies {{#property:}} variables in wiki text, allowing to open the referenced page in the repository by ctrl-clicking. On Wikipedia, it is relatively easy to guess interwiki id and repo and it is often possible to get the repo path from the interlanguage edit link. However, these workarounds fail on non-Wikipedia wikis that use other repos. Therefore, gadgets and userscripts need wg-like variables for this. If these already exist, please document this crucial information. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l