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 "ApiOptions: set form field parent earlier"
[lhc/web/wiklou.git]
/
includes
/
CategoryViewer.php
diff --git
a/includes/CategoryViewer.php
b/includes/CategoryViewer.php
index
f749003
..
389b077
100644
(file)
--- a/
includes/CategoryViewer.php
+++ b/
includes/CategoryViewer.php
@@
-138,9
+138,13
@@
class CategoryViewer extends ContextSource {
}
$lang = $this->getLanguage();
}
$lang = $this->getLanguage();
- $langAttribs = [ 'lang' => $lang->getHtmlCode(), 'dir' => $lang->getDir() ];
+ $attribs = [
+ 'class' => 'mw-category-generated',
+ 'lang' => $lang->getHtmlCode(),
+ 'dir' => $lang->getDir()
+ ];
# put a div around the headings which are in the user language
# put a div around the headings which are in the user language
- $r = Html::openElement( 'div', $
langA
ttribs ) . $r . '</div>';
+ $r = Html::openElement( 'div', $
a
ttribs ) . $r . '</div>';
return $r;
}
return $r;
}