https://bugzilla.wikimedia.org/show_bug.cgi?id=29026

Mark A. Hershberger <m...@everybody.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Mark A. Hershberger <m...@everybody.org> 2011-05-23 
01:30:42 UTC ---
That bit is added via JavaScript.  In their MediaWiki:Common.js there is this
bit:

  //*** import Onlyifuploading-functions
  // SEE ALSO [[MediaWiki:Onlyifuploading.js]]

  if (mw.config.get( 'wgCanonicalSpecialPageName' ) == "Upload") {
      importScript("MediaWiki:Onlyifuploading.js");
      importScript("MediaWiki:Onlyifediting.js");
  }


Meanwhile, MediaWiki:Onlyifuploading.js has this:

  addOnloadHook(function() {

     var editbox = document.getElementById('wpUploadDescription');
     if (!editbox)            return;
     if (editbox.value !== '') return;
     editbox.value = "{"+"{Information\n"
                   + "|Beschreibung     = \n"
                   + "|Quelle           = \n"
                   + "|Urheber          = \n"
                   + "|Datum            = \n"
                   + "|Genehmigung      = \n"
                   + "|Andere Versionen = \n"
                   + "|Anmerkungen      = \n"
                   + "}"+"}";
  });

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to