new mediawiki softwareversion

Jump to navigation Jump to search

I fixed this in the german wiktionary by inserting some code to test if a page exists.

... JsMwApi().page(values.rhyme).edit(
 function(text, saveFunction, editRes){
  if(editRes.query.pages.hasOwnProperty("-1")) {
   document.body.style.cursor= --numberOfRhymesAdded ? 'wait' : '';
   return;
  }
 var langcode = setUpRhymeAdder.langCode || (new LangMetadata()).cleanLangCode(langname), ...
--Formatierer (talk) 17:29, 13 August 2014 (UTC)
Formatierer (talk)17:29, 13 August 2014