Page MenuHomePhabricator

article.patch

Authored By
• bzimport
Nov 21 2014, 10:07 PM
Size
637 B
Referenced Files
None
Subscribers
None

article.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4325
Default Alt Text
article.patch (637 B)

Event Timeline