Benutzer Diskussion:ASM/Archiv

aus Wikipedia, der freien Enzyklopädie
Letzter Kommentar: vor 14 Jahren von ASM in Abschnitt Default to minor edit?
Zur Navigation springen Zur Suche springen

QuickEdit

QuickEdit I

Hallo ASM, dein QuickEdit-Skript habe ich gleich mal ausprobiert. Es funktioniert überraschend gut und schnell. Vielen Dank dafür! Würde es viel Aufwand für dich bedeuten, den Textbereich mit dem Attribut accesskey="," zu versehen? Beim Navigieren zwischen Formularelementen arbeite ich vorwiegend mit der Tastatur. Die Möglichkeit, mit der gewohnten Tastenkombination ins Editierfeld zurück springen zu können, habe ich vermisst. Vielen Dank --Wiegels „…“ 07:24, 12. Aug 2006 (CEST)

Hallo, Danke fürs Testen und für die Anregung. Ich habe jetzt 4 Accesskeys eingefügt, s, p, a und "Komma". Bis auf das a (für abbrechen), welches sonst nicht vorhanden ist, entspricht das ja den gewöhnlichen Accesskeys der Bearbeiten-Seite. Ich hoffe und denke, dass es so in Ordnung ist. ×ASM× 14:16, 12. Aug 2006 (CEST)
Hallo ASM, danke erstmal für die spontane Umsetzung meines Wunsches. Die übrigen Tastenkombinationen sind auch hilfreich. Der Buchstabe A ist zwar schon im Einsatz, aber nur auf Spezialseiten, die ja nicht editierbar sind. Bei der Gelegenheit möchte ich noch einen weiteren Wunsch äußern. Könntest du die Tabulator-Reihenfolge so ändern, dass bei Navigation mit der Tabulatortaste das Zusammenfassungsfeld wie gewohnt direkt vom Textbereich angesprungen wird? Leider muss ich auch einen Bug melden. Ich habe die Erfahrung gemacht, dass das Watch-Flag verloren geht, wenn es gesetzt war. Viele Grüße --Wiegels „…“ 15:34, 12. Aug 2006 (CEST)
Ich glaube beide Punkte sind jetzt eingearbeitet und funktionieren. ×ASM× 17:29, 12. Aug 2006 (CEST)
Nach kurzem Test kann ich bestätigen, dass dein Skript wie erwartet funktioniert hat. Vielen Dank --Wiegels „…“ 22:15, 12. Aug 2006 (CEST)

QuickEdit II

du schriebst hier Elemente werden beim Wiedereinblenden immer als display: block; angezeigt (meistens richtig, aber u. U. falsch (z. B. bei der TOC)) -- setz den style einfach nicht auf "block" sondern auf null, dann nimmt zumindest firefox wieder das, was aus dem CSS kommt. -- 01:16, 13. Aug 2006 (CEST)

Stimmt, funktioniert. Danke. ×ASM× 11:37, 13. Aug 2006 (CEST)

QuickEdit III

Hi, kannst du das irgendwie regeln, dass man mit dem Quickedit-Script die Änderungen mit Nur Kleinigkeiten wurden verändert markieren kann? TZM FragenUrteilHier unterschreiben!! 12:49, 14. Aug 2006 (CEST)

Ist gemacht. ×ASM× 20:57, 14. Aug 2006 (CEST)

QuickEdit IV

Hallo ASM,

vielen Dank für dein Script! Leider wird der Text nicht mehr angezeigt, wenn ich auf Abbrechen klicke. Im Firefox geht's, im Opera leider nicht (Opera/9.01 (X11; Linux i686; U; de)). --Igge (Disk.) 01:02, 19. Aug 2006 (CEST)

Ich habe jetzt versuchsweise ne Änderung eingebaut, probier's mal (habe selbst kein Opera). ×ASM× 20:18, 20. Aug 2006 (CEST)
Danke, jetzt geht's! ;) --Igge (Disk.) 20:47, 20. Aug 2006 (CEST)

QuickEdit V

Einfach nur Geil, vielen Dank dafür. Vor allem so schnell! Was ich noch unvollkommen finde, bei der Vorschau landet man doch wieder im alten Vorschaumodus, und wenn man auf den Back-Knopf im Browser geht, ist man aus dem Quickedit ganz raus.

Also, so eine Vorschau im Kontext der Seite wäre doch cool. Das Editfenster könnte dann eingeklappt oder niedriger ausfallen, oder ganz entfallen (oben nur die Rote Vorschauwarnung), man muss erneut auf Quickedit klicken, um weiter zu editieren.--Löschfix 17:11, 1. Sep 2006 (CEST)

An eine Inline-Vorschau dachte ich auch schon. Das ist prinzipiell auch das gleiche wie das Absenden des Formulars per Ajax (was momentan nicht so ist). Also schon eine vergleichsweise größere Änderung. Möglicherweise werde ich es noch einbaun, mal sehen. ×ASM× 18:13, 1. Sep 2006 (CEST)
Aber, die jetzige Vorschau hat den Vorteil, dass einem dann die Editwerkzeuge zur Verfügung stehen.--Löschfix 23:49, 12. Sep 2006 (CEST)

Quickedit VI

Wie wäre es denn, wenn man mit dem Quickedit die Option verbinden könnte, zum letzten (eigenen) Edit hinzufügen ohne History-Vermerk, also im Sinne von Zusammenfassen von Edits. Aber dazu müßte wohl die MediaWiki geändert werden, ist ja auf der Todo-Liste angedacht.--Löschfix 17:16, 1. Sep 2006 (CEST)

Kann es sein, dass QuickEdit das erste Leerzeichen löscht? Also wenn die Seite mit einem Leerzeichen beginnt, wie z.B. beim monobook.js oder monobook.css.--Löschfix 17:38, 1. Sep 2006 (CEST)

Ja, dies liegt meiner Auffassung nach daran, dass Firefox bzw. die JavaScript-Engine von Gecko Leerzeichen zu Beginn wegtrimmt. Daran ist wohl nichts zu ändern. ×ASM× 18:11, 1. Sep 2006 (CEST)
Verstehe, muss man dann extra drauf achten, aber das kommt ja nur in dem Spezialfall vor.--Löschfix 04:01, 2. Sep 2006 (CEST)

QuickEdit VII

Neuerdings werden bei mir (FF 1.5.0.6) die QuickEdit-Schalter doppelt angezeigt. TZM Alles ist relevant! 15:40, 11. Sep 2006 (CEST)

Öhm ja, bei mir auch. Warum weiß ich nicht, mal schaun. ×ASM× 16:39, 11. Sep 2006 (CEST)
Jetzt nicht mehr ... könnte an dem MarkAdmin-Script gelegen haben. Das MarkAdmin-Script lädt die Datei [1] vom Toolserver, und der scheint momentan down zu sein. Warum es zweimal angezeigt wurde weiß ich nicht, möglicherweise wurden die OnLoad-Funktionen zweimal ausgeführt. ×ASM× 16:44, 11. Sep 2006 (CEST)

QuickEdit VIII

Ich glaube ich hab noch einen BuggelBug gefunden. Normalerweise, wenn man in dem normalen Editfenster ein Wort doppelklickt, wird es markiert. Auch dann, wenn man den Doppelklick zum Editieren der ganzen Seite eingeschaltet hat. Macht man das ganze in quickedit, geht die Editierfunktion der ganzen Seite an, anstatt dass das Wort markiert wird. Ist noch ein kleiner Schönheitsfehler.--Löschfix 23:58, 12. Sep 2006 (CEST)

Und noch ein seltsamer Effekt tritt bei mir im Zusammenhang mit den Navpops auf. Diese sprechen auch in dem Quickeditfenster auf Links an, die Popups frieren dann aber ein und lassen sich offenbar erst durch Click auf Vorschau sinnvoll entfernen, um weiterzuarbeiten.--Löschfix 17:29, 16. Sep 2006 (CEST)

QuickEdit IX

