UltrasonicNXT has submitted this change and it was merged.
Change subject: Fix problem with columnn widths
......................................................................
Fix problem with columnn widths
If the first message you recieve in a chat window is a join/leave/other
sytem message, the column widths will be distorted. Adding a blank normal
message, that won't be seen, fixes.
Change-Id: I1fc8da472b172dd4a3f3cd38c10a97e8c94cd768
---
M MediaWikiChat.php
M SpecialChat.template.php
2 files changed, 8 insertions(+), 2 deletions(-)
Approvals:
UltrasonicNXT: Verified; Looks good to me, approved
diff --git a/MediaWikiChat.php b/MediaWikiChat.php
index 503812e..5cb05e7 100644
--- a/MediaWikiChat.php
+++ b/MediaWikiChat.php
@@ -17,7 +17,7 @@
$wgExtensionCredits['specialpage'][] = array(
'path' => __FILE__,
'name' => 'MediaWikiChat',
- 'version' => '2.4',
+ 'version' => '2.4.1',
'author' => 'Adam Carter/UltrasonicNXT',
'url' => 'https://www.mediawiki.org/wiki/Extension:MediaWikiChat',
'descriptionmsg' => 'chat-desc',
diff --git a/SpecialChat.template.php b/SpecialChat.template.php
index ab541f6..1c8b6a6 100644
--- a/SpecialChat.template.php
+++ b/SpecialChat.template.php
@@ -20,7 +20,13 @@
<div id="mwchat-container">
<div id="mwchat-main">
<div id="mwchat-content">
- <table id="mwchat-table"></table>
+ <table id="mwchat-table">
+ <tr class="mwchat-message">
<?php //ensures columns are appropriately wide ?>
+ <td
class="mwchat-item-user"></td>
+ <td
class="mwchat-item-avatar"></td>
+ <td
class="mwchat-item-messagecell"></td>
+ </tr>
+ </table>
</div>
<div id="mwchat-type">
<input type="text" placeholder="<?php
echo wfMessage( 'chat-type-your-message' )->plain() ?>" />
--
To view, visit https://gerrit.wikimedia.org/r/110701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1fc8da472b172dd4a3f3cd38c10a97e8c94cd768
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>
Gerrit-Reviewer: UltrasonicNXT <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits