Page MenuHomePhabricator

UAA for eswiki
Open, LowPublic

Description

Currently it's not correctly configured. Let us know if it can be customized for eswiki and if we can help with that. Thinking on changing the page as well. Regards.

Event Timeline

alex@alex-laptop:~/Development/huggle3-qt-lx (T36625)$ git grep UAATemplate
huggle/projectconfiguration.hpp:            QString                 UAATemplate = "* {{user-uaa|1=$1}} $2 ~~~~";
huggle/uaareport.cpp:    this->ta = this->User->GetSite()->GetProjectConfig()->UAATemplate;

We seem to be lacking any mechanism to override this UAATemplate text from the project's configuration.

@MarcoAurelio: What should it have added, in terms of $1 (username) and $2 (reason)?

Hello @Krenair and thanks for your reply. Correct syntax would've been:

{{subst:Reportevandalismo
| 1 = $1 (username)
| 2 = $2 (reason)
}}

Signature is added automatically when substing the template.

If possible, no underscores (_) should be used. Also, let me know if translations of the reasons, etc. is needed. And sorry for the late reply but I'm having little free time lately. Thank you.

If possible, no underscores (_) should be used.

Not sure about that, let's handle it separately.

Also, let me know if translations of the reasons, etc. is needed.

I don't think so.

And sorry for the late reply but I'm having little free time lately. Thank you.

What? You answered the very next day... Even if you hadn't, there's no rush

Thanks. Will also watch that upstream PR.

The commit has been merged and I've added the line to the eswiki project config. So new builds of Huggle from now on should do this properly.

Petrb changed the task status from Open to Stalled.May 8 2017, 5:53 PM
Petrb triaged this task as Low priority.
Petrb subscribed.

You can get latest builds of huggle here: https://petr.insw.cz/huggle/

It's working but the English parts should be translated.

Aklapper changed the task status from Stalled to Open.May 12 2020, 8:51 PM

There is no open question in this task hence resetting task status