Weil du das mit dem Editfenster so geschmeidig (ich meine quick) hinbekommen hast, und mein Browser, bzw. Rechner sonst immer sehr viel Zeit mit dem redraw zubringt, gibt es keine Möglichkeit eines teilredraws bei der Vorschau oder beim Speichern? anstatt dass immer das ganze fenster redrawt wird? Aber das ist sicher eine MediaWiki sache.--Löschfix 23:58, 12. Sep 2006 (CEST)

QuickEdit X

Seit an den Bearbeitenknöpfen irgendwas gedreht wurde, sind die QE-Schalter nicht mehr da (Ausnahme ist Section 0). Kannst du da am Code was ändern, damit das wieder geht? TZM –– Unterstützt die Toleranzkriterien 10:53, 22. Okt. 2006 (CEST)

Ich denke es geht nun wieder. ×ASM× 10:32, 31. Okt. 2006 (CET)

QuickEdit, again

I used QuickEdit succesfully on the English wikipedia until recently. However, the QuickEdit links stopped working some time in the last month or two, except for the one at the top of the page for editing section 0. Do you know why? Lupin.en 22:12, 10. Nov. 2006 (CET)

The same error was reported right above (topic QuickEdit X) and I think I have fixed it, at least for the German wikipedia. Have you tried to reload the script (refresh via Strg+Shift+R)? ×ASM× 22:16, 10. Nov. 2006 (CET)
Ah yes, that fixed it. Thanks! Lupin.en 15:23, 11. Nov. 2006 (CET)
It seems to be broken on en again, although it works on de. The problem actually seems to be with very long pages, such as my talk page on en, or for example Schurken im Batman-Universum. When I click one of the last quickedit links on such a long page, firebug says that the ajax bit is working, but the section simply disappears without ever being replaced by an edit box. Also, the graying out of the other QuickEdit links doesn't work. Lupin.en 11:21, 18. Nov. 2006 (CET)

This patch seems to fix things for me - the issue was that only the first two digits in the section number were being picked up, so the script didn't work for sections numbered with 3 or more digits. Lupin.en 12:26, 18. Nov. 2006 (CET)

--- quickedit-orig.js   2006-11-18 11:20:04.000000000 +0000
+++ quickedit.js        2006-11-18 11:20:47.000000000 +0000
@@ -206,18 +206,12 @@
    {
       // Section-Link suchen
       var link = sections[i].childNodes[1].href;
-      var pos = link.search(/section=/);
-      var section = link.substring(pos+8);
-
-      // Sicherstellen dass nur g?tlige Section-Nummern dort sind
-      // (im Normalfall ?berfl?ssig, aber wer wei?)
-      var j;
-      for (j = 0; j < 2; j++)
-        if (isNaN(section.charAt(j))) break;
-
-      if (j == 0) continue;
-      section = section.substring(0, j);
-      ////
+      
+      var section=null, match=null;
+      if (match=/section=([0-9]+)/.exec(link)) {
+             var section = +match[1];
+      } else break;
+      if (!section) continue;
 
       sections[i].style.fontSize = '8pt'; // x-small sieht bei mir "doof" aus

You are right, only two digits were taken for the section number. I have changed it to your version now, so it should be working. ×ASM× 19:48, 26. Nov. 2006 (CET)

QuickEdit on italian wikipedia

Hi there,
thanks for making quickedit. It works for me on the English wikipedia, but not on the italian version: it says "loading data..." and stays there. My monobook.js is at it:Utente:Alfio/monobook.js. What could be wrong? Ciao, Alfio 21:02, 6. Jan. 2007 (CET)

I took a look at it and I think the error occurs because the Italian Wikipedia doesn't produce XML-confom output in the edit pages. Although tiny XML errors don't affect the output itself, JavaScript cannot parse XHTML pages with errors. I had a simelar problem with the German Wikipedia because the article heading was not properly HTML-escaped.
I think on wp-it the old-style <br>'s (instead of <br />) were the reason, at least it worked with the page I have tested it. I have added another workaround to replace all of the <br>'s with <br /> so that the pages can be parsed properly. Try it out... ×ASM× 22:50, 6. Jan. 2007 (CET)
It works, good! Now I'll see if I can find where the wrong <br>'s are inserted... 84.220.100.78 22:57, 6. Jan. 2007 (CET)
Ok, I found a bunch of system messages with <br> and changed all of them to <br />. Now the xhtml should be correct. Alfio 23:13, 6. Jan. 2007 (CET)
Yep, now the page is valid XHTML (according to the w3c validator). So it should work fine even without the workaround. ×ASM× 00:39, 7. Jan. 2007 (CET)

#2

Hi, I'm an it.wiki user, and I have the same problem, when I click on quickedit link it says "loading data..." and no other. I tried to use both italian and original version, but the results are the same. Skyluke 12:45, 17. Jan. 2007 (CET)

I tried the current version of QuickEdit on some random pages on the it-wp and it always worked. Are you sure you are using the current version of QuickEdit and no old one in the cache or somewhere? If you still have the problem, please give me an example page where this problem occurs. ×ASM× 19:07, 17. Jan. 2007 (CET)
I use an official monobook where quickedit is added, I compare the italian version with yours, and is identical, except for translation, I'm the only one who it doesn't work. The problem occurs in every page of it.wiki. Skyluke 21:12, 17. Jan. 2007 (CET)
I'm sorry I can't reproduce the error. I also tried it with the translated version and it worked fine. Do you have any messages in the JavaScript console or anything else?
By the way, translating the whole thing could have been easier because you can add as many languages as you want in the array field which is at the bottom of the script. You would just have to add one line in qeSetLang() and it would work. Another thing, the 'KEY:F' is not replaced because the phrase name doesn't start with a 't', which stands for 'tab'. To fix it, you can either alter the qeSetPrefix function, or just add a 't' at the beginning of the phrase name. The 't'-check is done for performance reasons, by the way (say for instance you have 30 phrases with 5 languages, it would perform 150 regex substitutions but only 25 were necessary). ×ASM× 22:08, 17. Jan. 2007 (CET)
Now it works, magically.... Thanks for the help, nice job :D Skyluke 22:39, 17. Jan. 2007 (CET)

#3

God, this page is quite a mess :D Hi, Gatto Nero from it.wiki here. We are using Quickedit2 in an improved Monobook, but... When I try to use quickedit with Safari (mac os X tiger), Safari crashes. No problem with Firefox. Any idea? Gatto Nero 17:09, 3. Feb. 2007 (CET)

I'm afraid I can't help you. I don't have any experience with Safari, and I neither have an idea what could make it crash. The only browser-dependant thing I'va implemented (afair) is the function qeGetStyle. Try to replace it with the function of the original version. Btw, when exactly does it crash? ×ASM× 18:32, 3. Feb. 2007 (CET)
Exactly when I try to use it. I press on Quickedit, the browser freeze for some seconds and then crash. --Gatto Nero 19:01, 3. Feb. 2007 (CET)

QuickEdit 2

So, habe nun QuickEdit etwas erweitert, im Wesentlichen mit der Live Vorschau-Funktion. Auf manchen Seiten funktioniert diese Funktion leider nicht, da JavaScript die Seiten nicht richtig verarbeitet (bis jetzt hatte ich das Problem bei Script-Seiten, da meldet JS einen Fehler bei /*<pre>*/).

Ich bin für sämtliche Vorschläge/Kritiken/Fehlerberichte dankbar. Viel Spaß beim Benutzen!

Übrigens: wer die beiden Tabs oben richtig an die Box ranbekommt kann mir gerne verraten wie's geht. :) ×ASM× 14:58, 7. Jan. 2007 (CET)

  • Ich finde die Funktion sehr gelungen. Noch besser wäre es, wenn man für normale Vorschau (Alt + p), Speichern (Alt + s) und das umschalten zw. EditModus und LiveVorschau (Alt + irgendwas) die üblichen Shortcuts nutzen könnte. --Spongo 15:37, 8. Jan. 2007 (CET)
  • Die Accesskeys sind alle drin (so wie beim normalen Bearbeiten), allerdings sind Accesskeys bei Firefox 2.0 jetzt standardmäßig auf Umschalt+Alt+Key eingestellt. Mehr dazu (und wie man es wieder umstellt) hier. Welchen Key würdest du fürs Umschalten vorschlagen? ×ASM× 16:46, 8. Jan. 2007 (CET)
Dass sie schon drin sind wusste ich nicht, wie wärs mit einem Hint wie beim normalen MediaWiki:Edit. Habe die Keys beim FF2 schon lange umgestellt, aber weder Alt+p noch Alt+Umschalt+p funktioniert bei mir. Für das Umschalten habe ich keine Idee, alles gute ist vergeben. Vielleicht mit ö weil es unter p liegt. Gruß --Spongo 17:41, 8. Jan. 2007 (CET)
So, hab jetzt auf P die Live Vorschau gelegt und auf E zurück zum Bearbeiten. Bei mir funktionieren die Access keys auch so wie sie sollen. Die Hints habe ich jetzt hinzugefügt, das einzige was micht noch stört ist die Lücke zwischen den Tabs und dem Feld... :) ×ASM× 18:16, 8. Jan. 2007 (CET)
Vielen Dank erstmal, ist eine großartige Arbeit. Es funktioniert bei mir bisher ohne Fehler. Auch der Leerzeilenbug scheint nun verschwunden.--Löschfix 14:55, 15. Jan. 2007 (CET)

