Last modified: 2014-11-14 21:13:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59608, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57608 - fix behavior for non-existent articles in students table
fix behavior for non-existent articles in students table
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Andrew Green
:
: 47439 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-26 18:40 UTC by Sage Ross
Modified: 2014-11-14 21:13 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sage Ross 2013-11-26 18:40:01 UTC
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.
Comment 1 Sage Ross 2014-02-06 15:49:13 UTC
*** Bug 47439 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links