Skip to content

Commit d0e42ae

Browse files
JeroenDeDauwthiemowmde
authored andcommitted
Undeprecate SiteLink methods in Item (#734)
They where deprecated years ago and never removed, presumably cause there is no clear motivation to do so. IIRC I deprecated this stuff, but at present I no longer think this makes things better.
1 parent 4fe12f1 commit d0e42ae

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Entity/Item.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ public function setSiteLinkList( SiteLinkList $siteLinks ) {
204204
* If there already is a site link with the site id of the provided site link,
205205
* then that one will be overridden by the provided one.
206206
*
207-
* @deprecated since 0.8, use getSiteLinkList()->addSiteLink() instead.
208207
* @since 0.6
209208
*
210209
* @param SiteLink $siteLink
@@ -220,7 +219,6 @@ public function addSiteLink( SiteLink $siteLink ) {
220219
/**
221220
* Removes the sitelink with specified site ID if the Item has such a sitelink.
222221
*
223-
* @deprecated since 0.8, use getSiteLinkList()->removeLinkWithSiteId() instead.
224222
* @since 0.1
225223
*
226224
* @param string $siteId the target site's id
@@ -230,7 +228,6 @@ public function removeSiteLink( $siteId ) {
230228
}
231229

232230
/**
233-
* @deprecated since 0.8, use getSiteLinkList()->getBySiteId() instead.
234231
* @since 0.6
235232
*
236233
* @param string $siteId
@@ -243,7 +240,6 @@ public function getSiteLink( $siteId ) {
243240
}
244241

245242
/**
246-
* @deprecated since 0.8, use getSiteLinkList()->hasLinkWithSiteId() instead.
247243
* @since 0.4
248244
*
249245
* @param string $siteId

0 commit comments

Comments
 (0)