Preview bug

There's some bug with preview, that I noticed on the italian wikipedia. The template it:Template:Vetrina, which is used for features articles, has a DIV block to add a star next to the page title. This seems to confuse the quickedit preview. See for example it:Biodiesel, which has this template in the "collegamenti esterni" section. If you try to quickedit that section, the preview will be wrong. The page validates at w3c.org this time :-) 84.220.100.179 19:46, 10. Jan. 2007 (CET)

Well, the only strange-looking thing I can see on the whole page is that, when you use the live preview when editing the last section, the template box is shown. And that is definately no bug because of the way the Vetrina template works. It inserts the div-block you can see on the preview, and then a JavaScript of the it-wp removes the box and changes the title. Logically, no JavaScript is applied to the QuickEdit preview, so the template is shown as it is.
By the way, line 418 of it:MediaWiki:Monobook.js, which is
document.title = realTitleText + " - Wikipedia";, changes the page title to
Biodiesel <a href="http://it.wikipedia.org/wiki/Wikipedia:Vetrina" target="_blank" alt="Voci in vetrina"><img src="http://upload.wikimedia.org/wikipedia/it/2/28/Crystal_Clear_filesystem_services_18px.png" width="18px" height="18px"></a> - Wikipedia,
which is obviously not intended. However, I can't see any bug of QuickEdit. Anyway thanks for the feedback. ×ASM× 20:33, 10. Jan. 2007 (CET)

Inter-wiki QuickEdit

Do you think QuickEdit should work on the Homestar Runner Fanstuff Wiki? --138.130.37.153 06:29, 25. Jan. 2007 (CET)

Theoretically, it should work on any MediaWiki with the monobook skin. You will have to make some changes if the section edit links are not formatted as in wikipedia (a <span> inside the <hX> heading), in this case in the qeChangeSectionLinks function. If you are using another skin, you will probably have to make further changes. Also, check for wikipedia-specific variables and styles, element ids, class names etc. which are used in the script. Then either customize the script or the wiki software. Overall, the script can be used with any MediaWiki site, but there are several wikipedia-specific parts (due to the fact that it was designed for wikipedia). I can't predict which of them need to be changed, you will have to look at it yourself. ×ASM× 10:24, 25. Jan. 2007 (CET)
One way you could help me is by comparing the HTML source of a random page on HRFWiki to the HTML source of a random page on Wikipedia. --138.130.37.153 20:48, 25. Jan. 2007 (CET)

QuickEdit

Hi, I'm an italian wikipedian, and I've copied your script in it.wiki. Some of my teammates experienced crashes with Safari browser. I've seen that the script has been updated since I copied it: Are Safari crash fixed? I'm sorry, but I've not a Mac, and so I cannot test it by myself. Thanks for any reply. --Jalo Now, image free! 13:48, 3 feb 2007 (CET)

Quickedit patch

Quickedit has stopped working lately for me. Here's a patch, although I'm not sure what the code I'm patching really does so it's hard to be sure that I haven't screwed it up! Lupin.en 18:33, 7. Feb. 2007 (CET)

@@ -822,9 +822,10 @@
       var formaction = xml.getElementById('editform').action;
 
       var specialchars = document.getElementById('specialchar-container');
-      if (!specialchars.childNodes.length)
+      var xmlspecialchars;
+      if (!specialchars.childNodes.length && (xmlspecialchars = xml.getElementById('editpage-specialchars')))
       {
-         var node = xml.getElementById('specialchars').cloneNode(true);
+         var node = xmlspecialchars.cloneNode(true);
          node.style.display    = 'none';
          node.style.background = 'none';
          node.style.border     = 'none';

Quickedit cancel button doesn't work

Two little bugs which become apparent when I press cancel. If I manage to hit it before the text appears, then nothing seems to happen. If I press it after the text appears, then an alert box appears saying "QuickEdit Fehler: qeAjaxResponse" before the quickedit box disappears. Lupin.en 18:42, 7. Feb. 2007 (CET)

The cancel button shall not work while the text isn't loaded. So that is not a bug. I have no explaination for the other bug, but I just noticed that there was an error in the script anyway. I added a thing which will only work on the german wikipedia and didn't test it on en-wiki. There, an error occured. Try it out again now. ×ASM× 17:25, 10. Feb. 2007 (CET)
I'm still getting the qeAjaxResponse error box on this wiki when I press cancel after the text is loaded. The reason I discovered that nothing happens when I press cancel "too early" is that sometimes, when the wiki is being very slow, I am forced to wait a long time (several minutes) for the text to load and I get bored, so do want to cancel the process. Being able to do that would be beneficial, I think. Lupin.en 11:12, 13. Feb. 2007 (CET)

QuickEdit translation

Hello

Here: http://pl.wikipedia.org/wiki/Wikipedysta:Leafnode/quickedit.js is translation of QuickEdit into Polish (it has also translated heading, but I believe that you'll know where to look for translation strings ;) ). --LeszekKrupinski 11:32, 22. Feb. 2007 (CET)

There's also one thing, which Lupin.en mentioned above ("Quickedit patch" section). Div with special chars can be named different in different wikis, so it'd be nice to make this parameter, like translations. In Polish wiki it's "editpage-specialchars_userButtons". --LeszekKrupinski 13:20, 22. Feb. 2007 (CET)

I've also found special chars window annoying, so I've added option to disable it. --LeszekKrupinski 14:04, 22. Feb. 2007 (CET)

QuickEdit in catalan wikipedia

Hi,

I've been using QuickEdit in the Spanish wikipedia and it works really fine. The problem was when I try to use that in the Catalan one. I think I do it well, but when I try to edit using QuickEdit, the program starts but only shows Loading data..., during all the time.

I think it has been reported but I don't know which was the final solution. Can you take a look to my monobook (at ca:User:Iradigalesc/monobook.js) and say me anything?

Thanks!--Iradigalesc (discussions · +) 02:26, 18. Mär. 2007 (CET)

Solved! It was about an error in the code of MediaWiki:Edittools; which at last had been repaired by ca:User:Pasqual. Thank you in all ways!--Iradigalesc (discussions · +) 18:54, 19. Apr. 2007 (CEST)

Frage zu monobook.js

Was bewirkt var qeEnableSection0? Bei mir passiert durch die Änderung auf true nichts.--Τιλλα 2501 19:43, 11. Apr. 2007 (CEST)

qeEnableSection0 gibt an, ob ein QuickEdit-Link neben der Hauptüberschrift des Artikels erscheint. Damit kann man die Einleitung bearbeiten. true ist dabei die Standardeinstellung, wenn du es auf false stellst, sollte der Link nicht mehr erscheinen. ×ASM× 20:44, 11. Apr. 2007 (CEST)

Hide Links in Printable Version

I used this to prevent the [QuickEdit] link being shown in the title of the printable version:

var qeEnabled = (document.location.search.indexOf("printable=yes") == -1);

Thanks for this script, it's great :-) --86.20.29.228 10:29, 25. Apr. 2007 (CEST) (en:User:DaveJamesMiller)

Good suggestion! I have added the line to the script. Thank you! ×ASM× 21:40, 25. Apr. 2007 (CEST)

QuickEdit on cawiki

Hallo!

I'm Pasqual from cawiki. I'm interested to use the QuickEdit there, but I find some problems. They are:

  1. The ordre of the Edittools options are not the same one in each language.
  2. Some languages haven't the same number of options (at cawiki, we haven't the jiddisch neither the arabic characters in the ca:MediaWiki:Edittools).
  3. The toolbar disapears, and I'd want to keep it. Is it able?

