Page MenuHomePhabricator

Custom regexes test in Bugzilla
Closed, InvalidPublic

Description

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 12

replacerGerritChangeset: Gerrit #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


Version: unspecified
Severity: normal

Details

Reference
bz72485

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:48 AM
bzimport added a project: Trash.
bzimport set Reference to bz72485.
bzimport added a subscriber: Unknown Object (MLST).

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.

Aklapper claimed this task.
Malyacko subscribed.

Adding an image. In a public task.

randomimage.jpg (460×532 px, 77 KB)

Danny_B removed a subscriber: Aklapper.