MediaWiki:Gadget-extra-toolbar-buttons-core.js: Difference between revisions
Content deleted Content added
m missed one |
m format comment |
||
Line 101:
/**
*
* causes problems if leaving the edit summary unchanged. * See also [[bugzilla:8912]].
▲ * this was added by [[User:Deskana]], code by [[User:Tra]]
*/
addOnloadHook(function () {
if (document.___location.search.indexOf("undo=") != -1 && document.getElementsByName('wpAutoSummary')[0]) {
document.getElementsByName('wpAutoSummary')[0].value='1';
}
|