Page MenuHomePhabricator

create a Wikisyntax to phabricator to gitlab converter
Open, LowestPublic

Description

Most developers know how annoying it is if something is written in one programing-language, but it is needed in another one. This also occurs here. Sometimes you wrote something in Wikipedia and you would like to report it to phabricator. Or something is written in phabricator and this should be reported upstream in gitlab/github/gerrit.

It would be a nice feature to have a basic converter (not necesarrily supporting all features, because bugreports need any-way need to be adapted to the individual project), that can convert most common features such as hyperlinks and tables.

It might be declined as out-of-scope, however I ask if someone knows such one or would like to create one. (even if buggy, better than nothing)

Event Timeline

Aklapper triaged this task as Lowest priority.May 16 2021, 9:48 AM

Phabricator's remarkup is pretty close to Markdown in my understanding; Gitlab... uses markdown (I think?); and MediaWiki wiki syntax is too unclear and ambiguous (does ''''' mean <i><b> or <b><i> in HTML?) so I wish anyone good luck and lots of patience who wants to try handling that.

MediaWiki wiki syntax is too unclear and ambiguous (does ''''' mean <i><b> or <b><i> in HTML?)

'''''test''''' resulted in a test in <i><b>test</b></i> and don't care if it would be the other way around.

Phabricator's remarkup is pretty close to Markdown in my understanding; Gitlab... uses markdown (I think?)

objectphabricatorgitlab/markdown
tableno need of --- linesyou need --- line as the second line
link[[url | name]][url](name)
image{F 7}![optional name](url)
issueT282951#282951
numerated list# text (next line # again)1. text
headline# text (next line no #)#
boldboldbold
italicitalic_italic_ or *italic*

table

phabricator

ab
cd

gitlab/markdown

ab
cd

link

phabricator

link to this page

gitlab/markdown

link to this page

image (this was the first image with the lowest working number)

phabricator

{F7}

gitlab/markdown

!Image 7 on phabricator

issue

phabricator

T282951
T 4

gitlab/markdown

#1

headlines

phabricator

4level
5level

gitlab/markdown

  1. 4level
    1. 5level

text styling

phabricator

bold
italic

gitlab/markdown

bold
_italic_ or *italic*

block quote

gitlab/markdown

xml
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"/>

phabricator

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"/>

#Comparison: