Page MenuHomePhabricator

Create archive procedure for scripts
Open, Needs TriagePublic

Description

As discussed in T221801 (https://etherpad.wikimedia.org/p/hackathon-2019-pywikibot), there are so many scripts noone uses (anymore).

The following strategy was proposed and was supported by the participants:

  • Let anyone suggest a script to be deprecated (perhaps as a subtask of this?)
    • these scripts can no longer be needed, are not used (read it from WMF logs would be awesome), or never worked properly, perhaps are too specific.
    • don't forget non-WMF wikis can still use scripts WMF wikis don't need anymore.
    • also don't forget there are scripts, which are not used much, but once in a while you really appreciate their existence
    • finally please avoid author blindness. If you created a script, but it is not used, it should not be in the library
  • If the reason does make sense, move the script to archive folder and set the deprecation note in it:
    • There are concerns the script is not needed and if noone speaks up, it will be removed from framework in xx/yy/zz (year after).
  • If noone speaks up/protests in the year, remove the script completely.

(please improve if I misunderstood something)

Active scripts in scripts folder (Please mark it with [x] if you need it)

  • add_text.py
  • archivebot.py
  • basic.py
  • blockpageschecker.py
  • capitalize_redirects.py
  • casechecker.py
  • catall.py
  • category.py
  • cfd.py
  • checkimages.py
  • claimit.py
  • clean_sandbox.py
  • commonscat.py
  • commons_link.py
  • coordinate_import.py
  • cosmetic_changes.py
  • create_categories.py
  • data_ingestion.py
  • delete.py
  • disambredir.py
  • djvutext.py
  • editarticle.py
  • fixing_redirects.py
  • flickrripper.py
  • followlive.py
  • freebasemappingupload.py
  • harvest_template.py
  • illustrate_wikidata.py
  • image.py
  • imagecopy.py
  • imagecopy_self.py
  • imageharvest.py
  • imagerecat.py
  • imagetransfer.py
  • imageuncat.py
  • interwiki.py
  • interwikidata.py
  • isbn.py
  • listpages.py
  • login.py
  • lonelypages.py
  • makecat.py
  • match_images.py
  • misspelling.py
  • movepages.py
  • ndashredir.py
  • newitem.py
  • noreferences.py
  • nowcommons.py
  • pagefromfile.py
  • patrol.py
  • piper.py
  • protect.py
  • redirect.py
  • reflinks.py
  • replace.py
  • replicate_wiki.py
  • revertbot.py
  • selflink.py
  • shell.py
  • solve_disambiguation.py
  • spamremove.py
  • standardize_interwiki.py
  • states_redirect.py
  • surnames_redirects.py
  • table2wiki.py
  • template.py
  • templatecount.py
  • touch.py
  • transferbot.py
  • unlink.py
  • unusedfiles.py
  • upload.py
  • version.py
  • watchlist.py
  • weblinkchecker.py
  • welcome.py
  • wikisourcetext.py

Event Timeline

Dvorapa created this task.Sun, May 19, 1:42 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptSun, May 19, 1:42 PM
Xqt added a subscriber: Xqt.Sun, May 19, 3:17 PM
Xqt updated the task description. (Show Details)Sun, May 19, 4:05 PM
Xqt updated the task description. (Show Details)Sun, May 19, 4:16 PM

I added the complete scripts list. All needed scripts can be marked with [x] here. Unmarked scripts may be archived probably but they don't need further development currently.

Xqt updated the task description. (Show Details)Sun, May 19, 4:20 PM
Dvorapa updated the task description. (Show Details)Sun, May 19, 4:23 PM

(no need to list wanted scripts, if someone speaks up, we can just revert its deprecation and missing scripts are a different task)

Dvorapa updated the task description. (Show Details)Sun, May 19, 4:27 PM
JJMC89 updated the task description. (Show Details)Sun, May 19, 6:56 PM
JJMC89 added a subscriber: JJMC89.Sun, May 19, 7:14 PM

My most frequently used scripts:

  • category.py
    • Used by my bot via a rewrite of cfd.py.
    • If no one else uses this (or I get around to implementing multiple merge targets), I'll write my own without many of the complexities.
  • delete.py
  • movepages.py
  • template.py
  • touch.py
Multichill updated the task description. (Show Details)Sun, May 19, 7:22 PM
Multichill updated the task description. (Show Details)
  • category.py
    • Used by my bot via a rewrite of cfd.py.
    • If no one else uses this (or I get around to implementing multiple merge targets), I'll write my own without many of the complexities.

My most used scripts are replace.py, basic.py (as a template) and category.py.

If you have some rewritten cfd.py, which works better than currently not even working Pywikibot's cfd.py, please share it with Pywikibot! :)

Dvorapa updated the task description. (Show Details)Sun, May 19, 7:45 PM

If you have some rewritten cfd.py, which works better than currently not even working Pywikibot's cfd.py, please share it with Pywikibot! :)

My script is here. I don't think it'll fix the issues that you have with cfd.py though.

Framawiki updated the task description. (Show Details)Sun, May 19, 8:54 PM
JAnD updated the task description. (Show Details)Sun, May 19, 8:55 PM
JAnD added a subscriber: JAnD.
Dvorapa updated the task description. (Show Details)Sun, May 19, 9:00 PM