jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/579759 )
Change subject: [cleanup] Remove "panoramio" and "special_page_limit" settings in config2.py ......................................................................
[cleanup] Remove "panoramio" and "special_page_limit" settings in config2.py
With I570d822dc a deprecation warning is printed if a deprecated variable is set inside user-config.py but not exists in config2.py
Change-Id: Ic0025b602d01837172ef80fc32772cd9b847d6c7 --- M pywikibot/config2.py 1 file changed, 3 insertions(+), 9 deletions(-)
Approvals: Dvorapa: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/config2.py b/pywikibot/config2.py index 0b7b20a..328ac84 100644 --- a/pywikibot/config2.py +++ b/pywikibot/config2.py @@ -111,9 +111,9 @@ # to other modules.
_private_values = {'authenticate', 'db_password'} -_deprecated_variables = {'use_SSL_onlogin', 'use_SSL_always', - 'available_ssl_project', 'fake_user_agent', - 'special_page_limit', 'sysopnames', 'proxy'} +_deprecated_variables = {'available_ssl_project', 'fake_user_agent', + 'panoramio', 'proxy', 'special_page_limit', + 'sysopnames', 'use_SSL_onlogin', 'use_SSL_always'}
# ############# ACCOUNT SETTINGS ##############
@@ -903,12 +903,6 @@ # This section contains configuration options that are no longer in use. # They are kept here to prevent warnings about undefined parameters.
-panoramio = { - 'review': False, # Do we use automatically make our uploads reviewed? - 'reviewer': '', # If so, under what reviewer name? -} - -special_page_limit = 500 sysopnames = collections.defaultdict(dict)
# #############################################
pywikibot-commits@lists.wikimedia.org