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

            Bug ID: 67111
           Summary: In Insert Image dialog box the Align and Format
                    settings are not set to any values
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: Windows XP
            Status: UNCONFIRMED
          Severity: minor
          Priority: Unprioritized
         Component: WikiEditor
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 15749
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15749&action=edit
Insert image dialog box Align and Format fields empty

Setup- none.

Steps to Reproduce-
1>Select “Create Source” tab to use Wikitext Editor.
2>Click on the “Embedded File” icon on the toolbar at the top of the editor
pane, to insert an image file.
3> The “Insert  File” dialog opens. Enter the Filename, Caption, size. Notice
that Align is by default set to “(default)”  and Format is set to “Thumbnail” .
4> Now click on “Insert” button. 
5> Text in the format [[File:  filename  |thumbnail| caption]] is entered and
highlighted in the editor pane.
6> Move to the next line by hitting enter key. And while the cursor is still in
the newline click on the “Embedded File” icon again.
7> Notice this time the Align and Format dropdowns are not set to any values.
8> Clicking on the “Insert” button does nothing and no error is thrown.
9> Now enter the Filename, Caption, size and click on “Insert” button, no error
is thrown again.

Actual Result- The second time the Embedded File icon is accessed in the
wikitext editor ,the Align and Format dropdowns are not set to any values. See 
attached screenshot WE_Insert_Image.png.

Expected Result- Every time the Embedded File icon is accessed in the wikitext
editor , the Align and Format dropdowns  should be set to  their default
values.
Also, the required fields in the Insert Image dialog box should be marked as
such and the input fields should be validated (see Bug 38823 ).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to