[pywikibot] Alternative tags for italic and bold with mwparserfromhell?

2023-02-06 Thread Roy Smith
I want to turn wikitext into HTML for display on a web front-end I'm building. For what I'm doing, all I need is a few constructs like wiklinks, bold, and italic, which I'm able to do with a smallish amount of mwparserfromhell code. The one annoyance I've got now is I'm using bootstrap

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Zoran Dori
Correct command for Windows is git update-git-for-windows. пон, 6. феб 2023. у 22:25 Bináris је написао/ла: > I found the real command: > git --version > git version 2.8.2.windows.1 > > A page says that git update should work, but it is also an unknown > command. >

[pywikibot] Re: Cannot push my commit

2023-02-06 Thread Bináris
Just for test I tried git push instead of review. It asked for my user name and password, and I got this (password is correct, I just logged in to gerrit in browser): c:\Pywikibot-dev\core>git push warning: failed to probe 'https://gerrit.wikimedia.org/' to detect provider warning: An error

[pywikibot] Re: Alternative tags for italic and bold with mwparserfromhell?

2023-02-06 Thread Kunal Mehta
Hi, On 2/6/23 18:59, Roy Smith wrote: That only works on the content of an entire page, doesn't it?  I've just got a short snippet of wikitext that I've already parsed out of a page. Nope, it works for any piece of wikitext you want.  Specifically, a proposed DYK hook, such as: that

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
No, it is not the latest. I dod not thnk this can cause such a strange message. Unknown option: -v Zoran Dori ezt írta (időpont: 2023. febr. 6., H, 22:10): > Hello, > I'm not having this issue on my laptop/server and others. Are you sure > that you are using the latest version of the git

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
OK, now I have tha latest git, fail again: c:\Pywikibot-dev>git clone --recursive --branch stable --depth 3 https://gerrit.wikimedia.org/r/pywikibot/core.git Cloning into 'core'... remote: Counting objects: 599, done remote: Finding sources: 100% (599/599) remote: Getting sizes: 100% (507/507)

[pywikibot] Re: Alternative tags for italic and bold with mwparserfromhell?

