Page MenuHomePhabricator

In Glamorous the square brackets [ ] in the link cause these links to break in wikitext
Open, Needs TriagePublicFeature

Description

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

The square brackets in the link make it unlinkable in wikitext (and on phabricator too). For example, I could not link this https://glamtools.toolforge.org/glamorous.php?doit=1&category=Videos_by_Terra_X&use_globalusage=1&show_details=1&projects[wikipedia]=1&projects[wikimedia]=1&projects[wikisource]=1&projects[wikibooks]=1&projects[wikiquote]=1&projects[wiktionary]=1&projects[wikinews]=1&projects[wikivoyage]=1&projects[wikispecies]=1&projects[mediawiki]=1&projects[wikidata]=1&projects[wikiversity]=1 on a descriptive text here.

Please replace these square brackets.

The issues tab of the Glamorous tool redirects here to phabricator. I think it would be better of these tools were moved to GitHub (or GitLab) and issues be tracked there (see script to migrate issues from bitbucket to github or at least the issues to phabricator). That would also make it more likely that other developers contribute to these useful tools (and also for users to report bugs).

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):

Linking glamorous scans in wikitext, which could be on category pages, talk page discussions, file descriptions, or elsewhere.

Benefits (why should this be implemented?):

Any other character could be used except the one that makes it impossible to link it on text. This would make it possible to link glamorous scans which is useful for all sorts of things.

Event Timeline

JJMC89 added a subscriber: Magnus.

Finally at least a workaround has been found: replacing the [ with [ and ] with ]. (This can be done with the wikitext search and replace in the top right of the source editor.)

Since most people don't know of this workaround and it can be quite impeding to have to implement this especially for links with many brackets, replacing that char with sth else would still be a useful thing to implement (the old links would still have to work though). I'd suggest simply also allowing round brackets i.e.: ) and ( .