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

--- Comment #5 from crangasi2...@yahoo.com 2010-09-05 17:28:27 UTC ---
(In reply to comment #4)
> I think that some documentation on how to customize it with the current system
> would be a better improvement (with some documentation it's not that
> difficult).

"It's not that difficult" is quite subjective. :) Ask a non-technical person to
"do this inside an addOnloadHook(function() { }); call" and in 99% of the cases
he/she would rather solve the problem some other way.

The minimum would be to have the code from
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js?view=markup
put in MediaWiki:Common.js (or another page called from there) and put some
comments like "add here the code for new buttons"/"add here new buttons in this
booklet". If for some reason the whole toolbar is compromised (no idea how you
can detect this, a huge try-catch perhaps?), then display the default version.

Still, a gadget-like syntax seems more appropriate to me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to