Ticket #2161 (new Bug)

Opened 4 months ago

Last modified 6 weeks ago

mediawiki 1.10 v4 Have problem with centering in mediawiki.

Reported by: johnp125 Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: SVN
Keywords: Confirmed Cc:

Description

I have setup the FCKeditor in mediawiki 1.10 v4 and setup the extension in the LocalSettings.php file. I also downloaded the nightly version for mediawiki.

Everytime I try and to a anything with Justify like center left right, it ignores the code when you tell it to save. In other words, in edit mode it looks like it is going to work, but when you hit save it does not put the wiki code to center in it.

Attachments

fckeditor-sandbox.jpg (55.0 kB) - added by johnp125 4 months ago.
fckeditor sandbox

Change History

Changed 4 months ago by w.olchawa

  • keywords Pending WorksForMe added; Cannot Center or Left and Right Justify removed
  • priority changed from High to Normal
  • version set to SVN

I use MW 1.12 and 1.11.2 and the latest FCKeditor extension and everything works perfectly to me. Can you reproduce this bug on our sandbox:

http://mediawiki.fckeditor.net/index.php/Sandbox

Would it be a problem for you to upgrade to the newest version of MW?

Changed 4 months ago by johnp125

fckeditor sandbox

Changed 4 months ago by johnp125

Thanks for your help.

I cannot reproduce this bug in the sandbox because the sandbox does not have a center button turned on.

http://dev.fckeditor.net/attachment/ticket/2161/fckeditor-sandbox.jpg

I have upgraded to a newer version with the same results.

Installed software

Product Version MediaWiki 1.12.0 PHP 5.0.4 (apache2handler) MySQL 4.1.11

Hooks

Hook name Subscribed by CustomEditor (FCKeditor_MediaWiki, onCustomEditor) EditPage::showEditForm:fields (FCKeditor_MediaWiki, onEditPageShowEditFormFields) EditPage::showEditForm:initial (FCKeditor_MediaWiki, onEditPageShowEditFormInitial) EditPageBeforeConflictDiff (FCKeditor_MediaWiki, onEditPageBeforeConflictDiff) EditPageBeforePreviewText (FCKeditor_MediaWiki, onEditPageBeforePreviewText) EditPagePreviewTextEnd (FCKeditor_MediaWiki, onEditPagePreviewTextEnd) LanguageGetMagic (FCKeditor_MediaWiki, onLanguageGetMagic) MessagesPreLoad (FCKeditor_MediaWiki, onMessagesPreLoad) ParserAfterTidy (FCKeditor_MediaWiki, onParserAfterTidy) ParserBeforeInternalParse (FCKeditor_MediaWiki, onParserBeforeInternalParse) SanitizerAfterFixTagAttributes (FCKeditor_MediaWiki, onSanitizerAfterFixTagAttributes) UserToggles (FCKeditor_MediaWiki, onUserToggles)

Changed 4 months ago by johnp125

Just FYI I am running fedora C4

Changed 4 months ago by w.olchawa

I can confirm that the text justifying doesn't works, however I can't seem to find this option (formatting text - Left, Right etc.) in the wiki documentation. In my opinion the justify buttons should only apply for objects like images or tables.

Please correct me if I'm wrong. In this case we could definitely confirm this bug.

Thanks

Changed 4 months ago by johnp125

Again thanks for looking into this.

For wiki text formatting for centering use

<div style="text-align: center;"> This is the text I am centering on the page. </div>

For wiki text to Left Align use.

<div style="text-align: left; direction: ltr; margin-left: 1em;"> This is the text I am Left Aligning on the page. </div>

For wiki text to Right Align use.

<div style="text-align: right; direction: ltr; margin-right: 1em;"> This is the text I am Right Aligning on the page. </div>

Also you can check out this link here http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text#Underlining

Changed 4 months ago by w.olchawa

  • keywords Confirmed added; Pending WorksForMe removed

Thanks for the full explanation. It helped a lot. This bug is definitely confirmed.

Changed 6 weeks ago by johnp125

  • summary changed from mediawiki 1.10 v4 to mediawiki 1.10 v4 Have problem with centering in mediawiki.

Any Status on this problem?

Note: See TracTickets for help on using tickets.