Index: lams_tool_wiki/conf/language/rams/ApplicationResources_en_AU.properties =================================================================== diff -u -r23d3a9ebc582896d8379f662e312c6d3b383c226 -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 23d3a9ebc582896d8379f662e312c6d3b383c226) +++ lams_tool_wiki/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -141,6 +141,7 @@ monitor.summary.td.notebookInstructions =Notebook instructions monitor.nosessions =There are no sessions running yet for this Wiki. monitor.notebooks =Notebook Reflections +output.learner.number.of.edits =Learner's number of Wiki edits +output.learner.number.of.add =Learner's number added Wiki pages - #======= End labels: Exported 81 labels for en AU ===== Index: lams_tool_wiki/db/sql/create_lams_tool_wiki.sql =================================================================== diff -u -r16b67860ab51e6ba2a8f91220dda61d67334e1b0 -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/db/sql/create_lams_tool_wiki.sql (.../create_lams_tool_wiki.sql) (revision 16b67860ab51e6ba2a8f91220dda61d67334e1b0) +++ lams_tool_wiki/db/sql/create_lams_tool_wiki.sql (.../create_lams_tool_wiki.sql) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -11,7 +11,7 @@ create table tl_lawiki10_session (uid bigint not null auto_increment, session_end_date datetime, session_start_date datetime, status integer, session_id bigint, session_name varchar(250), wiki_uid bigint, wiki_main_page_uid bigint, primary key (uid)); create table tl_lawiki10_user (uid bigint not null auto_increment, user_id bigint, last_name varchar(255), login_name varchar(255), first_name varchar(255), finishedActivity bit, wiki_session_uid bigint, entry_uid bigint, wiki_edits integer, primary key (uid)); create table tl_lawiki10_wiki (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), instructions text, run_offline bit, lock_on_finished bit, allow_learner_create_pages bit, allow_learner_insert_links bit, allow_learner_attach_images bit, reflect_on_activity bit, reflect_instructions text, minimum_edits integer, maximum_edits integer, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, tool_content_id bigint, wiki_main_page_uid bigint, primary key (uid)); -create table tl_lawiki10_wiki_page (uid bigint not null auto_increment, wiki_uid bigint, title varchar(255), editable bit, wiki_current_content bigint, wiki_session_uid bigint, primary key (uid)); +create table tl_lawiki10_wiki_page (uid bigint not null auto_increment, wiki_uid bigint, title varchar(255), editable bit, wiki_current_content bigint, editor bigint, wiki_session_uid bigint, primary key (uid)); create table tl_lawiki10_wiki_page_content (uid bigint not null auto_increment, wiki_page_uid bigint, body text, editor bigint, edit_date datetime, version bigint, primary key (uid)); alter table tl_lawiki10_attachment add index FK9406D87760B3B03B (wiki_uid), add constraint FK9406D87760B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); alter table tl_lawiki10_session add index FKF01D63C260B3B03B (wiki_uid), add constraint FKF01D63C260B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); @@ -21,6 +21,7 @@ alter table tl_lawiki10_wiki_page add index FK961AFFEAD8004954 (wiki_session_uid), add constraint FK961AFFEAD8004954 foreign key (wiki_session_uid) references tl_lawiki10_session (uid); alter table tl_lawiki10_wiki_page add index FK961AFFEA60B3B03B (wiki_uid), add constraint FK961AFFEA60B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); alter table tl_lawiki10_wiki_page add index FK961AFFEAE48332B4 (wiki_current_content), add constraint FK961AFFEAE48332B4 foreign key (wiki_current_content) references tl_lawiki10_wiki_page_content (uid); +alter table tl_lawiki10_wiki_page add index FK961AFFEA3233D952 (editor), add constraint FK961AFFEA3233D952 foreign key (editor) references tl_lawiki10_user (uid); alter table tl_lawiki10_wiki_page_content add index FK528051242D44CCF8 (wiki_page_uid), add constraint FK528051242D44CCF8 foreign key (wiki_page_uid) references tl_lawiki10_wiki_page (uid); alter table tl_lawiki10_wiki_page_content add index FK528051243233D952 (editor), add constraint FK528051243233D952 foreign key (editor) references tl_lawiki10_user (uid); Index: lams_tool_wiki/db/sql/table-schema.sql =================================================================== diff -u -r16b67860ab51e6ba2a8f91220dda61d67334e1b0 -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/db/sql/table-schema.sql (.../table-schema.sql) (revision 16b67860ab51e6ba2a8f91220dda61d67334e1b0) +++ lams_tool_wiki/db/sql/table-schema.sql (.../table-schema.sql) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -6,6 +6,7 @@ alter table tl_lawiki10_wiki_page drop foreign key FK961AFFEAD8004954; alter table tl_lawiki10_wiki_page drop foreign key FK961AFFEA60B3B03B; alter table tl_lawiki10_wiki_page drop foreign key FK961AFFEAE48332B4; +alter table tl_lawiki10_wiki_page drop foreign key FK961AFFEA3233D952; alter table tl_lawiki10_wiki_page_content drop foreign key FK528051242D44CCF8; alter table tl_lawiki10_wiki_page_content drop foreign key FK528051243233D952; drop table if exists tl_lawiki10_attachment; @@ -14,3 +15,20 @@ drop table if exists tl_lawiki10_wiki; drop table if exists tl_lawiki10_wiki_page; drop table if exists tl_lawiki10_wiki_page_content; +create table tl_lawiki10_attachment (uid bigint not null auto_increment, file_version_id bigint, file_type varchar(255), file_name varchar(255), file_uuid bigint, create_date datetime, wiki_uid bigint, primary key (uid)); +create table tl_lawiki10_session (uid bigint not null auto_increment, session_end_date datetime, session_start_date datetime, status integer, session_id bigint, session_name varchar(250), wiki_uid bigint, wiki_main_page_uid bigint, primary key (uid)); +create table tl_lawiki10_user (uid bigint not null auto_increment, user_id bigint, last_name varchar(255), login_name varchar(255), first_name varchar(255), finishedActivity bit, wiki_session_uid bigint, entry_uid bigint, wiki_edits integer, primary key (uid)); +create table tl_lawiki10_wiki (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), instructions text, run_offline bit, lock_on_finished bit, allow_learner_create_pages bit, allow_learner_insert_links bit, allow_learner_attach_images bit, reflect_on_activity bit, reflect_instructions text, minimum_edits integer, maximum_edits integer, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, tool_content_id bigint, wiki_main_page_uid bigint, primary key (uid)); +create table tl_lawiki10_wiki_page (uid bigint not null auto_increment, wiki_uid bigint, title varchar(255), editable bit, wiki_current_content bigint, editor bigint, wiki_session_uid bigint, primary key (uid)); +create table tl_lawiki10_wiki_page_content (uid bigint not null auto_increment, wiki_page_uid bigint, body text, editor bigint, edit_date datetime, version bigint, primary key (uid)); +alter table tl_lawiki10_attachment add index FK9406D87760B3B03B (wiki_uid), add constraint FK9406D87760B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); +alter table tl_lawiki10_session add index FKF01D63C260B3B03B (wiki_uid), add constraint FKF01D63C260B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); +alter table tl_lawiki10_session add index FKF01D63C2A3FF7EC0 (wiki_main_page_uid), add constraint FKF01D63C2A3FF7EC0 foreign key (wiki_main_page_uid) references tl_lawiki10_wiki_page (uid); +alter table tl_lawiki10_user add index FKED5D7A1FD8004954 (wiki_session_uid), add constraint FKED5D7A1FD8004954 foreign key (wiki_session_uid) references tl_lawiki10_session (uid); +alter table tl_lawiki10_wiki add index FKED5E3E04A3FF7EC0 (wiki_main_page_uid), add constraint FKED5E3E04A3FF7EC0 foreign key (wiki_main_page_uid) references tl_lawiki10_wiki_page (uid); +alter table tl_lawiki10_wiki_page add index FK961AFFEAD8004954 (wiki_session_uid), add constraint FK961AFFEAD8004954 foreign key (wiki_session_uid) references tl_lawiki10_session (uid); +alter table tl_lawiki10_wiki_page add index FK961AFFEA60B3B03B (wiki_uid), add constraint FK961AFFEA60B3B03B foreign key (wiki_uid) references tl_lawiki10_wiki (uid); +alter table tl_lawiki10_wiki_page add index FK961AFFEAE48332B4 (wiki_current_content), add constraint FK961AFFEAE48332B4 foreign key (wiki_current_content) references tl_lawiki10_wiki_page_content (uid); +alter table tl_lawiki10_wiki_page add index FK961AFFEA3233D952 (editor), add constraint FK961AFFEA3233D952 foreign key (editor) references tl_lawiki10_user (uid); +alter table tl_lawiki10_wiki_page_content add index FK528051242D44CCF8 (wiki_page_uid), add constraint FK528051242D44CCF8 foreign key (wiki_page_uid) references tl_lawiki10_wiki_page (uid); +alter table tl_lawiki10_wiki_page_content add index FK528051243233D952 (editor), add constraint FK528051243233D952 foreign key (editor) references tl_lawiki10_user (uid); Index: lams_tool_wiki/db/sql/tool_insert.sql =================================================================== diff -u -r1082bdcc357c105126a5641cecc68acfa645b66b -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/db/sql/tool_insert.sql (.../tool_insert.sql) (revision 1082bdcc357c105126a5641cecc68acfa645b66b) +++ lams_tool_wiki/db/sql/tool_insert.sql (.../tool_insert.sql) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -28,7 +28,8 @@ classpath_addition, context_file, create_date_time, -modified_date_time +modified_date_time, +supports_outputs ) VALUES ( @@ -58,5 +59,6 @@ 'lams-tool-lawiki10.jar', '/org/lamsfoundation/lams/tool/wiki/wikiApplicationContext.xml', NOW(), -NOW() +NOW(), +1 ) Index: lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/model/WikiPage.java =================================================================== diff -u -r1082bdcc357c105126a5641cecc68acfa645b66b -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/model/WikiPage.java (.../WikiPage.java) (revision 1082bdcc357c105126a5641cecc68acfa645b66b) +++ lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/model/WikiPage.java (.../WikiPage.java) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -25,6 +25,7 @@ private Set wikiContentVersions; private WikiPageContent currentWikiContent; private WikiSession wikiSession; + private WikiUser addedBy; public WikiPage() { } @@ -106,7 +107,21 @@ this.currentWikiContent = currentWikiContent; } + /** + * @hibernate.many-to-one not-null="true" + * @hibernate.column name="editor" + * + */ + public WikiUser getAddedBy() { + return addedBy; + } + + public void setAddedBy(WikiUser addedBy) { + this.addedBy = addedBy; + } + + /** * Gets the toolSession * * @hibernate.many-to-one cascade="none" Index: lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/IWikiService.java =================================================================== diff -u -r23d3a9ebc582896d8379f662e312c6d3b383c226 -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/IWikiService.java (.../IWikiService.java) (revision 23d3a9ebc582896d8379f662e312c6d3b383c226) +++ lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/IWikiService.java (.../IWikiService.java) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -230,4 +230,20 @@ * @return */ String comparePages(String old, String current); + + /** + * + * @param learnerId + * @param toolSessionId + * @return + */ + int getEditsNum(Long learnerId, Long toolSessionId); + + /** + * + * @param learnerId + * @param toolSessionId + * @return + */ + int getAddsNum(Long learnerId, Long toolSessionId); } Index: lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiOutputFactory.java =================================================================== diff -u --- lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiOutputFactory.java (revision 0) +++ lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiOutputFactory.java (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -0,0 +1,114 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/* $Id$ */ +package org.lamsfoundation.lams.tool.wiki.service; + +import java.util.List; +import java.util.SortedMap; +import java.util.TreeMap; + +import org.lamsfoundation.lams.tool.OutputFactory; +import org.lamsfoundation.lams.tool.ToolOutput; +import org.lamsfoundation.lams.tool.ToolOutputDefinition; +import org.lamsfoundation.lams.tool.exception.ToolException; + +/** + * Creates the output definitions for wiki. + * There are two types of outputs: number of edits and number of pages added + */ +public class WikiOutputFactory extends OutputFactory { + + /** The number of edit the learner has made in one wiki activity. */ + protected final static String OUTPUT_NAME_LEARNER_NUM_EDITS = "output.learner.number.of.edits"; + + /** The number of wiki pages added by the learner. */ + protected final static String OUTPUT_NAME_LEARNER_NUM_ADDS = "output.learner.number.of.adds"; + + /** + * @see org.lamsfoundation.lams.tool.OutputDefinitionFactory#getToolOutputDefinitions(java.lang.Object) + */ + public SortedMap getToolOutputDefinitions(Object toolContentObject) + throws ToolException { + TreeMap definitionMap = new TreeMap(); + + ToolOutputDefinition definition1 = buildRangeDefinition(OUTPUT_NAME_LEARNER_NUM_EDITS, new Long(0), null); + definitionMap.put(OUTPUT_NAME_LEARNER_NUM_EDITS, definition1); + + ToolOutputDefinition definition2 = buildRangeDefinition(OUTPUT_NAME_LEARNER_NUM_ADDS, new Long(0), null); + definitionMap.put(OUTPUT_NAME_LEARNER_NUM_ADDS, definition2); + + return definitionMap; + } + + public SortedMap getToolOutput(List names, IWikiService wikiService, + Long toolSessionId, Long learnerId) { + + TreeMap map = new TreeMap(); + if (names == null || names.contains(OUTPUT_NAME_LEARNER_NUM_EDITS)) { + map.put(OUTPUT_NAME_LEARNER_NUM_EDITS, getNumEdits(wikiService, learnerId, toolSessionId)); + } + if (names.contains(OUTPUT_NAME_LEARNER_NUM_ADDS)) { + map.put(OUTPUT_NAME_LEARNER_NUM_ADDS, getNumAdds(wikiService, learnerId, toolSessionId)); + } + return map; + } + + public ToolOutput getToolOutput(String name, IWikiService wikiService, Long toolSessionId, Long learnerId) { + + if (name != null && name.equals(OUTPUT_NAME_LEARNER_NUM_EDITS)) { + return getNumEdits(wikiService, learnerId, toolSessionId); + } + + if (name != null && name.equals(OUTPUT_NAME_LEARNER_NUM_ADDS)) { + return getNumAdds(wikiService, learnerId, toolSessionId); + } + + return null; + } + + /** + * Gets the number of edits by this user for tool outputs + * @param wikiService + * @param learnerId + * @param toolSessionId + * @return + */ + private ToolOutput getNumEdits(IWikiService wikiService, Long learnerId, Long toolSessionId) { + int num = wikiService.getEditsNum(learnerId, toolSessionId); + return new ToolOutput(OUTPUT_NAME_LEARNER_NUM_EDITS, getI18NText(OUTPUT_NAME_LEARNER_NUM_EDITS, true), + new Long(num)); + } + + /** + * Gets the number of pages added by this user for tool outputs + * @param wikiService + * @param learnerId + * @param toolSessionId + * @return + */ + private ToolOutput getNumAdds(IWikiService wikiService, Long learnerId, Long toolSessionId) { + int num = wikiService.getAddsNum(learnerId, toolSessionId); + return new ToolOutput(OUTPUT_NAME_LEARNER_NUM_EDITS, getI18NText(OUTPUT_NAME_LEARNER_NUM_EDITS, true), + new Long(num)); + } +} Index: lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiService.java =================================================================== diff -u -r23d3a9ebc582896d8379f662e312c6d3b383c226 -r17690c3ef82e9cba26cc0cd656b40d212871ba07 --- lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiService.java (.../WikiService.java) (revision 23d3a9ebc582896d8379f662e312c6d3b383c226) +++ lams_tool_wiki/src/java/org/lamsfoundation/lams/tool/wiki/service/WikiService.java (.../WikiService.java) (revision 17690c3ef82e9cba26cc0cd656b40d212871ba07) @@ -126,6 +126,8 @@ private ICoreNotebookService coreNotebookService; + private WikiOutputFactory wikiOutputFactory; + public WikiService() { super(); // TODO Auto-generated constructor stub @@ -203,7 +205,13 @@ * java.lang.Long, java.lang.Long) */ public SortedMap getToolOutput(List names, Long toolSessionId, Long learnerId) { - return new TreeMap(); + + wikiOutputFactory = getWikiOutputFactory(); + WikiSession session = this.getSessionBySessionId(toolSessionId); + if (session == null) { + return null; + } + return wikiOutputFactory.getToolOutput(names, this, toolSessionId, learnerId); } /** @@ -213,9 +221,30 @@ * java.lang.Long, java.lang.Long) */ public ToolOutput getToolOutput(String name, Long toolSessionId, Long learnerId) { - return null; + wikiOutputFactory = getWikiOutputFactory(); + WikiSession session = this.getSessionBySessionId(toolSessionId); + if (session == null) { + return null; + } + return wikiOutputFactory.getToolOutput(name, this, toolSessionId, learnerId); } + /** + * Get the definitions for possible output for an activity, based on the + * toolContentId. + * + * @return SortedMap of ToolOutputDefinitions with the key being the name of + * each definition + */ + public SortedMap getToolOutputDefinitions(Long toolContentId) throws ToolException { + wikiOutputFactory = getWikiOutputFactory(); + Wiki wiki = getWikiByContentId(toolContentId); + if (wiki == null) { + wiki = getDefaultContent(); + } + return wikiOutputFactory.getToolOutputDefinitions(wiki); + } + /* ************ Methods from ToolContentManager ************************* */ public void copyToolContent(Long fromContentId, Long toContentId) throws ToolException { @@ -363,41 +392,26 @@ } } - /** - * Get the definitions for possible output for an activity, based on the - * toolContentId. These may be definitions that are always available for the - * tool (e.g. number of marks for Multiple Choice) or a custom definition - * created for a particular activity such as the answer to the third - * question contains the word Koala and hence the need for the toolContentId - * - * @return SortedMap of ToolOutputDefinitions with the key being the name of - * each definition - */ - public SortedMap getToolOutputDefinitions(Long toolContentId) throws ToolException { - return new TreeMap(); - } - /* ********** IWikiService Methods ********************************* */ - public Long createNotebookEntry(Long id, Integer idType, String signature, Integer userID, String entry) { return coreNotebookService.createNotebookEntry(id, idType, signature, userID, "", entry); } - - public NotebookEntry getEntry(Long sessionId, Integer idType, String signature, Integer userID){ - List list = coreNotebookService.getEntry(sessionId, idType, signature, userID); - if (list == null || list.isEmpty()) { - return null; - } else { - return list.get(0); - } + + public NotebookEntry getEntry(Long sessionId, Integer idType, String signature, Integer userID) { + List list = coreNotebookService.getEntry(sessionId, idType, signature, userID); + if (list == null || list.isEmpty()) { + return null; + } else { + return list.get(0); + } } - + /** * @param notebookEntry */ public void updateEntry(NotebookEntry notebookEntry) { - coreNotebookService.updateEntry(notebookEntry); + coreNotebookService.updateEntry(notebookEntry); } public String comparePages(String old, String current) { @@ -622,6 +636,7 @@ wikiPage.setParentWiki(wiki); wikiPage.setTitle(wikiPageForm.getNewPageTitle()); wikiPage.setEditable(wikiPageForm.getNewPageIsEditable()); + wikiPage.setAddedBy(user); wikiPage.setWikiContentVersions(new HashSet()); wikiPage.setWikiSession(session); wikiPageDAO.saveOrUpdate(wikiPage); @@ -767,6 +782,50 @@ } } + /** + * + * @param learnerId + * @param toolSessionId + * @return + */ + public int getEditsNum(Long learnerId, Long toolSessionId) { + WikiUser wikiUser = getUserByUserIdAndSessionId(learnerId, toolSessionId); + + WikiSession wikiSession = getSessionBySessionId(toolSessionId); + + int edits = 0; + for (WikiPage wikiPage : wikiSession.getWikiPages()) { + for (WikiPageContent wikiPageContent : wikiPage.getWikiContentVersions()) { + if (wikiPageContent.getEditor() != null + && wikiPageContent.getEditor().getUid().equals(wikiUser.getUid())) { + edits++; + } + } + } + return edits; + } + + /** + * + * @param learnerId + * @param toolSessionId + * @return + */ + public int getAddsNum(Long learnerId, Long toolSessionId) { + + WikiUser wikiUser = getUserByUserIdAndSessionId(learnerId, toolSessionId); + + WikiSession wikiSession = getSessionBySessionId(toolSessionId); + + int adds = 0; + for (WikiPage wikiPage : wikiSession.getWikiPages()) { + if (wikiPage.getAddedBy() != null && wikiPage.getAddedBy().getUid().equals(wikiUser.getUid())) { + adds++; + } + } + return adds; + } + /* * ===============Methods implemented from ToolContentImport102Manager * =============== @@ -913,4 +972,16 @@ public void setCoreNotebookService(ICoreNotebookService coreNotebookService) { this.coreNotebookService = coreNotebookService; } + + public WikiOutputFactory getWikiOutputFactory() { + + if (wikiOutputFactory == null) { + wikiOutputFactory = new WikiOutputFactory(); + } + return wikiOutputFactory; + } + + public void setWikiOutputFactory(WikiOutputFactory wikiOutputFactory) { + this.wikiOutputFactory = wikiOutputFactory; + } }