https://bugzilla.wikimedia.org/show_bug.cgi?id=45574

--- Comment #4 from Matthew Flaschen <[email protected]> ---
(In reply to comment #1)
> I seem to remember some rule like "extensions can set CSS/JS at the top, but
> gadgets and user scripts can't" or something. Is that right? Could this just
> be
> ported to a MediaWiki extension?
> 
> The English Wiktionarians are wary of MediaWiki extensions as the past
> process
> for getting them reviewed and deployed has been pretty awful for them (and
> many
> other projects). But I think our processes in this area have improved
> dramatically recently, so this seems like a viable option.
> 
> Please tell me to shut up if I'm wrong about any of this. :-)

Yes, extensions have control over top/bottom, and it defaults to bottom.
(https://www.mediawiki.org/wiki/Manual:$wgResourceModules).  So that is another
possible work-around.

(In reply to comment #3)
> (In reply to comment #1)
> > I seem to remember some rule like "extensions can set CSS/JS at the top, but
> > gadgets and user scripts can't" or something. Is that right? Could this just
> > be
> > ported to a MediaWiki extension?
> Yes and yes (though I didn't really take a look at the code)...
> I don't see why position=top couldn't be implemented in the gadget extension
> though (performance issues maybe?)

I believe they will be in the Gadgets 2.0 branch.  They just don't want to do a
special-case before the branch is done.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to