Ragesoss has uploaded a new change for review.

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

Change subject: Add course ID value to table of courses at Special:Courses
......................................................................

Add course ID value to table of courses at Special:Courses

Insert a new column for "Course ID" in the pager for courses, to
make it easier to interact with courses by their ID via the API.

Change-Id: I96fcab40db8d84ec3a5c327976671a1a434f1aec
---
M i18n/en.json
M i18n/qqq.json
M includes/pagers/CoursePager.php
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EducationProgram 
refs/changes/16/130616/1

diff --git a/i18n/en.json b/i18n/en.json
index e78402c..f4f811f 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -233,6 +233,7 @@
     "ep-pager-confirm-message-org-many": "You are about to delete these 
institutions: $1.",
     "epcoursepager-header-name": "Name",
     "epcoursepager-header-term": "Term",
+    "epcoursepager-header-id": "Course ID",
     "epcoursepager-header-start": "Start",
     "epcoursepager-header-org-id": "Institution",
     "epcoursepager-header-end": "End",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 205f826..c7372c1 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -247,6 +247,7 @@
        "ep-pager-confirm-message-org-many": "Notifies the user they are about 
to delete institutions. Parameters:\n* $1 is a list of institutions.",
        "epcoursepager-header-name": "Table column header.\n{{Identical|Name}}",
        "epcoursepager-header-term": "Table column header.\n{{Identical|Term}}",
+       "epcoursepager-header-id": "Table column header.",
        "epcoursepager-header-start": "Table column 
header.\n{{Identical|Start}}",
        "epcoursepager-header-org-id": "Table column header",
        "epcoursepager-header-end": "Table column header",
diff --git a/includes/pagers/CoursePager.php b/includes/pagers/CoursePager.php
index ad14d70..c87ec6f 100644
--- a/includes/pagers/CoursePager.php
+++ b/includes/pagers/CoursePager.php
@@ -99,6 +99,7 @@
                        'name',
                        'org_id',
                        'term',
+                       'id',
                        'lang',
                        'student_count',
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/130616
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96fcab40db8d84ec3a5c327976671a1a434f1aec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Ragesoss <rages...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to