The following global functions are soft deprecated. Their usages should be replaced, then they should start emit deprecation warnings. And eventually they should be removed.
- wfEscapeShellArg
- wfShellExec
- wfShellExecWithStderr
- wfShellWikiCmd
The following global functions are soft deprecated. Their usages should be replaced, then they should start emit deprecation warnings. And eventually they should be removed.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T42485 Clean up deprecated functions in GlobalFunctions.php | |||
| Open | None | T294703 Hard deprecate and remove the deprecated global shell functions |
Change 735739 had a related patch set uploaded (by Zabe; author: Zabe):
[mediawiki/extensions/WikimediaMaintenance@master] Replace deprecated function wfEscapeShellArg with Shell::escape()
Change 735739 abandoned by Zabe:
[mediawiki/extensions/WikimediaMaintenance@master] Replace deprecated function wfEscapeShellArg with Shell::escape()
Reason:
Change #1264641 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/extensions/PdfHandler@master] Replace global shell functions with Shell class
Change #1264636 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/extensions/WikimediaMaintenance@master] Drop usage of Shell-related globals
Change #1264636 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMaintenance@master] Drop usage of Shell-related globals
Change #1264641 merged by jenkins-bot:
[mediawiki/extensions/PdfHandler@master] Replace global shell functions with Shell class
Change #1264322 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/extensions/Scribunto@master] Replace usages of Shell related globals
Change #1264322 merged by jenkins-bot:
[mediawiki/extensions/Scribunto@master] Replace usages of Shell related globals
Change #1269539 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/extensions/TimedMediaHandler@master] [UNTESTED] Replace deprecated global shell functions
Change #1281992 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/core@master] UploadVerification: Convert remaining wfShell* commands to Shell class
Change #1285863 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):
[mediawiki/core@master] GlobalIdGenerator: Convert deprecated shell global functions calls to Shell class
Should now be patches for review against all WMF-deployed code & core per codesearch.