Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stickyheaders composer reorg #14

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

hexmode
Copy link

@hexmode hexmode commented Jul 19, 2018

This is the sticky headers, source code reorg, etc, that I sent a pull request for before.

Moved this work onto a separate branch till it gets merged.

Mark Hershberger and others added 8 commits June 3, 2016 20:32
Also create shouldUse function that encapsulates the test to display this.
* Working on FF and Chrome.  IE tbd.
* Add license
* Add informaton to README
* Namespace-ify
* remove old shim loader for old MediaWiki
* Reorg files
* Update composer
@jamesmontalvo3
Copy link
Contributor

What does "Sticky Headers" mean? What does this change actually do?

@hexmode
Copy link
Author

hexmode commented Jul 20, 2018

When $wgUseStickyHeaders = true (the default) js and css is added to what is served so that the older style sticky css objects are used when so that when you scroll up the header sticks around. See this demo with the newer "position: sticky" css to see an example of what this looks like (kind of). Here's a pure-css demonstration of the older way.

CSS's position: sticky is probably too new to use.

@jamesmontalvo3
Copy link
Contributor

Seems like sticky shouldn't be the default. People shouldn't have to change configuration just because they upgraded, unless there's good reason. Right?

@hexmode
Copy link
Author

hexmode commented Jul 20, 2018

Right, shouldn't be the default.

@jamesmontalvo3
Copy link
Contributor

Main NS footer not rendering HTML. See example below, footer indicated by red box.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants