This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date.
This page is currently a draft.
More information and discussion about changes to this draft on the talk page.
- 1 Introduction
- 2 Proposal
- 2.1 High-Level Functional Requirements
- 2.2 High-Level Technical Requirements
- 2.3 Roadmap Outline
- 2.4 Open Questions and Current Unknowns
- 2.5 FAQ
- 2.6 See also
- 2.7 References
Each day, more than 30 million users access Wikipedia through our mobile website.
The mobile web version of MediaWiki has been around for 6 years, and in that time, devices have evolved. The internet has fundamentally changed to support more people all over the world on an enormous variety of devices with varied connection, screen size, languages, and more. The internet has fundamentally changed and with it, so have the expectations of its users and their needs.
Our current infrastructure limits our ability to reach and connect to these users, both as readers and as potential future contributors, not only in terms numbers, but in terms of background. In other words, we’re limiting our community to a closed set instead of exploring the globally diverse population our movement strives to support.
Reaching More People Worldwide
Through research in 2016, we learned that many people who are interested in using Wikipedia are not currently using it due to cost and access barriers. For example, in Nigeria, the cost of internet would need to decrease 97% to be widely affordable - and that impacts how people use MediaWiki sites. Over a quarter of people we surveyed in Nigeria who are interested in reading Wikipedia reported that they weren’t able to due to the cost of data. In a more recent phone survey in Iraq, 81% of Wikipedia readers reported using the internet less due to the cost of data. In the last few years, we’ve made great strides towards decreasing the size and load time of the site, but we believe that we can do more with a more significant architectural change.
Beyond the issue of affordability is poor connectivity. People all over the world lose connection from their mobile phones for any number of reasons - they go into a tunnel, leave a wifi access point, or the power goes out. New technologies can enable us to continue to support people in those situations and more - we could even imagine providing access to articles completely offline.
Supporting varied audiences
Our users cover the spectrum of almost every device and browser, yet our list of fully supported browsers is limited. The content and user experience we currently provide to these browsers is often faulty and the level of specificity of the fixes so high that we often let users live with the bugs rather than spending the effort of fixing them on a per-browser, per-bug basis.
Cost of development and design
Our current approach often relies on duplicating efforts on the backend and frontend, as well as balancing adding functionality to mobile and desktop separately on the same stack. This has lead us to large amounts of technical debt and increased risk when making changes to support new and existing users. These risks slow down development over time, while increasing the amount of cleanup we are accountable for. It’s inefficient. We are interested in exploring architecture changes that will allow us to focus on building the right features for all platforms the first time around, rather than building for a single platform, then altering to fit the rest.
Creating a responsive experience for larger screens
Currently, it is difficult to experiment and test ideas for an improved tablet or desktop experience without creating large changes for all of our users. We would like to provide an experience which caters to users with larger screens without significantly affecting mobile-only features.
Over the January and February of 2017, our engineers focused on discussing the main technical issues with the current mobile website. Below is a sampling of the discussion.
Identifying Potential Solutions
Over the past few years, we collected the above problems and began the brainstorming process of creating a solution which fits most of not all of the identified issues:
- The Reading Web team set identifying solutions as a goal for Q3 of the fiscal year 2016-2017
- Over the course of the quarter, two solutions were proposed - a refactor of the website and the building of a new website
- Each solution was weighed against the problems identified above
- Each proposed solution was discussed in terms of pros and cons within the reading web team as well as other WMF teams
- The rough formulation of this proposal was drafted
- We would like to reach out to our communities for thoughts and ideas on the proposal, including alterations and additions
We propose to rebuild the mobile website with a focus on:
- Optimization for a modern browsing experience
- Connection management - smooth transition for short bursts of low connection
- Data efficiency
- Providing the ability for a fully offline experience
- Creating an architecture that would inform decisions across Wikimedia platforms in the future
High-Level Functional Requirements
We are proposing to build an offline first application, which focuses on users with low connectivity and intermittent connections. This means that, while browsing and reading articles on Wikipedia, users will have a smooth transition when they experience intermittent connectivity - they will be able to continue reading articles and to navigate within their session. However, they will not be able to access any articles they have not previously viewed within that session. In particular:
- Readers must be able to read articles when in conditions with low connectivity or no connectivity
- Readers must be able to navigate through the articles they have viewed within a session in conditions with low connectivity or no connectivity
- Readers must be aware when articles do not load properly due to low connectivity
- Readers must be able to access the menu when not connected
- When users attempt to select articles while offline, the system must display the appropriate messaging indicating that the user has no/low connectivity and might not be able to access the article
The mobile website must be optimized for flexibility, allowing reading on screens of all sizes, including all tablets and desktop screens:
- The mobile website must be modular and responsive
- Screen size must be taken into consideration when designing and developing new feature or altering features from mobilefrontend as it is currently
Standardized Service Layer
- We would like to focus on standardizing our service layer for content consumption
- Sharing infrastructure and efforts with Apps teams
- Using services to improve performance of pages
Changes to editing functionality
- We will be working with the editing team to create a smoother mobile editing experience:
- All editing features currently available on the mobile website will be available on the new mobile website
- In the future, a goal for the new mobile website would be to integrate any future improvements to editing functionality
Saved pages and lists
- We would like to allow users to flag and save articles of interest for later consumption. Ultimately, our goal is to allow these articles to be accessible through all platforms, with the possibility of allowing the articles to be accessible offline:
- Saved articles will not be available for offline reading upon first iteration
- Users will be able to flag articles for later consumption
- Users will be able to download articles in PDF format
- Users will be able to access their saved articles when logged out or logged in
- Users will be informed that their list of saved articles when logged out may be lost
Cost and performance
- Must be more efficient than currently with data usage, to make browsing relatively cheaper
- Account creation - focus on the reader as a logged-in user
- Reading lists syncing will require more users to create accounts, which will necessitate a reevaluation of the account creation workflow and the current method of distinguishing between readers and editors (currently we use logged in status)
While the above solution is fitting for many users with low connectivity, it can only be implemented on modern browsers. We would like to explore creating or adapting mobilefrontend into a lite solution for browsers which will not support the new mobile website. This lighter experience must:
- include all relevant content
- be available to users based on their connection and preference
- be opt-in
- be fast and cost-efficient
- be stylistically consistent with the full-featured experience
Future Offline Functionality
After building list functionality, we would like to test and explore the opportunity to deliver content while users are fully offline:
- The mobile website must provide offline support for user selected articles
- Users may access offline articles by flagging each article they would like to read offline from the article page
- The article will be saved to a list of saved (offline) pages
- Users must be prompted to save a link to their offline articles to their home screen
- Offline support must be available for all browsers that support service workers
High-Level Technical Requirements
See Reading/Web/Projects/NewMobileWebsite/Technical_overview for a high level overview on the technical side.
As we progress we'll define more the approach and make RFCs when we need to make specific decisions.
Q3 (March 2017): Product plan and architecture decisions
Q4 (Apr-Jun 2017): Initial development stage
- Development plan
- Requirements for first iteration
- Overview of all current functionality for the mobile website
- (if time) requirements for additional/new functionality
- Define MVP features
- Setting up initial Phabricator tasks
Q1 - Q2 (Jul 2017 - Dec 2017):
- Set up development infrastructure
- Test infrastructure
- Define MVP
Q3 (Jan-March 2018):
- Complete prototype for user testing
- User testing on new features
- Define MVP for small wiki test based on user test results
Q4 (Apr-Jun 2018):
- Complete mvp for small wiki test
- Launch beta and small wiki test
- Open question: New domain and user testing or full rollout over m.wiki
- Continue developing extended feature set
Q1-Q2 (Jul 2018 - Dec 2018)
- Large wiki test (TBD)
Open Questions and Current Unknowns
How will these changes impact our communities?
As noted before, the outcome of this change will be widespread. We are hoping to create a faster website that is reliable under conditions of low connectivity, which will benefit readers and editors alike. While this effort is currently contained to the reading team, we will be communicating with the editing team to draft out the implications for editing on mobile. For our first iteration, we are not expecting to develop changes to the current editing experience on mobile. As the project grows, we will be exploring ways to integrate improvements to the editing experience with the new website. We will be updating this page with any planned improvements to editing connected to this effort as we begin building and testing.
In addition, we are hoping that modernizing our infrastructure will bring an influx of technical volunteers interested in participating in this effort and future improvements to the new mobile website. Of course, at this time, this is just a theory, but reach out if you're interested in helping out.
Through this process, we will be reaching out to communities for feedback, ideas, and questions, as well as identifying communities that are interested in testing the changes.
How will this impact 3rd party mediawiki users and developers
At this stage - we’re not quite sure, but we have many options. One of the current possibilities is to work with the current version of mobilefrontend, strip it of some or many of it’s Wikimedia-specific features, and pass it over to our volunteers and community as the default 3rd party mobile website. While the services we will be creating may be for Wikimedia-specific use cases, they will also be available for 3rd parties.
How will this project affect the desktop experience
While we are currently considering this approach to be a mobile-only solution, we hope that these changes will inform and highlight any architecture decisions we make in the future, on both mobile and desktop web with the potential of creating a new architecture which functions smoothly across all platforms. However, we are early in the process and will be focusing on efforts that cover the above-identified problems.
In terms of functionality, we recognize that features that are useful on desktop may not necessarily translate to mobile and vice versa. Through the process of building the new website, we are hoping to identify these features and select which ones deserve replication, which may require specialized functionality, and which do not make sense to have on both platforms.
- Results not yet published, will update here with link when they are.