Lines Matching defs:name
19 * $data[0] ns: The colon separated namespace path minus the trailing page name.
23 * @param string $basedir - the config name of the type to delete (datadir or mediadir usally)
64 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
65 * $data[2] page_name: The wiki page name.
196 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
197 * $data[2] page_name: The wiki page name.
477 * $data[0] ns: The colon separated namespace path minus the trailing page name.
520 * @param string $file file name
640 * - if successful will return the name used for the saved file, false otherwise
644 * @param bool $useAttachment true: try to use name of download, uses otherwise $defaultName
648 * @return bool|string if failed false, otherwise true or the name of the file in the given dir
664 $name = '';
673 $name = PhpString::basename($match[1]);
677 if (!$name) {
679 $name = $defaultName;
682 $file .= $name;
693 if ($useAttachment) return $name;