kynikos / wiki-monkey

MediaWiki-compatible bot and editor assistant running directly in the browser and expandable with plugins.
https://github.com/kynikos/wiki-monkey/wiki
GNU General Public License v3.0
15 stars 5 forks source link

FixBacklinkFragments and FixFragments: underscores are recognized only in fragment, not in section link #127

Closed lahwaacz closed 11 years ago

lahwaacz commented 11 years ago

Discovered when processing this with the bot (plugin FixBacklinkFragments), but it is applicable to FixFragments too (sorry, don't have any examples right now).

In the output, there is correct warning (page Xmodmap_(简体中文):

Cannot fix broken link fragment: [[Extra Keyboard Keys#Using xev|xev]]

However, no warning about [[Extra_Keyboard_Keys#The_quick_way]] (from page Samsung_N120) is given.

Looks like an additional call to WM.Parser.convertUnderscoresToSpaces() is needed...

kynikos commented 11 years ago

Confirmed, this is a problem in the Parser module and it will probably be convenient to fix it together with #118

kynikos commented 11 years ago

Ok, will be fixed in 1.13.2