Wikiquote:Tablón de anuncios de los administradores





New special page to fight spam editar

Por favor, ayuda a traducir a tu idioma

Hello, We are replacing most of the functionalities of MediaWiki:Spam-blacklist with a new special page called Special:BlockedExternalDomains. In this special page, admins can simply add a domain and notes on the block (usually reasoning and/or link to a discussion) and the added domain would automatically be blocked to be linked in Wikis anymore (including its subdomains). Content of this list is stored in MediaWiki:BlockedExternalDomains.json. You can see w:fa:Special:BlockedExternalDomains as an example. Check the phabricator ticket for more information.

This would make fighting spam easier and safer without needing to know regex or accidentally breaking wikis while also addressing the need to have some notes next to each domain on why it’s blocked. It would also make the list of blocked domains searchable and would make editing Wikis in general faster by optimizing matching links added against the blocked list in every edit (see phab:T337431#8936498 for some measurements).

If you want to migrate your entries in MediaWiki:Spam-blacklist, there is a python script in phab:P49299 that would produce contents of MediaWiki:Spam-blacklist and MediaWiki:BlockedExternalDomains.json for you automatically migrating off simple regex cases.

Note that this new feature doesn’t support regex (for complex cases) nor URL paths matching. Also it doesn’t support bypass by spam whitelist. For those, please either keep using MediaWiki:Spam-blacklist or switch to an abuse filter if possible. And adding a link to the list might take up to five minutes to be fully in effect (due to server-side caching, this is already the case with the old system) and admins and bots automatically bypass the blocked list.

Let me know if you have any questions or encounter any issues. Happy editing. Amir (talk) 09:41 19 jun 2023 (UTC)Responder[responder]