Re: [MediaWiki-l] [EXTERNAL] Re: using the "PageUpdater::saveRevision" method

2019-06-20 Thread Robert Vogel
Hi!

I'd suggest to create a patch for Extension:ApprovedRevs that runs

 $updates = $wikipage->getContent()->getSecondaryDataUpdates( $title );
 DataUpdate::runUpdates( $updates );

within `ApprovedRevs::setApprovedRevID` [1]. Actually something similar
seems to be done already [2].

The ApprovedRevs status is part of SESP anyways (`_APPROVEDSTATUS`,
[3]).

[1] https://github.com/wikimedia/mediawiki-extensions-ApprovedRevs/blob
/master/includes/ApprovedRevs_body.php#L479
[2] https://github.com/wikimedia/mediawiki-extensions-ApprovedRevs/blob
/master/includes/ApprovedRevs_body.php#L489-L490
[3] https://github.com/SemanticMediaWiki/SemanticExtraSpecialProperties
/blob/master/docs/configuration.md

--
Robert

Am Donnerstag, den 20.06.2019, 01:03 + schrieb Evans, Richard K.
(GRC-H000) via MediaWiki-l:
> Job queue is always clear. Semantic Properties for AR via SESP only
> update *after* an edit. Simply approving a revision does not update
> the SESP AR properties in SMW.
> 
> I’m actually looking to copy what has been done in
> “SemanticDependencyUpdater” at: https://github.com/gesinn-it/Semantic
> DependencyUpdater/blob/master/includes/DummyEditJob.php
> 
> The necessary code seems to be:
> $page = WikiPage::newFromID( $this->title->getArticleId() );
> if ( $page ) {
>   $content = $page->getContent( Revision::RAW );
>   $text = ContentHandler::getContentText( $content );
>   $page->doEditContent( ContentHandler::makeContent( $text, $page-
> >getTitle() ), "[SemanticDependencyUpdater] Null edit." );
>   $page->doPurge(); // required since SMW 2.5.1
> }
> 
> /Rich
> 
> From: John [mailto:phoenixoverr...@gmail.com]
> Sent: Wednesday, June 19, 2019 8:53 PM
> To: Evans, Richard K. (GRC-H000) 
> Cc: MediaWiki announcements and site admin list  kimedia.org>
> Subject: Re: [EXTERNAL] Re: [MediaWiki-l] using the
> "PageUpdater::saveRevision" method
> 
> Two suggestions, 1) check your job queue 2) look at the API’s purge
> module, it has a method to force link updates too.
> 
> 
> On Wed, Jun 19, 2019 at 8:49 PM Evans, Richard K. (GRC-H000)  .k.ev...@nasa.gov> wrote:
> Hi John,
> 
> I'm troubleshooting a problem in the combined use of SMW, SESP, and
> ApprovedRevs.
> 
> The desired behavior is to have the "approval status" of the page
> available to the wiki as a semantic property of the page via SESP.
> Everything works well except that the SESP AR values don't update
> until the page is edited.
> 
> It's not clear to me which of the 3 extension (SMW, AR, SESP) is not
> addressing this scenario properly, but as a quick fix, I can imagine
> AR being updated to perform a null-edit in the background after each
> time the page is either 'approved' or 'unapproved'.  Is this a
> reasonable way to fix the situation? Yaron said this approach to
> solving the problem could work. Now I’m seeking guidance on how to do
> it.
> 
> /Rich
> 
> From: John [mailto:phoenixoverr...@gmail.com mail.com>]
> Sent: Wednesday, June 19, 2019 5:05 PM
> To: Evans, Richard K. (GRC-H000) mailto:ric
> hard.k.ev...@nasa.gov>>; MediaWiki announcements and site admin list
> mailto:mediawiki-l@lists.wikimedia.o
> rg>>
> Subject: [EXTERNAL] Re: [MediaWiki-l] using the
> "PageUpdater::saveRevision" method
> 
> What are you trying to achieve with your null edit?
> 
> On Wed, Jun 19, 2019 at 5:02 PM Evans, Richard K. (GRC-H000) via
> MediaWiki-l mailto:mediawiki-l@lists
> .wikimedia.org>> wrote:
> I'm trying to update an extension so that it performs a "null-edit"
> on the page it is already operating on.
> 
> I've discovered the "PageUpdater::saveRevision" documentation and am
> hoping someone can help me with an example of how this method could
> be called within the typical framework of an extension? .. assuming
> the extension has a specific page defined as "$article" how would I
> write a line of code in the extension that performs a "null-edit" of
> "$article" using the "PageUpdater::saveRevision" method?
> 
> - Rich
> 
> 
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l efense.proofpoint.com/v2/url?u=https-
> 3A__lists.wikimedia.org_mailman_listinfo_mediawiki-
> 2Dl=DwMFaQ=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk=9NM-
> 9omoRra7fL56CWslBkAVE25KY5Ff9rp6kNpFDRw=yUDdhDhor_BkWTiJ3VRe40asyXm
> SLzvtg0DuReA673c=zqoLIdmf_FIvVP62OSYrT8MgR4PA99OsuKBGG9BHo2w=>;
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- 
Robert Vogel
Teamlead Produkt- & Softwareentwicklung
 
