Last modified: 2014-06-03 22:14:49 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 T42694, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40694 - Translatable page header is at the bottom of the page
Translatable page header is at the bottom of the page
Status: NEW
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/wiki/Help:E...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-02 07:33 UTC by Niklas Laxström
Modified: 2014-06-03 22:14 UTC (History)
8 users (show)

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


Attachments
Screenshot of the problem (102.23 KB, image/png)
2013-02-06 16:50 UTC, Niklas Laxström
Details
"Translate this page" bar at the bottom of the page (119.28 KB, image/png)
2014-03-15 11:12 UTC, Nemo
Details

Description Niklas Laxström 2012-10-02 07:33:07 UTC
When I visit https://www.mediawiki.org/wiki/Help:Extension:Translate logged out. The header <<<Translate this page; This page contains changes which are not marked for translation.>>> is at the bottom of the page. When I am logged in it is displayed correctly at the top of the page.
Comment 1 Niklas Laxström 2012-10-02 07:39:25 UTC
This works as expected on translatewiki.net, so I have no idea what is going on. Maybe the WMF setup is doing something weird that breaks the output hook?
Comment 2 Nemo 2012-10-02 15:00:31 UTC
I've verified that the bug is not present when logged in with a non-translation admin account (t. adm. see "This page has changes since it was last marked for translation" instead).

When logged out, the mw-pt-translate-header element, rather than at the beginning of bodyContent, is at the end, before printfooter and after HTML comments "NewPP limit report [...]" and e.g. "Saved in parser cache with key mediawikiwiki:stable-pcache:idhash:75815-0!*!0!!en!4!* and timestamp 20121002121216".
Comment 3 Siebrand Mazeland 2012-10-02 17:24:46 UTC
Not a Translate issue. Moving to Wikimedia/Site config (probably local CSS thing)
Comment 4 Nemo 2012-10-02 17:29:51 UTC
Seems to be related to caching (logged in vs. anonymous), adding Tim to cc.
Comment 5 Sam Reed (reedy) 2012-10-04 14:03:54 UTC
(In reply to comment #0)
> When I visit https://www.mediawiki.org/wiki/Help:Extension:Translate logged
> out. The header <<<Translate this page; This page contains changes which are
> not marked for translation.>>> is at the bottom of the page. When I am logged
> in it is displayed correctly at the top of the page.

Works for me. In incognito mode in Chrome I see it at the top of the page..
Comment 6 Nemo 2012-10-10 21:17:10 UTC
(In reply to comment #5)
> Works for me. In incognito mode in Chrome I see it at the top of the page..

It's at the bottom for me in incognito mode, both Chromium 20.0.1132.47 Built from source for Fedora release 17 (Beefy Miracle) and Chrome 22.0.1229.92. Served by mw31.
Comment 7 Andre Klapper 2013-02-06 14:26:05 UTC
I assume the header has changed in the meantime to 

"This page is a translated version of a page Help:Extension:Translate and the translation is 15% complete."

Cannot reproduce: I am logged out and it's displayed at the top. 
Using Epiphany 3.2 and Chrome 24.0.
Comment 8 Niklas Laxström 2013-02-06 16:50:47 UTC
Created attachment 11738 [details]
Screenshot of the problem

I can still reproduce just be opening the page in chrome incognito mode. Screenshot attached.
Comment 9 Quim Gil 2013-07-17 12:19:14 UTC
I actually think that "This page is a translated version of..." should be at the bottom of the page by default and not at the top. It gets too much in the way for reading.

One option would be to place it next (above/below) "This page was last modified on..." since it's the same type of information.

Should I open a new request?
Comment 10 Nemo 2013-07-17 12:48:20 UTC
(In reply to comment #9)
> Should I open a new request?

Yes.
Comment 11 Ioannis Protonotarios 2013-09-06 22:51:19 UTC
See also https://bugzilla.wikimedia.org/show_bug.cgi?id=53872
Comment 12 Siebrand Mazeland 2013-10-10 06:48:40 UTC
(In reply to comment #11)
> See also https://bugzilla.wikimedia.org/show_bug.cgi?id=53872

This comment is not relevant to this issue.
Comment 13 Nemo 2014-03-15 11:12:05 UTC
Created attachment 14827 [details]
"Translate this page" bar at the bottom of the page

Just happened to me when visiting [[mw:Help:Logging_in]] as an unregistered user; bypassing the cache and purging didn't help.

By the way, I was visiting the page in a secondary browser because in my main browser (where I was logged in) the language bar was unstyled (on that specific page, but also others). In the end the latter issue was corrected by purging as logged in user, but this didn't help the issue described in this bug. Just a coincidence, or is this bug a consequence of recurring but temporary problems with CSS/cache/ResourceLoader and if so, is that a MediaWiki or Wikimedia issue?
Comment 14 Niklas Laxström 2014-03-15 11:40:51 UTC
(In reply to Nemo from comment #13)
> By the way

I don't believe this bug has anything to do with Resource Loader. The header is added in PHP side. Please open separate issue for the missing styles, if it not already exists.

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


Navigation
Links