Thread:Extension talk:Realnames/BugFix for foreign wiki

Hi,

Thank you for your extension. I encountered a bug because i'm using a French Mediawiki (v 1.20.2) Apparently the detection of i18n namespace doesn't include the trailing colon ":", so it didn't match correctly on the RecentChanges page. Although it worked fine on the Personnel page link (at the top).

I found a patch, which i paste here in case someone needs it :

File Realnames.body.php, method getNamespacePrefixes, (around line 235, just before the "clean up" comment) Put this code :

Beware this code wasn't fully tested and can be buggy. I hope Olivier Beaton can check this out and release a patched version.

Thank you.