Page MenuHomePhabricator

Article_php_1333.txt

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

Article_php_1333.txt

Index: Article.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Article.php,v
retrieving revision 1.333
diff -u -r1.333 Article.php
--- Article.php 14 Jun 2005 19:24:03 -0000 1.333
+++ Article.php 16 Jun 2005 21:16:53 -0000
@@ -80,7 +80,7 @@
* @return Return the text of this revision
*/
function getContent( $noredir ) {
- global $wgRequest, $wgUser;
+ global $wgRequest, $wgUser, $wgOut;
# Get variables from query string :P
$action = $wgRequest->getText( 'action', 'view' );
@@ -95,6 +95,7 @@
return ''; # was "newarticletext", now moved above the box)
}
wfProfileOut( $fname );
+ $wgOut->setRobotpolicy( 'noindex,nofollow' );
return wfMsg( 'noarticletext' );
} else {
$this->loadContent( $noredir );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1672
Default Alt Text
Article_php_1333.txt (839 B)

Event Timeline