Board Thread:Code Review/@comment-3328029-20150524170427/@comment-3328029-20150527163544

Dai ca superman wrote: Can you make your script works on mobile skin: Wikiamobile skin and Mercury skin? Sorry I missed your message earlier. I could probably make it work, but it seems one of the important things missing is the "mediaWiki" object on the mobile skin. Before I start trying to create work arounds, does anyone know if there's a way to get access to the "mediaWiki" object on mobile?

Spydar007 wrote: Is there any way to make it load a wiki's CSS so that usernames are highlighted liken they normally are? I think that would be more of a pain than it's worth, since any CSS styles loaded would effect everything on the page, and that would probably not be desirable most times (like if one wiki's CSS made all table backgrounds black, while another wiki's CSS defined all text as black with "!important"), and would probably cause issues for people who did it... Unless a simple way occurs to me to do this, I think the best thing to do would be to add a "callback" for when the script is loaded, so custom code can be entered, like:  window.RecentChangesMultipleOnLoad = function{ $('head').append(''); }; With the stylesheet being the one you want. But to make sure I understand what you want exactly (and that I'm not over thinking it), how were you thinking it would be done?