What it does
Every article opens in PageActivity, which hosts PageFragment and keeps browser-like tabs (the toolbar shows their count). PageFragment.loadPage() pushes the title onto the current tab's back stack and hands it to PageFragmentLoadState, which fetches the page summary from the REST API (and its categories), points the WebView at the page's mobile-HTML through CommunicationBridge.resetHtml(), and upserts a HistoryEntry into Room. The page's JavaScript (the Page Content Service) talks back through the bridge as named messages — setup, final_setup, link, reference, image, media, pronunciation, footer_item and more; a link to another article goes through LinkHandler into handleInternalLink(), which opens talk and category pages in their own screens, scrolls to an anchor on the same page, and otherwise loads the new title onto the back stack. Back walks that stack before leaving the activity. A bottom PageActionTabLayout holds the most used actions (save, language, find in article, theme, contents, share by default) and the overflow has the rest — watchlist, talk page, edit history, new tab, categories, edit, view on map. Time spent reading is measured with an active timer that pauses in the background and is stored for the history entry (it feeds the Activity tab's reading time).