Page MenuHomePhabricator

Issues with Wikitext centered and align right text on Talk Page messages
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Add centered, aligned right, and float right text to a talk page message
  • Centered - <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">Centered text</div>
  • Aligned Right - <div style="text-align: right; direction: ltr; margin-left: 1em;">Text on the right</div>
  • Float Right - <div class="floatright">Text on the right</div>
  • Float Right - {{stack|Text on the right}}

What happens?:
All the text aligns left

What should have happened instead?:
Text should align appropriately

Software version (skip for WMF-hosted wikis like Wikipedia):
Testing on 2.7.50453-beta-2023-09-25
Other information (browser name/version, screenshots, etc.):
Using this page as a reference for Wikitext https://en.wikipedia.org/wiki/Help:Wikitext