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

       Web browser: ---
             Bug #: 38820
           Summary: [Regression] Link dialog flags all pages as existing
                    and breaks on invalid titles
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: WikiEditor
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: listenle...@gmail.com
                CC: krinklem...@gmail.com, roan.katt...@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


Steps to reproduce (on mw.org, or any other wiki with the most recent version):
1. Click the icon for the link dialog
2. Enter some random nonsense into the the field for the page title
3. Enter an invalid title, such as <

Expected result:
In step 2 the page should be flagged as missing, in step 3 as invalid.
Actual result:
In step 2 the page is flagged as existing, in step 3 a JavaScript error is
thrown (this only happens in my test wiki, on mw, no error is thrown, but the
page is flagged as existing, which isn't as bad as an error, but wrong
nevertheless).

Probably both a regression caused by linting all the js files.
(https://gerrit.wikimedia.org/r/#/c/14014/)

-- 
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