Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4760
article.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:07 PM
2014-11-21 22:07:00 (UTC+0)
Size
637 B
Referenced Files
None
Subscribers
None
article.patch
View Options
Index: includes/Article.php
===================================================================
--- includes/Article.php (revision 29694)
+++ includes/Article.php (working copy)
@@ -1204,7 +1204,8 @@
function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC=false, $comment=false, $bot=false ) {
$flags = EDIT_NEW | EDIT_DEFER_UPDATES | EDIT_AUTOSUMMARY |
( $isminor ? EDIT_MINOR : 0 ) |
- ( $suppressRC ? EDIT_SUPPRESS_RC : 0 );
+ ( $suppressRC ? EDIT_SUPPRESS_RC : 0 ) |
+ ( $bot ? EDIT_FORCE_BOT : 0 );
# If this is a comment, add the summary as headline
if ( $comment && $summary != "" ) {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4325
Default Alt Text
article.patch (637 B)
Attached To
Mode
T14611: Bot flag ignored in recent changes.
Attached
Detach File
Event Timeline
Log In to Comment