Last modified: 2013-08-31 15:55:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27068, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25068 - Non-technical way to customize the WikiEditor editing tools
Non-technical way to customize the WikiEditor editing tools
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-05 15:59 UTC by Strainu
Modified: 2013-08-31 15:55 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Strainu 2010-09-05 15:59:36 UTC
In the days before the Vector roll out, the main way different wikis had to offer their users different Unicode characters was [[MediaWiki:Edittools]]. This meant that each wiki had their own set of characters that their users could easily insert in the articles.

After the new skin was introduced, it would make sense to dispose of the old EditTools (it's difficult to go back and forth between the top and the bottom of the editbox). In order for that to be possible, local communities should have the possibility to either:

1. Edit the current booklets/toolbars
2. Add new toolbars/booklets
3. Both of the above.

The customization should be made by reading pages in the MediaWiki namespace, so that any sysop could do it and the system should be as non-technical as possible.

One proposal would be to have a system similar to the one used for gadgets:

new_button := button_name|button_picture|pre_code|peri_code|post_code
new_booklet:= booklet_text|page_containing_booklet_entries
page_containing_booklet_entries := unicode_code|symbol_to_be_shown


This should be implemented along with bug 23065 in order to allow more fine-grained tuning of the toolbar.
Comment 1 Jan Luca 2010-09-05 16:43:52 UTC
There is already a way to add new toolbars and bocklets and to add a button or booklet to the current booklets/toolbars: http://usability.wikimedia.org/wiki/Toolbar_customization
Comment 2 Strainu 2010-09-05 16:49:50 UTC
That requires programming knowledge. While acceptable for me, this should not remain the only way to customize the toolbar. We really should have a way for the non-programmers to do it.
Comment 3 Strainu 2010-09-05 16:52:42 UTC
I've updated the title to better reflect what I've said in comment 2.
Comment 4 Nemo 2010-09-05 16:59:46 UTC
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).
Comment 5 Strainu 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.
Comment 6 Bugmeister Bot 2011-08-19 19:12:54 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links