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 "Introduce ClearUserWatchlistJob"
[lhc/web/wiklou.git]
/
includes
/
changes
/
ChangesListFilter.php
diff --git
a/includes/changes/ChangesListFilter.php
b/includes/changes/ChangesListFilter.php
index
0b34a5d
..
2546f2b
100644
(file)
--- a/
includes/changes/ChangesListFilter.php
+++ b/
includes/changes/ChangesListFilter.php
@@
-103,6
+103,12
@@
abstract class ChangesListFilter {
*/
protected $priority;
*/
protected $priority;
+ /**
+ *
+ * @var string $defaultHighlightColor
+ */
+ protected $defaultHighlightColor;
+
const RESERVED_NAME_CHAR = '_';
/**
const RESERVED_NAME_CHAR = '_';
/**
@@
-309,6
+315,7
@@
abstract class ChangesListFilter {
* structured UI.
*
* This can either be the exact filter, or a new filter that replaces it.
* structured UI.
*
* This can either be the exact filter, or a new filter that replaces it.
+ * @return bool
*/
public function isFeatureAvailableOnStructuredUi() {
return $this->displaysOnStructuredUi();
*/
public function isFeatureAvailableOnStructuredUi() {
return $this->displaysOnStructuredUi();
@@
-367,6
+374,7
@@
abstract class ChangesListFilter {
'priority' => $this->priority,
'subset' => $this->subsetFilters,
'conflicts' => [],
'priority' => $this->priority,
'subset' => $this->subsetFilters,
'conflicts' => [],
+ 'defaultHighlightColor' => $this->defaultHighlightColor
];
$output['messageKeys'] = [
];
$output['messageKeys'] = [
@@
-493,4
+501,11
@@
abstract class ChangesListFilter {
}
);
}
}
);
}
+
+ /**
+ * @param string $defaultHighlightColor
+ */
+ public function setDefaultHighlightColor( $defaultHighlightColor ) {
+ $this->defaultHighlightColor = $defaultHighlightColor;
+ }
}
}