From a992ab611ca5ca61674a2617fdd4dafdab391d10 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 23 Jan 2015 09:30:19 +0000 Subject: [PATCH] Related to MKWS-163. The wikipedia widget now includes "Or did you mean a different XXX?" links to disambiguation pages, when a disambiguationurl field is present. These pages open in a new tab. The main Wikipedia links now also open in a new tab. --- src/templates/wikipedia.handlebars | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/templates/wikipedia.handlebars b/src/templates/wikipedia.handlebars index b2a92cb..8967945 100644 --- a/src/templates/wikipedia.handlebars +++ b/src/templates/wikipedia.handlebars @@ -19,7 +19,7 @@ display only the first image {{md-title}} {{/each}} -

{{md-title}}

+

{{md-title}}

{{#if md-title-remainder}} {{md-title-remainder}} {{/if}} @@ -27,4 +27,8 @@ display only the first image {{md-title-responsibility}} {{/if}} {{{mkws-paragraphs md-description paragraphs sentences}}} +{{#if md-disambiguationurl}} +

Or did you mean a different {{md-title}}?

+{{/if}}

{{credit}}

-- 1.7.10.4