new mediawiki softwareversion
Appearance
We encountered a problem in the german wiktionary. It seems to be related to the new mediawiki softwareversion installed tonight. The problem is, that if you enter a non existing pagename in a rhyme page using your rhymeeditor this pagename is created as an empty page. I just tested if this also happens in the english wiktionary, because we ported the rhymeeditor from here. I found you have the same problems. It might be a change in the api, so that the rhymeeditor has to be fixed. But i didnt figured this out yet.
Formatierer (talk)
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)
Just for your interest: this change brought the bug into effect.
Formatierer (talk)