Page MenuHomePhabricator

Convert wiki links in Bugzilla comments in links in Phabricator tasks
Open, LowestPublic

Description

There are different ways to generate links to wiki pages in Bugzilla comments. Ideally those links should be kept in Phabricator comments.

See https://bugzilla.wikimedia.org/show_bug.cgi?id=72485

When finding something like the Perl regex in https://git.wikimedia.org/blob/wikimedia%2Fbugzilla%2Fmodifications.git/HEAD/extensions%2FWikimedia%2FExtension.pm#L36 we should take that markup and after html_quote/url_quote stuff pass it to the en.wp search like in https://git.wikimedia.org/blob/wikimedia%2Fbugzilla%2Fmodifications.git/HEAD/extensions%2FWikimedia%2FExtension.pm#L81

Event Timeline

Qgil created this task.Oct 24 2014, 10:37 PM
Qgil raised the priority of this task from to Low.
Qgil updated the task description. (Show Details)
Qgil changed Security from none to None.
Qgil added a subscriber: Qgil.
Qgil raised the priority of this task from Low to Normal.Oct 29 2014, 9:21 PM
Qgil edited projects, added Phabricator; removed Bugzilla-Preview, Bugzilla-Migration.

This task is not essential, it has a risk of overcomplicating the migration process, and it can be done afterward either with direct changes to the database or a bot.

Qgil lowered the priority of this task from Normal to Low.Nov 7 2014, 10:49 AM
chasemp claimed this task.Dec 30 2014, 7:43 PM
Aklapper updated the task description. (Show Details)Dec 31 2014, 5:42 PM
Qgil added a comment.Jan 2 2015, 3:48 PM

Is this how wiki links like [[mw:Phabricator]] (pointing to mediawiki.org) are constructed as well, or is this only good for en.wiki links?

In T875#952579, @Qgil wrote:

Is this how wiki links like [[mw:Phabricator]] (pointing to mediawiki.org) are constructed as well, or is this only good for en.wiki links?

In Bugzilla they were pointing to en.wiki, but they were used for other projects as well, through redirects like https://en.wikipedia.org/wiki/mw:Phabricator.
If Phabricator has access to the interwiki map, it could resolve link targets by itself instead of relying on en.wiki.

SamB added a subscriber: SamB.Jan 8 2015, 11:28 PM
chasemp removed chasemp as the assignee of this task.Jan 30 2015, 8:00 PM
chasemp lowered the priority of this task from Low to Lowest.