Last modified: 2014-10-24 17:34:48 UTC
Showing all the entertaining custom regexes defined in https://git.wikimedia.org/blob/wikimedia%2Fbugzilla%2Fmodifications.git/HEAD/extensions%2FWikimedia%2FExtension.pm for https://phabricator.wikimedia.org/T850 here. replacerWP: [[meta:en:foobar]] replacerWP: [[Foobar]] replacerWP: [[en:wp:foo:bar:meow]] replacerWP: [Foobar] hopefully does not link. replacerCR: r12345 replacerRT: RT #1234 replacerRT: RT #1234 replacerGerritChangeset: Gerrit change #12 replacerGerritChangeset: Gerrit change #12 replacerGerritChangeset: Gerrit 9 (not linked as only one digit) replacerGerritChangeset: Gerrit #9 (not linked as only one digit) replacerGerritChangeId: I1a2b3c replacerGerritChangeId: I1a2b3c4 replacerGerritChangeId: I1a2b3c4e5f123456789012345678901234567890 replacerGerritChangeId: I1a2b3c4e5f1234567890123456789012345678901 replacerGerritChangeId: I1a2b3c4e5f12345678901234567890123456789012 replacerGitCommit: I1a2b3c replacerGitCommit: I1a2b3c4 replacerGitCommit: I1a2b3c4e5f123456789012345678901234567890 replacerGitCommit: I1a2b3c4e5f1234567890123456789012345678901 replacerGitCommit: I1a2b3c4e5f12345678901234567890123456789012 A Gerrit link with a linebreak in BZ is https://gerrit.wikimedia.org/r/#q,I0d6c654a7354ba77e65e338423952a6a78c1150f,n,z Something even longer is https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=blob;f=wmf-config/CommonSettings.php;h=954509678eeb4c1079fb7addfa189001671c6671;hb=HEAD#l1530 replacerCVE: CVE-2013-7106
replacerGerritChangeId: I1a2b3c4d
When you look at the XML format you see that the line "replacerGerritChangeset: Gerrit change #12" shown above is NOT what is in the XML but rendering is created by custom code.