MediaWiki:AFC-submit-wizard.js: Difference between revisions
Content deleted Content added
allow entering captcha for non-confirmed users/IPs, add beforeunload handler, fix infobox detection |
add comments |
||
Line 672:
} else if (shortDescExists && existingShortDesc !== ui.shortdescInput.getValue()) {
header += '{{Short description|' + ui.shortdescInput.getValue() + '}}\n';
// FIXME: but this value won't actually be recognized because the template that generates
// the other shortdesc is still present somewhere *below* our {{short description}}. Seems to be a
// general problem with short descriptions.
// 4. Shortdesc exists, but not generated by {{short description}}, and user hasn't changed the value
Line 718 ⟶ 721:
var text = initialText;
// TODO: this can be improved to put tags within {{WikiProject banner shell}} (if already present or otherwise)
var alreadyExistingWikiProjects = extractWikiProjectTagsFromText(text);
var alreadyExistingTags = alreadyExistingWikiProjects.map(function (e) {
|