2023-02-06 Thread Roy Smith
That only works on the content of an entire page, doesn't it? I've just got a short snippet of wikitext that I've already parsed out of a page. Specifically, a proposed DYK hook, such as: > that '''[[Edward A. Hanna]]''' wanted to eliminate the [[New York State > Assembly]] while he served

[pywikibot] Re: Cannot push my commit

2023-02-06 Thread Kunal Mehta
Hi, On 2/6/23 19:14, Bináris wrote: Just for test I tried git push instead of review. It asked for my user name and password, and I got this (password is correct, I just logged in to gerrit in browser): For pushing over HTTPS, it uses a different password than your login one. See

[pywikibot] Re: Alternative tags for italic and bold with mwparserfromhell?

2023-02-06 Thread Roy Smith
Cool, thanks. > On Feb 6, 2023, at 8:05 PM, Kunal Mehta wrote: > > Hi, > > On 2/6/23 18:59, Roy Smith wrote: >> That only works on the content of an entire page, doesn't it? I've just got >> a short snippet of wikitext that I've already parsed out of a page. > > Nope, it works for any

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Zoran Dori
Hello, I'm not having this issue on my laptop/server and others. Are you sure that you are using the latest version of the git package? Can you run git -v in your command line and send it here? Best regards, Zoran пон, 6. феб 2023. у 21:57 Bináris је написао/ла: > > I try to install Pywikibot

[pywikibot] Re: Alternative tags for italic and bold with mwparserfromhell?

2023-02-06 Thread Kunal Mehta
Hi, On 2/6/23 15:27, Roy Smith wrote: I want to turn wikitext into HTML for display on a web front-end I'm building.  For what I'm doing, all I need is a few constructs like wiklinks, bold, and italic, which I'm able to do with a smallish amount of mwparserfromhell code. The one annoyance

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
I found the real command: git --version git version 2.8.2.windows.1 A page says that git update should work, but it is also an unknown command. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at

[pywikibot] Cannot push my commit

2023-02-06 Thread Bináris
Hi, I worked really lot to be able to commit, but nothing helps. I have Windows. My gerrit user is binbot, the SSH key is set. git config --global gitreview.remote origin git config --global gitreview.username binbot Pageant is running, and the key is loaded. I never used it with git, it worked

[pywikibot] Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
I try to install Pywikibot with git, following https://www.mediawiki.org/wiki/Manual:Pywikibot/Development and https://www.mediawiki.org/wiki/Gerrit/Tutorial When it comes to git clone, I keep getting this: Cloning into 'core'... fatal: unable to access

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
Zoran Dori ezt írta (időpont: 2023. febr. 6., H, 22:32): > Correct command for Windows is git update-git-for-windows. > No, my install is too old for that, this says that prior to 2.14 I have to completely uninstall and reinstall, oh ˇ˘#@@{ˇ^°#{ https://phoenixnap.com/kb/how-to-update-git Thank

[pywikibot] Re: Gerrit problem – certificate has expired

2023-02-06 Thread Bináris
I wwish we were back on Sourceforge when things were still simple. I hate this struggle for being able to work anything. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at

[pywikibot] Re: Cannot push my commit

2023-02-06 Thread Bináris
One clue. I tried to ssh from git bash window as written on https://www.mediawiki.org/wiki/Gerrit/Tutorial For some reasons, it is looking for my SSH key in obscure non-existing directories. I don't know where comes this idea from. Maybe pageant is useless? How can I set the pass to my key? $

[pywikibot] Re: Cannot push my commit

2023-02-06 Thread Bináris
Kunal Mehta ezt írta (időpont: 2023. febr. 7., K, 2:03): > Hi, > > > For pushing over HTTPS, it uses a different password than your login > one. See . > Thank you, Kunal! That causes another error. 1. I told git remote set-url origin

[Pywikipedia-bugs] [Maniphest] [Edited] T328900: Pywikibot logs despite -nolog

2023-02-06 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T328900 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra,

[Pywikipedia-bugs] [Maniphest] [Created] T328900: Pywikibot logs despite -nolog

2023-02-06 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: - Decrease the space on your device :-) - Run pwb.py with -nolog **What happens?**:

[Pywikipedia-bugs] [Maniphest] [Commented On] T327283: Create on-wiki content for the How to host a bot on Toolforge workshop

2023-02-06 Thread KBach
KBach added a comment. After working on this for a while (T327283 ) I've come to the conclusion that this task has somewhat contradictory goals. If we focus on self-study materials aimed at learners and try to minimize duplication of content,

[Pywikibot-commits] [Gerrit] ...i18n[master]: Localisation updates from https://translatewiki.net.

2023-02-06 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/886875 ) Change subject: Localisation updates from https://translatewiki.net. .. Localisation updates from https://translatewiki.net.

[Pywikipedia-bugs] [Maniphest] [Commented On] T328814: Login retrieves token from incorrect location

2023-02-06 Thread chiefgeek157
chiefgeek157 added a comment. Here is a hand-built "log" based on print statements I previously inserted in a local copy. at line 406, here is the data: self.action = 'login' login_result = { 'warnings': { 'main': { '*':

[Pywikipedia-bugs] [Maniphest] [Commented On] T328814: Login retrieves token from incorrect location

2023-02-06 Thread chiefgeek157
chiefgeek157 added a comment. More info. Lines marked >>>RJC>>> are my debug prints. % pwb login >>>RJC>>> APISite.version() >>>RJC>>> SiteInfo._get_general(key=generator, expiry=1 day, 0:00:00 >>>RJC>>> general not in self._cache >>>RJC>>> forcing >>>RJC>>> props:

[Pywikipedia-bugs] [Maniphest] [Edited] T328900: Pywikibot logs despite -nolog

2023-02-06 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T328900 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra,