Merge "Remove dead local vars in ApiRevisionDelete"
[lhc/web/wiklou.git] / maintenance / mwdoc-filter.php
index 268ccdb..0cc7bde 100644 (file)
@@ -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+'