On 2022-03-17, add an image was removed from ptwiki (see T302828#7786009 et seq.), because discovered an abusefilter disallows all add an image edits made by the newcomers (see an example). To avoid newcomers being frustrated by their edits not getting published, it was decided to disable add an image, until this issue can be fixed (see the Slack thread for details). We should check with the pt.wiki community about the filter and decide how to fix the issue.
Why are Add an image edits affected by filter 161?
The filter disallows edits having edit summaries that include no-space sequences longer than 20 characters. Because of localized summaries, the filter sees the edit summary as /* growthexperiments-addimage-summary-summary: 1 */, while the history shows Funcionalidade de sugestões de imagens: $1 imagem adicionada. (see relevant system message).
Thanks to the localized edit summaries, Add an image edits match the filter's requirements and are disallowed.
How to fix the filter?
The best option is to ignore edits with localized edit summaries. This can be done by changing the filter's content to:
!'confirmed' in user_groups & !( summary rlike '(HTTPS?://|\[\[.+\]\]|\.[a-z]{2,3}|^/\* )' | page_prefixedtitle irlike '(?:20 anos/Parabéns)' ) & ( ( /* 1 - 30 caracteres ou mais e sem espaço algum 2 - 20 caracteres seguidos sem espaço, ainda que o sumário tenha espaço no seu decorrer */ !( summary irlike '\w+:\w+' ) & ( summary rlike '[^\s\/]{30}' | summary rlike '^/\*.+\*/ ?[^\s\/]{20,}$' | ( !( summary rlike '[\s\/]' ) & length( summary ) > 20 ) ); ) | ( /* 3 - Sem vogal e com oito ou mais letras 4 - Mesmo caractere repetido quatro ou mais vezes no início ou no fim */ summary != '' & ( ( summary irlike '^[^aeiou]{8,}$' & !( summary irlike '^/\*.+\*/' ) ) | summary irlike '^/\*.+\*/ ?[^aeiou]{8,}$' | ( summary irlike '^([^\s])\1{3,}' | summary irlike '([^\s])\1{3,}$' & !( summary rlike '~~~~' | summary rlike '\.{1,4}' ) ) ); ) );