MediaWiki:Gadget-copyTable.js: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 35:
mw.hook( 'wikipage.content' ).add( function ( $content ) {
// .chunkinfo: the narrow right-floated Chunk Info boxes (summary
$content.find( 'table.wikitable' ).not( '.copy-table-added' ).each( function () {▼
// Phase 3) — the wrapper divs would break their float (text must
// wrap around them), and TSV copy is pointless for annotation rows.
▲ $content.find( 'table.wikitable' ).not( '.copy-table-added' ).not( '.chunkinfo' ).each( function () {
var $table = $( this ).addClass( 'copy-table-added' );
| |||