r98326 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98325‎ | r98326 | r98327 >
Date:16:29, 28 September 2011
Author:siebrand
Status:resolved
Tags:
Comment:
Follow-up r98323: fix path to configuration files.
Modified paths:
  • /trunk/extensions/Translate/ffs/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/ffs/ToolserverTextdomains.php (modified) (history)
  • /trunk/extensions/Translate/ffs/WikiaExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/MediaWikiExtensions.php
@@ -20,8 +20,8 @@
2121
2222 public function __construct() {
2323 global $wgTranslateExtensionDirectory;
24 - $dir = dirname( __FILE__ );
25 - $this->definitionFile = $dir . '/mediawiki-defines.txt';
 24+ $dir = dirname( dirname( __FILE__ ) );
 25+ $this->definitionFile = $dir . 'groups/MediaWiki/mediawiki-defines.txt';
2626 $this->path = $wgTranslateExtensionDirectory;
2727 }
2828
Index: trunk/extensions/Translate/ffs/ToolserverTextdomains.php
@@ -23,8 +23,8 @@
2424 global $wgTranslateGroupRoot;
2525
2626 parent::__construct();
27 - $dir = dirname( __FILE__ );
28 - $this->definitionFile = $dir . '/toolserver-textdomains.txt';
 27+ $dir = dirname( dirname( __FILE__ ) );
 28+ $this->definitionFile = $dir . 'groups/Toolserver/toolserver-textdomains.txt';
2929 $this->path = "$wgTranslateGroupRoot/toolserver/language/messages/";
3030 }
3131
Index: trunk/extensions/Translate/ffs/WikiaExtensions.php
@@ -21,8 +21,8 @@
2222 global $wgTranslateGroupRoot;
2323
2424 parent::__construct();
25 - $dir = dirname( __FILE__ );
26 - $this->definitionFile = $dir . '/extensions.txt';
 25+ $dir = dirname( dirname( __FILE__ ) );
 26+ $this->definitionFile = $dir . 'groups/Wikia/extensions.txt';
2727 $this->path = "$wgTranslateGroupRoot/wikia/";
2828 }
2929 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r98327Follow-up r98326: fix path to configuration files.siebrand16:30, 28 September 2011
r98328Move mediawiki-defines.txt to its new home.siebrand16:32, 28 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98323Started taking PHP code out of the groups/ folder anticipating Wikimedia revi...siebrand16:19, 28 September 2011

Status & tagging log