MediaWiki talk:Gadget-refToolbar.js

From Wikisource
Jump to navigation Jump to search

Update[edit]

Hi!

I started migrating the English Wikipedia code into a ResourceLoader-compatible gadget, and this requires a few pages to be moved, so the maintainer of this local gadget (George Orwell III?) might want to watch w:Wikipedia:RefToolbar/2.0/porting for future changes. For now, the only page moved was w:MediaWiki:RefToolbarBase.js to w:MediaWiki:Gadget-refToolbarBase.js, but there are a few more to come. Helder.wiki 21:11, 1 May 2014 (UTC)

FWIW... I saw this note but not sure if we are on the same page on this one - mostly because we import more than we actually host. Neither mW page cited on WP seems to "match" what we have here content wise. Please advise accordingly. -- George Orwell III (talk) 21:22, 1 May 2014 (UTC)[reply]
The point is that you are importing the "base" code from a page and it is now located in another page (the old location kind of works, but now it does an extra HTTP request, to "redirect" to the new location). The new version of the code I put on w:Wikipedia:RefToolbar/2.0/porting should work here as well (and it includes a few other minor changes). Helder.wiki 22:44, 1 May 2014 (UTC)
Kind of follow.... but with not much confidence. How about you just tell me what to move & where and/or what needs editing & with what new content, Etc. That seems easier imho. -- George Orwell III (talk) 23:43, 1 May 2014 (UTC)[reply]
George Orwell III: It seems you figured it out.
However, this dependency is not necessary, because MediaWiki:Gadget-refToolbar.js doesn't use importScript (it is used on enwiki because the other JS pages are hosted in that same wiki. Here we use mw.loader.load to load it from a external wiki). Helder.wiki 16:02, 5 May 2014 (UTC)