Page MenuHomePhabricator

Add WikiLinksBot to Phabricator
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):

Users should be able to post links to Wikimedia project pages in wiki format to Phabricator. A "bot" tool should reply with a full URL link

For example, if a user posts:

[[:File:Aerial Photo - RAF 541 15 RP 3024.png]]

the bot would post a comment with the same text, linked to https://commons.wikimedia.org/wiki/File:Aerial_Photo_-_RAF_541_15_RP_3024.png

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

Users who post wiki-format links, for convenience (e.g. having then in their clipboard) or through familiarity with that format (and not being aware that they are nor parsed by Phabricator), should not need to reformat them as URLs. A bot should do this for them, as "WikiLinksBot" — https://web.telegram.org/a/#1182714702 — on Telegram does, in Wikimedia-related channels - that bot's code may be reusable.

Benefits (why should this be implemented?):

Links are more easily readable. More convenient for people posting links (as evidenced on Telegram).

Event Timeline

Users should be able to post links to Wikimedia project pages in wiki format to Phabricator.

I'd disagree here. Not every exotic format of a software needs to be understood by another software. Phabricator is pretty close to supporting standard Markdown.

or through familiarity with that format (and not being aware that they are nor parsed by Phabricator)

A preview is shown below the comment field, so people can get aware.

(Note that Phabricator-Bot-Requests is for account requests for existing bots - see its description.)