the bug has been introduced recently. closing ]] are missing in interwiki links that contain references to sections, so bots do corrupt interwiki changing from [[xx:page#section]] to just [[xx:page#section
Pywikipedia [http] trunk/pywikipedia (r8653, 2010/10/14, 21:04:45)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
done in r8656