https://bugzilla.wikimedia.org/show_bug.cgi?id=72941
Bug ID: 72941 Summary: Don't remove non-breaking spaces before percent in Spanish Product: Pywikibot Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: Cosmetic changes Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: benjavalero@gmail.com Web browser: --- Mobile Platform: ---
The Spanish style guidelines (https://es.wikipedia.org/wiki/Wikipedia:Manual_de_estilo#Espacios_duros) now recommends to include a non-breaking space before the percent symbol, but this script removes it.
This part of the script (method removeNonBreakingSpaceBeforePercent) should not be executed if the config lang is Spanish (es).
Besides, the help comment in "core" branch is wrong, because it says "Insert a non-breaking space between number and percent sign.", when the method does the opposite.