I want to load your script to have always the last version.

Do you think that you can make anything about that I've wrote?

Can I give you the translation of qePhrase in Catalan to include these in your script?

Rewards. Sorry for my poor English Pasqual (ca)de 21:41, 20. Apr. 2007 (CEST)

Hello! First of all, QuickEdit is currently not updated anymore, unless there are suggestions or bug reports by other users. Nevertheless it's of course a good idea to use the original script and not a copy in other wikipedias because in some time there would be a lot of copies among the wikipedias, each one possibly a different version. I can of course include the Catalan translation into the script, just post it here or somewhere else.
The edittools thing isn't too easy to manage; as you said, it differs among the wikipedias. Understandably, I always try these things out at the german wikipedia and then customize it for the others. I will take a look at it when I add your language. ;)
Thank you for your suggestion anyway. ×ASM× 22:22, 22. Apr. 2007 (CEST)
These are the translations:
function qeSetLang()
{
   switch (wgUserLanguage)
   {
      case 'de': qeLang = 1; break;
      case 'en': qeLang = 2; break;
      case 'ca': qeLang = 3; break;

//    case 'xx': ...

      default: qeLang = 2;
   }

   qeSetPrefix();
}
var qePhrases = new Array(
   new Array('quickedit', 'QuickEdit',  'QuickEdit', 'QuickEdit'),
   new Array('submit',    'Speichern',  'Submit', 'Desa'),
   new Array('preview',   'Vorschau',   'Preview', 'Previsualitza'),
   new Array('cancel',    'Abbrechen',  'Cancel', 'Cancel·la'),
   new Array('k',         'Kleine Änderungen', 'minor', 'menor'),
   new Array('b',         'Beobachten', 'watch', 'Vigila'),
   new Array('error',     'Fehler',     'error', 'error'),
   new Array('nolinksfound', 'Keine Links gefunden', 'No links found', 'No s'ha trobat cap enllaç'),
   new Array('loading',   'Lade Daten', 'Loading data', 'Carregant dades'),
   new Array('liveprev',  'Live Vorschau', 'Live Preview', 'Previsualització instantània'),
   new Array('loadprev',  'Lade Vorschau', 'Loading preview', 'Carregant previsualització'),
   new Array('noprev',
           'Fehler: Vorschau nicht verfügbar (Seite konnte von JavaScript nicht gelesen werden)',
           'Error: preview not available (page could not be read by JavaScript)',
           'Error: previsualització no disponible (la pàgina no es pot llegir amb JavaScript)'),
   new Array('header',
             'MediaWiki QuickEdit 2',
             'MediaWiki QuickEdit 2',
             'MediaWiki QuickEdit 2'),
   new Array('tQuickEdit',
             'QuickEdit Ansicht (KEY:E)',
             'QuickEdit view (KEY:E)', 
             'Visualitza amb QuickEdit (telca:E)'),
   new Array('tLivePrev', 'Live Vorschau (KEY:P)',
             'Live preview (KEY:P)',
             'Previsualització (tela:P)'),
   new Array('tSubmit',
             'Änderungen Speichern (KEY:S)',
             'Submit changes (KEY:S)',
             'Desa els canvis (tecla:S)'),
   new Array('tPreview', 'Normale Vorschau', 'Normal preview', 'Previsualització normal'),
   new Array('tCancel', 'Abbrechen (KEY:A)', 'Cancel (KEY:A)', 'Cancel·la (tecla:A)'),
   new Array('tWatch', 'Beobachten (KEY:W)', 'Watch (KEY:W)', 'Vigila (tecla:W)'),
   new Array('tMinor',
             'Kleine Änderungen (KEY:I)',
             'Minor edit (KEY:I)',
             'Edició menor (tecla:I)'),

   new Array('strg',      'Strg',       'Ctrl',     'Ctrl'),
   new Array('shift',     'Umschalt',   'Shift',    'mayús')
);
Thanks! Pasqual (ca)de 23:54, 23. Apr. 2007 (CEST)
OK, I've added the language. Try it out (make sure you refresh without the browser cache :) ). If there are any mistakes, just let me know. ×ASM× 22:03, 25. Apr. 2007 (CEST)
All changes were right!
To see the right options for each language, please can you change your code as follows:
Your current code:
 if (specialchars)
 {
   var menu = "<select style=\"display:inline\" onChange=\"chooseCharSubset(selectedIndex)\">";
   menu += "<option>Standard</option>";
   menu += "<option>WikiSyntax</option>";
   menu += "<option>IPA-Lautschrift</option>";
   menu += "<option>Lateinisch</option>";
   menu += "<option>AHD</option>";
   menu += "<option>Altenglisch</option>";
   menu += "<option>Altgriechisch</option>";
   menu += "<option>Arabisch</option>";
   menu += "<option>DMG-Umschrift</option>";
   menu += "<option>Esperanto</option>";
   menu += "<option>Estnisch</option>";
   menu += "<option>Französisch</option>";
   menu += "<option>Galicisch</option>";
   menu += "<option>Griechisch</option>";
   menu += "<option>Hawaiianisch</option>";
   menu += "<option>Isländisch</option>";
   menu += "<option>Italienisch</option>";
   menu += "<option>Jiddisch</option>";
   menu += "<option>Katalanisch</option>";
   menu += "<option>Kroatisch</option>";
   menu += "<option>Kyrillisch</option>";
   menu += "<option>Lettisch</option>";
   menu += "<option>Litauisch</option>";
   menu += "<option>Maltesisch</option>";
   menu += "<option>Pinyin</option>";
   menu += "<option>Polnisch</option>";
   menu += "<option>Portugiesisch</option>";
   menu += "<option>Romanisch</option>";
   menu += "<option>Rumänisch</option>";
   menu += "<option>Serbisch</option>";
   menu += "<option>Skandinavisch</option>";
   menu += "<option>Slowakisch</option>";
   menu += "<option>Spanisch</option>";
   menu += "<option>Tschechisch</option>";
   menu += "<option>Türkisch</option>";
   menu += "<option>Ungarisch</option>";
   menu += "<option>Vietnamesisch</option>";
   menu += "</select>";
 
   specialchars.innerHTML = menu + specialchars.innerHTML;
My suggestion:
 if (specialchars)
 {
    switch(wgContentLanguage){
      case "ca":
        edittoolsOptions=
                      /*català*/
                      ["matemàtiques","fonètica","diacrítiques","ciríl·lic","alt alemany antic",
                       "anglés antic","àrab","berber","bosni/serbocroata","castellà","escandinau",
                       "eslovac","esperanto","estonià","francés","gal·lés","grec","grec antic",
                       "hawaià","hebreu","holandés","hongarés","indoeuropeu","irlandés",
                       "islandés","italià","japonés (romanji)","jiddisch","letó","lituà","maltés",
                       "navajo i apatxe", "pinyin","polonés","portugués","romanés","serbi",
                       "turc i ll. turqueses", "txec","vietnamita"]; break;
      case "de":
        edittoolsOptions=
                      /*Deutsch*/
                      ["Standard","WikiSyntax","IPA-Lautschrift","Lateinisch","AHD","Altenglisch",
                       "Altgriechisch","Arabisch","DMG-Umschrift","Esperanto","Estnisch",
                       "Französisch","Galicisch","Griechisch","Hawaiianisch","Isländisch",
                       "Italienisch","Jiddisch","Katalanisch","Kroatisch","Kyrillisch",
                       "Lettisch","Litauisch","Maltesisch","Pinyin","Polnisch","Portugiesisch",
                       "Romanisch","Rumänisch","Serbisch","Skandinavisch","Slowakisch","Spanisch",
                       "Tschechisch","Türkisch","Ungarisch","Vietnamesisch"
                      ]; break;
      default : edittoolsOptions=["Your Edittools are not defined"];
    }
 
    var menu = "<select style=\"display:inline\" onChange=\"chooseCharSubset(selectedIndex)\">";
    for(index in edittoolsOptions){
      menu += "<option>"+edittoolsOptions[index]+"</option>";
    }
    menu += "</select></span>";
    specialchars.innerHTML = menu + specialchars.innerHTML;
Pasqual (ca)de 20:15, 28. Apr. 2007 (CEST)

Sorry, this is not necessary but it can be able to reduce the code like this:

     ...
     edittoolsOptions=
        /*Deutsch*/
       ["Standard","WikiSyntax","IPA-Lautschrift","Lateinisch","AHD","Altenglisch",
        "Altgriechisch","Arabisch","DMG-Umschrift","Esperanto","Estnisch",
        "Französisch","Galicisch","Griechisch","Hawaiianisch","Isländisch",
        "Italienisch","Jiddisch","Katalanisch","Kroatisch","Kyrillisch",
        "Lettisch","Litauisch","Maltesisch","Pinyin","Polnisch","Portugiesisch",
        "Romanisch","Rumänisch","Serbisch","Skandinavisch","Slowakisch","Spanisch",
        "Tschechisch","Türkisch","Ungarisch","Vietnamesisch"
       ];
 
    var menu = "<select style=\"display:inline\" onChange=\"chooseCharSubset(selectedIndex)\">";
    for(index in edittoolsOptions){
      menu += "<option>"+edittoolsOptions[index]+"</option>";
    }
    menu += "</select></span>";
    specialchars.innerHTML = menu + specialchars.innerHTML;
    ...

Pasqual (ca)de 10:37, 2. Mai 2007 (CEST)


Erm, what exactly did you change? o_O ×ASM× 19:15, 3. Mai 2007 (CEST)
I have added the sticky option now. I think it works quite well. If you have better icons for it, tell me. :) ×ASM× 20:37, 3. Mai 2007 (CEST)

Quickedit in Commons

Hi, I'm Axxgreazz, sysop of Spanish Wikipedia.

Your quickedit is the best and work perfectly in Spanish Wikipedia. Nevertheless in Wikimedia Commons seems doesn´t work. I test your final version (Juli 2007) in Commons and when i press the link Quickedit result the error showed in the follow image. (print of Javascript' console of Mozilla Firefox.

Would you please check this?. Regards. Axxgreazz 07:12, 24. Jul. 2007 (CEST)

Hi, well, that is once again a problem with valid XML. The JavaScript DOM Parser requires valid XHTML pages to work with, but the commons edit page is not, which you can see here. The two errors are caused by the special char bar (where old-style <br>-tags are used) and by the English copyright notice (below the textarea), where one </p> is missing. I wrote a workaround for these errors, now QuickEdit should be working. Nevertheless a commons admin should fix these two errors.
Thanks for your feedback!
By the way, there is no need to copy over the whole script into your monobook.js. Just copy this line:
document.write('<script src="'
+ 'http://de.wikipedia.org/w/index.php?title=Benutzer:ASM/quickedit.js'
+ '&action=raw&ctype=text/javascript"></script>');
×ASM× 14:16, 24. Jul. 2007 (CEST)
Another thing: since quickedit is designed to work multilingual, it would be no problem to inlcude your translation (as done here) into the quickedit script, so you can include your localized version by using document.write or importPage or whatever and don't need to copy the whole script. That way you will also always use the latest version. ×ASM× 14:33, 24. Jul. 2007 (CEST)

quickedit - "qeShowErrors is not defined"

Hallo, das kommt bei mir bei jedem Seitenaufruf. Der QuickEdit-Link wird mir (im Gegensatz zu früher) auch nicht angezeigt. Woran liegts? Gruß --BLueFiSH  (Langeweile?) 13:18, 9. Aug. 2007 (CEST)

Hmm, also dass die Variable nicht definiert war, war in der Tat ein Minibug. Allerdings wird diese Variable sowieso nur dann gebraucht, wenn ein Fehler auftritt. Schreib mal qeShowErrors = true; mit in deine Monobook.js und schau mal, welche Fehlermeldung unterhalb des Seitentitels zu sehen ist (sollte eine kommen). Da bei mir alles normal ist, könnte es vielleicht eine Komplikation mit einem anderen Script sein ... mal sehen welche Fehlermeldung kommt. ×ASM× 15:38, 9. Aug. 2007 (CEST)
Hmm, merkwürdig. Momentan (zuhause) kommt der Fehler nicht. Werd ich mir mal für morgen vormerken, das auszuprobieren. Gruß --BLueFiSH  (Langeweile?) 15:48, 9. Aug. 2007 (CEST)
Problem hat sich erübrigt, Fehlermeldung kommt nicht mehr. War vielleicht nur ein Caching-Problem. Gruß --BLueFiSH  (Langeweile?) 14:14, 10. Aug. 2007 (CEST)

Quickedit, die nächste

Nur eine Kleinigkeit: Sollte statt "action=view" nicht auch "action=purge" erlaubt sein, um die Edit-Links anzuzeigen?--ttbya ± 00:08, 13. Sep. 2007 (CEST)

Stimmt, sollte auch erlaubt sein. Ich werds ändern. Danke für den Hinweis! Gruß ×ASM× 10:53, 13. Sep. 2007 (CEST)
Mit schönem Dank und freundlichen Grüße, ttbya ± 21:31, 14. Sep. 2007 (CEST)

polish translation QuickEdit

Benutzer:Adziura/quickedit-lang.js. Adziura 18:05, 27. Dez. 2007 (CET)

Thank you, i've added it. ×ASM× 00:06, 30. Dez. 2007 (CET)
Thanks. But why you remove polich chars? I think it works good. Adziura 15:38, 21. Jan. 2008 (CET)
Oh, they got lost somehow. I'll change it. ×ASM× 21:41, 22. Jan. 2008 (CET)
You lost polish chars. Adziura 13:19, 17. Apr. 2008 (CEST)
Polish chars are still not visible. --piotros 13:45, 19. Nov. 2008 (CET)

QuickEdit im Opera

Hi ASM, folgendes kosmetisches Problem gibt's im Opera: Wenn man auf den ganz oberen QuickEdit-Link einer Seite mit mehreren Abschnitten klickt und dann abbricht, bleibt vor der ersten Überschrift (also am Ende des nullten Abschnitts) folgender Code übrig:

//<![CDATA[ if (window.showTocToggle) { var tocShowText = "Anzeigen"; var tocHideText = "Verbergen"; showTocToggle(); } //]]>

Das Problem ist rein kosmetisch, aber wenn du ein bisschen Zeit hast, kannst du ja mal danach gucken! -- Ddxc 09:22, 11. Jan. 2008 (CET)

Hallo, danke für den Hinweis, habs geändert! Das kam daher, dass nach dem Inhaltsverzeichnis diese eine <script>-Zeile ist (eigentlich untypisch, die im laufenden Text zu platzieren, aber was solls). Die wurde dann, beim Wiedereinblenden des Textes, ebenfalls mit eingeblendet. Firefox zeigt <script>-Zeilen allerdings nicht an, auch wenn sie formal eingeblendet werden, daher ist es mir nicht aufgefallen. gruß ×ASM× 14:44, 12. Jan. 2008 (CET)

QuickEdit doesn't work in new Mediawiki Skin "Modern"

Please see where is bug. Prefences → Skin. Adziura 15:57, 25. Jan. 2008 (CET)

Are you sure the Monobook → Modern compatibility library is installed on your account?
Preferences → Gadgets, the 2nd option under "Libraries" should be checked. --Y2K 06:32, 13. Apr. 2008 (CEST)

QuickEdit on yiwiktionary

Halló ASM! Vielen Dank für « QuickEdit » . Ich habe mich erst vor kurzem bei w:en:project:WikiProject_User_scripts/Members angemeldet und experimentiere ein bischen herum. m:wikt:yi:special:Gadgets · m:wikt:yi:MediaWiki:Gadgets-definition · m:wikt:yi:MediaWiki:Gadget-QuickEdit · m:wikt:yi:MediaWiki:Gadget-QuickEdit.js sind die entsprechenden links.
Zum Einbinden des Standardcodes in RTL (rechts nach links) wikis könnte man den code "stabilisieren". Falls Du gelegentlich bei freenode.net (z.B. bei #wikipedia-de) bist, können wir uns darüber unterhalten. Gruß aus München
‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 20:56, 4. Feb. 2008 (CET)

Add italian to QuickEdit languages

'Cause QuickEdit speeds up the wikipedian life; especially for our, digital divided >:( Jalo 12:59, 29. Feb. 2008 (CET)

Hi ASM, in the early 2007 I've copied your tool on it.wiki, adding it to the official monobook italian tools. Now I wish to link directly your tool instead of keep a copy. The only problem is that some users asked me to add a new button for the sign, and linking your tool we loose this feature (unfortunately italian keyboards don't have the ~). Could you add a signature button? If you do so I'll update your lang page adding the italian.

Thanks in any case, bye. Jalo 12:53, 25. Feb. 2008 (CET)

A simpler question. Does the tool work with IE? Jalo 15:27, 25. Feb. 2008 (CET)
I've tried to update the lang-page adding the italian, but it's obviously locked. You can find the new version in one of my subpages. Jalo 16:22, 25. Feb. 2008 (CET)

Hi, thank you a lot for adding QuickEdit and for the translation. I've implemented it, I hope it works (at least it does here on de-wiki when I switch to Italien user language). I really asked myself why the Italian users necessarily need that button. I'd be faster typing the four tildes than moving my hand to the mouse and clicking on a button. But the fact that you don't have the tilde on your keyboards makes it clear. :) I'll have a look at it tomorrow, I hope you don't mind.
Unfortunately, QuickEdit does not work on IE. I did some approaches to make it compatible but gave up after some time. Debugging in IE is really getting on my nerves, you don't get any meaningful error messages, then the IE Dev Toolbar didn't work anymore, and even if you make your script 100% compatible with the current standards, IE produces errors. I might try again, sometime. ×ASM× 21:13, 25. Feb. 2008 (CET)

Thanks. Our code with the signature is there (if you want to copy something). In this version I tried to make it compatible with IE. Now it loads correctly, but when I click on "QuickEdit" it fails sending the qeRequest in the qeGetSection method. I've no experience with Ajax commands, and so I don't know what's the problem. In any case debugging is really disheartening, I've made all with alert commands. No problem if it doesn't work for IE, I will advertise Firefox :-) Jalo 10:54, 27. Feb. 2008 (CET)
OK, it should work now. I got it run in IE up to that point, too, but couldn't go any further. Maybe IE doesn't accept the XHTML response for whatever reasons. However, I could use MediaWiki's Ajax interface, but I would have to change quite a few things. Also, the special chars toolbar wouldn't be supported (although it only works on de-wiki I think) and I would have to RTFM about the Ajax interface. :) The reason why I didn't use it from the beginning on: I just didn't know it was there. And maybe it wasn't there at that time (August 2006) anyway. But besides IE compatibility, there is (currently) no need to change it. Let me see ... maybe if I have too much time ... ×ASM× 19:24, 27. Feb. 2008 (CET)

I confirm that it works on it.wiki too. If you add KEY:F to the sign it should be perfect. Thanx again. --Jalo 01:29, 28. Feb. 2008 (CET)

Actually I left it out because there is no sense to use "F" in any other lanaguage than Italian. But since I don't have a better idea, I'll use it. ×ASM× 19:02, 28. Feb. 2008 (CET)
Ooops, I'm italian oriented :-) Thanks Jalo 12:59, 29. Feb. 2008 (CET)

Italian compatibility for QuickEdit

Could you add this part of script into function addCharSubsetMenu() for the italian edittool compatibility?

  case "it":
       edittoolsOptions=
                     /*Italiano*/
                     ["Latino esteso","Wiki","Greco antico","Greco moderno","Cirillico","Arabo",
                      "Ebraico e yiddish","Armeno","Geroglifico","Vietnamita","IPA",
                      "Matematica"
                     ]; break;

Thank you --Melos 18:33, 8. Mär. 2008 (CET)

OK, just added it. Please see if it works. Thank you for your contribution! ×ASM× 18:51, 8. Mär. 2008 (CET)
It dasn't work. I've just fix it with this:
// CharSubset-Auswahl
function chooseCharSubset(s)
{
   var l = document.getElementById('specialchars').getElementsByTagName('p');
      for (var i = 0; i < l.length ; i++){
         l[i].style.display = i == s ? 'inline' : 'none';
         l[i].style.visibility = i == s ? 'visible' : 'hidden';
      }
}

what do you think?. thanks for all. --Melos 19:46, 8. Mär. 2008 (CET)

Oh yes, strange thing what they did in it-wp, using both the display and visibility property. Actually there is no sense in that because display: none hides the element completely and visibility only makes it transparent; so if an element is hidden, the visibility property is ignored anyway. ×ASM× 11:44, 9. Mär. 2008 (CET)
Thank you very very much. Now it works :). In it.wiki your script is much popular :) --Melos 13:01, 9. Mär. 2008 (CET)
You're welcome. Good to know you like it. ;) ×ASM× 13:26, 9. Mär. 2008 (CET)

