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

       Web browser: ---
            Bug ID: 53872
           Summary: Translate extension conflicts with Header-Footer
                    extension (creates duplicate footers)
           Product: MediaWiki extensions
           Version: REL1_21 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Translate
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Extension:Header Footer provides per-namespace and per-page header and footer
inclusion. This is how Extension:Header Footer works.

Now, let's say we have page "Test" translated to russian as page "Test/ru".

A. In my wiki I have enabled a namespace footer for all pages of the Main
namespace. The footer shows fine in page "Test". But in page "Test/ru" there 2
instances of the footer, one below the page and one above.

The top footer has a line below it. That indicates that is included in
Translates header somehow.

B. If I use magic word to suppress footer in original page "test" (and
retranslate it), then the new "test/ru" has only one footer, the one on top!

A + B conclude that:

1. the bottom footer is the "Test"'s footer that Translate copied it somehow
(where it shouln't have because it's not part of the page's content wikitext),
and
2. the top footer is the legitimate namespace footer automatically created for
every page but it is in the wrong place!

Indeed, If I completely remove Extension:Translate from LocalSettings.php, then
the footer appears where it should be, i.e. at the bottom.

See screenshots for better understanding:
https://www.mediawiki.org/wiki/File:Translate_vs_Header-Footer.png

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to