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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=72941
JAn Dudík jan.dudik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.dudik@gmail.com
--- Comment #1 from JAn Dudík jan.dudik@gmail.com --- Is there some special need? MediaWiki adds this nbsp directly to html code of page..
https://bugzilla.wikimedia.org/show_bug.cgi?id=72941
--- Comment #2 from Benjamín Valero benjavalero@gmail.com --- OK, I understand now. Please, could you give a link so I can report it to the Spanish style guidlines?
Anyway, the second part of the bug is still valid, because the help comment of the method is wrong.
pywikipedia-bugs@lists.wikimedia.org