Document the 'sitewide' option for the Block class
authorThalia <thalia.e.chan@googlemail.com>
Thu, 28 Feb 2019 11:43:01 +0000 (11:43 +0000)
committerThalia <thalia.e.chan@googlemail.com>
Thu, 28 Feb 2019 11:43:01 +0000 (11:43 +0000)
Change-Id: Ie2bebc6e9b42e21159cba35315b86c2d1971bf33

includes/Block.php

index 09f6d9f..6abc83a 100644 (file)
@@ -121,6 +121,9 @@ class Block {
         *                          created by MediaWiki rather than being stored
         *                          in the database. Value is a string to return
         *                          from self::getSystemBlockType().
+        *     sitewide bool        Disallow editing all pages and all contribution
+        *                          actions, except those specifically allowed by
+        *                          other block flags
         *
         * @since 1.26 accepts $options array instead of individual parameters; order
         * of parameters above reflects the original order