Summary: Callback actions are run when the toolbar is loaded,
                    not when the tool button is clicked
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: UsabilityInitiative

In order for the WikiEditor toolbar to be extensible, we need a way to allow
addition of toolbar buttons which execute custom functions when clicked. The
'callback' action seems to be created to address this issue. However, when you
create a custom button with 'callback' action and pass the callback function
name using the 'execute' property, this function is called when the toolbar is
loaded (that is, right after the edit page is loaded).

Expected result would be not to execute the function on page load, but to only
execute it when the specific button is clicked on.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to