Re: [Wikitech-l] How to get total number of proofread and validated pages in any wikisource via api?

2020-05-09 Thread Thomas Tanon
If you have an access to ToolsForge, you could also get this
statistics with a single SQL query:
https://quarry.wmflabs.org/query/44764 (replace the "fr" in
"frwikisource_p" with the code of the language you are interested in).
The query is quite slow because fr.wikisource is large, it should be
much faster for smaller wikis.

Thomas

Le dim. 10 mai 2020 à 06:26, AntiCompositeNumber
 a écrit :
>
> Extension:Proofread_Page uses categories to sort pages by quality, so
> it would be easiest to use that system. The category names are defined
> in Mediawiki:Proofreadpage_quality0_category through
> MediaWiki:Proofreadpage_quality4_category, and you can query those
> categories using the Categoryinfo or Categorymembers APIs. There is
> also a `proofread` query property that returns the proofreading status
> of a specified page.
>
> On Sat, May 9, 2020 at 6:22 PM Shrinivasan T  wrote:
> >
> > Hello all,
> >
> > How to get the counts for proofread and validated pages in a Wikisource
> > project?
> >
> > What is the api for it?
> >
> > I like to bring graphs like below
> >
> > https://freeimage.host/i/img-20200510-034732-466.Jl1tuj
> >
> > Using api.
> >
> > Thanks.
> >
> > Shrini
> >
> > Thanks,
> > Shrini
> > ___
> > 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 mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to get total number of proofread and validated pages in any wikisource via api?

2020-05-09 Thread AntiCompositeNumber
Extension:Proofread_Page uses categories to sort pages by quality, so
it would be easiest to use that system. The category names are defined
in Mediawiki:Proofreadpage_quality0_category through
MediaWiki:Proofreadpage_quality4_category, and you can query those
categories using the Categoryinfo or Categorymembers APIs. There is
also a `proofread` query property that returns the proofreading status
of a specified page.

On Sat, May 9, 2020 at 6:22 PM Shrinivasan T  wrote:
>
> Hello all,
>
> How to get the counts for proofread and validated pages in a Wikisource
> project?
>
> What is the api for it?
>
> I like to bring graphs like below
>
> https://freeimage.host/i/img-20200510-034732-466.Jl1tuj
>
> Using api.
>
> Thanks.
>
> Shrini
>
> Thanks,
> Shrini
> ___
> 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] VisualEditor - still in beta?

2020-05-09 Thread Martin Urbanec
Hello,

It's been years since VisualEditor is available, but it's still in Beta at
many wikis. Why is that? If a wiki wants VE to grow out of beta, can that
happen?

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

[Wikitech-l] How to get total number of proofread and validated pages in any wikisource via api?

2020-05-09 Thread Shrinivasan T
Hello all,

How to get the counts for proofread and validated pages in a Wikisource
project?

What is the api for it?

I like to bring graphs like below

https://freeimage.host/i/img-20200510-034732-466.Jl1tuj

Using api.

Thanks.

Shrini

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

Re: [Wikitech-l] How to get number of articles or related metrics for indic wiki's ?

2020-05-09 Thread Shrinivasan T
Thanks Bryan,

Exploring the links you gave.

In the meantime, rolled out my own server to setup Prometheus and grafana.

Wrote a custom exporter to get counts for indic Wikipedia sites.

http://139.59.47.5:3000/d/kx1Pb36Zz/indic-wiki-stats

Check the above dashboard.

Will check if we can get the similar comparative graphs with wikistats2.

If this really goes well and community like to keep the dashboards for long
time, will check with cloud vps team to host it.

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

Re: [Wikitech-l] Maps on wikidata

2020-05-09 Thread Marius Hoch

Hi Strainu,

as Michael already pointed out, the (currently hard-coded) zoom value 
can be found in CachingKartographerEmbeddingHandler::getWikiText.


I guess we could try to derive the zoom from the precision of the 
coordinate (GlobeCoordinateValue::getPrecision), but other than that, I 
don't have a (nice and easy to implement) idea for improving this.


Cheers
Marius

On 5/9/20 12:42 AM, Michael Holloway wrote:

Hi Strainu,

It's probably best if a Wikibase dev confirms, but I think this is what
you're looking for:
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/lib/includes/Formatters/CachingKartographerEmbeddingHandler.php#198

-mdh

On Fri, May 8, 2020 at 12:44 PM Strainu  wrote:


Hey folks,

Can someone point me to the code that decides which zoom to use for
the maps that are displayed in the items with coordinates?

Thanks,
Strainu

___
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 mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Wikimedia-l] Wikimedia Meet

2020-05-09 Thread Tony Thomas
> If guest access is enabled, unauthenticated users will need to wait until
a user authenticates before they can join a room. If guest access is not
enabled, every user will need to authenticate before they can join.

