https://bugzilla.wikimedia.org/show_bug.cgi?id=61321
Matthew Flaschen <mflasc...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Beta tag |Beta tag |({{int:visualeditor-beta-ap |({{int:visualeditor-beta-ap |pendix}}) on the Edit |pendix}}) should not always |button should not always be |be displayed in the guider |displayed |description --- Comment #3 from Matthew Flaschen <mflasc...@wikimedia.org> --- (In reply to Nemo from comment #2) > (In reply to Matthew Flaschen from comment #1) > > It's easy to detect if this is enabled (mw.config.get( > > 'wgVisualEditorConfig' ).tabMessages). However, I need to decide whether to > > make separate messages or substitute it in. > > Can you pass two messages to it directly? Sorry, I'm a little unclear what you mean. What would the two messages be, and what would I pass them to? > If the message(s) are just '{{int:vector-view-edit}} > {{int:visualeditor-beta-appendix}}' it's not less lego to have two. You can > pass to the tab a message '{{int:vector-view-edit}}$1" where $1 is nothing > or " {{int:visualeditor-beta-appendix}}". I'm not controlling the text of the tab (sorry, the bug title was misleading). I'm controlling the text of the guider (a kind of modal popup), which refers to the text of the tab. However, I think your suggestion of using a parameter just for the second part could still apply. -- You are receiving this mail because: 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