https://bugzilla.wikimedia.org/show_bug.cgi?id=53872

--- Comment #3 from Ioannis Protonotarios <ioannis_protonotar...@yahoo.gr> ---
(In reply to comment #1)
> This is about MediaWiki 1.21.x?
Both 1.21.1 and 1.21.2 now.

> Wondering if this should rather end up in
> https://github.com/jamesmontalvo3/MediaWiki-HeaderFooter/issues and which
> codebase to "fix". :-/

Yes, I will report it there as well

(In reply to comment #2)
> FYI: Translate extension is using ArticleViewHeader hook and
> RequestContext::getMain()->getOutput()->addHtml() to inject the header. What
> does HeaderFooter use?

I am not sure I fully undestand the code but it seems as a really simple
extension. In HeaderFooter.php (
https://github.com/jamesmontalvo3/MediaWiki-HeaderFooter/blob/master/HeaderFooter.php
) I see an OutputPageParserOutput hook which is documented as "Called after
parse, before the HTML is added to the output". Does this mean that the header
or footer wikitext is injected in the page content as if it was part of the
page's original wikitext? If such is the case then I think Translate cannot do
anything about it and must be solved by the Header-Footer side. Am I right?

But still, I cannot figure out why the translated page has the footer on top!

HeaderFooter.body.php might also help (
https://github.com/jamesmontalvo3/MediaWiki-HeaderFooter/blob/master/HeaderFooter.body.php
), (it's small, just 75 lines).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to