Hallo Welt! GmbH
Postfach 11 02 09
93015 Regensburg
Germany
 
Telefon: +49 (0) 941 - 660 80-0
Fax: +49 (0) 941 - 660 80-189
 
hallowelt.com
vo...@hallowelt.com
 
Sitz: Regensburg
Amtsgericht: Regensburg
Handelsregister: HRB 10467
E.USt.Nr.: DE 253050833
Geschäftsführer: Anja Ebersbach, Markus 

Re: [MediaWiki-l] New board for Wikimedia Belgium + evaluation behaviour WMF

2019-06-20 Thread Siebrand Mazeland
Hi Geert.

I think you have accidentally sent this message to the wrong list. This is
mediawiki-l. I think you may have meant to send it to Wikimedia-l.

Siebrand

Op vr 21 jun. 2019 om 00:17 schreef Geert Van Pamel 
-- 
Siebrand Mazeland
Kitano ICT

M: +31 6 50 69 1239
Telegram: https://telegram.me/siebrand
Skype: siebrand
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] New board for Wikimedia Belgium + evaluation behaviour WMF

2019-06-20 Thread Geert Van Pamel
The initial message was a private message from Romaine (WMBE Board member)
on his own initiative; not verified, nor approved by (the Board of)
Wikimedia Belgium. Please read this reply carefully in order to try to bring
more clarity.

I have immediately notified Romaine that he abused his function in the WMBE
Board to communicate private matters on the general mailinglist. 

Since Monday I am in private contact, both with T and the management of
Wikimedia Nederland to follow-up this dispute. This caused delay in replying
to this message. The Wikimedia Belgium Board will continue to evaluate the
situation and take further measures.

Wikimedia Belgium wants to apologize for any moral damage that the initial
message provoked.

What one member of the general assembly did propose is that an internal
audit could be requested to investigate the general behavior, the working,
the completeness of procedures, and the treatment of cases by the Trust and
Safety (T), and the grants team.

Specifically, we have encountered as a chapter repeatedly during the last
several years a lack of appeal, both in the T complaints handling, and in
the grants team handling sAPG requests.

Specifically in the T handling procedures, the rights of the alleged
offender are not sufficiently guaranteed. There is a possibility that rumors
are invoking a punishment without careful verification of the facts, without
the defendants being sanctioned in a neutral way, and without taking into
account certain handicaps like hard-hearing, or autism. 

That being said, please stop discussing this specific conflict publicly,
because a lot of important details are missing, are single-sided
interpretations, or even completely wrong.

 

-- Geert Van Pamel, chair of Wikimedia Belgium

 

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] [Wikitech-l] New Code of Conduct committee candidates

2019-06-20 Thread Derk-Jan Hartman
Welcome and thank you for serving/having served in such an important role !

