Mjbmr added a comment.
There are different options to solve this:
1. Caching password, which might still have problems with logging in different script which are sharing same cookie file, which each script have to log in again.
2. We can use different cookie files for each user on each site, might people don't know about limiting permissions. also have to do a base64 encode on usernames in case file system might not accept a username as a file name.
3. Writing cookies in different sections on the file, but still have conflict as I described in the number one.
4. Can use SQlite as a cookie database.
TASK DETAIL
https://phabricator.wikimedia.org/T67196
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mjbmr
Cc: Mjbmr, valhallasw, Ricordisamoa, jayvdb, pywikipedia-bugs
XZise changed the title from "Implement ItemPage.makeRedirectPage(self, page)" to "Implement a method to create a ItemPage redirect".
XZise edited the task description.
XZise set Security to none.
TASK DETAIL
https://phabricator.wikimedia.org/T73980
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: Ricordisamoa, Multichill, jayvdb, pywikipedia-bugs
valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added a project: pywikibot-core.
TASK DESCRIPTION
e.g.
```
editor=r'C:/Program Files (x86)/Notepad++/notepad++.exe'
```
would run
```
os.system(r'C:/Program Files (x86)/Notepad++/notepad++.exe -n0 tempfilename')
```
which is interpreted as 'run `c:/program` with arguments `Files`, `(x86)`, ...'.
We should probably switch to subprocess.Popen, and pass the extra parameters as a tuple, i.e., as
```
subprocess.Popen((r'C:/Program Files (x86)/Notepad++/notepad++.exe', '-n0', 'tempfilename'))
```
which should take care of all escaping.
Workarounds:
- Double-quote, i.e. `editor=r'"C:/Program Files (x86)/Notepad++/notepad++.exe"'`
- use 8.3 notation for parts with spaces, i.e. `editor=r'C:/Progra~2/Notepad++/notepad++.exe'`
TASK DETAIL
https://phabricator.wikimedia.org/T86481
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw
Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs