Hoo man has submitted this change and it was merged.
Change subject: Avoid using local main page title in JobSpecification
......................................................................
Avoid using local main page title in JobSpecification
* They may not work well on the wiki that runs the jobs
Bug: T92789
Change-Id: I496974b11bd865ede9dd6d2cd534e0abdd7fa3f7
---
M includes/jobqueue/JobSpecification.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Hoo man: Verified; Looks good to me, approved
diff --git a/includes/jobqueue/JobSpecification.php
b/includes/jobqueue/JobSpecification.php
index 42d2a39..84cfd47 100644
--- a/includes/jobqueue/JobSpecification.php
+++ b/includes/jobqueue/JobSpecification.php
@@ -108,7 +108,7 @@
$this->type = $type;
$this->params = $params;
- $this->title = $title ?: Title::newMainPage();
+ $this->title = $title ?: Title::makeTitle( NS_SPECIAL,
'Badtitle/' . get_class( $this ) );
$this->opts = $opts;
}
--
To view, visit https://gerrit.wikimedia.org/r/203973
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I496974b11bd865ede9dd6d2cd534e0abdd7fa3f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.25wmf24
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits