Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585037
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/RELEASE-NOTES-1.44 b/RELEASE-NOTES-1.44
index f11a858e52c..39f0b90659b 100644
--- a/RELEASE-NOTES-1.44
+++ b/RELEASE-NOTES-1.44
@@ -388,6 +388,7 @@ because of Phabricator reports.
listSoftwareDefinedTags(), makeTagSummarySubquery(), modifyDisplayQuery(),
purgeTagCacheAll(), tagUsageStatistics(), and updateTags().
* EditPage::$textbox2 has been deprecated (once again).
+* EditPage::$action, deprecated since 1.38, now emits deprecation warnings.
* (T166010) All PHP code in MediaWiki is slowly being moved to be in a class
namespace as appropriate, so that we can use PSR-4 auto-loading, which will
speed up general code loading of MediaWiki. The old global namespace class
diff --git a/includes/editpage/EditPage.php b/includes/editpage/EditPage.php
index bc859000ecd..5a6462ac84a 100644
--- a/includes/editpage/EditPage.php
+++ b/includes/editpage/EditPage.php
@@ -207,7 +207,7 @@ class EditPage implements IEditObject {
* @deprecated since 1.38 for public usage; no replacement
* @var string
*/
- public $action = 'submit';
+ private $action = 'submit';
/** @var bool Whether an edit conflict needs to be resolved. Detected based on whether
* $editRevId is different than the latest revision. When a conflict has successfully
@@ -552,6 +552,7 @@ class EditPage implements IEditObject {
$this->authManager = $services->getAuthManager();
$this->deprecatePublicProperty( 'textbox2', '1.44', __CLASS__ );
+ $this->deprecatePublicProperty( 'action', '1.38', __CLASS__ );
}
/**
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:31 AM (15 h, 6 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227486
Default Alt Text
(1 KB)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment