[CORE] Plugin API now extends a new Module API

This commit is contained in:
Diogo Cordeiro
2019-08-12 15:03:30 +01:00
committed by Diogo Peralta Cordeiro
parent 3821d2317e
commit 20a6f1d4f4
397 changed files with 3093 additions and 1450 deletions

View File

@@ -662,7 +662,7 @@ class EmbedPlugin extends Plugin
* @param &$versions array inherited from parent
* @return bool true hook value
*/
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = ['name' => 'Embed',
'version' => self::PLUGIN_VERSION,

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-14 14:44+0100\n"
"POT-Creation-Date: 2019-08-14 14:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,13 +17,13 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: Plugin description.
#: EmbedPlugin.php:633
msgid "Plugin for using and representing oEmbed, OpenGraph and other data."
msgstr ""
#. TRANS: Exception. %s is the URL we tried to GET.
#: lib/embedhelper.php:87
#, php-format
msgid "Could not GET URL %s."
msgstr ""
#. TRANS: Plugin description.
#: EmbedPlugin.php:634
msgid "Plugin for using and representing oEmbed, OpenGraph and other data."
msgstr ""