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 "Adding CategoryTree" into REL1_31
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialListgrouprights.php
diff --git
a/includes/specials/SpecialListgrouprights.php
b/includes/specials/SpecialListgrouprights.php
index
2ca4190
..
cc62d61
100644
(file)
--- a/
includes/specials/SpecialListgrouprights.php
+++ b/
includes/specials/SpecialListgrouprights.php
@@
-137,7
+137,7
@@
class SpecialListGroupRights extends SpecialPage {
}
private function outputNamespaceProtectionInfo() {
}
private function outputNamespaceProtectionInfo() {
- global $wg
Parser, $wg
ContLang;
+ global $wgContLang;
$out = $this->getOutput();
$namespaceProtection = $this->getConfig()->get( 'NamespaceProtection' );
$out = $this->getOutput();
$namespaceProtection = $this->getConfig()->get( 'NamespaceProtection' );
@@
-145,11
+145,11
@@
class SpecialListGroupRights extends SpecialPage {
return;
}
return;
}
- $header = $this->msg( 'listgrouprights-namespaceprotection-header' )->
parse
();
+ $header = $this->msg( 'listgrouprights-namespaceprotection-header' )->
text
();
$out->addHTML(
Html::rawElement( 'h2', [], Html::element( 'span', [
'class' => 'mw-headline',
$out->addHTML(
Html::rawElement( 'h2', [], Html::element( 'span', [
'class' => 'mw-headline',
- 'id' =>
$wgParser->guessSectionNameFromWikiText( $header
)
+ 'id' =>
substr( Parser::guessSectionNameFromStrippedText( $header ), 1
)
], $header ) ) .
Xml::openElement( 'table', [ 'class' => 'wikitable' ] ) .
Html::element(
], $header ) ) .
Xml::openElement( 'table', [ 'class' => 'wikitable' ] ) .
Html::element(