dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "DateTimeInputWidget: Only show calendar when focusing date components, not...
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLTagFilter.php
diff --git
a/includes/htmlform/fields/HTMLTagFilter.php
b/includes/htmlform/fields/HTMLTagFilter.php
index
8075de5
..
f58acbe
100644
(file)
--- a/
includes/htmlform/fields/HTMLTagFilter.php
+++ b/
includes/htmlform/fields/HTMLTagFilter.php
@@
-5,23
+5,25
@@
class HTMLTagFilter extends HTMLFormField {
protected $tagFilter;
class HTMLTagFilter extends HTMLFormField {
protected $tagFilter;
- function getTableRow( $value ) {
- $this->tagFilter = ChangeTags::buildTagFilterSelector( $value );
+ public function getTableRow( $value ) {
+ $this->tagFilter = ChangeTags::buildTagFilterSelector(
+ $value, false, $this->mParent->getContext() );
if ( $this->tagFilter ) {
return parent::getTableRow( $value );
}
return '';
}
if ( $this->tagFilter ) {
return parent::getTableRow( $value );
}
return '';
}
- function getDiv( $value ) {
- $this->tagFilter = ChangeTags::buildTagFilterSelector( $value );
+ public function getDiv( $value ) {
+ $this->tagFilter = ChangeTags::buildTagFilterSelector(
+ $value, false, $this->mParent->getContext() );
if ( $this->tagFilter ) {
return parent::getDiv( $value );
}
return '';
}
if ( $this->tagFilter ) {
return parent::getDiv( $value );
}
return '';
}
- function getInputHTML( $value ) {
+
public
function getInputHTML( $value ) {
if ( $this->tagFilter ) {
// we only need the select field, HTMLForm should handle the label
return $this->tagFilter[1];
if ( $this->tagFilter ) {
// we only need the select field, HTMLForm should handle the label
return $this->tagFilter[1];