Added unnecessary burden to core Skin code. It's more easier for every skin to just give the path directly without this indirection
- soft deprecate
- Hard deprecate
- Remove in 1.39
Added unnecessary burden to core Skin code. It's more easier for every skin to just give the path directly without this indirection
Change 651312 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Deprecate Skin::getSkinStylePath()
Change 651312 merged by jenkins-bot:
[mediawiki/core@master] Deprecate Skin::getSkinStylePath()
This needs a hard deprecation
I've posted a patch for Wisky
https://bitbucket.org/wikiskripta/wisky/pull-requests/1/restore-support-for-modern-mediawiki
Change 722936 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@master] Hard deprecate Skin::getSkinStylePath
Change 722936 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate Skin::getSkinStylePath
@Bongo-Cat what context are you using it in?
For most use cases you can use $this->getConfig()->get( 'StylePath' ) and complete the URL.
e.g.
// old way $path = $this->getSkinStylePath( $name ) // new way $path = $this->getConfig()->get( 'StylePath' ) . "/SkinName/$name";
Change 743005 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):
[mediawiki/skins/Material@master] Skin::getSkinStylePath() is deprecated
Change 743005 merged by jenkins-bot:
[mediawiki/skins/Material@master] Skin::getSkinStylePath() is deprecated
Still used by Metrolook and Apex (other skins do not work):
https://codesearch.wmcloud.org/search/?q=getSkinStylePath&i=nope&files=&excludeFiles=&repos=
Change 777336 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/skins/Metrolook@master] Fix usages of deprecated Skin::getSkinStylePath
Change 777338 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/skins/apex@master] Fix usage of deprecated Skin::getSkinStylePath
Change 777355 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@master] Drop Skin::getSkinStylePath
Change 777338 merged by jenkins-bot:
[mediawiki/skins/apex@master] Fix usage of deprecated Skin::getSkinStylePath
Change 777358 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/skins/Timeless@master] Remove $stylename indirection
Change 777358 merged by jenkins-bot:
[mediawiki/skins/Timeless@master] Remove $stylename indirection
Change 777336 merged by jenkins-bot:
[mediawiki/skins/Metrolook@master] Fix usages of deprecated Skin::getSkinStylePath
Change 777355 merged by jenkins-bot:
[mediawiki/core@master] Drop Skin::getSkinStylePath