Jump to content

Topic on Extension talk:Discord

Derf Jagged (talkcontribs)

Hello! Is there a way to ignore edits and new pages created when using the Translate extension? Every edit generates two Discord events - one for the "Translations:" namespace, then immediately one for the Page_Name/es ("es" being Spanish).

I thought I might at least be able to block the "Translations:" namespace one by setting:

$wgDiscordDisabledNS = ['1198'];

But that doesn't appear to work either.

Jaydenkieran (talkcontribs)

$wgDiscordDisabledNS requires an array of integers, rather than a string. Try changing it, and let me know if you still have problems!

Derf Jagged (talkcontribs)

I also tried:

$wgDiscordDisabledNS = [ 1198 ];

And it didn't seem to work either. Is that the format it should be in?

ProbablePrime (talkcontribs)

I use <code>$wgDiscordDisabledNS = [1198, 1199]; // Translations</code>

I have it AFTER <code>wfLoadExtension( 'Discord' );</code>

1199 is the Translations:Talk namespace.

Try that :)

Derf Jagged (talkcontribs)

That did the trick, thanks!