[MediaWiki-l] Upgrading to MediaWiki 1.27.1

2016-09-13 Thread Legault, Phillip [GTSUS]
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=en=site=styles=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=en=site=styles=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=en=site=styles=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=en=site=styles=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=raw=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

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


Re: [MediaWiki-l] [SF] datepicker - select field for year with more years

2016-09-13 Thread Yaron Koren
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) <
nwil...@wikimedia.org> wrote:

> On Mon, Sep 12, 2016 at 5:42 AM, Dr. Hirn  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
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] [SF] datepicker - select field for year with more years

2016-09-13 Thread Nick Wilson (Quiddity)
On Mon, Sep 12, 2016 at 5:42 AM, Dr. Hirn  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


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

2016-09-13 Thread K. Peachey
https://www.mediawiki.org/wiki/Extension:HitCounters is the extension you need.

On 14 September 2016 at 00:00, Andrew Geary  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 | age...@seg.org
> 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


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

2016-09-13 Thread 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 | age...@seg.org
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


Re: [MediaWiki-l] Introducing mwbot, a Node.js library/bot for MediaWiki

2016-09-13 Thread Simon Heimler
Hello Nemo,

thanks for the hint!

Best,
Simon

2016-09-13 12:25 GMT+02:00 Federico Leva (Nemo) :

> You may want to add to the list https://www.mediawiki.org/wiki
> /API:Client_code , maybe with a short sentence explaining its features
> compared to the alternatives.
>
> Nemo
>
> ___
> 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


Re: [MediaWiki-l] Introducing mwbot, a Node.js library/bot for MediaWiki

2016-09-13 Thread Federico Leva (Nemo)
You may want to add to the list 
https://www.mediawiki.org/wiki/API:Client_code , maybe with a short 
sentence explaining its features compared to the alternatives.


Nemo

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


Re: [MediaWiki-l] After update 1.22 to 1.27 no links created to added new pages

2016-09-13 Thread Brian Wolff
Does setting
$wgRunJobsAsync = false;

At the bottom of LocalSettings.php fix things?

On Tue, Sep 13, 2016 at 9:28 AM,   wrote:
> Hello,
>
> i updated our local mediawiki (followed update method on mediawiki web)
> 1.22.2 to 1.27.1. Detected only one problem for now - after creating new
> page, page is created, accessible via "Recent Changes", but not accessible
> from Category page - missing link to page. If i update category in any page,
> changes not reflected too. There is some problem with modifiyng mysql table
> "categorylinks". Running maintenance script "updateLinks.php" from CLI
> solves all those issues, but for any future new/modified page issue persist,
> so i need it working without maintenance...
>
> MediaWiki   1.27.1
> PHP 5.6.24-0+deb8u1 (fpm-fcgi)
> MySQL   5.5.50-0+deb7u2-log
>
> Any help?
>
> Thanks, MP
>
> ___
> 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


Re: [MediaWiki-l] Prevent editing of a single section

2016-09-13 Thread Dr. Hirn

Nice idea! Will try this.

Thx
Stefan

On 13.09.2016 11:20, Brian Wolff wrote:

You could include the section you want to be able to edit as a
template. Then you protect the page, but leave the template
unprotected.

--
bawolff

On Tue, Sep 13, 2016 at 7:25 AM, Dr. Hirn  wrote:

Hi,

is it possible to forbid editing of a single section?
Or the other way round: Allow only editing of specified sections with
disabling editing of the whole page?

Thank you
Stefan

___
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



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


[MediaWiki-l] After update 1.22 to 1.27 no links created to added new pages

2016-09-13 Thread prochazka

Hello,

i updated our local mediawiki (followed update method on mediawiki web) 
1.22.2 to 1.27.1. Detected only one problem for now - after creating new 
page, page is created, accessible via "Recent Changes", but not 
accessible from Category page - missing link to page. If i update 
category in any page, changes not reflected too. There is some problem 
with modifiyng mysql table "categorylinks". Running maintenance script 
"updateLinks.php" from CLI solves all those issues, but for any future 
new/modified page issue persist, so i need it working without 
maintenance...


MediaWiki   1.27.1
PHP 5.6.24-0+deb8u1 (fpm-fcgi)
MySQL   5.5.50-0+deb7u2-log

Any help?

Thanks, MP

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


Re: [MediaWiki-l] Prevent editing of a single section

2016-09-13 Thread Brian Wolff
You could include the section you want to be able to edit as a
template. Then you protect the page, but leave the template
unprotected.

--
bawolff

On Tue, Sep 13, 2016 at 7:25 AM, Dr. Hirn  wrote:
> Hi,
>
> is it possible to forbid editing of a single section?
> Or the other way round: Allow only editing of specified sections with
> disabling editing of the whole page?
>
> Thank you
> Stefan
>
> ___
> 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


[MediaWiki-l] Prevent editing of a single section

2016-09-13 Thread Dr. Hirn

Hi,

is it possible to forbid editing of a single section?
Or the other way round: Allow only editing of specified sections with 
disabling editing of the whole page?


Thank you
Stefan

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


[MediaWiki-l] Introducing mwbot, a Node.js library/bot for MediaWiki

2016-09-13 Thread Simon Heimler
Hello!

I'd like to introduce a project that I've been working on for a while:

https://github.com/Fannon/mwbot

MWBotis a Node.js module for interacting with the MediaWiki API. The
library makes use of the Promise Pattern and behind the scene, the request
library.

The design goal is to be as flexible as possible, with the ability to
overwrite options and behaviour at any point. The library also lets you
freely choose the abstraction/convenience level on which you want to work.
You can use convenience functions that bundles (with concurrency) of
multiple API requests into one function, but you can also handcraft your
own MediaWiki API and pure HTTP requests.


The library has extensive test coverage and is written in modern ECMAScript
2015.
Maybe it is useful to some people.

Have a nice day!
Simon
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l