https://bugzilla.wikimedia.org/show_bug.cgi?id=66419
--- Comment #4 from Adrian Lang <[email protected]> --- From my point of view, the module could look like the following: wikibase.api = { __namespace FormatValueCaller getLocationAgnosticMwApi ParseValueCaller RepoApi RepoApiError } wikibase.api.tests = { RepoApi RepoApiError } It would depend on the following resource loader modules: * json * mediawiki.api // For wikibase.api.getLocationAgnosticMwApi * util.inherit * wikibase // For the namespace And use the following messages: * wikibase-error-unexpected (also used by jquery.wikibase.linkitem and Wikibase\Lib\Localizer\GenericExceptionLocalizer) * wikibase-error-save-generic * wikibase-error-remove-generic * wikibase-error-save-timeout * wikibase-error-remove-timeout * wikibase-error-ui-edit-conflict Open questions / tasks: * What to do with the shared message? Should we duplicate it and define our own version in the JavaScriptApi module, or should we use it without defining it? * Move wb.RepoApi{,Error} to wb.api What do you think, Henning, Tobi? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