Umtauschparadoxon

Hallo ASM, bitte schau dir mal die letzten Änderungen von Benutzer:NeoUrfahraner im Artikel an. --89.51.59.102 20:34, 19. Mär. 2008 (CET)

Eine sachliche Diskussion ist aus meiner Sicht durchaus willkommen; siehe auch http://de.wikipedia.org/w/index.php?title=Diskussion:Umtauschparadoxon&diff=42402839&oldid=42393344 --NeoUrfahraner 10:30, 20. Mär. 2008 (CET)

Leider bahnt sich in Umtauschparadoxon ein Editwar an; daher meine konkrete Frage: Beharrst Du auf Deiner Version oder darf ich meine Version einstellen? Wenn Du auf Deiner Version bestehst, musst Du aber auch Zeit für die Verteidigung Deiner Version investieren. --NeoUrfahraner 13:45, 20. Mär. 2008 (CET)

Hallo ASM, Benutzer:Rebiersch hat die Version [2] von Benutzer:NeoUrfahraner wieder in den Artikel eingesetzt. Um einen Editwar zu vermeiden möchte ich dich bitten eine Entscheidung darüber zu treffen ob diese Version Bestand haben soll oder ob nicht besser die alte Version [3] vorerst im Artikel bleiben sollte. --89.51.63.228 20:22, 21. Mär. 2008 (CET)

