jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/331839 )
Change subject: Add 'Bilde' as a namespace alias for file namespace of nn Wikipedia ......................................................................
Add 'Bilde' as a namespace alias for file namespace of nn Wikipedia
According to T154955 nb has been defined as language fallback for nn. This means that the 'Blake' namespace alias which has been been defined for nb, is now also available on nn. Length of image_namespace will be increased by one.
Bug: T154947 Change-Id: I18d8a729746f6f543e9a15a3e94cf665ea855b99 --- M tests/site_tests.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Magul: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/site_tests.py b/tests/site_tests.py index 9d47b58..2c8744e 100644 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -2438,8 +2438,8 @@ self.assertEqual(str(image_namespace), ':File:') self.assertEqual(image_namespace.custom_prefix(), ':Fil:') self.assertEqual(image_namespace.canonical_prefix(), ':File:') - self.assertEqual(image_namespace.aliases, ['Image']) - self.assertEqual(len(image_namespace), 3) + self.assertEqual(sorted(image_namespace.aliases), ['Bilde', 'Image']) + self.assertEqual(len(image_namespace), 4)
self.assertEqual(len(namespaces[1].aliases), 0) self.assertEqual(len(namespaces[4].aliases), 1)
pywikibot-commits@lists.wikimedia.org