Page MenuHomePhabricator

Remove all PHP entry points from all Wikimedia-deployed extensions and skins
Open, LowestPublic

Description

Now that all Wikimedia-deployed extensions and skins have been switched over to extension registration, and Wikimedia production has switched over to using them, we should remove the backwards-compatibility shims that very often imply support which doesn't exist for older versions of MediaWiki.

https://codesearch.wmcloud.org/deployed/?q=function_exists%5C(%20%27wfLoadExtension%27%20%5C)&i=nope&files=%5C.php%24&repos=

Event Timeline

matmarex added a subscriber: matmarex.

This is probably a duplicate of something. I'm not sure what, though. T139801? T139800? T87875?

This is probably a duplicate of something. I'm not sure what, though.

I thought so too, but…

T139801?

"Where appropriate" doesn't really have the "everywhere" drive, but possibly we could re-direct it.

T139800?

Again, that's a "where appropriate" task…

T87875?

That's a "change it in git" task.

So T87875 is about creating extension.json and deprecating the PHP entry point, and this is about actually deleting the PHP entry point?

Confused, can someone make this ticket more descriptive, by like writing an actual description in the description field ? :)

Confused, can someone make this ticket more descriptive, by like writing an actual description in the description field ? :)

Better? :-)

This proposal is selected for the Developer-Wishlist voting round and will be added to a MediaWiki page very soon. To the subscribers, or proposer of this task: please help modify the task description: add a brief summary (10-12 lines) of the problem that this proposal raises, topics discussed in the comments, and a proposed solution (if there is any yet). Remember to add a header with a title "Description," to your content. Please do so before February 5th, 12:00 pm UTC.

Change 668213 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/Collection@master] Remove php entry point

https://gerrit.wikimedia.org/r/668213

Change 668214 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/LabeledSectionTransclusion@master] Remove php entry point

https://gerrit.wikimedia.org/r/668214

Change 668216 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/TorBlock@master] Remove php entry point

https://gerrit.wikimedia.org/r/668216

Change 668219 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/Thanks@master] Remove php entry point

https://gerrit.wikimedia.org/r/668219

Change 668220 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/TemplateSandbox@master] Remove php entry point

https://gerrit.wikimedia.org/r/668220

Change 668213 merged by jenkins-bot:
[mediawiki/extensions/Collection@master] Remove php entry point

https://gerrit.wikimedia.org/r/668213

Change 668216 merged by jenkins-bot:
[mediawiki/extensions/TorBlock@master] Remove php entry point

https://gerrit.wikimedia.org/r/668216

Change 668220 merged by jenkins-bot:
[mediawiki/extensions/TemplateSandbox@master] Remove php entry point

https://gerrit.wikimedia.org/r/668220

Change 668214 merged by jenkins-bot:
[mediawiki/extensions/LabeledSectionTransclusion@master] Remove php entry point

https://gerrit.wikimedia.org/r/668214

Change 668219 merged by jenkins-bot:
[mediawiki/extensions/Thanks@master] Remove php entry point

https://gerrit.wikimedia.org/r/668219

Change 669152 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/CentralNotice@master] Remove php entry point

https://gerrit.wikimedia.org/r/669152

Change 671294 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/RelatedArticles@master] Remove php entry point

https://gerrit.wikimedia.org/r/671294

Change 671297 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/TemplateData@master] Remove php entry point

https://gerrit.wikimedia.org/r/671297

Change 671300 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/Poem@master] Remove php entry point

https://gerrit.wikimedia.org/r/671300

Change 671301 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/InputBox@master] Remove php entry point

https://gerrit.wikimedia.org/r/671301

Change 671302 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/WikibaseLexeme@master] Remove php entry point

https://gerrit.wikimedia.org/r/671302

Change 671303 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/Math@master] Remove php entry point

https://gerrit.wikimedia.org/r/671303

Change 671534 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/DismissableSiteNotice@master] Remove php entry point

https://gerrit.wikimedia.org/r/671534

Change 671535 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/GuidedTour@master] Remove php entry point

https://gerrit.wikimedia.org/r/671535

Change 671297 merged by jenkins-bot:
[mediawiki/extensions/TemplateData@master] Remove php entry point

https://gerrit.wikimedia.org/r/671297

Change 671294 merged by jenkins-bot:
[mediawiki/extensions/RelatedArticles@master] Remove php entry point

https://gerrit.wikimedia.org/r/671294

Change 671300 merged by jenkins-bot:
[mediawiki/extensions/Poem@master] Remove php entry point

https://gerrit.wikimedia.org/r/671300

Change 671301 merged by jenkins-bot:
[mediawiki/extensions/InputBox@master] Remove php entry point

https://gerrit.wikimedia.org/r/671301

Change 671302 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Remove php entry point

https://gerrit.wikimedia.org/r/671302

Change 671303 merged by jenkins-bot:
[mediawiki/extensions/Math@master] Remove php entry point

https://gerrit.wikimedia.org/r/671303

Change 671534 merged by jenkins-bot:
[mediawiki/extensions/DismissableSiteNotice@master] Remove php entry point

https://gerrit.wikimedia.org/r/671534

Change 671535 merged by jenkins-bot:
[mediawiki/extensions/GuidedTour@master] Remove php entry point

https://gerrit.wikimedia.org/r/671535

Change 669152 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Remove php entry point

https://gerrit.wikimedia.org/r/669152