Jump to content

Template talk:JavaScript: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Latest comment: 12 years ago by Technical 13 in topic Move proposal on January 9, 2014
Content deleted Content added
Technical 13 (talk | contribs)
Technical 13 (talk | contribs)
Line 52: Line 52:
==== Support/Oppose ====
==== Support/Oppose ====
*'''Support''' the move of this template. '''Oppose''' the proposed reuse of this name. It should be "{{tl|edit javascript}}" instead, just like {{tl|edit request}} , {{tl|edit protected}} , {{tl|edit semiprotected}}. It should '''NOT BE''' {{tl|JavaScript}} or {{tl|javascript}} ; a more beneficial use of this template location would be a formatting template that uses LUA to format JS code samples. -- [[Special:Contributions/70.50.148.122|70.50.148.122]] ([[User talk:70.50.148.122|talk]]) 06:57, 9 January 2014 (UTC)
*'''Support''' the move of this template. '''Oppose''' the proposed reuse of this name. It should be "{{tl|edit javascript}}" instead, just like {{tl|edit request}} , {{tl|edit protected}} , {{tl|edit semiprotected}}. It should '''NOT BE''' {{tl|JavaScript}} or {{tl|javascript}} ; a more beneficial use of this template location would be a formatting template that uses LUA to format JS code samples. -- [[Special:Contributions/70.50.148.122|70.50.148.122]] ([[User talk:70.50.148.122|talk]]) 06:57, 9 January 2014 (UTC)
:* It's not an edit request itself (which would still use the main {{Tl|Edit protected}} because only admins can edit .js pages (excluding your own in your userspace, but you would need to submit a request for that). My proposed replacement is a formating template that uses [[mw:Extension:SyntaxHighlight GeSHi]] to format JS code samples. Any formating template that uses [[WP:Lua|Lua]] to format JS code samples would be located at [[Module:JavaScript]]. [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 07:08, 9 January 2014 (UTC)
:* It's not an edit request itself (which would still use the main {{Tl|Edit protected}} because only admins can edit .js pages (excluding your own in your userspace, but you would need to submit a request for that_). My proposed replacement is a formating template that uses [[mw:Extension:SyntaxHighlight GeSHi]] to format JS code samples. Any formating template that uses [[WP:Lua|Lua]] to format JS code samples would be located at [[Module:JavaScript]]. [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 07:08, 9 January 2014 (UTC)

Revision as of 07:10, 9 January 2014

WikiProject iconComputer science
WikiProject iconThis template is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Things you can help WikiProject Computer science with:

WikiProject iconComputing
WikiProject iconThis template is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconSoftware: Computing
WikiProject iconThis template is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Taskforce icon
This template is supported by WikiProject Computing.

Move proposal on January 9, 2014

Template:JavaScript → Template:JavaScript navbox – To make room for a new Template:JavaScript that can be used as a wrapper for edit requests to .js pages with source highlighting and background coloring. Examples would look like:

{{JavaScript|remove|
   /* section */
   var section = true;
   if(!section){
      alert("LIES!");
   }
}}

resulting in:

   /* section */
   var section = true;
   if(!section){
      alert("LIES!");
   }

or

{{JavaScript|add|
   /* section */
   var section = true;
   if(section){
      alert("You've spoken the truth!");
   }
}}

resulting in:

   /* section */
   var section = true;
   if(section){
      alert("You've spoken the truth!");
   }

Thanks for your consideration Technical 13 (talk) 05:42, 9 January 2014 (UTC) Technical 13 (talk) 05:42, 9 January 2014 (UTC)Reply

Discussion

Survey

Support

  1. As nominator - Technical 13 (talk) 05:43, 9 January 2014 (UTC)Reply

Oppose

Support/Oppose