Page MenuHomePhabricator

Remove or make messages less specific to English Wikipedia and its pages
Open, LowestPublic

Description

T41401 (Bug 39401) asks to add calls-to-action to invite to the Teahouse. The Teahouse is a particular page on the English Wikipedia. This must not be in the core AFT software. It must be usable on all wikis and languages.

It's perfectly fine to have a link to a page which is like the Teahouse. Wikipedias in many languages have similar pages. But they have different names and URLs, so this must be generic and it configurable by the site's users (probably administrators) and not in the extension's source code or in LocalSettings.

On a related note, the messages mentioned in this ticket are most definitely not the only problematic ones -- a default installation of AFTv5 has 14 (!) messages which point to en.wikipedia.org. Since the majority, if not all, of those are used in JS, just lazily swapping those messages to use {{fullurl:}} or something isn't an option, sadly. Maybe we'll need to totally refactor those parts of the codebase and make use of mw.util.getUrl or somesuch...


Version: unspecified
Severity: normal

Details

Reference
bz39578

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:04 AM
bzimport set Reference to bz39578.
bzimport added a subscriber: Unknown Object (MLST).

The references to the teahouse, right now, look like this:

'articlefeedbackv5-cta6-confirmation-title' => 'Need help editing {{SITENAME}}?',
'articlefeedbackv5-cta6-confirmation-call' => 'To discuss editing on {{SITENAME}}, come to the Teahouse, where new and experienced editors gather to exchange helpful tips.',
'articlefeedbackv5-cta6-button-text' => 'Visit Teahouse',
'articlefeedbackv5-cta6-button-link' => '//en.wikipedia.org/wiki/Wikipedia:Teahouse?ref=aft',

There are no Localsettings or other source code-related references/settings to /for Teahouse. The above i18n messages can be changed by admins by changing the value at /MediaWiki:Articlefeedbackv5-cta6-button-link

Is it ok like this?

(In reply to comment #1 by Matthias)

Is it ok like this?

Amir: ping?

[Lowering priority to reflect reality, as AFTv5 is not very actively being worked on anymore.]

Jdforrester-WMF subscribed.

All development work on AbuseFilter v.5 (and indeed, previous versions) is halted. The project is archived, so having open tasks is inappropriate. Consequently, I'm closing all tasks.

Nemo_bis updated the task description. (Show Details)
Nemo_bis set Security to None.
Nemo_bis added a subscriber: ashley.
SamanthaNguyen renamed this task from remove messages specific to English Wikipedia pages to Remove or make messages less specific to English Wikipedia and it's pages.Jan 5 2017, 9:56 AM
SamanthaNguyen added a project: Technical-Debt.
SamanthaNguyen subscribed.
Ricordisamoa renamed this task from Remove or make messages less specific to English Wikipedia and it's pages to Remove or make messages less specific to English Wikipedia and its pages.Mar 6 2017, 1:11 AM