Aram added a comment.

  Hi @Dumbledore,
  
  Thank you for working on this. I updated `delinker.py` with your patch and 
tested it locally. The results are mixed:
  
  **Fixed:**
  
  - The `WARNING: "since" is not a valid option. It was ignored.` no longer 
appears when omitting the `-since` argument.
  - The page title is now correctly displayed before the filenames.
  
  **Remaining Issues:**
  
  - The bot still fails to remove the deleted files, just as it did before.
  
  Here are some sample outputs from the test:
  
  The file called in an infobox image parameter:
  
    >>> ٢٠٠١: ئۆدێسەی بۆشایی ئاسمان <<<
    
    >>> ٢٠٠١: ئۆدێسەی بۆشایی ئاسمان <<<
        Delinking پەڕگە:2001 A Space Odyssey (1968) theatrical poster 
variant.jpg
        No changes were needed
    No changes were needed on [[ckb:٢٠٠١: ئۆدێسەی بۆشایی ئاسمان]]
  
  The file called in a `<gallery>` tag:
  
    >>> ئالماتی <<<
    
    >>> ئالماتی <<<
        Delinking پەڕگە:Almaty 13.jpg
        No changes were needed
    No changes were needed on [[ckb:ئالماتی]]
  
  **Regarding the output logs:**
  By default, Pywikibot already displays the page titles, `No changes were 
needed on [[langcode:Page title]]` and success messages. The custom print lines 
introduced in the patch create redundancy, as shown in the logs above. We 
should probably remove them.
  
  Apologies for the delay in getting back to you.

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

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