Re: [Wikitech-l] IPv6 block range size

2016-01-09 Thread Bináris
2015-12-22 17:38 GMT+01:00 Bináris :

>
> 2015-12-22 17:09 GMT+01:00 Brad Jorsch (Anomie) :
>
>> Another option would be to pass the range sizes as parameters into the
>> blockiptext message (much as is already done with the API help message I
>> referred you to) so the special page itself could display the relevant
>> values.
>>
>> Sounds good! I think this is the best option.
>
>>
>>
> I want to tell you good news: Tgr read this conversation and solved the
problem according to Brad's idea and it will be deployed next week. Thank
you!
https://gerrit.wikimedia.org/r/#/c/261776/


-- 
Bináris
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 block range size

2015-12-22 Thread Bináris
Thank you for the answers.

2015-12-22 15:36 GMT+01:00 Petr Kadlec :

> On Tue, Dec 22, 2015 at 3:27 PM, Bináris  wrote:
>
> > All right, but what is the actual value for WMF wikis, and where is this
> > information available?
> >
>
> The configuration of WMF wikis is publicly available at
> https://noc.wikimedia.org/conf/ (especially
> https://noc.wikimedia.org/conf/CommonSettings.php.txt and
> https://noc.wikimedia.org/conf/InitialiseSettings.php.txt) – IIANM,

Let me quote a few words about this kind of publicity by Douglas Adams.

This is a basic information for admins wikiwide, whose overwhelming
majority are not technical gurus – actually, the conception of range
blocking and CIDR calculation is hard to understand them, not to dig in
such documents or query API (the noc domain/hostname is brand new for me,
too, although I have been familiarized myself with technical details for a
couple of years).
Is there any possibility to make this information appear in
Special:Version? Or alternatively on a Meta page to which
MediaWiki:Blockiptext can link?



> there
> is no wgBlockCIDRLimit override there, therefore, it is left at the
> MediaWiki default of /16 for IPv4 and /19 for IPv6.
>
> This is good news, thank you!

-- 
Bináris
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 block range size

2015-12-22 Thread Brad Jorsch (Anomie)
On Tue, Dec 22, 2015 at 10:16 AM, Bináris  wrote:

> Is there any possibility to make this information appear in
> Special:Version?


Unlikely. Where would we stop short of displaying every configuration
setting in there?


> Or alternatively on a Meta page to which
> MediaWiki:Blockiptext can link?
>

Meta is publicly editable.

Another option would be to pass the range sizes as parameters into the
blockiptext message (much as is already done with the API help message I
referred you to) so the special page itself could display the relevant
values.


-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 block range size

2015-12-22 Thread Bináris
2015-12-22 17:09 GMT+01:00 Brad Jorsch (Anomie) :

> On Tue, Dec 22, 2015 at 10:16 AM, Bináris  wrote:
>
> > Is there any possibility to make this information appear in
> > Special:Version?
>
>
> Unlikely. Where would we stop short of displaying every configuration
> setting in there?
>
I think this one is of practical importance for admins, unline most
settings.

>
>
> > Or alternatively on a Meta page to which
> > MediaWiki:Blockiptext can link?
> >
>
> Meta is publicly editable.
>
I could do it, but it needs maintenance from developers. Noone else can
monitor the settings all the time -- whoever changes the settings, should
think of updating it.

>
> Another option would be to pass the range sizes as parameters into the
> blockiptext message (much as is already done with the API help message I
> referred you to) so the special page itself could display the relevant
> values.
>
> Sounds good! I think this is the best option.

>
>
-- 
Bináris
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 block range size

2015-12-22 Thread Petr Kadlec
On Tue, Dec 22, 2015 at 3:27 PM, Bináris  wrote:

> All right, but what is the actual value for WMF wikis, and where is this
> information available?
>

The configuration of WMF wikis is publicly available at
https://noc.wikimedia.org/conf/ (especially
https://noc.wikimedia.org/conf/CommonSettings.php.txt and
https://noc.wikimedia.org/conf/InitialiseSettings.php.txt) – IIANM, there
is no wgBlockCIDRLimit override there, therefore, it is left at the
MediaWiki default of /16 for IPv4 and /19 for IPv6.

HTH,
-- [[cs:User:Mormegil | Petr Kadlec]]
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] IPv6 block range size

2015-12-22 Thread Bináris
Hi,

I cannot find a piece of information about $subject.
As help page  was
moved from Meta to MediaWiki, it gives now a general talk instead of actual
information. It says: "Like IPv4, IPv6 rangeblocks are limited by
$wgBlockCIDRLimit ,
which by default allows rangeblocks of up to /64 in size (before MediaWiki
1.20wmf5, which changes the default to /19)."
All right, but what is the actual value for WMF wikis, and where is this
information available?

-- 
Bináris
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] IPv6 block range size

2015-12-22 Thread Brad Jorsch (Anomie)
On Tue, Dec 22, 2015 at 9:27 AM, Bináris  wrote:

> All right, but what is the actual value for WMF wikis, and where is this
> information available?
>

The configuration for WMF wikis (minus a few private variables like the
database password) is available in the operations/mediawiki-config
repository.[1] It turns out that WMF wikis do not override this setting.

In this particular case, you can also find the values currently in effect
on the auto-generated documentation for the API action=query=blocks
module,[2] in the documentation for the bkip parameter. It doesn't seem to
currently be exposed in a machine-readable format in meta=siteinfo, but if
someone has a use case for that in their bot or script it would be easy
enough to add.

 [1]: https://git.wikimedia.org/tree/operations%2Fmediawiki-config.git
 [2]: e.g. https://en.wikipedia.org/w/api.php?modules=query+blocks


-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l