Gerrit Patch Uploader has uploaded a new change for review.
https://gerrit.wikimedia.org/r/130094
Change subject: Wrap user signatures in a span
......................................................................
Wrap user signatures in a span
This adds a <span> with class mw-signature around ~~~
(and the part of the ~~~~ before the timestamp)
Bug: 25141
Change-Id: I62595091f452c7435a159cac1ed12d31e14e78ef
---
M includes/parser/Parser.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/94/130094/1
diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index 7423006..abcf5b2 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -4650,7 +4650,7 @@
# which may corrupt this parser instance via its
wfMessage()->text() call-
# Signatures
- $sigText = $this->getUserSig( $user );
+ $sigText = '<span class="mw-signature">' . $this->getUserSig(
$user ) . '</span>';
$text = strtr( $text, array(
'~~~~~' => $d,
'~~~~' => "$sigText $d",
--
To view, visit https://gerrit.wikimedia.org/r/130094
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I62595091f452c7435a159cac1ed12d31e14e78ef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits