[docs] Error in version.php
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- php
- Área
- documentation
Línea de trabajo
Abre la sección «supported-versions» en https://moodledev.io/docs/apis/commonfiles/version.php#supported-versions y localiza su origen en el repositorio devdocs. Actualiza la explicación y los ejemplos para indicar que $plugin->supported debe contener exactamente dos valores, y aclara el comportamiento cuando contiene uno o más de dos valores.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What is the URL of the page?
https://moodledev.io/docs/apis/commonfiles/version.php#supported-versions
What is the issue with this page?
The docs stated, that the property for $plugin->supported should be integer[] and
A set of branch numbers to specify the lowest and highest branches of Moodle that the plugin supports. These value are inclusive.
But it does not state that there has to be exactly two values. If you provide 3 or more values, only the first 2 values (or more correctly: only values with the keys 0 and 1) will taken into account. One could think that you can also provide a list of all supported versions:
$plugin->supported = [
// Support from the Moodle 3.11 series.
311,
401,
402,
// To the Moodle 4.3 series.
403,
];
If one provides only one value Moodle will fail with an error while installation of the plugin.
$plugin->supported = [
// Support only the Moodle 4.3 series.
403,
];
Are you able to provide a patch for this?
Yes - I will create one if requested.
- Lenguaje dominante
- TypeScript
- Estrellas
- 74
- Forks
- 652
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de moodle/devdocs
-
bug documentation help wanted needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
moodle/devdocs#1673 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation enhancement help wanted needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug documentation help wanted needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Accessibility - SQL Indentation image alt text is the file name.Posiblemente ocupada @travis-kuenzi la tomó hace 128 días. Abiertobug documentation good first issue needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
moodle/devdocs#1395 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug documentation help wanted needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
moodle/devdocs#762 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de moodle/devdocs
Issues similares
-
[Bug] The shared instance selector's placeholder and no-match text ignore the display languagePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
apache/rocketmq-dashboard#5561 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CopilotKit/OpenDots#69 ·
Los mantenedores suelen responder en 1 día
-
sendDefaultPii is reported as deprecated on ReactNativeOptions although dataCollection is hiddenAbiertoBug React-Native Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
getsentry/sentry-react-native#6830 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
OSCI'26
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GauravKarakoti/SecureFlow#1215 ·
Los mantenedores suelen responder en 1 día
-
[quality] bundle e2e never drives plain /close or the /milestone refusals through dist/index.jsPosiblemente ocupada @hivecommons-hive la tomó hoy. Abiertoagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5q9t kind/cleanup quality testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
cncf/prow-github-actions#295 · 1 comentario ·
Los mantenedores suelen responder en 1 día