dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3ea94a5
)
Merge "Use <div> wrappers instead of <p> in ProtectionForm"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 9 Oct 2018 20:38:31 +0000
(20:38 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 9 Oct 2018 20:38:31 +0000
(20:38 +0000)
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
1f3de50
..
eacd370
100644
(file)
--- a/
includes/ProtectionForm.php
+++ b/
includes/ProtectionForm.php
@@
-204,9
+204,9
@@
class ProtectionForm {
$out->addBacklinkSubtitle( $this->mTitle );
if ( is_array( $err ) ) {
- $out->wrapWikiMsg( "<
p class='error'>\n$1\n</p
>\n", $err );
+ $out->wrapWikiMsg( "<
div class='error'>\n$1\n</div
>\n", $err );
} elseif ( is_string( $err ) ) {
- $out->addHTML( "<
p class='error'>{$err}</p
>\n" );
+ $out->addHTML( "<
div class='error'>{$err}</div
>\n" );
}
if ( $this->mTitle->getRestrictionTypes() === [] ) {