Last modified: 2012-05-21 16:06:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27475, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25475 - Use div instead of table for the layout of the sitenotice
Use div instead of table for the layout of the sitenotice
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
DismissableSiteNotice (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Amir E. Aharoni
: easy, patch, patch-reviewed
: 24066 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-09 23:11 UTC by Nux
Modified: 2012-05-21 16:06 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Proposed patch (851 bytes, patch)
2010-10-09 23:11 UTC, Nux
Details

Description Nux 2010-10-09 23:11:26 UTC
Created attachment 7723 [details]
Proposed patch

Hi. It would be nice to have this layout table removed. I know it can be a pain sometimes to do something without tables, bu I think in this case it even looks better without the table.

Patch attached.
Comment 1 Nux 2010-10-09 23:14:15 UTC
PS: Tested this in both FF 3.6 and IE 6.
Comment 2 Waldir 2012-01-17 22:04:20 UTC
This is almost a dupe of bug 24066. Maybe you could fix this patch for RTL as suggested there, and add it to that bug. This bug could then be closed as a duplicate.
Comment 3 Nux 2012-01-19 20:34:15 UTC
RTL? Isn't the message centered anyway? Ho would my patch break LTR/RTL?
Comment 4 Waldir 2012-01-20 01:05:39 UTC
I believe the issue was not about the message, but rather the close button/link, that floats to the right, which would break RTL expectations. But I can only suppose; I'm including Siebrand in CC (since he was the one expressing the concerns about directionality in the other bug) so he can clarify, and also update regarding my question there (whether the ResourceLoader deprecates that issue or not).
Comment 5 MZMcBride 2012-01-20 01:15:12 UTC
Assigning this to Mark H. Not sure why such a simple patch has been sitting around for months.
Comment 6 Nux 2012-01-20 20:47:12 UTC
(In reply to comment #4)
> I believe the issue was not about the message, but rather the close
> button/link, that floats to the right, which would break RTL expectations. But
> I can only suppose; I'm including Siebrand in CC (since he was the one
> expressing the concerns about directionality in the other bug) so he can
> clarify, and also update regarding my question there (whether the
> ResourceLoader deprecates that issue or not).

In that case the same issue seems to apply to the current version, but... I guess you could change the word `right` to `$ltrRight` and somewhere before `$notice = <<<HTML` add:
  $ltrRight = $wgLang->alignEnd();

But I'm not really familiar with RTL/LTR usability and I'm not sure if that's a good idea.
Comment 7 Amir E. Aharoni 2012-03-29 22:13:11 UTC
Applied the attached patch in https://gerrit.wikimedia.org/r/#change,3951 and added a fix for directionality.

Thank you and sorry about the long delay.
Comment 8 Amir E. Aharoni 2012-03-29 22:16:39 UTC
*** Bug 24066 has been marked as a duplicate of this bug. ***
Comment 9 Amir E. Aharoni 2012-05-21 16:06:34 UTC
Merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links