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

       Web browser: ---
            Bug ID: 44734
           Summary: Add button actions for links
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GuidedTour
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Add button actions for internal and external links.

The description will also allow links, but sometimes it's important enough to
put in the button.  Currently you have to hack it up with an onclick.  We'll
probably do that internally, but for the user-facing API it should be easier. 
How about:

{ action: "wikiLink", pageName: "Wikipedia:Tutorial", name: "Tutorial" }

{ action: "externalLink", url: "http://www.gutenberg.org/";, namemsg:
"guidedtour-tour-sometour-some-key" }

These will probably be a little different from the existing actions, in that I
don't think they should use the Okay button.

I propose name and namemsg for the button text (for both), for consistency.

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

Reply via email to