[MediaWiki-l] accessing page views for articles on MW1.26

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] accessing page views for articles on MW1.26

Andrew Geary
Is there a way to obtain the page views for articles on MW1.26? In the
previous versions, the page views would be listed on the bottom of the page.
I know the stats were removed after 1.25, but I am wondering if there is
another way (through MySQL?) to find it. I do have access to SSH. Thanks.

Andrew

Andrew Geary | publications outreach editor
+1.504.407.1303 | [hidden email]
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500  Tulsa, OK 74137 USA



_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: accessing page views for articles on MW1.26

K. Peachey-2
https://www.mediawiki.org/wiki/Extension:HitCounters is the extension you need.

On 14 September 2016 at 00:00, Andrew Geary <[hidden email]> wrote:

> Is there a way to obtain the page views for articles on MW1.26? In the
> previous versions, the page views would be listed on the bottom of the page.
> I know the stats were removed after 1.25, but I am wondering if there is
> another way (through MySQL?) to find it. I do have access to SSH. Thanks.
>
> Andrew
>
> Andrew Geary | publications outreach editor
> +1.504.407.1303 | [hidden email]
> Society of Exploration Geophysicists (SEG)
> 8801 South Yale Ave, Ste. 500  Tulsa, OK 74137 USA
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: accessing page views for articles on MW1.26

Andrew Geary
Thank you for the suggestion. Since we have already updated to MW1.26, I did not see that extension as a good solution. Since we would have to revert back to 1.25, install the extension, and then upgrade again. Is this the only solution available currently to revive page counts? Is there a way to find this information in the database itself?

Andrew Geary | publications outreach editor
+1.504.407.1303 | [hidden email]
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500  Tulsa, OK 74137 USA




-----Original Message-----
From: MediaWiki-l [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Tuesday, September 13, 2016 8:23 PM
To: [hidden email]
Subject: MediaWiki-l Digest, Vol 156, Issue 9

Send MediaWiki-l mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."


Today's Topics:

   1. accessing page views for articles on MW1.26 (Andrew Geary)
   2. Re: accessing page views for articles on MW1.26 (K. Peachey)
   3. Re: [SF] datepicker - select field for year with more years
      (Nick Wilson (Quiddity))
   4. Re: [SF] datepicker - select field for year with more years
      (Yaron Koren)
   5. Upgrading to MediaWiki 1.27.1 (Legault, Phillip [GTSUS])


----------------------------------------------------------------------

Message: 1
Date: Tue, 13 Sep 2016 14:00:10 +0000
From: Andrew Geary <[hidden email]>
To: "[hidden email]"
        <[hidden email]>
Subject: [MediaWiki-l] accessing page views for articles on MW1.26
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Is there a way to obtain the page views for articles on MW1.26? In the previous versions, the page views would be listed on the bottom of the page.
I know the stats were removed after 1.25, but I am wondering if there is another way (through MySQL?) to find it. I do have access to SSH. Thanks.

Andrew

Andrew Geary | publications outreach editor
+1.504.407.1303 | [hidden email]
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500  Tulsa, OK 74137 USA





------------------------------

Message: 2
Date: Wed, 14 Sep 2016 00:05:27 +1000
From: "K. Peachey" <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] accessing page views for articles on MW1.26
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=UTF-8

https://www.mediawiki.org/wiki/Extension:HitCounters is the extension you need.

On 14 September 2016 at 00:00, Andrew Geary <[hidden email]> wrote:

> Is there a way to obtain the page views for articles on MW1.26? In the
> previous versions, the page views would be listed on the bottom of the page.
> I know the stats were removed after 1.25, but I am wondering if there
> is another way (through MySQL?) to find it. I do have access to SSH. Thanks.
>
> Andrew
>
> Andrew Geary | publications outreach editor
> +1.504.407.1303 | [hidden email]
> Society of Exploration Geophysicists (SEG)
> 8801 South Yale Ave, Ste. 500  Tulsa, OK 74137 USA
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



------------------------------

Message: 3
Date: Tue, 13 Sep 2016 12:17:00 -0700
From: "Nick Wilson (Quiddity)" <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] [SF] datepicker - select field for year
        with more years
Message-ID:
        <CAGVJWn2i=Gk_HFM6g_5Na+=[hidden email]>
Content-Type: text/plain; charset=UTF-8

On Mon, Sep 12, 2016 at 5:42 AM, Dr. Hirn <[hidden email]> wrote:
>
> Hi,
>
> I'm planning to use the datepicker-field for birth dates. Unfortunately, the list of selectable years reaches only to 2006. So you have to select the correct day and month and a random year and then change the date in the input-field again. This is not really straight forward.
>
> Is there a chance to add more years to the "select-field"?
>
> Thx
> Stefan


Are you using one of these two, or something else?
https://www.mediawiki.org/wiki/Manual:DateInputWidget
https://www.mediawiki.org/wiki/Manual:DateTimeInputWidget
Both of those worked for me for selecting older years (the first was tested via Commons' UploadWizard, the second via the API Sandbox).
More context/detail/links might help. :-)



------------------------------

