aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Output
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@cscott.net>2025-03-20 21:53:55 -0400
committerC. Scott Ananian <cscott@cscott.net>2025-03-24 16:17:11 +0000
commit22594d8a9bc6ff9b8d9b0531537a19911c5b4e0a (patch)
tree80a21fed9d43e9cbda1b2b1c6c4852927a52b543 /includes/Output
parent3df96158130e84cf0956394965f3ef30cb242dea (diff)
downloadmediawikicore-22594d8a9bc6ff9b8d9b0531537a19911c5b4e0a.tar.gz
mediawikicore-22594d8a9bc6ff9b8d9b0531537a19911c5b4e0a.zip
Hard deprecate OutputPage::addParserOutput{,Content} with null ParserOptions
Bug: T350626 Follows-Up: Iec19f9f08a4d88ea534ffa7b24e6e01ffbba2723 Depends-On: Ib96c6f33ce30529fe41f5db1c54b727ce63fb7c0 Depends-On: If1ece68d06bbc81ba3d726c98adda064394b9cf1 Depends-On: I98ced3bd0820b2981fecc29caaddaab0e952f214 Depends-On: I43b77f0bfa01c1b1589fe044cf07005d53aaf161 Depends-On: I5a0905efb4f71b50e6a48cee4b6ac4e0bab3193a Depends-On: I50e7aaae2214193b8df2a8729d5527f67ca4fba9 Depends-On: If6573fc759c5735a1542bbe104f92f214a4e9c11 Depends-On: Ica3bb81b37d62a9233becf7558aa71042fc5ced1 Depends-On: Ia20dfa77021fbdd7a4578e26be74b439c58ead99 Depends-On: Idb0165c526e414c4208d46c6e20aeec92bbce3f3 Depends-On: Ia128b083b89b7f461d19e6d9464f0b894cc842bc Depends-On: I4e1b65845876e051be13abaf02988136cb1f9c53 Depends-On: I892831073bb5daee06abb5e04877c95e55551154 Depends-On: Iec53d8b338ba3e27d72712fcf45061108019d4d6 Depends-On: I634efdd086506bae02dab855a0e6869fb0d56c4a Depends-On: I6b337d673d3c98c532e8a5da650836aa3d4d6b51 Change-Id: I5c33f9bce88126c91cd5b6dc0b52dc63496a9573
Diffstat (limited to 'includes/Output')
-rw-r--r--includes/Output/OutputPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Output/OutputPage.php b/includes/Output/OutputPage.php
index 38d653f21947..c9557de8ff50 100644
--- a/includes/Output/OutputPage.php
+++ b/includes/Output/OutputPage.php
@@ -2564,7 +2564,7 @@ class OutputPage extends ContextSource {
$parserOptions = null;
}
if ( $parserOptions === null ) {
- // @deprecated since 1.44
+ wfDeprecated( __METHOD__ . ' without ParserOptions argument', '1.44' );
// XXX: This isn't guaranteed to be the same parser options that
// generated $parserOutput.
$parserOptions = $this->internalParserOptions( false );
@@ -2612,7 +2612,7 @@ class OutputPage extends ContextSource {
$parserOptions = null;
}
if ( $parserOptions === null ) {
- // @deprecated since 1.44
+ wfDeprecated( __METHOD__ . ' without ParserOptions argument', '1.44' );
// XXX: This isn't guaranteed to be the same parser options that
// generated $parserOutput.
$parserOptions = $this->internalParserOptions( false );