Hallo, Danke für den Hinweis. Ich werde aber an dem Artikel nichts ändern und mich auch nicht für eine Version entscheiden, so lange wir nicht in unserer inhaltlichen Diskussion zu einer gemeinsamen Erklärung des Paradoxons gekommen sind. Nach meinem jetzigen Erkenntnisstand halte ich beide Versionen des Artikels für unzulänglich oder falsch, aber wie gesagt würde ich dies ganz gern zunächst auf der Diskussionsseite klären wollen, bevor ich etwas an dem Artikel ändere. In meinen Augen ist, wie schon auf der Diskussionsseite erwähnt, das durch diesen Fall konstruierte Experiment schlicht und ergreifend kein Zufallsexperiment, so dass das Errechnen eines Erwartungswertes zwangsläufig fehlerhaft ist. ×ASM× 22:14, 21. Mär. 2008 (CET)

Hallo ASM, du sagst:"...würde ich dies ganz gern zunächst auf der Diskussionsseite klären wollen, bevor ich etwas an dem Artikel ändere..." Sehr ritterlich gedacht! Leider hat NeoUrfahraner seit deiner Änderung vom 15.Sep 2007 mehrmals den Artikel an entscheidenden Punkten geändert und u.a. auch deine Lösung wieder entfernt. Zuletzt wurde meine Kompromiss-Änderung wieder rückgängig gemacht und der Artikel auf Bestreben von NeoUrfahraner durch Scherben halbgesperrt. Eine Diskussion über den Artikel macht irgendwie wenig Sinn, wenn sie so einseitig durch Machtverhältnisse dominiert wird und Änderungen am Artikel nur durch eine Partei durchgeführt werden. Ich möchte dich deshalb darum bitten, den Artikel auf deine Version vom 15. Sep 2007 zurückzusetzen und ggf. den Artikel voll zu sperren, damit "Waffengleichheit" herrscht. --89.51.63.248 15:17, 16. Apr. 2008 (CEST)

