Re: [Wikitech-l] Thank you Tuesday

2018-12-04 Thread Pine W
Thanks for doing this. The level of participation in the "What's making you
happy this week?" threads has been a bit disappointing, but I'm glad to see
this initiative for Wikitech-l which I think is in the same spirit.


Pine
( https://meta.wikimedia.org/wiki/User:Pine )


On Tue, Dec 4, 2018 at 3:56 PM MA  wrote:

> Hi,
>
> It's Tuesday (my timezone at least) and this week I'd like to thank the
> following people for their work and assistance:
>
> .- Martin Urbanec: For his tireless work in the Wikimedia-Site-requests &
> Wiki-Setup Phabricator boards, and for his advice in several technical
> issues. He does a lot of wmf-config work, and the result is that our
> requests for site configuration changes no longer takes a lot of time to
> get applied. Thanks a lot.
>
> .- James D. Forrester: For his general work in MediaWiki core and
> extensions, and for sharing its expertise and knowledge with us. He's also
> willing to review my patches and I was never able to thank him properly for
> all the time and advice he's dedicated to help me.
>
> .- Raimond Spekking: For his work in translatewiki.net and his i18n
> expertise, and i18n patch review activities. MediaWiki and its extensions
> are a success in localisation thanks to his work, and that of Niklas and
> the staff of translatewiki.net in general. I appreciate your efforts,
> really.
>
> .- Derrick N. Alangi: I'd like to congratulate him for his recent
> mediawiki +2 access, which is using to actively review lots of patches
> recently, reducing our backlog of patches for review.
>
> Special thanks to the SRE and Security team for their invaluable work as
> well. The same to WMDE for their technical advice regular meetings which
> are very helpful.
>
> Best regards, M.
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Help: setting a property on page save?

2018-12-04 Thread John
What is your end goal?

On Tue, Dec 4, 2018 at 6:52 PM FreedomFighterSparrow <
freedomfighterspar...@gmail.com> wrote:

> I'm trying to solve the following situation: I need to know, for each
> article,
> the last time it was updated by an actual human. MediaWiki keeps track of
> the
> last update to the page, but doesn't take into account whether it was
> performed
> by a bot or a human.
>
> Instead of querying the revision table every time, I thought of saving a
> page
> property and updating it on page save:
> - Is the editor a human*?
>   - Yes: update the property.
>   - No: Do we already have a last real update date saved?
> - Yes: do nothing (keep the last date)
> - No: find the latest revision by a human and save the property
>
>
> The most logical hook seemed to be 'PageContentSaveComplete' or maybe
> 'PageContentInsertComplete', as I only want to do this if the save actually
> went through (if it is failed by something, we shouldn't update).
> My problem is, I don't seem to have a way to set a property from there...
>
> I really don't want to have to create my own table just for this.
> Any ideas how to solve this? Maybe I'm going about it in a cockamamie way?
>
> Thanks,
> - Dror
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Help: setting a property on page save?

2018-12-04 Thread FreedomFighterSparrow
I'm trying to solve the following situation: I need to know, for each
article,
the last time it was updated by an actual human. MediaWiki keeps track of
the
last update to the page, but doesn't take into account whether it was
performed
by a bot or a human.

Instead of querying the revision table every time, I thought of saving a
page
property and updating it on page save:
- Is the editor a human*?
  - Yes: update the property.
  - No: Do we already have a last real update date saved?
- Yes: do nothing (keep the last date)
- No: find the latest revision by a human and save the property


The most logical hook seemed to be 'PageContentSaveComplete' or maybe
'PageContentInsertComplete', as I only want to do this if the save actually
went through (if it is failed by something, we shouldn't update).
My problem is, I don't seem to have a way to set a property from there...

I really don't want to have to create my own table just for this.
Any ideas how to solve this? Maybe I'm going about it in a cockamamie way?

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

[Wikitech-l] Wikimedia Hackathon 2019: Registration Open!

2018-12-04 Thread Rachel Farrand
On behalf of Wikimedia Czech Republic and the Wikimedia Foundation
Community Relations team we are please to announce that registration for
the Wikimedia Hackathon 2019

is now open for both scholarships and regular attendees!

The hackathon will be held at the Czech National Library of Technology
 in
Prague, CZ between 17-19 May 2019.

We have identified three focus areas
 for the
event which we will continue to refine and clarify over the next months. We
welcome your suggestions and collaboration on additional focus areas or
larger projects and as usual welcome participants who plan to work on or
learn about any project that they like related to any area of Wikimedia
Technology.

If you have any questions or comments please contact: *hackat...@wikimedia.cz
*
Otherwise, please continue to follow our program and organizational
developments on Wikimedia Hackathon 2019 on Mediawiki
.

Please help us by forwarding this email to relevant lists!

-- 
Rachel Farrand
Events Program Manager
Technical Collaboration Team
Wikimedia Foundation
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] wmgMonologChannels

2018-12-04 Thread Amir Sarabadani
Hello,
As part of improving of logging for Wikidata, we found this config [1].
There are four things I want to point out:
1- Some of the loggings mentioned here are outdated. Like there is ones
that was added more than six years ago and still logging at debug level.
Some are needed like 'security' but I'm not sure about "cite", "es-hit",
"Cognate", etc. This much of verbosity will reduce our capacity to catch
real issues.
2- There are logging channels like "Bug58676" that still in use [2] but it
might not be needed any more ([3])
3- If you define a logger channel in mediawiki [4] and don't add it here,
all of its logs will go to vein (using "blackhole" logging manger, I like
the name). This should be documented somewhere.
4- There is no way just enable it and fall back its verbosity to default.
Please correct me if I'm mistaken.

I will make tickets regarding points 3 and 4 but I need dear developers'
attention for the log channels. This list of them:
https://phabricator.wikimedia.org/P7885

[1] https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php
[2] https://codesearch.wmflabs.org/search/?q=Bug58676=nope==
[3] https://phabricator.wikimedia.org/T60676
[4] Like LoggerFactory::getInstance( 'ORES' )


Best
-- 
Amir Sarabadani
Software Engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de

Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen
Wissens frei teilhaben kann. Helfen Sie uns dabei!
http://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

Re: [Wikitech-l] Upcoming Search Platform Office Hours—December 5th

2018-12-04 Thread Trey Jones
A reminder that the Search Platform Team office hours are tomorrow, in
about 24 hours.

Trey Jones
Sr. Software Engineer, Search Platform
Wikimedia Foundation


On Tue, Nov 27, 2018 at 3:22 PM Trey Jones  wrote:

> The Search Platform Team
>  holds office
> hours the first Wednesday of each month. Come ask us anything about
> Wikimedia search!
>
>
> We’re particularly interested in:
>
> * Opportunities for collaboration—internally or externally to the
> Wikimedia Foundation
>
> * Challenges you have with on-wiki search, in any of the languages we
> support
>
>
> But we're happy to talk about anything search-related. Feel free to add
> your items to the Etherpad Agenda for the next meeting.
>
>
> Details for our next meeting:
>
> Date: Wednesday, December 5th, 2018
>
> Time: 16:00-17:00 GMT / 08:00-9:00 PST / 11:00-12:00 EST / 17:00-18:00 CET
>
> Etherpad: https://etherpad.wikimedia.org/p/Search_Platform_Office_Hours
>
> Google Meet link: https://meet.google.com/vyc-jvgq-dww
>
>
> *N.B.:* Google Meet System Requirements
> 
>
>
> —Trey
>
>
> Trey Jones
> Sr. Software Engineer, Search Platform
> Wikimedia Foundation
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Thank you Tuesday

2018-12-04 Thread MA
Hi,

It's Tuesday (my timezone at least) and this week I'd like to thank the
following people for their work and assistance:

.- Martin Urbanec: For his tireless work in the Wikimedia-Site-requests &
Wiki-Setup Phabricator boards, and for his advice in several technical
issues. He does a lot of wmf-config work, and the result is that our
requests for site configuration changes no longer takes a lot of time to
get applied. Thanks a lot.

.- James D. Forrester: For his general work in MediaWiki core and
extensions, and for sharing its expertise and knowledge with us. He's also
willing to review my patches and I was never able to thank him properly for
all the time and advice he's dedicated to help me.

.- Raimond Spekking: For his work in translatewiki.net and his i18n
expertise, and i18n patch review activities. MediaWiki and its extensions
are a success in localisation thanks to his work, and that of Niklas and
the staff of translatewiki.net in general. I appreciate your efforts,
really.

.- Derrick N. Alangi: I'd like to congratulate him for his recent
mediawiki +2 access, which is using to actively review lots of patches
recently, reducing our backlog of patches for review.

Special thanks to the SRE and Security team for their invaluable work as
well. The same to WMDE for their technical advice regular meetings which
are very helpful.

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