Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bug 720870] Survey WMP article visitors.

* Behind "wmp-article-survey" waffle flag.
  • Loading branch information...
commit e812a8a28a4c7d1b5875f10654ef5e45bc2b3815 1 parent 03d24b3
@rlr rlr authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 apps/wiki/templates/wiki/document.html
View
6 apps/wiki/templates/wiki/document.html
@@ -29,6 +29,12 @@
<article id="wiki-doc" class="main">
{{ related_articles(related, document) }}
{{ document_title(document) }}
+ {# TODO: Remove this right after the test on Feb 29. #}
+ {% if document.slug == 'Using the Windows Media Player plugin with Firefox' %}
+ {% if waffle.flag('wmp-article-survey') %}
+ <script type="text/javascript">document.write('<script src="http' + ( ("https:" == document.location.protocol) ? "s" : "") + '://www.surveygizmo.com/s3/js/816956/4a06d820b568?__ref=' + escape(document.location) + '" type="text/javascript" ></scr' + 'ipt>');</script><noscript>This survey is powered by SurveyGizmo's <a href="http://www.surveygizmo.com">online survey software</a>. <a href="http://www.surveygizmo.com/s3/jsfallback/816956/4a06d820b568">Please take my survey now</a></noscript>
+ {% endif %}
+ {% endif %}
{{ document_messages(document, redirected_from) }}
{{ document_content(document, fallback_reason, request, settings) }}
{{ contributor_list(contributors) }}
Please sign in to comment.
Something went wrong with that request. Please try again.