From 5d5ed8f713bbca367b27825ab29314f33282e984 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Thu, 2 Apr 2026 16:15:00 +0900 Subject: [PATCH] fix dict iteration --- scripts/protect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/protect.py b/scripts/protect.py index fa2455abf21..0b72b06abb0 100644 --- a/scripts/protect.py +++ b/scripts/protect.py @@ -81,7 +81,7 @@ def main(): else: protect_non_existing_pages(session, new_commons_modules) else: - for wiki, new_modules in files_to_protect_by_wiki: + for wiki, new_modules in files_to_protect_by_wiki.items(): with MediaWikiSession(wiki) as session: protect_existing_pages(session, new_modules)