Information icon.svg

Nominations for the RationalMedia Foundation 2020 board of trustees election are now open!


From RationalWiki
Jump to: navigation, search
{{{1}}}[a w]

[edit] [purge] Documentation

Create a link with and buttons.

{{a||Example page}}

gives:[a w]

Example page[a w]

For some more complicated links you need to explicitly use 1= and 2= (like so: {{a|1=|2=Example page}}) otherwise it won't work.

CaptureBot4 should find these links and tell to actually archive it.

Here's a Vim substitute command if you want to convert all references in a page; the first one is for links with a description, the second for "bare" links in references.

:%s/<ref\(.\{-}\)>\[\(.\{-}\) \(.\{-}\)]\(.\{-}\)<\/ref>/<ref\1>{{a|1=\2|2=\3\4}}<\/ref>/g

Protip: add /c for interactive confirmation