Re: [Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread Gergo Tisza
On Sun, Feb 23, 2020 at 4:17 PM James Gardner via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > We attempted to use the wmflabs.org tool, but it only shows data from a > certain date. (Example link: > >

Re: [Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread bawolff
As an aside, this may be a case where generators in the api are useful - e.g. https://en.wikipedia.org/w/api.php?action=query=redirects=2019%E2%80%9320_coronavirus_outbreak=pageviews=pageviews=60 (Note: does not include the actual non-redirect article in the results, and you have to pay close

Re: [Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread bawolff
Hi, When I tested the api it seemed to work with redirects (e.g. https://mediawiki.org/w/api.php?action=query=json=pageviews=MediaWiki%7CMain_Page=pageviews=60= Where Main_Page redirects to the page MediaWiki ) > Then we attempted to use the redirects of a page and using the old page ids to grab

Re: [Wikitech-l] Help Further develop for Spell4Wiki App

2020-02-23 Thread bawolff
If you get an invalid CSRF error, its generally best to just get a new token and try again. > 2. Once successfully uploaded audio not reflected to UN-Audio words API <

Re: [Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread Pine W
Hi James, I was aware of the first issue, but this is the first time that I can recall hearing about the second. See https://phabricator.wikimedia.org/T121912. You may want to ask your second question in that thread if no one responds to it here. Good luck, Pine (

[Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread James Gardner via Wikitech-l
Hi all, We are a group of undergraduates working on a project using the MediaWiki API. While working on this project, we ran into a unique issue involving pageviews. When trying to pull pageview data for a particular page, the redirects of a page would not be counted along with the original

Re: [Wikitech-l] [WikimediaMobile] Commons app Android... and iOS!

2020-02-23 Thread Pine W
تريما کاسيه‎.* Pine ( https://meta.wikimedia.org/wiki/User:Pine ) * I think that this is Malay for "thank you". See https://en.wiktionary.org/wiki/terima_kasih. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Commons app Android... and iOS!

2020-02-23 Thread Sam Oyeyele
This is some very good news! The absence of a commons app for iOS has really been a big hindrance to contribution. I'm glad it's finally being fixed . Sam. From: Wikitech-l on behalf of Josephine Lim Sent: 19 February 2020 3:32 PM To: