X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=0cc7bde8a406ec79c27951082df662b3dad78e0c;hb=0ed0135f1475e5a5b6ed915bf7a349c695646a08;hp=268ccdbcb5c0a910ba55d676e4277eb805994adf;hpb=aa46d60869e5ea4eaaae74cd0dab17aa94f700ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index 268ccdbcb5..0cc7bde8a4 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -21,8 +21,19 @@ $regexp = '#' . '\s+' // Type hint . '([^\s]+)' + . '\s+' // Any text or line(s) between type hint and '/' closing the comment - // (includes the star of "*/") + // (includes the star of "*/"). Descriptions containing a slash + // are not supported. Those will have to to be rewritten to have their + // description *before* the @var: + // /** + // * Description with / in it. + // * @var array + // */ + // instead of: + // /** + // * @var array Description with / in it. + // */ . '([^/]+)' . '/' . '\s+'