Matmarex has uploaded a new change for review. https://gerrit.wikimedia.org/r/76070
Change subject: Delete the ext.vector.footerCleanup module ...................................................................... Delete the ext.vector.footerCleanup module An experimental module whose functionality has been now imported into MediaWiki core and the WikiEditor extension. Related changes: I1b924999, Id9269876, I36ecd06b. Bug: 43689 Change-Id: I1672a830dc5e2c9a5e95b76f1618b57aaa252c55 --- M Vector.hooks.php M Vector.php D modules/ext.vector.footerCleanup.css D modules/ext.vector.footerCleanup.js 4 files changed, 0 insertions(+), 72 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Vector refs/changes/70/76070/1 diff --git a/Vector.hooks.php b/Vector.hooks.php index d2633c4..e3b141e 100644 --- a/Vector.hooks.php +++ b/Vector.hooks.php @@ -32,9 +32,6 @@ 'requirements' => array( 'vector-simplesearch' => true ), 'modules' => array( 'ext.vector.expandableSearch' ), ), - 'footercleanup' => array( - 'modules' => array( 'ext.vector.footerCleanup' ), - ), 'sectioneditlinks' => array( 'modules' => array( 'ext.vector.sectionEditLinks' ), 'configurations' => array( diff --git a/Vector.php b/Vector.php index 12d5cc9..112fae7 100644 --- a/Vector.php +++ b/Vector.php @@ -20,7 +20,6 @@ 'collapsiblenav' => array( 'global' => true, 'user' => true ), // The follwing are experimental and likely unstable - use at your own risk 'expandablesearch' => array( 'global' => false, 'user' => false ), - 'footercleanup' => array( 'global' => false, 'user' => false ), 'sectioneditlinks' => array( 'global' => false, 'user' => false ), ); @@ -85,13 +84,6 @@ 'jquery.expandableField', 'jquery.delayedBind', ), - ), - 'ext.vector.footerCleanup' => $vectorResourceTemplate + array( - 'scripts' => array( - 'ext.vector.footerCleanup.js', - ), - 'styles' => 'ext.vector.footerCleanup.css', - 'position' => 'top', ), 'ext.vector.sectionEditLinks' => $vectorResourceTemplate + array( 'scripts' => 'ext.vector.sectionEditLinks.js', diff --git a/modules/ext.vector.footerCleanup.css b/modules/ext.vector.footerCleanup.css deleted file mode 100644 index 0394d41..0000000 --- a/modules/ext.vector.footerCleanup.css +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Footer cleanup - */ - -/* General layout */ -#wpTextbox1 { - margin: 0; - display: block; -} - -.editOptions { - background-color: #F0F0F0; - border: 1px solid silver; - border-top: none; - padding: 1em 1em 1.5em 1em; - margin-bottom: 2em; -} - -/* Adjustments to edit form elements */ -.editCheckboxes { - margin-bottom: 1em; -} - -.editCheckboxes input:first-child { - margin-left: 0; -} - -.cancelLink { - margin-left: 0.5em; -} - -#editpage-copywarn { - font-size: 0.9em; -} - -#wpSummary { - display: block; - margin-top: 0; - margin-bottom: 0.5em; -} - -.editButtons input:first-child { - margin-left: .1em; -} diff --git a/modules/ext.vector.footerCleanup.js b/modules/ext.vector.footerCleanup.js deleted file mode 100644 index cab4791..0000000 --- a/modules/ext.vector.footerCleanup.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Footer cleanup for Vector - */ -( function ( $ ) { - // Wait for onload to remove edit help and "|" after cancel link. - $( window ).load( function () { - // Only if advanced editor is found. - if ( 'wikiEditor' in $ ) { - $( '.editButtons' ).find( '.editHelp' ).remove(); - // Remove the "|" from after the cancelLink. - var $cancelLink = $( '#mw-editform-cancel' ); - $cancelLink.parent().empty().append( $cancelLink ); - // Adjustment for proper right side alignment with WikiEditor. - $( '.editOptions, #editpage-specialchars' ).css( 'margin-right', '-2px' ); - } - } ); -} ( jQuery ) ); -- To view, visit https://gerrit.wikimedia.org/r/76070 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1672a830dc5e2c9a5e95b76f1618b57aaa252c55 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Vector Gerrit-Branch: master Gerrit-Owner: Matmarex <matma....@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits