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.
bzimport set Reference to bz72485.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper created this task.Oct 24 2014, 5:33 PM

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.

chasemp removed a subscriber: chasemp.Dec 8 2014, 4:29 PM
Aklapper closed this task as Invalid.Mar 21 2015, 9:36 PM
Aklapper claimed this task.
Malyacko set Security to None.Oct 20 2015, 8:44 PM
Malyacko removed subscribers: MZMcBride, wikibugs-l-list.
Malyacko added a subscriber: Malyacko.

Adding an image. In a public task.

Danny_B removed Aklapper as the assignee of this task.May 22 2016, 10:41 PM
Danny_B removed a subscriber: Aklapper.