User:Monkbot/cite music release notes (AWB)

This script is a onetime use script that updates various parameters of {{tlx|cite music release notes}}. This script is/was run prior to migrating {{tld|cite music release notes}} from {{tlx|citation/core}} to Module:Citation/CS1.

For details of the migration see this discussion

wikipedia

en

http://

Template:Cite music release notes

WhatTranscludesPageListProvider

true

false

false

false

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)artist(\s*=[^}]*)

$1others$2

replace artist with others

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)pid(\s*=[^}]*)

$1id$2

replace pid with id

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*)\s*\|\s*type\s*=\s*[^\|\}]*(\s*[^}]*)

$1$2

remove type and its value

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)Format(\s*=[^}]*)

$1type$2

replace format with type

true

true

false

false

None

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)title(\s*=[^}]*)

$1chapter$2

replace title with chapter

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)name(\s*=[^}]*)

$1title$2

replace name with title

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)first(\s*=[^}]*)

$1first$2

fix Last case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)language(\s*=[^}]*)

$1language$2

fix Language case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)last(\s*=[^}]*)

$1last$2

fix Last case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)location(\s*=[^}]*)

$1location$2

fix Location case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)page(s?\s*=[^}]*)

$1page$2

fix Page/Pages case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)publisher(\s*=[^}]*)

$1publisher$2

fix Publisher case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)url(\s*=[^}]*)

$1url$2

fix url case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)year(\s*=[^}]*)

$1date$2

fix Year case

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)album[_ -]?link(\s*=[^}]*)

$1titlelink$2

replace albumlink with titlelink (not supported in cite music release notes but is supported in cite AV media notes

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\|\s*tit)(le\s*=\s*\w[^}]*\|[^}]*\}\})

$1BoGuSNonMaTcHiNgStRiNg1$2

(1) protect cites with |title=something

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*\|\s*)chapter(\s*=[^}]*)

$1title$2

(2) replace chapter with title

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*\s*)\|\s*title\s*=\s*([\|\}][^}]*)

$1$2

(3) remove empty title

true

true

false

false

IgnoreCase

(\{\{\s*[Cc]ite music release notes[^}]*)BoGuSNonMaTcHiNgStRiNg1([^}]*\}\})

$1$2

(4) restore protected cites

true

true

false

false

IgnoreCase

false

true

false

false

false

false

0

0

false

false

false

false

false

true

2

5

500

true

false

false

30

Replace deprecated parameters before migration to Module:Citation/CS1; see talk;

clean up

re-categorisation per CFD

clean up and re-categorisation per CFD

removing category per CFD

subst:'ing

stub sorting

Typo fixing

bad link repair

Fixing links to disambiguation pages

Unicodifying

Replace deprecated parameters before migration to Module:Citation/CS1; see talk;

\|\s*ref\s*=\s*harv

true

false

true

false

true

false

false

true

true

false

false

false

false

false

0

false

true

2

false

false

false

true

false

false

false

false

10

Courier New

false

false

false

false

false

true

false

false

false

false

true

true

true

true

false

false

true

true

false

true

false

false

false

false

false

false

false

false

false

true

false

false

false

false

false

C# 2.0

public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)

{

Skip = false;

Summary = "test";

ArticleText = "test \r\n\r\n" + ArticleText;

return ArticleText;

}

false

false

true

false

20

0

true

true

false

false

false

0

0

0

0