Page MenuHomePhabricator

Additional AWB recognition for Russian and other languages
Closed, ResolvedPublic

Description

a wiki-specific regex similar to the one used for ukwiki should be implemented for AutoWikiBrowser on ruwiki. Current AWB edits on ruwiki are done with the tag, but earlier ones had "с помощью AWB" (with a link) appended to the summary.

Examples: 1, 2, the link seems to be "Project:AWB".

Event Timeline

While this is simple to add to the configuration, as a result of T200791, similar changes have to be done for other projects. Does anybody know where the localisations for AWB can be viewed so that we can batch-import them in some way?

At https://sourceforge.net/p/autowikibrowser/code/HEAD/tree/AWB/WikiFunctions/Variables.cs look for WPAWB inside the SetLanguageSpecificValues function. The default is [[Project:AWB|AWB]].

Thanks, that helps a lot! I'll probably post a list of needed configuration additions right here.

1234qwer1234qwer4 changed the task status from Open to Stalled.Jan 12 2021, 8:22 PM
1234qwer1234qwer4 changed the task status from Stalled to Open.May 6 2021, 6:14 AM

As I am now an admin on Meta, I could do this. Do I understand it correctly that the edit summary will use mSummaryTag + " " + WPAWB (the default for WPAWB being "[[Project:AWB|AWB]]")?

Yes, so it should be с помощью [[Project:AWB|AWB]] for ruwiki.

Paritally done with https://meta.wikimedia.org/wiki/Special:Diff/21434932. I did import all of the texts to the sandbox config, but did not move Catalan, Hungarian, and Kurdish to production for now as the summary texts do not contain anything like "using", instead having just a plain link to AWB. This was about what we had before T200791 globally, so this shouldn't be that much of a problem locally given that false positives are rare enough to not worry about them, I think. However, I would like to hear about this from @MusikAnimal, who has much more experience with XTools.

Paritally done with https://meta.wikimedia.org/wiki/Special:Diff/21434932. I did import all of the texts to the sandbox config, but did not move Catalan, Hungarian, and Kurdish to production for now as the summary texts do not contain anything like "using", instead having just a plain link to AWB. This was about what we had before T200791 globally, so this shouldn't be that much of a problem locally given that false positives are rare enough to not worry about them, I think. However, I would like to hear about this from @MusikAnimal, who has much more experience with XTools.

Hard to say, but I would think checking for a full link syntax like you did for Hungarian (\[\[Wikipédia:AutoWikiBrowser\|AWB\]\]) is probably safe.

1234qwer1234qwer4 renamed this task from Additional AWB recognition on ruwiki to Additional AWB recognition for Russian and other languages.May 12 2021, 9:47 PM

I had done the same for the other two mentioned languages as well (not sure why you focused on Hungarian specifically). I will copy the regexps to production for now, but if anyone reports some false positives, we could probably check for the end of the edit summary as well (\[\[Wikipédia:AutoWikiBrowser\|AWB\]\]$).