[Wikitech-l] Pywikibot login session period

2021-03-25 Thread Shrinivasan T
Hello all,

 I am exploring pywikibot to write few bots.

When importing it as a library in my python code, on initial execution it
asks to login to the relevant wiki site.

Then it works as expected.

How long this login session is stored?

Is one time login enough?
Will it ask to login after some time?


How to run this in a daily cron job on any remote server, if the session
persistence is some limited time.

Share some thoughts on this.

Thanks.
Shrini
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] [Train] 1.36.0-wmf.36 rolled back from group 1/2

2021-03-25 Thread Antoine Musso

Hello,

The 1.36.0-wmf.36 version of MediaWiki is blocked. The few blockers from 
Wednesday got addressed and we rolled to group 1 again.  Today I have 
deployed to group 2 and then finally rolled back BOTH group 1 and 2.


The new blockers:

* FlaggedRevs: PHP Notice: Undefined index: status
  https://phabricator.wikimedia.org/T278478

Impact unknown to me. It might well cause user facing issue on enwiki. 
That is worth rolling back group 2.



* Translate\PageTranslation\ParserOutput::sourcePageTextForRendering() 
must be an instance of Language, instance of StubUserLang given

  https://phabricator.wikimedia.org/T278429

Which I filed earlier today as part of log triage. We did not 
immediately recognized it prevented edits on pages using Translate. 
Notably on metawiki.   That is worth rolling back group 1.



* User not found by actor ID: [id]
  https://phabricator.wikimedia.org/T277795

Which is from last week. It still had at least one occurrence for the 
brief time we had 1.36.0-wmf.36 on all wikis.


Once these issues are resolved the train can resume and we can try 
pushing 1.36.0-wmf.36 to all wikis.



1.36.0-wmf.36 general task:
https://phabricator.wikimedia.org/T274940

Thank you for your assistance.


--
Antoine "hashar" Musso

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Test Mailman3 in production

2021-03-25 Thread Amir Sarabadani
Hello,

tl;dr: https://lists-next.wikimedia.org is running mailman3. Please help us
test the software before we upgrade the real mailing list server.

Kunal and I have been working on deploying the new mailman (version 3) to
replace mailman2 serving https://lists.wikimedia.org and powering all of
our mailing lists.

Mailman2 is a dinosaur that should have gone extinct years ago. Pretty old
user interface (especially for admins and moderators), storing passwords in
plain text, lack of any database (everything is file on disk), pretty old
code, lack of ability to search in archives or send email from web
interface, running on EOL python (python2), encoding issues with non-Latin
languages, hard to redact archives, and the list goes on and on.

The new version has been developed/puppetized/tested in the Cloud and is
now ready for proper testing! Give it a try:
https://lists-next.wikimedia.org. We have created some mailing lists you
can join and can test. If you want to test the experience as a list
administrator/moderator, we can give those permissions out as well.

WARNING: All data on the lists-next server will be deleted after the test
period is over.

We will also need help updating documentation on wikis and elsewhere.

If you find any bugs/issues (yay!), please file a ticket in the
“Wikimedia-Mailing-lists” Phabricator project and we’ll check it out.

In the coming days/weeks will also import some public mailing lists from
the old version to the new version to check archive size, search index
size, and other aspects. There are other TODOs left as well like
monitoring, logging, anti-abuse, etc.

Slowly and after testing (hopefully soon), we expect to deploy this on
lists.wikimedia.org and mailing lists one by one or in batches can be
upgraded to the 21st century.

The overall task tracking this project is T52864
 and a big thank you people who
are helping this move forward.

Regards,

Kunal and Amir
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Extension! Re: Wikimedia Developer Satisfaction Survey - 2021!

2021-03-25 Thread Michael Schönitzer
Hi,


> tl;dr: It's time for the annual Developer Satisfaction Survey! *This
>> survey is for everyone who uses any of the tools or services mentioned
>> below*, whether you would call yourself a "developer" or not. *Closing
>> date is March 24th.*
>>
>
As a feedback to the survey:
The survey contains *mandatory* questions to rate one's satisfaction with
each of these services. How should one rate the satisfaction with a service
that one does not use at all? At least for my perception this is not
possible and therefore the survey is only suitable for everyone who uses
*all* listed services at least to some point.
I wonder what is the motivation for making these questions mandatory? As a
user I am often frustrated by those, because I have the choice to
either cancel filling out the form, or risk to dilute the results.

Cheers,
 M


> *The survey*: https://forms.gle/xj2jNUcP7kmSgtwV8
>>
>> Longer:
>> The Wikimedia Foundation is soliciting your feedback to measure developer
>> satisfaction and determine where to invest resources in the future. This is
>> the third iteration of this survey. We want feedback from everyone who uses
>> any of the below tools or services, whether you call yourself a "developer"
>> or not.
>>
>> Topics covered include:
>> * Local Development Environment
>> * Beta Cluster / Staging Environment
>> * Testing / CI
>> * Code Review
>> * Deployments
>> * Account Management and Onboarding
>> * Observability
>> * Phabricator
>> * Developer documentation
>> * General Feedback
>>
>> We are soliciting feedback from all Wikimedia developers, including
>> Staff, 3rd party contributors and volunteer developers. *The survey will
>> be open for a little over 2 weeks, closing on Wednesday March 24th.*
>>
>> NOTE: This survey will be conducted via a third-party service, which may
>> be subject to additional terms. For more information on privacy and
>> data-handling, see the survey privacy statement
>> https://foundation.wikimedia.org/wiki/Developer_Satisfaction_Survey_Privacy_Statement
>>
>> *To participate in this survey, please start here:*
>>
>> https://docs.google.com/forms/d/e/1FAIpQLSfJCzxixT1wHCIgI5PijIMQvcIqDbsDTYbbDoxXaYcyF8RhJg/viewform?usp=sf_link
>>
>> Thank you for your participation,
>>
>> Greg
>>
>> --
>> | Greg Grossmeier  GPG: B2FA 27B1 F7EB D327 6B8E |
>> | Dir. Engineering Productivity A18D 1138 8E47 FAC8 1C7D |
>>
>
>
> --
> | Greg Grossmeier  GPG: B2FA 27B1 F7EB D327 6B8E |
> | Dir. Engineering Productivity A18D 1138 8E47 FAC8 1C7D |
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>


-- 
*M. F. Schönitzer** (they/them)*
Community Communication

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin

Tel. (030) 219 158 26-0

https://wikimedia.de

Unsere Vision ist eine Welt, in der alle Menschen am Wissen der Menschheit
teilhaben, es nutzen und mehren können. Helfen Sie uns dabei!

https://spenden.wikimedia.de

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!

https://spenden.wikimedia.de

Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l