jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/375936 )
Change subject: [BREAKING CHANGE] Remove BookletLayout#getClosestPage
......................................................................
[BREAKING CHANGE] Remove BookletLayout#getClosestPage
Follows-up on I068dad8c79c4bda6ea37ab6a1eb6ba72ab6f7dc0
Bug: T76630
Change-Id: Ie8895480340811e85db440c213faddbe97202fd8
---
M src/layouts/BookletLayout.js
1 file changed, 0 insertions(+), 12 deletions(-)
Approvals:
jenkins-bot: Verified
VolkerE: Looks good to me, approved
Jforrester: Looks good to me, but someone else must approve
diff --git a/src/layouts/BookletLayout.js b/src/layouts/BookletLayout.js
index a89b522..4fb4d5b 100644
--- a/src/layouts/BookletLayout.js
+++ b/src/layouts/BookletLayout.js
@@ -342,18 +342,6 @@
};
/**
- * Get the page closest to the specified page.
- *
- * @deprecated 0.23.0 Use {@link OO.ui.BookletLayout#findClosestPage} instead.
- * @param {OO.ui.PageLayout} page Page to use as a reference point
- * @return {OO.ui.PageLayout|null} Page closest to the specified page
- */
-OO.ui.BookletLayout.prototype.getClosestPage = function ( page ) {
- OO.ui.warnDeprecation( 'BookletLayout#getClosestPage: Deprecated
function. Use findClosestPage instead. See T76630.' );
- return this.findClosestPage( page );
-};
-
-/**
* Get the outline widget.
*
* If the booklet is not outlined, the method will return `null`.
--
To view, visit https://gerrit.wikimedia.org/r/375936
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8895480340811e85db440c213faddbe97202fd8
Gerrit-PatchSet: 2
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Prtksxna <[email protected]>
Gerrit-Reviewer: VolkerE <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits