User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
quick fix for too small textbox when mw:Help:Extension:WikiEditor/Realtime Preview is enabled on the wiki
remove getEditboxContents function; all Global Search results are copies of this script
Line 563:
return false;
}
 
function getEditboxContents() { // ajaxPreview compatibility
if(unloadHandlerRegistered) {
// wikEd compatibility (frame -> textarea)
if(typeof wikEdUseWikEd != "undefined" && wikEdUseWikEd) {
WikEdUpdateTextarea();
}
return integrateRefs(mainTextbox.value, refsTextbox.value, randPrefix, true).wikiText;
} else {
return mainTextbox.value;
}
}
 
// Leave a global for ajaxPreview to use.
window.getEditboxContents = getEditboxContents;