Lines Matching refs:tags

32             'desc' => 'returns tags for given Regular Expression',
34 'tags (required)' => 'string',
36 'return' => ['tags' => 'array'],
40 'desc' => 'returns tags for given namespace',
43 'return' => ['tags' => 'array'],
47 'desc' => 'returns tags for given pageID',
50 'return' => ['tags' => 'array'],
57 * Search in Tagindex for tags that matches the tag pattern and are in requested namespace
59 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
61 * @param bool $aclSafe if true, add only tags that are on readable pages
71 $tags = $this->getIndex('subject', '_w');
74 foreach ($tags as $tag) {
87 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
111 * Returns all tags used in given namespace
113 * @param string $ns list only tags used on pages from this namespace
114 * @param bool $aclSafe if true, checks if user has read permission for the pages containing the tags
138 * Returns all tags for the given pageid
153 * Returns true if tags are equal
157 * @return bool whether equal tags
225 * @param string $tag space separated tags
231 $tags = explode(' ', $tag);
233 foreach ($tags as $t) {
256 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
260 $tags = $this->getTagsByRegExp($tagExpression, $this->ps_ns);
262 foreach ($tags as $t => $v) {
277 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
281 $tags = $this->getTagsByRegExp($tagExpression, $this->ps_ns);
283 foreach ($tags as $t => $v) {
294 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
299 $tags = $this->getTagsByRegExp($tagExpression, $this->ps_ns);
301 foreach ($tags as $t => $v) {
351 * Generate html for in a cell of the column of the tags as images
354 * @param string $col tagexpression: regexp pattern of wanted tags e.g. "status:.*"
399 * @param array $tag_list_r an array containing strings with tags seperated by ' '
439 * @param string $tag_list the tags separated by ' '
445 $tags = $this->taghelper->parseTagList($tag_list, true);
446 $matchedPages = $this->taghelper->getIndexedPagesMatchingTagQuery($tags);
486 /** @var array[] with pageid => array with tags */
494 * @param string $column column name is a tagexpression: regexp pattern of wanted tags e.g. "status:.*". Supported since 2022 in pagelist plugin
517 * The tags matches the tag regexp pattern and only shown if it is used at pages in requested namespace, these pages
522 * @param string $tags tag expression e.g. "status:.*"
526 public function getPagesByMatchedTags($tags, $ns = '')
530 $tags = $this->taghelper->parseTagList($tags, false); //array
537 foreach ($tags as $tagExpr) {
554 //clean empty tags, because not in requested namespace