Nikhil07prakash added a comment.
In T175451#5039684 <https://phabricator.wikimedia.org/T175451#5039684>, @Xqt wrote: > the basic is very simple: in pwb.py line 200 `scripts` contains all given scripts. global `filename` contains the given filename shortcut. You can then create a list of all matching scripts like > > similar_scripts = [script for script in scripts if script.startswith(filename)] > > > Maybe the patches of T217195 <https://phabricator.wikimedia.org/T217195> should be merged first. Does the `filename` contains partial text entered after `python pwb.py`, which we can use to find similar scripts when [Tab] is pressed. TASK DETAIL https://phabricator.wikimedia.org/T175451 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikhil07prakash Cc: Nikhil07prakash, Zoranzoki21, Xqt, Framawiki, Aklapper, pywikibot-bugs-list, Dvorapa, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
