- More complete fix for Infoboxes on frwiki
- Break: Infoboxes on frwiki
- Breaking: Improve the performance of prep for collapse table transform. This required a change to input parameters.
- Breaking: Remove template-specific theme styles to work towards a more sustainable solution
- Fix: Infoboxes on frwiki
- Fix: Set accessibility role for footer items
- Feature: Expose single-element functions for expensive transforms
- Feature: Add 'notheme' class support
- Feature: pagelib.c1.Page.getProtection()
- Breaking: Include section information in payload for page issues and similar pages footer items
- Breaking: Update pagelib.c1.Page.getTableOfContents() response for consistency with page issues and similar pages response
- Feature: pagelib.c1.Page.getTableOfContents()
- Fix: title description text size not adjusting on user text preference change
- Fix: performance enhancements
- Fix: error caused by undefined interaction handler on standard web page load
- Feature: added onBodyStart and onBodyEnd functions to read client-provided information and perform theme and margin changes before content loads and the rest of setup after content loads
- Breaking: Footer interface changed
- Fix: Minify CSS
- Fix: Prevent crashes when parsing style tags
- Fix: Transform performance
- New: References link was added to Footer and InteractionHandling
- New: Sections that are marked server-side as only containing reference lists are hidden via CSS
- Breaking:
PageMods
is nowPage
- Breaking:
setMulti()
inPage
is now calledsetup()
- Breaking: Most pcs functions removed the
document
parameter - Breaking:
Footer.add()
now takes a parameter object - Change: images are not loaded automatically anymore. Set
loadImages
totrue
inPage.setup()
if you want images to be loaded. - Change: Read more links now start with
./
instead of/wiki/
- Change: Edit buttons are not shown by default anymore.
- New: Clients specify if and what edit buttons should be shown via
Page.setEditButtons(isEditable, isProtected)
. - New:
Page.getRevision()
. Useful to make the proper follow-up requests to the companion JSON endpoints, (metadata, references, ...) - Fix: Prevent placeholder to be wider than the viewport width on initial load
- Fix: Check for requestAnimationFrame before use
- Change: don't pass natural size with imageClicked action
- New: pass href with imageClicked action
- New: pass title and text for linkClicked actions
- New: added href to ReferenceCollection in collectNearbyReferences output
- Fix: republish v8.3.0 which didn't "take" correctly
- Change: rename areTablesCollapsed to areTablesInitiallyExpanded
- Clients should now negate this boolean value. The old flag doesn't do anything anymore. (Not marking it breaking because before it wasn't working correctly yet.)
- New: add interaction handling for pronunciation button
- Fix: references click interaction handling serialization
- New: Localized strings for add description and the CollapseTable transform can be passed in by the client
- Fix: appearance of spans with specific background color
- Fix: some infoboxes were floating
- Breaking: footer implementation used by iOS app removed a couple of public functions
- New: PCS: footer functionality
- New: PCS: get offsets for sections
- New: Collect references item which contain only href and text
- Fix: republish v7.1.0 which didn't "take" correctly
- New: Allow clients to adjust text size
- Fix: TemplateStyles CSS appearing in quick facts header
- Breaking: Remove callbacks from BodySpacingTransform
- New: PCS abstraction layer
- New: CollapseTable
toggleCollapsedForAll
method - New: DimImagesTransform
dimImages
andareImagesDimmed
methods which operates on a document instead of window - New: PlatformTransform
setPlatform
method - Fix: Unset any explicit height of collapsible tables
- Update: Bump patch version of vulnerable dependencies
- Deprecated: DimImagesTransform
dim
andisDim
- Update: Add nodenv and nvm support, set node version to current long term stable release 10.15.3
- Update: Re-resolve dependencies with node 10 and npm 6, run
npm audit fix
- Fix: Remove background-color: initial on .content to fix mobile-html
- Fix: tablet landscape collapsed tables
- Fix: tablet landscape image widening
- Add:
build:debug
option which correctly builds sourcemaps and doesn't minify - New: BodySpacingTransform
- Fix: pre-emptively override upstream ordered list CSS changes
- Fix: absolutely positioned image widening bug
- Fix: dark / black theme white background bug - follow-up for older Android versions
- New: optional
value
parameter forclosestInlineStyle
- Chore: upgrade dependency
- Fix: dark / black theme white background bug
- Chore: upgrade dependency
- Update: break up CollapseTables.adjustTables into two methods
- New: edit transform method for article header
- Fix: extracted references not removing styles
- Fix: infobox too narrow issue
- Update: footer heading color, size and spacing (currently only used by iOS)
- Update: add LazyLoadTransformer.collectExistingPlaceholders() API for querying server-side transform image placeholders
- New: adjacent reference extraction
- Chore: upgrade dependencies
- Chore: add JavaScript type-checking support via TypeScript
- Fix: brick, pie, bar, and stacked bar chart, and chessboard theming.
- Fix: infobox collapsing on frwiki
- Update: add optional parameter to EditTransform.newEditSectionButton() to allow edit pencil to be hidden
- Fix: workaround Node.js Webpack require issue webpack/webpack#6525
- Fix: add source maps to debug builds
- Update: add event logging label to
Read more
item urls.
- Fix: use correct parameters for
Read more
display titles.
- Fix: second attempt to fix theme css regression. v6.0.5 did not fix it.
- Fix: theme css regression. Collapsed table borders were missing for sepia and dark themes.
- Update: update dependencies
- Update: slight adjustments to edit pencil spacing
- Update: use new parameters for
Read more
wikidata descriptions
- Fix: hiding edit pencils on iOS for sections H3 to H6
- Breaking: update section header presentation for multiline titles; integration notes:
- Clients should now call EditTransform.newEditSectionHeader() instead of newEditSectionButton() and remove any custom code; please see JSDocs and demo
- Update: change the size of the edit pencil to make it look more compatible with other edit pencil views in the android app
- Chore: replace Rollup.js bundler with Webpack; there are no anticipated client changes necessary but integrators should smoke test CSS and JavaScript functionality, especially on older devices, and app devs should verify their development workflows
- Chore: rename NPM
dev
script to canonicalstart
- Breaking: removed 'fragment' parameter from 'hideRedLinks' method
- New: consolidated 1st paragraph relocation transform with 'moveLeadIntroductionUp' kickoff method
- Update: bump Babel iOS target version to 10.3 and Android to 4.4
- Fix: improved collapsed table header collection
- New: CollectionUtilities methods for gathering page issues and disambiguation information
- Fix: image maps were missing the usemap attribute after the lazy image load transform
- Fix: occassional console error when updating read more save buttons
- Fix: bug with determining image widening ancestors on certain signpost pages
- Fix: more follow-up "black" theme tweaks
- Fix: follow-up "black" theme tweaks
- Fix: encoding of titles when updating Read More save buttons
- Fix: lazy loading race condition in demos
- Fix: image widening not always working on iOS when used with lazy loading
- Fix: "black" theme collapsed table outline color
- New: add "black" theme, which features a fully-black background to optimize for AMOLED displays.
- New: adjustTables allows for setting up tables for expand / collapse behavior without initially collapsing them
- Fix: fix themes for code highlighting
- Fix: fix some of the graphs and charts issues for dark and sepia themes
- Fix: remove unneeded recursion in table collapse transform
- Fix: add missing talk page menu type
- Fix: override image ancestor inline heights (found in Parsoid HTML) with
height: 'auto'
- New: add a footer link to view the article in browser
- New: add a link to a talk page as a footer menu item
- Fix: use 'pagelib_' prefix and snake_case consistently for transform CSS class naming
- Fix: some parts of football uniforms not being classified as presuming white background
- Fix: collapse table theming - increase specificity of collapse table theme selectors
- Fix: catch failed read more request Errors
- Update: footer wordmark
- Fix: dark and sepia theming on articles which contain color swatches and sports uniforms
- Fix: add a few css properties to read more part of the footer
- Fix: hide edit pencils on iOS on H3, H4, H5 and H6
- Fix: dark and sepia themes fixes for various elements including those having inline style colors
- Chore: add theme demo. To add articles to theme demo update
articles.json
then runupdate.js
- Chore: trim read more data client
- Fix: add missing href on edit anchor
- Fix: LazyLoadTransformer deregistration
- Chore: add
dev
andbuild:watch
scripts
- New: edit transform
- New: image dimming transform
- Fix: dark mode collapsed table secondary text and edit link colors
- New: add platform transform
- Fix: dark and sepia themes for tables
- Fix: dark and sepia themes for footer transforms
- New: add footer transforms
- Update: support lazily loading widened images without reflows
- Update: add loading and error states to lazily loaded images and retry handler
- Chore: update
LazyLoadTransform
demo to use image widening.
- New: add theme transform with dark mode support
- New: add lazily loaded image transform
- Chore: upgrade dependencies
- Breaking: require a Window instead of a Document in the first parameter of CollapseTable.collapseTables()
- New: update bundle to support AMD, ES, and IIFE / script usage, in addition to CJS
- New: emit a
section-toggled
CustomEvent when a table is expanded or collapsed - Fix: use
Array.prototype.slice
instead ofArray.from
to fix compatibility bug
Broken package. Do not use.
- New: add RedLinks.hideRedLinks()
- Breaking: hide CollapseTable.getTableHeader()
- New: add CollapseElement.collapseTables() and toggleCollapseClickCallback();
integration notes:
- Android and iOS: "..." replaced with ellipsis character, "…"
- Android:
- Don't collapse main pages
- Don't collapse
.mbox-small
elements
- iOS: toggleCollapseClickCallback() now toggles caption visibility
- Chore: upgrade dependencies
- Fix: use polyfill for Element.matches()
- Breaking: rename applib to wikimedia-page-library including build products
- Breaking: divide build products into transform and override files
- Mislabeled package. Do not use.
- Fix: center widened image captions from Parsoid
- Chore: update CollapseTable tests to be more consistent
Broken package. Do not use.
- New: JS and CSS for image widening transform (example integration)
- New: CSS delivered via "applib.css" by way of "rollup-plugin-css-porter"
- Fix: don't version build products
- Chore: respect arguments passed to
npm run lint
- Breaking: rename CollapseElement to CollapseTable
- Fix: postversion script
- Fix: generate CommonJS output
- Chore: add source map
- Chore: change bundler from Browserify to Rollup
- Chore: test bundle directly not intermediates
- New: add CollapseElement.getTableHeader() function
- New: library