recentpopularlog in

kme : links   10

html - Can I nest a <button> element inside an <a> using HTML5? - Stack Overflow
No. But I ended up using a variation of https://stackoverflow.com/a/28665849/785213, which sets 'onclick="location.href='#anchor'"' instead, then an 'a' element inside as a backup if JS is disabled.
webdevel  html5  button  links  workaround  solution 
5 weeks ago by kme
'target' : Blank or New? · Andrew Chilton
Just note that if using _blank when pointing to an untrusted website, you should also add rel="noopener" as well. This ensures that the site being opened won’t have access to the opener property and hence the ability to find out information about your site from their JavaScript
webdevel  html  links  bestpractice 
march 2019 by kme
Manual:$wgExternalLinkTarget - MediaWiki | https://www.mediawiki.org/
<code class="language-php">$wgExternalLinkTarget = '_blank';</code>
mediawiki  configsetting  links  interesting 
march 2018 by kme
Help:Link - Meta | https://meta.wikimedia.org/
For external links, it is not possible to add a title attribute to the href element. However, the same effect can be obtained with a span:<code>[http://www.example.com <span title="hover text on external link">www.example.com web site</span>]</code>
mediawiki  wikitext  links  solution 
march 2018 by kme
Extension:Link Attributes - MediaWiki | https://www.mediawiki.org/
Doesn't support the title attribute, though, which is the only one I cared about. :(

See, however, https://meta.wikimedia.org/wiki/Help:Link#%22Hover_box%22_on_links for a workaround.
mediawiki  extension  links  interesting 
march 2018 by kme

Copy this bookmark:





to read