Hi,
I cannot find a piece of information about $subject. As help page https://www.mediawiki.org/wiki/Help:Range_blocks/IPv6 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 https://www.mediawiki.org/wiki/Manual:$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?
On Tue, Dec 22, 2015 at 3:27 PM, Bináris wikiposta@gmail.com 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]]
Thank you for the answers.
2015-12-22 15:36 GMT+01:00 Petr Kadlec petr.kadlec@gmail.com:
On Tue, Dec 22, 2015 at 3:27 PM, Bináris wikiposta@gmail.com 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. http://www.goodreads.com/quotes/40705-but-the-plans-were-on-display-on-display-i-eventually 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!
On Tue, Dec 22, 2015 at 10:16 AM, Bináris wikiposta@gmail.com 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.
2015-12-22 17:09 GMT+01:00 Brad Jorsch (Anomie) bjorsch@wikimedia.org:
On Tue, Dec 22, 2015 at 10:16 AM, Bináris wikiposta@gmail.com 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.
2015-12-22 17:38 GMT+01:00 Bináris wikiposta@gmail.com:
2015-12-22 17:09 GMT+01:00 Brad Jorsch (Anomie) bjorsch@wikimedia.org:
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/
On Tue, Dec 22, 2015 at 9:27 AM, Bináris wikiposta@gmail.com 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&list=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
wikitech-l@lists.wikimedia.org