Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2095
Article_php_1333.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:33 PM
2014-11-21 20:33:51 (UTC+0)
Size
839 B
Referenced Files
None
Subscribers
None
Article_php_1333.txt
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1672
Default Alt Text
Article_php_1333.txt (839 B)
Attached To
Mode
T4416: Search engines asked to index nonexistent articles.
Attached
Detach File
Event Timeline
Log In to Comment