Aha, so this would be more or less like the Google Meet flow right now.
Would it make sense to enable it at-least during  the hackathon then ?

So, to create a meeting you still need access codes, but to join, you can
rely on somebody inside to let you in. Sounds very reasonable.

--
Tony Thomas
https://mediawiki.org/wiki/User:01tonythomas
--


On Fri, May 8, 2020 at 2:15 AM Amir Sarabadani  wrote:

> Hey,
> Unfortunately, this is the way the authentication of jitsi work and I don't
> have much control over it, the only thing I can find is enabling "guest
> access"
> > If guest access is enabled, unauthenticated users will need to wait until
> a user authenticates before they can join a room. If guest access is not
> enabled, every user will need to authenticate before they can join.
>
> Also, I recommand you treat your user/pass like a wifi password (you can
> create more accounts for groups instead of sharing yours), share it but
> don't put in public places.
>
> Best
>
> On Thu, May 7, 2020 at 7:13 PM Tony Thomas <01tonytho...@gmail.com> wrote:
>
> > Hey Amir (and team),
> >
> > Is there an option to make it require username/password to create a
> meeting
> > and not join ?
> >
> > Like, I can share the link around and post it publicly and people can
> join
> > ? Right now, I have to share my username/password which sounds a bit
> weird
> > (and people might be able to create meetings too with those) ?
> >
> > --
> > Tony Thomas
> > https://mediawiki.org/wiki/User:01tonythomas
> > --
> >
> >
> > On Sun, Apr 26, 2020 at 4:40 PM Amir Sarabadani 
> > wrote:
> >
> > > Hey,
> > > A quick update. In order to improve its security, from now on,
> > > ticketmasters don't need to know your username and password (and don't
> > send
> > > them your desired username and password anymore). You ask them a token
> > and
> > > they generate you an one-time-use token for you and then you can use
> that
> > > in https://meet-auth.wmflabs.org/create to create your account for
> > > yourself.
> > >
> > > Stay safe, stay home.
> > >
> > > On Sun, Apr 26, 2020 at 1:11 AM Alessandro Marchetti via Wikimedia-l <
> > > wikimedi...@lists.wikimedia.org> wrote:
> > >
> > > >  I told so many times WMF should support infrastructure for the
> > > > volunteers, so thank you very much for this step in that direction.
> > > > A.M.
> > > >
> > > > Il domenica 26 aprile 2020, 01:08:01 CEST, Tito Dutta <
> > > > trulyt...@gmail.com> ha scritto:
> > > >
> > > >  Hello,
> > > > That's super great news. I definitely want to try it. Thanks a lot
> for
> > > > working on this.
> > > >
> > > > Thanks
> > > > Tito Dutta
> > > > Note: If I don't reply to your email in 2 days, please feel free to
> > > remind
> > > > me over email or phone call.
> > > >
> > > >
> > > > On Sun, 26 Apr 2020 at 01:57, Amir Sarabadani 
> > > wrote:
> > > >
> > > > > Hey,
> > > > > "Wikimedia Meet" [0] (https://meet.wmcloud.org), is a project in
> > > > Wikimedia
> > > > > CloudVPS for Wikimedians to meet virtually instead of using
> > commercial
> > > > > services like Zoom which might have security and privacy
> implications
> > > > > [1][2]. Currently it's a jitsi (jitsi.org) installation.
> > > > >
> > > > > If you want to just use/test it, let me know and I create you a
> user
> > > and
> > > > > password. You can share the username and password with anyone you
> > want
> > > to
> > > > > meet but please do not post it publicly. In your email you can also
> > > give
> > > > me
> > > > > your desired user and password. **Do not reuse any password**. You
> > can
> > > > also
> > > > > contact any of the ticketmasters instead of me:
> > > > >
> https://meta.wikimedia.org/wiki/Wikimedia_Meet#List_of_ticketmasters
> > > > >
> > > > > In order to make this project more robust, I'm looking for
> > > Ticketmasters
> > > > > too, Ticketmasters create accounts for others (It doesn't require
> any
> > > > > technical knowledge, you fill a form in web for others)
> > > > >
> > > > > If you want to help maintaining it (which would be greatly
> > appreciated)
> > > > let
> > > > > me know and I give you the needed access. I put the technical
> > > > documentation
> > > > > in mediawiki.org [3]. There are several bits you can help with,
> like
> > > > > puppetizing it, scalability, observability, improving
> authentication,
> > > > > trying to see if BBB can be used as well, and so much more. You can
> > > find
> > > > > the tickets in the phabricator board and assign a ticket to
> yourself
> > if
> > > > you
> > > > > feel like helping out.
> > > > >
> > > > > [0] https://meta.wikimedia.org/wiki/Wikimedia_Meet
> > > > > [1] https://blogs.harvard.edu/doc/2020/03/27/zoom/
> > > > > [2]
> > > > >
> > > > >
> > > >
> > >
> >
>