Page MenuHomePhabricator

botlang.diff

Authored By
bzimport
Nov 21 2014, 8:51 PM
Size
702 B
Referenced Files
None
Subscribers
None

botlang.diff

Index: GlobalFunctions.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/GlobalFunctions.php,v
retrieving revision 1.217
diff -u -r1.217 GlobalFunctions.php
--- GlobalFunctions.php 25 Sep 2005 12:19:50 -0000 1.217
+++ GlobalFunctions.php 8 Oct 2005 14:41:32 -0000
@@ -350,6 +350,12 @@
$fname = 'wfMsgReal';
wfProfileIn( $fname );
+ global $wgLanguageCode;
+ if ( !$forContent && ( $wgLanguageCode == "bot" || $wgLanguageCode == "none") ) {
+ wfProfileOut( $fname );
+ return "{@[$key]@}";
+ }
+
$message = wfMsgGetKey( $key, $useDB, $forContent );
$message = wfMsgReplaceArgs( $message, $args );
wfProfileOut( $fname );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1936
Default Alt Text
botlang.diff (702 B)

Event Timeline