Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585038
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 d70e8f2f203..0dbc4f6b61b 100644
--- a/RELEASE-NOTES-1.44
+++ b/RELEASE-NOTES-1.44
@@ -391,6 +391,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 7b0fb7f85a3..a45de1be54d 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 (11 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227487
Default Alt Text
(1 KB)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment