[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Change ar.wiki ping prefix
Closed, ResolvedPublic

Description

⚠️Work on this task cannot begin until T263266 is resolved.


This task is about making it so pings created at ar.wiki in the Reply Tool's visual mode look as follows: [[User:USERNAME|USERNAME]]◀

Background

T258743 made it so the < character is pre-pended to pings made using the Reply Tool's visual mode at ar.wiki while T263266 is being resolved.

Behavior

  1. Visit a page on ar.wiki like: https://ar.wikipedia.org/wiki/%D9%86%D9%82%D8%A7%D8%B4_%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%85%D8%B4%D8%B1%D9%88%D8%B9_%D8%A3%D8%AF%D9%88%D8%A7%D8%AA_%D8%A7%D9%84%D9%85%D8%AD%D8%A7%D8%AF%D8%AB%D8%A7%D8%AA
  2. Click on a [ reply ] link
  3. In the Reply Tool's visual mode type @
  4. Search for a username by typing some characters
  5. Notice the @ remains in the tool's text input area along with the characters you are typing
  6. Select a username from the username suggestion list by pressing

Actual

  1. ❗️Notice the following appears in the Reply Tool's text input: USERNAME<

Desired

  1. ✅ Notice the following appears in the Reply Tool's text input: USERNAME◀; this should appear in wikitext as follows: [[User:USERNAME|USERNAME]]◀

Done

  • "Desired" behavior is implemented

Event Timeline

Looks like this has already been in place for a while – https://ar.wikipedia.org/wiki/ميدياويكي:Discussiontools-replywidget-mention-prefix is . It's defined this way on Translatewiki rather than a local override: https://translatewiki.net/wiki/MediaWiki:Discussiontools-replywidget-mention-prefix/ar (so it applies to all wikis in Arabic language, rather than only Arabic Wikipedia).

It looks like the translation has a no-break space after the symbol – @Dyolf77_WMF is this intentional and still needed after T263266?

@matmarex yes this is intentional, I wanted some space between the symbol and the username.

ppelberg claimed this task.