[Bug 61321] Beta tag ({{int:visualeditor-beta-appendix}}) on the Edit button should not always be displayed

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61321

Matthew Flaschen mflasc...@wikimedia.org changed:

   What|Removed |Added

Summary|Beta tag on the Edit button |Beta tag
   |should not be hard coded|({{int:visualeditor-beta-ap
   ||pendix}}) on the Edit
   ||button should not always be
   ||displayed

--- Comment #1 from Matthew Flaschen mflasc...@wikimedia.org ---
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.

Is this an acceptable use of a parameter (passing either
'{{int:vector-view-edit}} {{int:visualeditor-beta-appendix}}' or
'{{int:vector-view-edit}}' depending on configuration?

Or should I make separate messages?

-- 
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


[Bug 61321] Beta tag ({{int:visualeditor-beta-appendix}}) on the Edit button should not always be displayed

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61321

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

 CC||federicol...@tiscali.it

--- Comment #2 from Nemo federicol...@tiscali.it ---
(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?

 
 Is this an acceptable use of a parameter (passing either
 '{{int:vector-view-edit}} {{int:visualeditor-beta-appendix}}' or
 '{{int:vector-view-edit}}' depending on configuration?
 
 Or should I make separate messages?

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
#160;{{int:visualeditor-beta-appendix}}.

-- 
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