Last modified: 2014-11-04 09:20:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74941, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72941 - Don't remove non-breaking spaces before percent in Spanish
Don't remove non-breaking spaces before percent in Spanish
Status: UNCONFIRMED
Product: Pywikibot
Classification: Unclassified
Cosmetic changes (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-04 08:32 UTC by Benjamín Valero
Modified: 2014-11-04 09:20 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Benjamín Valero 2014-11-04 08:32:11 UTC
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.
Comment 1 JAn Dudík 2014-11-04 09:02:59 UTC
Is there some special need? MediaWiki adds this nbsp directly to html code of page..
Comment 2 Benjamín Valero 2014-11-04 09:20:05 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links