<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20369</bug_id>
          
          <creation_ts>2012-12-12 22:55:45 +0000</creation_ts>
          <short_desc>Cannot add a YouTube link inside a note</short_desc>
          <delta_ts>2012-12-13 17:48:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>content</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://docs.webplatform.org/wiki/tutorials/getting_started_with_webgl</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Luz Caballero">luzc</reporter>
          <assigned_to name="Chris Mills">cmills</assigned_to>
          <cc>julee</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80044</commentid>
    <comment_count>0</comment_count>
    <who name="Luz Caballero">luzc</who>
    <bug_when>2012-12-12 22:55:45 +0000</bug_when>
    <thetext>Tried to add the following YouTube link:

http://www.youtube.com/watch?v=me3BviH3nZc

inside a note, using the following mark-up:

{{Note|[http://www.youtube.com/watch?v=me3BviH3nZc Watch Erik&apos;s entire WebGL video tutorial] for free on YouTube. Over 2 and a half hours of WebGL tuition! }}

But I just got something that looked like {{{1}}} instead of my note.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80047</commentid>
    <comment_count>1</comment_count>
    <who name="David Kirstein (Frozenice)">frozenice</who>
    <bug_when>2012-12-12 23:06:55 +0000</bug_when>
    <thetext>The problem is the equals sign inside the URL, as this is a special character for template calls (separating parameter name and value).

You&apos;d either have to replace every = with {{=}} like this:
{{Note|[http://www.youtube.com/watch?v{{=}}me3BviH3nZc Watch Erik&apos;s entire WebGL video tutorial] for free on YouTube. Over 2 and a half hours of WebGL tuition! }}

or (easier for editors) prefix the note-text with 1= like this:
{{Note|1=[http://www.youtube.com/watch?v=me3BviH3nZc Watch Erik&apos;s entire WebGL video tutorial] for free on YouTube. Over 2 and a half hours of WebGL tuition! }}

This should probably be mentioned in the style guide or some other place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80115</commentid>
    <comment_count>2</comment_count>
    <who name="JuleeAtAdobe">julee</who>
    <bug_when>2012-12-13 17:48:17 +0000</bug_when>
    <thetext>Added the following note to http://docs.webplatform.org/wiki/WPD:Style_Guide/Gotchas:


=URL containing special characters in notes or other tags=

Certain links contain special characters, such as the equal sign (=) in a link to a YouTube video (for example, http://www.youtube.com/watch?v=me3BviH3nZc). When these links are inside other wiki references, such as the Note tag, the special character needs to be escaped. Two ways to do so are:

* Replace every = with {{=}}, as in:
&lt;syntaxhighlight&gt;
{{Note|[http://www.youtube.com/watch?v{{=}}me3BviH3nZc Watch Erik&apos;s entire WebGL video tutorial] for free on YouTube. Over 2 and a half hours of WebGL tuition! }}
&lt;/syntaxhighlight&gt;

OR

* Prefix the note-text with 1=, as in:
&lt;syntaxhighlight&gt;
{{Note|1=[http://www.youtube.com/watch?v=me3BviH3nZc Watch Erik&apos;s entire WebGL video tutorial] for free on YouTube. Over 2 and a half hours of WebGL tuition! }}
&lt;/syntaxhighlight&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>