summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SemanticMediaWiki/includes/src/MediaWiki/PageCreator.php')
-rw-r--r--SemanticMediaWiki/includes/src/MediaWiki/PageCreator.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/SemanticMediaWiki/includes/src/MediaWiki/PageCreator.php b/SemanticMediaWiki/includes/src/MediaWiki/PageCreator.php
deleted file mode 100644
index 96600dd0..00000000
--- a/SemanticMediaWiki/includes/src/MediaWiki/PageCreator.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-namespace SMW\MediaWiki;
-
-use WikiPage;
-use WikiFilePage;
-use Title;
-
-/**
- * @license GNU GPL v2+
- * @since 2.0
- *
- * @author mwjames
- */
-class PageCreator {
-
- /**
- * @since 2.0
- *
- * @param Title $title
- *
- * @return WikiPage
- */
- public function createPage( Title $title ) {
- return WikiPage::factory( $title );
- }
-
- /**
- * @since 2.0
- *
- * @param Title $title
- *
- * @return WikiFilePage
- */
- public function createFilePage( Title $title ) {
- return new WikiFilePage( $title );
- }
-
-}