Last modified: 2012-07-28 02:34:20 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 T26172, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24172 - Insert file-embed button in WikiEditor should also help with size, thumb, alignment and caption
Insert file-embed button in WikiEditor should also help with size, thumb, ali...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Normal enhancement with 4 votes (vote)
: MW 1.20 version
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-29 08:21 UTC by Amir E. Aharoni
Modified: 2012-07-28 02:34 UTC (History)
10 users (show)

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


Attachments

Description Amir E. Aharoni 2010-06-29 08:21:31 UTC
Currently, the image insertion button in the editor only inserts [[File:Example.jpg]] (it is localized - in Hebrew it's [[קובץ:דוגמה.jpg]]).

This button should also insert "250px|thumb|right|Description", to help users who don't know how to write it.

It was like this locally in the Hebrew Wikipedia, but the change to Vector overrode it. I believe that it's useful for projects in all languages.

The "thumb" and "right/left" parts must be localized, of course (Bug 24114 must not be repeated here). It must also consider the defaults for LTR/RTL - if i understand correctly, the default should be "right" for LTR and "left" for RTL (double-check it, because i suffer from [[Left/right confusion]] :).
Comment 1 db [inactive,noenotif] 2010-06-29 19:47:40 UTC
thumb always respect the defaults for LTR/RTL. There is no need for a additional right/left.
Comment 2 Amir E. Aharoni 2010-06-29 20:09:06 UTC
(In reply to comment #1)
> thumb always respect the defaults for LTR/RTL. There is no need for a
> additional right/left.

Of course it does, but quite often people want to put them on the other side. The easiest way to do it is to put "right" or "left" in the automatically inserted text. When an editor will want to align to the other side, he'll be able to guess that he has to change that one word.

Of course it's possible to rely on people to go to the Help pages, but simply putting "right" or "left" in the inserted string will make it easier.
Comment 3 Bryan Tong Minh 2010-07-02 17:44:05 UTC
Edit toolbar -> changing component to UsabilityInitiave
Comment 4 Krinkle 2011-06-22 00:30:40 UTC
*Mass-change: Move WikiEditor bugs to component and remove blocker bug where*
Comment 5 Eran Roz 2012-05-27 19:31:31 UTC
see also Gerrit change #9053
I added a file dialog to wikieditor which allow filling this parameters before embedding the file.

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


Navigation
Links