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

       Web browser: ---
            Bug ID: 57608
           Summary: fix behavior for non-existent articles in students
                    table
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: EducationProgram
          Assignee: andrew.green...@gmail.com
          Reporter: rages...@gmail.com
                CC: jeroen_ded...@yahoo.com, rages...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

If a student has a non-existent article in the students table, does not appear
as a redlink to that page, and trying to add another non-existent title for
that student will result in nothing happening. (Existing articles can be added
in any number, but only one non-existent article can be added per student.)

If the non-existent article is subsequently created, it remains unlinked in the
students table. Attempting to re-add the same title *after* it has been created
results in a database error. For example, when I attempted this on test2 wiki
[1]:

    Function: EducationProgram\ArticleStore::insertArticle
    Error: 1062 Duplicate entry '7-903-Crazywaht' for key
'ep_articles_course_page' (10.64.16.27)

[1] =
https://test2.wikipedia.org/wiki/Education_Program:Columbia_University/Lolcats:_an_inter-disciplinary_exploration_%284eva%29

Non-existent articles added for students should appear as redlinks, and they
should become normal links if the target page is created.

-- 
You are receiving this mail because:
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