Jump to content

Wikipedia:2015 main page redesign proposal/draft/Guy Macon

From Wikipedia, the free encyclopedia

Proponent: Guy Macon (talk) 10:29, 31 May 2015 (UTC)[reply]

Background: Page Weight Matters, by Chris Zacharias

"Three years ago, while I was a web developer at YouTube, one of the senior engineers began a rant about the page weight of the video watch page being far too large. The page had ballooned to as high as 1.2MB and dozens of requests. This engineer openly vented that “if they can write an entire Quake clone in under 100KB, we have no excuse for this!” Given that I agreed with him and I was excited to find a new project, I decided to champion the cause of getting the YouTube watch page to weigh in under 100KB. On the shuttle home from San Bruno that night, I coded up a prototype. I decided to limit the functionality to just a basic masthead, the video player, five related videos, a sharing button, a flagging tool, and ten comments loaded in via AJAX. I code-named the project “Feather”.
"Even with such a limited set of features, the page was weighing in at 250KB. I dug into the code and realized that our optimization tools (i.e. Closure compilation) were unable to exclude code that was never actually used in the page itself (which would be an unfair expectation of any tool under the circumstances). The only way to reduce the code further was to optimize by hand the CSS, Javascript, and image sprites myself. After three painstaking days, I had arrived at a much leaner solution. It still was not under 100KB though. Having just finished writing the HTML5 video player, I decided to plug it in instead of the far heavier Flash player. Bam! 98KB and only 14 requests. I threaded the code with some basic monitoring and launched an opt-in to a fraction of our traffic.
"After a week of data collection, the numbers came back… and they were baffling. The average aggregate page latency under Feather had actually INCREASED. I had decreased the total page weight and number of requests to a tenth of what they were previously and somehow the numbers were showing that it was taking LONGER for videos to load on Feather. This could not be possible. Digging through the numbers more and after browser testing repeatedly, nothing made sense. I was just about to give up on the project, with my world view completely shattered, when my colleague discovered the answer: geography.
"When we plotted the data geographically and compared it to our total numbers broken out by region, there was a disproportionate increase in traffic from places like Southeast Asia, South America, Africa, and even remote regions of Siberia. Further investigation revealed that, in these places, the average page load time under Feather was over TWO MINUTES! This meant that a regular video page, at over a megabyte, was taking more than TWENTY MINUTES to load! This was the penalty incurred before the video stream even had a chance to show the first frame. Correspondingly, entire populations of people simply could not use YouTube because it took too long to see anything. Under Feather, despite it taking over two minutes to get to the first frame of video, watching a video actually became a real possibility. Over the week, word of Feather had spread in these areas and our numbers were completely skewed as a result. Large numbers of people who were previously unable to use YouTube before were suddenly able to.
"Through Feather, I learned a valuable lesson about the state of the Internet throughout the rest of the world. Many of us are fortunate to live in high bandwidth regions, but there are still large portions of the world that do not. By keeping your client side code small and lightweight, you can literally open your product up to new markets."

Source: [ http://blog.chriszacharias.com/page-weight-matters ]

(Emphasis added, capitalization in original.)

(Reproduced under fair use: "The first factor is regarding whether the use in question helps fulfill the intention of copyright law to stimulate creativity for the enrichment of the general public, or whether it aims to only 'supersede the objects' of the original for reasons of personal profit.")

Because of the above considerations. I propose the following "Simple Main Page":


Note: This proposed main page replacement is intended to not include all 23 links in the sidebar at the left side of your screen, but we may decide to keep a few by adding them to the main section.

START OF PROPOSED MAIN PAGE REPLACEMENT


 Welcome to Wikipedia 
 The encyclopedia that anyone can edit. 
 There are 6,915,504 articles in the English Language Wikipedia. 
[edit]

Other areas of Wikipedia

[edit]
  • Community portal – Bulletin board, projects, resources and activities covering a wide range of Wikipedia areas.
  • Help desk – Ask questions about using Wikipedia.
  • Local embassy – For Wikipedia-related communication in languages other than English.
  • Reference desk – Serving as virtual librarians, Wikipedia volunteers tackle your questions on a wide range of subjects.
  • Site news – Announcements, updates, articles and press releases on Wikipedia and the Wikimedia Foundation.
  • Village pump – For discussions about Wikipedia itself, including areas for technical issues and policies.
  • Wikipedia languages – Wikipedias in 285 languages.

Wikipedia's sister projects

[edit]
Wikimedia Foundation – Non-profit organization that hosts Wikipedia and Wikipedia's sister projects.
Commons – Free media repository.
MediaWiki – Wiki software development.
Meta-Wiki – Wikimedia project coordination.
Wikibooks – Free textbooks and manuals.
Wikidata – Free knowledge base.
Wikinews – Free-content news.
Wikiquote – Collection of quotations.
Wikisource – Free-content library.
Wikispecies – Directory of species.
Wikiversity – Free learning materials and activities.
Wikivoyage – Free travel guide.
Wiktionary – Dictionary and thesaurus.



This page was last modified on dd mmmm yyyy at hh:hh (UTC). Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to our Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, a non-profit organization.
[ General disclaimer | Contact Wikipedia | Software Developers | Mobile view ]


END OF PROPOSED MAIN PAGE REPLACEMENT


...Or we could do something along the lines of [ http://www.arngren.net/ ] or possibly [ http://heaven.internetarchaeology.org/heaven.html#bottom] (note: you have to use the up and down arrows to see it all -- no newfangled "scroll bars" here!). It's clearly what a lot of people want our main page to look like... :( --Guy Macon (talk) 18:25, 27 June 2016 (UTC)[reply]

Please note that this proposal does not include the sidebar or tabs that you see on every page. They are not needed on the main page.