Message: 4
Date: Tue, 13 Sep 2016 15:40:50 -0400
From: Yaron Koren <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] [SF] datepicker - select field for year
        with more years
Message-ID:
        <CAGmQEQEJYtui9DLOQngAg+T=[hidden email]>
Content-Type: text/plain; charset=UTF-8

Hi,

Sorry I didn't respond to this before. For anyone who's wondering, Stefan is asking about the "datepicker" input type from the Semantic Forms
extension:

https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Input_types/Datepicker

It in turn gets its functionality from the jQuery UI library's "Datepicker"
module:

https://jqueryui.com/datepicker/#dropdown-month-year

Stefan - it's true that the year dropdown only shows a 10-year range around the currently-selected year - i.e. 2006 to 2026 - which is annoying.
However, what you can do is select 2006, then open the dropdown again and the earliest selectable year will now be 1996, and then keep going like that.

That's also annoying to do, and a lot of users probably won't even realize that it's possible. What I would strongly recommend is to instead use the default "date" input type, which is better for historical dates - "datepicker" is really only intended for picking dates around the present time.

-Yaron

On Tue, Sep 13, 2016 at 3:17 PM, Nick Wilson (Quiddity) < [hidden email]> wrote:

> On Mon, Sep 12, 2016 at 5:42 AM, Dr. Hirn <[hidden email]> wrote:
> >
> > Hi,
> >
> > I'm planning to use the datepicker-field for birth dates.
> > Unfortunately,
> the list of selectable years reaches only to 2006. So you have to
> select the correct day and month and a random year and then change the
> date in the input-field again. This is not really straight forward.
> >
> > Is there a chance to add more years to the "select-field"?
> >
> > Thx
> > Stefan
>
>
> Are you using one of these two, or something else?
> https://www.mediawiki.org/wiki/Manual:DateInputWidget
> https://www.mediawiki.org/wiki/Manual:DateTimeInputWidget
> Both of those worked for me for selecting older years (the first was
> tested via Commons' UploadWizard, the second via the API Sandbox).
> More context/detail/links might help. :-)
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



--
WikiWorks · MediaWiki Consulting · http://wikiworks.com


------------------------------

Message: 5
Date: Wed, 14 Sep 2016 00:22:32 +0000
From: "Legault, Phillip [GTSUS]" <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: [MediaWiki-l] Upgrading to MediaWiki 1.27.1
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

I'm attempting to upgrade to 1.27.1
After getting through some extension issues the page appears to load then disappears and no errors other than this in the apache log

172.21.225.20 - - [13/Sep/2016:20:20:44 -0400] "GET /index.php/Main_Page HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
172.21.225.20 - - [13/Sep/2016:20:20:45 -0400] "GET /images/7/78/Contribute.png HTTP/1.1" 404 224 "https://awsacrnva1040.jnj.com/load.php?debug=false&lang=en&modules=site&only=styles&skin=chameleon" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
172.21.225.20 - - [13/Sep/2016:20:20:45 -0400] "GET /images/c/c0/Hiking.png HTTP/1.1" 404 220 "https://awsacrnva1040.jnj.com/load.php?debug=false&lang=en&modules=site&only=styles&skin=chameleon" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
172.21.225.20 - - [13/Sep/2016:20:20:45 -0400] "GET /images/2/25/Magnifying-glass.png HTTP/1.1" 404 230 "https://awsacrnva1040.jnj.com/load.php?debug=false&lang=en&modules=site&only=styles&skin=chameleon" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
172.21.225.20 - - [13/Sep/2016:20:20:45 -0400] "GET /images/0/0e/Help-icon-1.png HTTP/1.1" 404 225 "https://awsacrnva1040.jnj.com/load.php?debug=false&lang=en&modules=site&only=styles&skin=chameleon" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
172.21.225.20 - - [13/Sep/2016:20:20:45 -0400] "GET /index.php/[object%20Object]?title=MediaWiki:Edittools.js&action=raw&ctype=text/javascript HTTP/1.1" 400 11224 "https://awsacrnva1040.jnj.com/index.php/Main_Page" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"

Thanks,
Phil



------------------------------

Subject: Digest Footer

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


------------------------------

End of MediaWiki-l Digest, Vol 156, Issue 9
*******************************************
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: accessing page views for articles on MW1.26

John Doe-27
It was specifically removed. The extension is really your only option. I
haven't looked, but it should be compatible with 1.27
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: accessing page views for articles on MW1.26

Benjamin Lees
In reply to this post by Andrew Geary
On Wed, Sep 14, 2016 at 10:34 AM, Andrew Geary <[hidden email]> wrote:
> Thank you for the suggestion. Since we have already updated to MW1.26, I did not see that extension as a good solution. Since we would have to revert back to 1.25, install the extension, and then upgrade again. Is this the only solution available currently to revive page counts? Is there a way to find this information in the database itself?

The data is in the page_counter field in the page table.  In the
extension it's in a separate table.  It looks like you could set up a
wiki with your 1.25 backup, add the extension, run the update script,
and then copy the generated hit_counter_extension table over to your
already upgraded wiki. (You could also do this without even setting up
a wiki with your backup if you run the SQL commands from the extension
yourself.)

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