File tree Expand file tree Collapse file tree
dist-persist/wbstack/src/Internal
dist/wbstack/src/Internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Tags have the format: ` <MediaWiki core version>-<PHP Version>-<date>-<build number> `
44
5+ # 1.39-7.4-20250610-0
6+ - Force bot flag to be set on Main Page creation (T391479)
7+
58# 1.39-7.4-20250526-0
6- - Add ` PlatformReservedUser ` to ` bot ` group
9+ - Add ` PlatformReservedUser ` to ` bot ` group (T391479)
710
811# 1.39-7.4-20250415-0
912- Add OAuth2 settings
Original file line number Diff line number Diff line change @@ -154,6 +154,6 @@ static public function initMainPage() {
154154 $ updater = $ page ->newPageUpdater ( $ user );
155155 $ updater ->setContent ( SlotRecord::MAIN , $ content );
156156 $ updater ->setRcPatrolStatus ( \RecentChange::PRC_PATROLLED );
157- $ updater ->saveRevision ( $ comment , EDIT_NEW );
157+ $ updater ->saveRevision ( $ comment , EDIT_NEW | EDIT_FORCE_BOT );
158158 }
159159}
Original file line number Diff line number Diff line change @@ -154,6 +154,6 @@ static public function initMainPage() {
154154 $ updater = $ page ->newPageUpdater ( $ user );
155155 $ updater ->setContent ( SlotRecord::MAIN , $ content );
156156 $ updater ->setRcPatrolStatus ( \RecentChange::PRC_PATROLLED );
157- $ updater ->saveRevision ( $ comment , EDIT_NEW );
157+ $ updater ->saveRevision ( $ comment , EDIT_NEW | EDIT_FORCE_BOT );
158158 }
159159}
You can’t perform that action at this time.
0 commit comments