Hi Pywikibot Team,
My name is Ethan Nagano. I am a recent graduate working in industry. In my
current role, I contribute to the development of internal Python tools for
testing industry software.
I am looking for ways to expand outside my current role and this project
seems like a good place to start. I have not contributed to a project like
this before and am excited for the learning experience.
I was referred to this project by https://up-for-grabs.net/#/.
I look forward to working with the team! :)
Thanks,
Ethan Nagano
I'm trying to follow the directions at https://www.mediawiki.org/wiki/Gerrit/Tutorial#How_to_submit_a_patch <https://www.mediawiki.org/wiki/Gerrit/Tutorial#How_to_submit_a_patch>
I made a branch (roysmith-T340447) and committed my patch there. Then I did "git pull --rebase origin master", but when I do "git review -R", it lists a whole bunch of changes that it's going to commit.
> The outstanding commits are:
>
> d2d427f6e (HEAD -> roysmith-T340447) Make test independent of current directory.
> 8d0a3fd85 (origin/master, origin/HEAD) Update git submodules
> be68060bc (master) Update git submodules
> ...
> 3c58add93 fix end of file
> 2b0db6e0a make files with shebangs executable
> 5eb15cc79 [FIX] do not test sys.argv[0]
> 137bcdff5 Update git submodules
>
> Do you really want to submit the above commits?
I don't have any experience using git rebase, so I'm not sure if this is what I should be expecting.
I was used to run bot with command
pwb.py somescript -generator
inside of my pywikibot folder
Now I reinstalled PC and I am not able to run scripts same way, i must type
python pwb.py somescript -generator
I use windows 10
I have in path
C:\Python\
C:\Python\Scripts\
and pywikibot in
D:\pwb\
How to run it again without "python" prefix?
On my second PC it works.
-------
JAnD
The past few days, I've worked on T336630 and T336624, both of which describe failures I was seeing which other people weren't. In both cases, it turned out to be caused by something in my user-config.py. Many of these tests also rely on external resources (i.e. live testing against testwiki or metawiki). I come from a shop where our test environment was hermetic. That eliminated this kind of flakiness due to environmental differences. It's a great way to work, but I recognize that's not what we've got here, and not easy to get to that point.
Given all that, any suggestions on how I should set up a dev environment on my local machine to minimize this kind of problem in the future?
Also, once I figured out what was going on, I closed T336630 as "declined". Was that the right state for "I'm not going to do any more work on this because it turned out to be a problem with the test environment". Should I have used "invalid"? Something else?
Dear Hiring Manager,
I am writing to express my keen interest in the position you have
advertised for gaining real-time experience in Python.
I have experience working with Python on personal projects, which has
allowed me to gain a solid foundation in the language. I am confident in my
ability to quickly learn and adapt to new technologies and work
environments. I am a fast learner and I believe my knowledge of Python will
enable me to quickly integrate into your team and contribute to the ongoing
pywikibot project.
I would greatly appreciate the opportunity to gain real-time experience in
Python and work alongside experienced professionals in the field. Thank you
for your consideration, and I look forward to hearing from you soon.
Sincerely,
AlienTasks
Hi,
I don't think this is a bug, but despite the documentation, I can't find a solution to my problems…
=========
Problem 1
I'm trying to instantiate a `Page` based on its id, but I can't seem to find something that does… The closest to it seems to be "page_from_repository('Q'+pageId)", but I get
"pywikibot.exceptions.UnknownExtensionError: Wikibase is not implemented for [mywikifamily:fr]."
From there on, I don't know what to do.
=========
=========
Problem 2
I'm using a personal wiki, self hosted, where read is for registered users only :
> #Gestion des langues
> $wgPageLanguageUseDB = true ;
> $wgGroupPermissions['sysop']['pagelang'] = true;
>
> # The following permissions were set based on your choice in the installer
> $wgGroupPermissions['*']['edit'] = false; //pour formations = true
> $wgGroupPermissions['*']['read'] = false; //pour formations = true
> # Prevent new user registrations except by sysops
> $wgGroupPermissions['*']['createaccount'] = false;
When I try to connect (I have created a bot for myself, configured my wiki family, my user-config and my user-password). The system refuses :
"pywikibot.exceptions.NoUsernameError: Username '[blabla@blablaBot]' does not have read permissions on [mywikifamily:fr]."
Then, if I comment my access rights, everything works fine. Later on, if I uncomment my access rights, it still works fine. How could I configure my rights without resorting to that strange/dangerous workaround? I have spent hours on that and have not found a solution
=========
Sorry about those personal problems, which are not bugs, and which could be documented. But despite hours of searching, I haven't found out where they would be documented… Thanks to whoever takes the time to read this (let alone, reply…)