DJ

On Thu, Jun 20, 2019 at 11:39 AM Amir Sarabadani 
wrote:

> Hello everyone,
> The deadline for the public feedback was yesterday. Some objections have
> raised but committee decided not to change the structure of committee and
> its candidates. It means the new committee with the given members starts
> serving as of today until 19 June 2020.
>
> Please join me on thanking Nuria and Rosalie for their service and welcome
> Tonina and MusikAnimal to the main members of the committee.
>
> Best
>
> On Wed, May 8, 2019 at 9:13 PM Amir Sarabadani 
> wrote:
>
> > Hello,
> > The committee has finished selecting new members and the new committee
> > candidates are (In alphabetical order):
> >
> >- Amir Sarabadani
> >- Lucie-Aimée Kaffee
> >- MusikAnimal
> >- Tonina Zhelyazkova
> >- Tony Thomas
> >
> > And auxiliary members will be (In alphabetical order):
> >
> >- Huji
> >- Matanya
> >- Nuria Ruiz
> >- Rosalie Perside
> >- Tpt
> >
> > You can read more about the members in [0]
> >
> > The changes are:
> > * Nuria and Rosalie are moving from main member to auxilary members
> > * MusikAnimal is moving from auxilary member to main
> > * Tonina Zhelyazkova is joining the main members
> >
> > This is not the final structure. According to the CoC [1], the current
> > committee publishes the new members and call for public feedback for *six
> > weeks* and after that, the current committtee might apply changes to the
> > structure based on public feedback.
> >
> > Please let the committee know if you have any concern regarding the
> > members and its structure until *19 June 2019* and after that, the new
> > committee will be in effect and will serve for a year.
> >
> > [0]:
> >
> https://www.mediawiki.org/wiki/Code_of_Conduct/Committee/Members/Candidates
> > [1]:
> >
> https://www.mediawiki.org/wiki/Code_of_Conduct/Committee#Selection_of_new_members
> >
> > Amir, On behalf of the Code of Conduct committee
> > Best
> >
> >
>
> --
> Amir (he/him)
> ___
> Wikitech-l mailing list
> wikitec...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] New Code of Conduct committee candidates

2019-06-20 Thread Amir Sarabadani
Hello everyone,
The deadline for the public feedback was yesterday. Some objections have
raised but committee decided not to change the structure of committee and
its candidates. It means the new committee with the given members starts
serving as of today until 19 June 2020.

Please join me on thanking Nuria and Rosalie for their service and welcome
Tonina and MusikAnimal to the main members of the committee.

Best

On Wed, May 8, 2019 at 9:13 PM Amir Sarabadani  wrote:

> Hello,
> The committee has finished selecting new members and the new committee
> candidates are (In alphabetical order):
>
>- Amir Sarabadani
>- Lucie-Aimée Kaffee
>- MusikAnimal
>- Tonina Zhelyazkova
>- Tony Thomas
>
> And auxiliary members will be (In alphabetical order):
>
>- Huji
>- Matanya
>- Nuria Ruiz
>- Rosalie Perside
>- Tpt
>
> You can read more about the members in [0]
>
> The changes are:
> * Nuria and Rosalie are moving from main member to auxilary members
> * MusikAnimal is moving from auxilary member to main
> * Tonina Zhelyazkova is joining the main members
>
> This is not the final structure. According to the CoC [1], the current
> committee publishes the new members and call for public feedback for *six
> weeks* and after that, the current committtee might apply changes to the
> structure based on public feedback.
>
> Please let the committee know if you have any concern regarding the
> members and its structure until *19 June 2019* and after that, the new
> committee will be in effect and will serve for a year.
>
> [0]:
> https://www.mediawiki.org/wiki/Code_of_Conduct/Committee/Members/Candidates
> [1]:
> https://www.mediawiki.org/wiki/Code_of_Conduct/Committee#Selection_of_new_members
>
> Amir, On behalf of the Code of Conduct committee
> Best
>
>

-- 
Amir (he/him)
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l