Hallo, ich habe mich in letzter Zeit egtl. rausgehalten, weil ich einfach nicht die Zeit finde, mich umfassend damit auseinanderzusetzen. Die Diskussion scheint auch nicht wirklich vorwärts zu kommen, da ohnehin jeder auf seinem Standpunkt beharrt. Ich habe zwar inhaltlich eine ähnliche Auffassung wie du, nur gerade schlichtweg nicht die Zeit, die zu vertreten. Ansonsten könntest du doch auf der Diskussionsseite eine Art Kompromisslösung vorschlagen, falls sich so eine finden lässt. ×ASM× 20:32, 16. Apr. 2008 (CEST)

Ich hätte trotzdem gerne noch mal deine Meinung zu folgender Argumentation aus der Diskussionsseite erhalten:

Wenn Herr Schmidt Mathematiker wäre, würde er folgende Überlegung anstellen:
"Den einfachen Geldbetrag nenne ich n, den doppelten also 2n. Finde ich zuerst n (mit der Wahrscheinlichkeit p(A=n)=1/2) und tausche dann, gewinne ich n dazu. Finde ich zuerst 2n (mit der gleichen Wahrscheinlichkeit p(A=2n)=1/2) und tausche dann, verliere ich n davon wieder. Mein Erwartungswert für einen zusätzlichen Gewinn durch Tausch ist also E(Zusatz)=p(A=n)*n+p(A=2n)*(-n)=(1/2)n-(1/2)n=0. Dabei bedeutet p(A=n)=p(A=2n)=1/2, dass die Auswahlchance für jeden der beiden Umschläge gleich groß ist. Immer tauschen bringt somit keinen Mehrgewinn. Mein Erwartungswert für das Spiel insgesamt ist E=(1/2)n+(1/2)2n=(3/2)n. Ich kann also nun beruhigt meine Mathematikkenntnisse beiseite legen und dem Druck der umstehenden Partygäste nachgeben, die natürlich genauso wie ich neugierig darauf sind, den Geldbetrag im zweiten Umschlag zu erfahren. Ich tausche..."

Und wird damit die Annahme des Herrn Schmidt, dass durch Tausch durchschnittlich 25 Euro pro Spiel gewonnen werden können, nicht eindeutig widerlegt? --89.51.63.168 20:24, 18. Apr. 2008 (CEST)

automatically resize edit box

The script is excellent! I have a suggestion though: can the edit box be resized to fit the contents of the section? For small sections, it shouldn't need to take up more space than the section contents require. Perhaps it could even grow dynamically as we add text, thus rendering scroll bars unnecessary. Waldir 21:46, 19. Mär. 2008 (CET)

Quite a good idea, yes. I'll see. :) ×ASM× 14:54, 6. Apr. 2008 (CEST)

QuickEdit doesn't work in Firefox 3.0 beta (QuickEdit arbeitet nicht im Feuerfuchs 3.0 Beta)

I use Firefox 3.0 beta 4. When I start using QuickEdit, the "loading data..." never goes away. (Ich benutze Feuerfuchs 3.0 Beta4. Wenn I bearbeiten eine Seite, das QuickEdit System zu verwenden, lädt es keine Seite Daten.) --Y2K 11:45, 31. Mär. 2008 (CEST)

Hi, thanks for reporting. I'll take a look at it as soon as possible. ×ASM× 22:04, 31. Mär. 2008 (CEST)
OK I think I got it, try it out. ×ASM× 14:53, 6. Apr. 2008 (CEST)
Still doesn't work on HRFWiki. Maybe I should just wait until Firefox 3.0 is finished. --Y2K 08:46, 9. Apr. 2008 (CEST)
It works now that I've got Beta 5, which I guess was a big step for Mozilla. --Y2K 06:11, 13. Apr. 2008 (CEST)

QuickEdit special character function

When I'm using QuickEdit on HRFWiki and I click on the special character button, all that appears is a close button. (This is because HRFWiki doesn't have the extension required for the special character function.)

Would you please make your own special character script? --Y2K 07:23, 13. Apr. 2008 (CEST)

New feature

I'm using quickEdit on italian wiki and should be fine if it should be possible to add a button to remove a section and save it without empty the form. It is fine to use it when patrolling or dealing some long and boring patrolling lists ( like automatic copyright violations handling ) Lusum 23:41, 4. Mai 2008 (CEST)

QuickEdit außerhalb von Wikimedia

ich würde QuickEdit gerne als Gadget in einem Wiki außerhalb von Wikimedia anbieten, muss ich dazu etwas bestimmtes beachten, momentan funktioniert das aus irgendeinem Grund nicht, ich bekomme nur ein Lade Daten ... --DaSch 14:37, 9. Jul. 2008 (CEST)

Hallo, hast du mal in die Javascript-Konsole geschaut, ob eine Fehlermeldung ausgegeben wurde? Da QuickEdit nicht die MediaWiki-interne Ajax-Schnittstelle nutzt, sondern die normale Bearbeitungsseite lädt (historisch bedingt ;)), ist es wichtig, dass diese XML-konform ist, da sonst der XML-Parser nicht funktioniert. Hast du das mal geprüft? Dies war auch bei Wikipedia schon der Fall, da die MediaWiki-Software Sonderzeichen im Titel nicht richtig codiert hat; damals habe ich ein Workaround dafür eingebaut (Funktion qeFixXML). Sollte diese nicht-XML-Konformität der Grund sein und sich das Problem nicht seitens MediaWiki lösen lässt, könnte man wahrscheinlich auch dafür einen Workaround schreiben. Noch eine Frage: hast du das Script kopiert oder bindest du es direkt von Wikipedia ein? Gruß ×ASM× 15:41, 9. Jul. 2008 (CEST)
Ich hab es kopiert. Ich muss noch mal schauen und das mal durchtesten. Ich hab so ein paar Besonderheiten bei meinem Wiki mit den Pfaden etc. Ich schaus mir mal an und schreib dir dann meine Lösungen wenn ich welche finde. --DaSch 16:27, 9. Jul. 2008 (CEST)

A suggestion

When you save changes in QuickEdit, it refreshes the page; I don't like that. I noticed that Pilaf's Live Preview is getting very realistic - it differentiates between real links and broken links and even renders templates. Maybe instead of refreshing the page, you could replace the section content with the Live Preview rendering of the raw content. --58.173.104.186 03:09, 15. Jul. 2008 (CEST)

Good suggestion, I'll take a look at Pilaf's script and see if that is possible. ×ASM× 10:20, 15. Jul. 2008 (CEST)

Special chars

I tried tu use the special chars of your quick edit in this wiki (de.wikipedia.org) and seems don´t work. When i click in the special char button, the selected char don´t appear in the edit box and the page leave at the top. Can you please, chek it? Greetings --Axxgreazz 20:24, 27. Jul. 2008 (CEST)

I've got the same problem in it.wiki (script is called here). Thank you --Lenore 00:16, 3. Dez. 2008 (CET)
Hi, sorry I didn't answer you. It should be working now, please try! ×ASM× 18:49, 11. Feb. 2009 (CET)
Very well, thank you! Lenore 21:12, 25. Feb. 2009 (CET)

Übersetzung in griechischer Sprache für QuickEdit

Hello, I translated QuickEdit into Greek (el), but since I could not edit the page I saved it under the discussion page at Benutzer Diskussion:ASM/quickedit-lang.js. NerdyNSK 16:27, 13. Sep. 2008 (CEST)

