jenkins-bot has submitted this change and it was merged.

Change subject: Add Flow.namespaces.php per Localisation docs
......................................................................


Add Flow.namespaces.php per Localisation docs

Change-Id: I2c8c8c51cd1078ed26c9dba6f39f42cf679f82c1
---
A Flow.namespaces.php
M Flow.php
2 files changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Flow.namespaces.php b/Flow.namespaces.php
new file mode 100644
index 0000000..f713b60
--- /dev/null
+++ b/Flow.namespaces.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Translations of the namespaces introduced by Flow.
+ *
+ * @file
+ */
+
+$namespaceNames = array();
+
+// For wikis where the Flow extension is not installed.
+if( !defined( 'NS_TOPIC' ) ) {
+       define( 'NS_TOPIC', 2600 );
+}
+
+/** English */
+$namespaceNames['en'] = array(
+       NS_TOPIC =>  'Topic',
+);
+
diff --git a/Flow.php b/Flow.php
index bca9a75..ebb1afb 100755
--- a/Flow.php
+++ b/Flow.php
@@ -53,6 +53,7 @@
 
 $wgMessagesDirs['Flow'] = __DIR__ . '/i18n';
 $wgExtensionMessagesFiles['Flow'] = $dir . 'Flow.i18n.php';
+$wgExtensionMessagesFiles['FlowNamespaces'] = $dir . '/Flow.namespaces.php';
 
 $wgAutoloadClasses['FlowInsertDefaultDefinitions'] = $dir . 
'maintenance/FlowInsertDefaultDefinitions.php';
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c8c8c51cd1078ed26c9dba6f39f42cf679f82c1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to