Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:CodeAndGin/Sandbox3

From Tardis Wiki, the free Doctor Who reference

Regex for {{cite source}} find and replace[[edit] | [edit source]]

   Find: ''\[\[(.*?)\|(.*?)]]''
   Replace: {{cs|$1}}

N.B. for anyone else reading: Some old style citations are, shall we say, non-standard, in their use of italicisation. This only works if the citation is in the following style:

   ([[STORYTYPE]]: ''[[Story title (dab term)|Story title]]'', etc.)

If the italicising quotes are elsewhere, like spanning across multiple links, fix them first or the regex will lose stuff.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.