Page MenuHomePhabricator

Bug in edit pages of fa.wikiquote
Closed, ResolvedPublic

Description

Author: mmehdi.g

Description:
In edit pages one line of HTML tags removed. I don't know how. Removed area placed at the bottom of the main content tag including Category bar and </div> finishtag. This caused sidebar misplacement.
Where you can see:
<!-- end content -->
there used to be </div> tag before this comment.


Version: unspecified
Severity: trivial
URL: http://fa.wikiquote.org/w/index.php?title=%D9%85%D9%87%D8%AF%DB%8C_%D8%A8%D8%A7%D8%B2%D8%B1%DA%AF%D8%A7%D9%86&action=edit

Details

Reference
bz14621

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:08 PM
bzimport set Reference to bz14621.
bzimport added a subscriber: Unknown Object (MLST).

mmehdi.g wrote:

(In reply to comment #2)

I think the reason is that the one-line tags <small> are not used properly in
MediaWiki:Edittools

See
http://validator.w3.org/check?uri=http%3A%2F%2Ffa.wikiquote.org%2Fw%2Findex.php%3Ftitle%3D%25D9%2585%25D9%2587%25D8%25AF%25DB%258C_%25D8%25A8%25D8%25A7%25D8%25B2%25D8%25B1%25DA%25AF%25D8%25A7%25D9%2586%26action%3Dedit&charset=(detect+automatically)&doctype=Inline&ss=1&group=0#line-177

What is invalid:
<small>line break...
[[...
</small>

I don't thin so.
See:
http://validator.w3.org/check?uri=http://fa.wikiquote.org/wiki/MediaWiki:Edittools&charset=(detect+automatically)&doctype=Inline&ss=1&group=0
there is no error.

The lost line should be this:
<div id='catlinks' class='catlinks'><div id="mw-normal-catlinks"><a href="/wiki/%D9%88%DB%8C%DA%98%D9%87:Categories" title="ویژه:Categories">رده‌های صفحه</a>:&#32;<span dir='rtl'><a href="/wiki/%D8%B1%D8%AF%D9%87:%D9%86%D9%88%D8%B4%D8%AA%D8%A7%D8%B1%D9%87%D8%A7%DB%8C_%D9%86%D8%A7%D8%AA%D9%85%D8%A7%D9%85" title="رده:نوشتارهای ناتمام">نوشتارهای ناتمام</a></span> | <span dir='rtl'><a href="/wiki/%D8%B1%D8%AF%D9%87:%D8%B3%DB%8C%D8%A7%D8%B3%D8%AA%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86" title="رده:سیاستمداران">سیاستمداران</a></span></div></div> <!-- end content -->

check html source of the article's main page. the category line disappeared at edit page.

Wiki.Melancholie wrote:

Sorry for being a bit too imprecise. Not line breaks do cause this (do not matter in HTML), but the tag order shown below is invalid (will have an line break as output ;-)

<p><small>Text</p>
...
</small>

The rendered output of MediaWiki:Edittools is tidied by the MediaWiki software! Not so the edit page output (raw).

So, the error is definitely at [[fa:q:MediaWiki:Edittools]].

(In reply to comment #4)

Sorry for being a bit too imprecise. Not line breaks do cause this (do not
matter in HTML), but the tag order shown below is invalid (will have an line
break as output ;-)

<p><small>Text</p>
...
</small>

The rendered output of MediaWiki:Edittools is tidied by the MediaWiki software!
Not so the edit page output (raw).

So, the error is definitely at [[fa:q:MediaWiki:Edittools]].

Thanks for your response yes the error was my by editools and now it is soleved