Thank you very much for your work! Please check if it is working correctly (make sure to clear your browser's cache). ×ASM× 19:37, 13. Sep. 2008 (CEST)

QuickEdit in Nostalgia skin

Is QuickEdit designed only for the MonoBook skin? A version compatible with the Nostalgia skin would be highly desirable. NerdyNSK 12:06, 6. Okt. 2008 (CEST)

Basically, it is only for the MonoBook skin. There are some things hard-coded that should be more flexible, including some skin-specific stuff. However, it could be possible with a few customizations, maybe I'll take a look at it anytime soon. ×ASM× 14:49, 6. Okt. 2008 (CEST)

Not working again :/

Hi ASM! Sorry for the disturbance, but from 2 weeks on the "loading data" never disappears from the qEdit window, making it impossible to edit, again. Any idea of what's happening? Thank you very much again! --RedTony 23:27, 22. Jun. 2009 (CEST)

Hi RedTony, on which wikipedia do you get that problem? I just tried de, en and it and couldn't reproduce the error. Everything seems to work fine for me. Can you give me a sample page? ×ASM× 19:56, 23. Jun. 2009 (CEST)
Hi there, ASM. First of all, thanks for your kind help. I'm experiencing that error in the Spanish wikipedia, I've overwritten my quickedit.js with the new 2.3 contents trying to fix it, but it's been useless. I'm afraid it could be an inherited error from the main js module, but I've got no idea what's happening.
You can have a look at whatever article in the es.wikipedia.org, the "quickedit" function is marked as "edición rápida", next to the "editar" (edit) link.
I'm trying to debug the code using firebug... I'll let you know if I get anything out of it. Thank you again for your assistance.
RedTony 14:08, 25. Jun. 2009 (CEST)

Hook für das Laden von QuickEdit

Hallo ASM, ein nettes Skript, dieses QuickEdit! Ein Benutzer hat mich gefragt, ob mein Typografie-Skript auch mit QuickEdit zusammen benutzt werden kann. Diese Funktion würde ich gerne einbauen, bräuchte dazu aber von QuickEdit die Information, wann es geladen wird. Gibt es die Möglichkeit, einen Hook einzubauen, der nach dem Aktivieren von QuickEdit aufgerufen wird? (Technisch wäre das einfach ein Array z.B. mit dem Namen quickEditOnHook, in dem sich die zu ladenden Funktionen befinden. Nach dem Aktivieren von QuickEdit werden alle in diesem Array befindlichen Funktionen aufgerufen.) Viele Grüße, Jowereit (typografie.js) 22:55, 4. Jul. 2009 (CEST)

Hi, die Idee klingt sehr gut, das machen wir auf jeden Fall. Die Frage wäre lediglich, wer jetzt wen integriert (also ob QuickEdit das Typografie-Script lädt oder das Typografie-Script sich "einhooked"). Den Hook müsste man in qeMakeForm() einbauen. Ich warne allerdings vor, dass QuickEdit ein paar Designschwächen hat (historisch bedingt, war auch mal viel kleiner angelegt als es mitlerweile ist ;)). QuickEdit lädt momentan zwei externe Scripte (Suchfunktion und Änderungsanzeige), ein drittes wäre also nicht so problematisch. Vom Aufwand her dürften sich die beiden Möglichkeiten nicht viel nehmen.
Was meinst du denn zu den zwei Varianten? Welche würdest du bevorzugen? Ich würde dann in den nächsten Tagen mal ein Update herausbringen. Muss sowieso sein, Sonderzeichen gehen schon wieder nicht (hat wohl irgendjemand wieder mal irgendwas umgestellt) und auf es-wiki geht das Script auch nicht (wie oben zu lesen, warum weiß keiner so recht...). Vom IE wollen wir gar nicht reden, da müsste ich jetzt anfangen die Funktion getElementById neu zu schreiben, weil der meint, bei XML-Dokumenten gäbe es sowas nicht. Verstehe wer will. Nun gut, auf jeden Fall eine nette Idee die ich auch gerne umsetzen würde! gruß ×ASM× 23:32, 5. Jul. 2009 (CEST)
Hallo, danke für die Antwort! Ich würde die zweite Variante bevorzugen (Skript hookt sich ein), aus folgendem Grund: Mein Skript soll auch auf „normalen“ Bearbeitungsseiten funktionieren und wird daher normalerweise in die monobook.js eingebunden. Würde QuickEdit das Skript auch noch laden, wäre es bei diesen Benutzern doppelt im Speicher vorhanden. Außerdem könnten auch andere User-JavaScripts so ohne zusätzliche Änderungen am QuickEdit-Code kompatibel mit deinem Skript gemacht werden.
Bei der Platzierung des Hooks müsste man darauf achten, dass das Bearbeitungsformular beim Aufrufen schon erzeugt ist – zumindest das Textfeld (wpTextbox1) wird vom Skript benötigt. – Jowereit (typografie.js) 23:45, 5. Jul. 2009 (CEST)
So, erst einmal herzlichen Dank für das Einfügen des Hooks. Ich habe mein Skript dementsprechend angepasst. Ein kleines Problem gibt es noch: Wenn ich auf „QuickEdit“ klicke, erscheint in der Textbox nicht der Text des zu bearbeitenden Abschnitts, sondern ein Text wie „a280b828e3c541c6c84983145003dff0+\“.
Das liegt daran, dass mein Skript ein zusätzliches Element (div) in das Formular einfügt. Infolgedessen stimmt die Nummerierung der Formularfelder nicht mehr, sodass in der Funktion qeFillForm in der Zeile qeNodes.Form.firstChild.childNodes[5].value = wpEditToken; dieser „EditToken“ in die Textarea statt in das darauffolgende versteckte Eingabefeld „wpEditToken“ geschrieben wird.
Ich bin mir nicht sicher, ob ich von meiner Seite da einen Workaround schreiben kann. Eventuell könnte man da in QuickEdit noch etwas ändern, etwa die erzeugten Formularelemente direkt in einem Array zwischenspeichern? Viele Grüße, Jowereit (typografie.js) 22:56, 10. Jul. 2009 (CEST)
Du hast vollkommen recht, das muss ich am QuickEdit-Script noch ändern. Es hat wie gesagt einige Schwächen, die ich nach und nach ausbessere (mit der aktuellen Version sind schon ein paar behoben). Dieses Referenzieren per childNodes hatte ich schon auf der Liste. Ich werds in den nächsten Tagen ändern, kann noch nicht genau sagen, wann. Ich melde mich dann aber. gruß ×ASM× 00:58, 11. Jul. 2009 (CEST)

QuickEdit + translation

Hi! I'm working on it.wiki and eo.wiki and I have to say that QuickEdit is very comfortable. But I have some problems in eo.wiki:

If you answer me, would you mind answering me also in my talk page? :) --→ Airon 11:41, 16. Aug. 2009 (CEST)

PS: I updated there the translations. I alphabetically ordered the languages and their related translations. --→ Airon 14:24, 16. Aug. 2009 (CEST)

QuickEdit translation

I added french translation : [4] Dr Brains 23:48, 9. Feb. 2010 (CET)

There is an error for one lang variable :
   ['srreplace',  'Ersetzen',
                  'Nahradit',
                  'Replace',
                  '',
                  'Zamien',
                  'Remplacer',
                  'Sostituisci',
                  'Αντικατάσταση'],
It gives Sostituisci instead of Remplacer. I think its because there is only 8 items (9 items on the other variables). Dr Brains 01:35, 18. Feb. 2010 (CET)

Spanish QuickEdit translation

I added spanish translation to QuickEdit, please update Benutzer:ASM/quickedit-lang.js from Benutzer Diskussion:ASM/quickedit-lang.js. --Locos epraix 07:57, 7. Mai 2010 (CEST)

Done by an admin ;) Thank you for your translation. ×ASM× 20:53, 7. Mai 2010 (CEST)

Default to minor edit?

Is it possible to specify that QuickEdit should default to a minor edit? Or, even better could QuickEdit pick up my user preference for minor edit by default? (QuickEdit on en-wiki). Thanks Rjwilmsi 23:48, 10. Mai 2010 (CEST)

When I read your post, I thought "doesn't QuickEdit already do so??" and asked myself why I have not done this before. ;) It should work fine now, thank you for your suggestion! ×ASM× 16:58, 11. Mai 2010 (CEST)