Page MenuHomePhabricator

Don't remove non-breaking spaces before percent in Spanish
Closed, ResolvedPublic


The Spanish style guidelines ( 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.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:44 AM
bzimport set Reference to bz72941.
bzimport added a subscriber: Unknown Object (????).

Is there some special need? MediaWiki adds this nbsp directly to html code of page..

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.

jayvdb claimed this task.

The MediaWiki commit which added the functionality is . It is included in the 1.11 release notes ( ) and the new phabricator task for it is T12334

The help comment was updated in pywikibot core.

It was my fault that message was added incorrectly in October ; thanks for reporting that bug so it was quickly fixed!