User:MarkJurgens/Customize

A list of customzations I've gathered

Add a 'Create this page' redlink to mediawiki:

Ref: http://baike.suanfazu.com/index.php?title=Customize_Mediawiki_MobileFront_for_Suanfazu&mobileaction=toggle_view_desktop

vi ./javascripts/modules/redlinks/redlinks.js and "return;" at the line "( function( M, $ )" // Flatten red links in JavaScript ( function( M, $ ) {return; if ( !mw.config.get( 'wgMFShowRedLinks' ) ) { $( function {return;                          $( '#content a.new' ).each( function { // Use html since links might contain sup or sub elements $( ' ' ).html( $( this ).html ).insertAfter( this ); $( this ).remove; } );               } );        }  }( mw.mobileFrontend, jQuery ) ); To create a new page after searching:

vi extensions/MobileFrontend/less/specials/search.less and comment the line ".mw-search-createlink," //.mw-search-createlink,  ## modified by suanfazu.com // FIXME: Revisit when search input is not in a table display: none; }
 * 1) search {