Last modified: 2014-10-24 17:34:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72485 - Custom regexes test in Bugzilla
Custom regexes test in Bugzilla
Status: NEW
Product: Spam
Classification: Unclassified
Spam (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-24 17:33 UTC by Andre Klapper
Modified: 2014-10-24 17:34 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andre Klapper 2014-10-24 17:33:00 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
Comment 1 Andre Klapper 2014-10-24 17:33:28 UTC
replacerGerritChangeId: I1a2b3c4d
Comment 2 Andre Klapper 2014-10-24 17:34:48 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links