Last modified: 2011-06-28 00:50:06 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 T31430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29430 - Flash of unstyled content (FOUC) for WikiLove icon
Flash of unstyled content (FOUC) for WikiLove icon
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikiLove (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-16 11:57 UTC by Roan Kattouw
Modified: 2011-06-28 00:50 UTC (History)
3 users (show)

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


Attachments

Description Roan Kattouw 2011-06-16 11:57:58 UTC
Every time I load a user page, I see the WikiLove tab show up as "Show appreciation" for a while until the page finishes loading and the text is replaced by the heart icon. I think it'd be better to add the tab using JS and use the heart icon rightaway.
Comment 1 Ryan Kaldari 2011-06-16 16:20:12 UTC
Strangely, I can't reproduce this locally. The heart icon is always loaded from the beginning along with the rest of the tabs even if I clear the cache. The behavior on office wiki is completely different and the icon display is significantly delayed.
Comment 2 Krinkle 2011-06-16 17:27:50 UTC
In trunk a property 'position' exists for ResourceLoader modules. A few weeks ago the style module for WikiLove was given "position => top", which fixed the bug in trunk.

On 1.17wmf1 however this property doesn't exist so it's loaded at the bottom still.
There are other extensions currently live suffering the same problem (CodeReview and LiquidThreads).

Marking as INVALID as the cause is in that Wikimedia is running two major releases ahead extensions on 1.17, impossible to fix and/or would cost valuable amount of wasted time - since there is no to loading in 1.17 currently.

There are many work arounds possible, all with gotcha's. I suggest taking this for granted during the trial and make sure that we're in sync before real-wiki deployment.
Comment 3 Roan Kattouw 2011-06-16 17:29:18 UTC
(In reply to comment #2)
> In trunk a property 'position' exists for ResourceLoader modules. A few weeks
> ago the style module for WikiLove was given "position => top", which fixed the
> bug in trunk.
> 
> On 1.17wmf1 however this property doesn't exist so it's loaded at the bottom
> still.
D'oh! Given the fact that I implemented position=top, this is kind of embarrassing.

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


Navigation
Links