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

           Summary: Heading-field (section=new) uses same name/id as edit
                    summary (action=edit)
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Page editing
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: krinklem...@gmail.com


The Heading-field uses the same name/id as the Summary causing javascript tools
targetting the summary to mess up.

ie. a button to insert a template adds "; template Foobar added" to the
summary, which is great otherwise, but when adding a new talkpage heading there
is no summary so I'd expect the script to be unable to find a summary and do
nothing.

Instead it does find a "summary" field and appends it to it.
Likewise there are gadgets replacing the summary with "/* Test */ section
added" and inserting {{subst:test}}~~~~

This is great when editing the page, since it appends the template to the
talkpage and sets the summary correct, but when using the "new section" button
(&section=new) it litterly sets the title of message to "/* Test */ new
section".

If these different field would have different name/id attribute values they can
be targetted, detected and used appropiately.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to