Page MenuHomePhabricator

Create variables for site language and server name
Closed, ResolvedPublic


Event Timeline

Daimona created this task.Dec 17 2019, 1:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 17 2019, 1:38 PM

Quick notes: the wiki name should probably be a "static" variable, but I think it would make sense to rename generateStaticVars to generateGenericVars (and also the hook and related docs). Ideally, the same should go for the language.
Also, we need to make sure that these variables will be generated when examining RC entries.

Daimona reopened this task as Open.Dec 17 2019, 3:12 PM

Hah, I was sure we had a duplicate bug! That said, I'd like to keep this bug open for the "site language" part. I think I'll submit a patch shortly.

Daimona claimed this task.Dec 17 2019, 4:01 PM
Daimona removed a project: User-Daimona.

Change 558567 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@master] Add site name and language variables

Change 558567 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Add site name and language variables

Daimona closed this task as Resolved.Feb 11 2020, 9:16 AM