User talk:Edokter

From MediaWiki.org
Jump to: navigation, search

Default modules [edit]

RE: edit summary

I'm not quite sure whether you do or don't know, but none of the modules on that page are to be assumed present or loaded on any given point in the execution flow (except two, and no more than those two, jquery and mediawiki). Any variable or method used in your code that comes from any other module must have it's origin module declared as a dependency.

"mw.config" and "mw.html" are not modules. They are part of initial mediaWiki object (as is mw.loader, mw.msg etc.), defined all at once in the core mediawiki module, they don't have their own module (per contents of mediawiki.js).

Just for your information, Krinkle 23:23, 12 January 2012 (UTC)

That clears it up a bit. The link Rilke added only made it more confusing. Still, you say mediawiki is loaded; does that include mediawiki.util? Edokter (talk) — 02:21, 15 January 2012 (UTC)
No. Krinkle 16:23, 15 January 2012 (UTC)

{{navbar}} [edit]

I reverted your CSS based updates (from Feb) to {{navbar}} because as cool as those are MediaWiki:Common.css does not contain/support the referenced CSS classes (and it breaks things to assume it does without such in first). 50.53.15.51 20:00, 23 July 2012 (UTC)

That appears to be an imported revision. Edokter (talk) — 22:39, 13 April 2013 (UTC)

Image caption = alt text [edit]

Your edit to Help:Images#Syntax isn't entirely correct. I've seen it show up as "alt" text "on mouseover" as was specified before your change. I can provide code snippets if needed. T13   ( C • M • Click to learn how to view this signature as intended ) 12:01, 13 April 2013 (UTC)

All four major current browsers no longer show any alt text as tooltips, probably since we switched to HTML5. Edokter (talk) — 22:37, 13 April 2013 (UTC)
There are many wikis using the MW core that don't use HTML5. The previous version should be restored and a note saying this effect doesn't apply to wikis using HTML5. T13   ( C • M • Click to learn how to view this signature as intended ) 22:40, 13 April 2013 (UTC)
Note I'm not entirely sure HTML5 is to blame, or if it is even enabled by default in core, but if there is to be such a note, it should be reflected in all the examples as well. I think the current version is the safer option. Edokter (talk) — 22:49, 13 April 2013 (UTC)
Perhaps there is someone else who is knowledgeable in exactly what changed it that might be able to offer the details so it can properly and fully be documented? T13   ( C • M • Click to learn how to view this signature as intended ) 23:05, 13 April 2013 (UTC)