[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Keywords|patch, patch-need-review| -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 --- Comment #9 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 88151 abandoned by Legoktm: ReferenceError: wgDraft is not defined https://gerrit.wikimedia.org/r/88151 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed: What|Removed |Added Status|PATCH_TO_REVIEW |NEW --- Comment #10 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- (In reply to comment #9) Change 88151 abandoned by Legoktm: As Yuvi pointed out, this is an ugly hack, and should be fixed in some other way. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed: What|Removed |Added CC||legoktm.wikipe...@gmail.com --- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- *** Bug 55395 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|AJAX button not working on |AJAX button not working on |MW 1.20: ReferenceError: |MW 1.20+: ReferenceError: |wgDraft is not defined |wgDraft is not defined Ever confirmed|0 |1 --- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- Confirming that this bug exists in current master (1.22), and I was able to reproduce it on 1.21 too. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 --- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- I can easily reproduce this bug, but when I use debug=true it works just fine. Also, Chromium and Firefox both handle this error differently. Firefox will submit the form and save the page (bug 55395), but Chromium just sits there. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|NEW |PATCH_TO_REVIEW -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 --- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 88151 had a related patch set uploaded by Legoktm: ReferenceError: wgDraft is not defined https://gerrit.wikimedia.org/r/88151 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20+: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 --- Comment #8 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- (In reply to comment #0) --- Drafts.hooks.php.bak2013-01-12 20:28:03.0 +0100 +++ Drafts.hooks.php2013-01-12 20:29:00.0 +0100 snip So this part was already committed for the most part. --- modules/ext.Drafts.js.bak 2013-01-12 20:08:37.0 +0100 +++ modules/ext.Drafts.js 2013-01-12 20:27:45.0 +0100 @@ -194,5 +194,5 @@ } } -var wgDraft = new Draft(); +window[wgDraft] = new Draft(); wgDraft.initialize(); I put this part in gerrit. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 gavin boy90...@widelab.org changed: What|Removed |Added CC||boy90...@widelab.org --- Comment #3 from gavin boy90...@widelab.org --- I used other way to solve this bug. I modify modules/ext.Drafts.js. You have to modify 2 position. line:121 line:135 BEFORE: // Sets timer to save automatically after a period of time timer = setTimeout( 'wgDraft.save()', configuration.autoSaveWait * 1000 ); AFTER: // Sets timer to save automatically after a period of time timer = setTimeout( function () {self.save()}, configuration.autoSaveWait * 1000 ); I use v1.21 . In IE9 chrome firefox,it can work. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 --- Comment #2 from Andre Klapper aklap...@wikimedia.org --- Hi Ilia! Thanks for your patch! You are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier for us to review it quickly. Thanks again! We appreciate your contribution. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 43910] AJAX button not working on MW 1.20: ReferenceError: wgDraft is not defined
https://bugzilla.wikimedia.org/show_bug.cgi?id=43910 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Normal Summary|AJAX button not working on |AJAX button not working on |MW 1.20 |MW 1.20: ReferenceError: ||wgDraft is not defined -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l