Last modified: 2014-03-04 19:52:23 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 T42433, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40433 - Institution with current course listed as "Inactive"
Institution with current course listed as "Inactive"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Andrew Green
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-21 17:32 UTC by Sage Ross
Modified: 2014-03-04 19:52 UTC (History)
3 users (show)

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


Attachments

Description Sage Ross 2012-09-21 17:32:50 UTC
I've tried creating some new course pages and institutions, and the institutions show up as inactive even though they have current courses, and (as a consequence, I assume) the course doesn't show up in the list of current courses.

See:
http://test2.wikipedia.org/wiki/Education_Program:New_York_University
http://test2.wikipedia.org/wiki/Education_Program:University_of_the_Wikis
Comment 1 Sage Ross 2012-09-21 17:41:13 UTC
Okay, this isn't so critical as it seemed. It took a bit of time, but the courses are now showing up in the Courses list. The universities are still listed Inactive, but that's not a big deal as long as the courses can still be found easily.
Comment 2 Jeroen De Dauw 2013-01-08 23:31:56 UTC
Note that those pages are cached, so that if you make a change, it won't show up immediately if you do not purge them.
Comment 3 Sage Ross 2013-01-09 02:11:33 UTC
Yes, caching was the issue with it not showing up at all, I believe. However, the table of institutions at Special:Institutions is still quite odd. See: http://en.wikipedia.org/wiki/Special:Institutions

Actually, now that I look and there are a fair number of courses, I think it's an index error: the table always shows 1 fewer courses than the actual number. So all the institutions with "0" courses have 1 (or, in a few cases, actually 0), and all the ones with "1" have 2 courses.

That may also be the root why only 1 institution says "Yes" for Active. That's the only one that has "1" (actually 2) courses that are Current, even though others have "0" (actually 1) Current course.
Comment 4 Sage Ross 2013-01-14 04:36:59 UTC
Hmm... it seems more complicated than that. I now see two instances where the number of courses in the table is 2 even though only 1 course appears on the institution page. Here is one of them:

http://en.wikipedia.org/wiki/Education_Program:Azusa_Pacific_University

Currently, that institution is also listed on that page as having 13 students in 2 courses, even though the table below shows the single course with 17 students.
Comment 5 Jeroen De Dauw 2013-03-01 22:11:31 UTC
Is this issue still occurring?

> even though the table below shows the single course with 17 students.

I take it this course is active? If not, the students won't be counted IIRC.
Comment 6 Sage Ross 2013-03-02 00:12:25 UTC
It is still occurring. For example, see http://en.wikipedia.org/wiki/Education_Program:Abaarso_School_of_Science_and_Technology

Note also the discrepancy in counts. 0 vs. 1 course, 36 vs. 37 students.
Comment 7 Jeroen De Dauw 2013-03-02 00:26:12 UTC
Looking at the first 4 orgs, it seems like all these aggregates are off by 1... Probably some dumb mistake in the code :)
Comment 8 Gerrit Notification Bot 2014-01-24 23:30:05 UTC
Change 109439 had a related patch set uploaded by AndyRussG:
Fix summary info for institutions

https://gerrit.wikimedia.org/r/109439
Comment 9 Gerrit Notification Bot 2014-01-24 23:40:02 UTC
Change 109439 merged by Adamw:
Fix summary info for institutions

https://gerrit.wikimedia.org/r/109439

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


Navigation
Links