anoexpected added a comment.

  Hi @Xqt , regarding the potential code improvement:
  
  I have analyzed scripts/interwiki.py and located the legacy argument parsing 
in InterwikiBotConfig.readOptions (around line 551-552) where -graph directly 
modifies the global config.interwiki_graph.
  
  Since @NAGAM_SURYA_NARAYANA is working on the documentation, I would like to 
tackle the code refactoring. My plan is to:
  
    Decouple the script from the global config object by adding a graph 
attribute to InterwikiBotConfig.
    
    Update Subject.assemble() to use this local attribute when initializing 
GraphDrawer.
  
  May I be assigned the refactoring part (Other possible improvements) of this 
task?

TASK DETAIL
  https://phabricator.wikimedia.org/T416116

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to