X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=fe5083e1be209bb2a6dc2dcc45591b25d02c1890;hb=99b84272c21b84c4861ef41f1078a5cd38689782;hp=9a6950e08104c0c3728a9414c97461d18e1414f9;hpb=809f0285ce5b745946ce619a6b74db788da6b804;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 9a6950e081..fe5083e1be 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -183,6 +183,7 @@ define( 'EDIT_SUPPRESS_RC', 8 ); define( 'EDIT_FORCE_BOT', 16 ); define( 'EDIT_DEFER_UPDATES', 32 ); // Unused since 1.27 define( 'EDIT_AUTOSUMMARY', 64 ); +define( 'EDIT_INTERNAL', 128 ); /**@}*/ /**@{ @@ -305,3 +306,9 @@ define( 'CONTENT_FORMAT_JSON', 'application/json' ); // for future use with the api, and for use by extensions define( 'CONTENT_FORMAT_XML', 'application/xml' ); /**@}*/ + +/**@{ + * Max string length for shell invocations; based on binfmts.h + */ +define( 'SHELL_MAX_ARG_STRLEN', '100000' ); +/**@}*/