[Pywikipedia-bugs] [Maniphest] [Commented On] T284577: Cannot login to private wiki using BotPassword

2021-06-09 Thread ChrisBlomTS
ChrisBlomTS added a comment.


  I'm trying to submit a PR via gerrit, but get this error:
  
2021-06-09 17:46:27.819193 Running: git config --get gitreview.remote
2021-06-09 17:46:27.820819 ... gitreview.remote = origin
2021-06-09 17:46:27.820843 Config['remote'] = origin 
2021-06-09 17:46:27.820857 Running: git config --get gitreview.scheme
2021-06-09 17:46:27.822352 Config['scheme'] = ssh 
2021-06-09 17:46:27.822375 Running: git config --get gitreview.hostname
2021-06-09 17:46:27.823868 Config['hostname'] = gerrit.wikimedia.org 
2021-06-09 17:46:27.823895 Running: git config --get gitreview.port
2021-06-09 17:46:27.825659 Config['port'] = 29418 
2021-06-09 17:46:27.825687 Running: git config --get gitreview.project
2021-06-09 17:46:27.827335 Config['project'] = pywikibot/core.git 
2021-06-09 17:46:27.827368 Running: git log --color=never --oneline 
HEAD^1..HEAD
2021-06-09 17:46:27.829527 Running: git remote
2021-06-09 17:46:27.831670 Running: git branch -a --color=never
2021-06-09 17:46:27.834175 Running: git rev-parse --show-toplevel --git-dir
2021-06-09 17:46:27.836236 Running: git config --get-colorbool color.review 
true
2021-06-09 17:46:27.838103 Running: git log --color=always --decorate 
--oneline HEAD --not --remotes=origin
2021-06-09 17:46:27.841119 Running: git rev-parse --symbolic-full-name 
--abbrev-ref HEAD
Using local branch name T284577-version-from-family-file for the topic of 
the change submitted
2021-06-09 17:46:27.843139 Running: git push origin 
HEAD:refs/for/master%topic=T284577-version-from-family-file
remote: 
remote: Processing changes: refs: 1
remote: Processing changes: refs: 1, done
To ssh://gerrit.wikimedia.org:29418/pywikibot
 ! [remote rejected] HEAD -> 
refs/for/master%topic=T284577-version-from-family-file (branch master not found)
error: failed to push some refs to 
'ssh://gerrit.wikimedia.org:29418/pywikibot'
2021-06-09 17:46:48.967039 Running: git rev-parse --show-toplevel --git-dir
  
  What am i doing wrong here?
  
  In the mean time here is a patch, will try to get the PR in tomorrow.
  
  F34488423: T284577.patch 

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

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

To: ChrisBlomTS
Cc: Mpaa, Dvorapa, pywikibot-bugs-list, RhinosF1, Urbanecm, Aklapper, 
ChrisBlomTS, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T284577: Cannot login to private wiki using BotPassword

2021-06-09 Thread ChrisBlomTS
ChrisBlomTS added a comment.


  After some experimentation, i've come up with a possible fix:
  
  1. Make it possible to specify the mediawiki version in the family file
  2. If the mediawiki version is specified in the familiy file, use that 
version instead of getting it from the mediawiki server
  
  I've also noticed that `isPublic` in family files is no longer used. 
  I found some old documentation that suggest that overriding isPublic in the 
family file would have a similar effect, but this no longer works: isPublic is 
no longer used.
  
  I can prepare a pull request for this fix, please let me know if this 
approach is acceptable.
  
  I've also tried to delay the lookup of the version until after login, but 
unfortunately the version is also check whenever a request is submitted, so i 
think it is not feasible to fix it that way.

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

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

To: ChrisBlomTS
Cc: Mpaa, Dvorapa, pywikibot-bugs-list, RhinosF1, Urbanecm, Aklapper, 
ChrisBlomTS, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Edited] T120024: [clonable] Add doctests to Pywikibot library documentation

2021-06-09 Thread Xqt
Xqt updated the task description.

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

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

To: Xqt
Cc: maynorc, Shubham656jain, Xqt, Shubhamnaik321, Tokenzero, Nemo_bis, 
Aklapper, jayvdb, pywikibot-bugs-list, Gaurav24072002, Abhinay76, Annysah01, 
Rohitgeddam, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, 
Zkhalido, apaskulin, wiki-helenatxu, Urstrulykkr, Viztor, Wenyi, Kieubinhtb, 
Tks4Fish, Mh-3110, Asad_Ali_Palijo, Cpaulf30, Lahi, Ivana_Isadora, 
Soteriaspace, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
xSavitar, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, 
mys_721tx, Dinoguy1000, Masti, Alchimista, Jay8g
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T120024: [clonable] Add doctests to Pywikibot library documentation

2021-06-09 Thread Xqt
Xqt added a comment.


  In T120024#6501532 , 
@Shubham656jain wrote:
  
  > Hi. If the issue is not taken, I'd like to contribute in it? Please reply!
  
  Sure, you may take it. In meantime there are a lot of other examples, see 
https://codesearch.wmcloud.org/pywikibot/?q=%3E%3E%3E=nope===

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

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

To: Xqt
Cc: maynorc, Shubham656jain, Xqt, Shubhamnaik321, Tokenzero, Nemo_bis, 
Aklapper, jayvdb, pywikibot-bugs-list, Gaurav24072002, Abhinay76, Annysah01, 
Rohitgeddam, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, 
Zkhalido, apaskulin, wiki-helenatxu, Urstrulykkr, Viztor, Wenyi, Kieubinhtb, 
Tks4Fish, Mh-3110, Asad_Ali_Palijo, Cpaulf30, Lahi, Ivana_Isadora, 
Soteriaspace, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
xSavitar, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, 
mys_721tx, Dinoguy1000, Masti, Alchimista, Jay8g
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Closed] T100670: pywikibot/i18n lacks a license

2021-06-09 Thread hashar
hashar assigned this task to revi.
hashar closed this task as "Resolved".
hashar added a comment.
Restricted Application added a project: User-revi.


  I am triaging some tasks I have created years ago.
  
  In T100670#1673977 , @revi 
wrote:
  
  > Translations on TWN are licensed under CC BY 3.0 according to TWN 
Project:About 
.
  >
  >> Translations by translators are licensed CC BY 3.0, and derivative works 
may also be licensed under the licenses of the respective Free and Open Source 
projects the translations have been or will be added to. Content of user pages 
are considered to be "All rights reserved" by the author. All other content is 
licensed CC BY 3.0 unless a different license or copyright is stated explicitly.
  
  That covers my original request which was: which licensing is used?.

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

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

To: revi, hashar
Cc: greg, revi, jayvdb, Ricordisamoa, pywikibot-bugs-list, hashar, Aklapper, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
Slaporte, Masti, Alchimista, Jay8g, Legoktm
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org