Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[docs] Error in [Writing a new service]

オープン 初心者向け
#762 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
php
領域
api, documentation

調査の方向性

URL の Writing a new service ページを開き、「Write the external function descriptions」セクションに移動します。その require_once に関するガイダンスを、Moodle 4.1.5 向けにページ内の別の箇所で説明されている名前空間を使ったアプローチと比較します。セクションで動作しない require_once の使用方法が推奨されなくなり、記載されているサービスの例に一貫性があれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug documentation help wanted needs-triage
What is the URL of the page?

https://moodledev.io/docs/4.1/apis/subsystems/external/writing-a-service

What is the issue with this page?

I'm working with moodle version 4.1.5 and i was making a new external service but in the docs show how create a new Web Service using namespaces and in the section "Write the external function descriptions" you are still using the require_once for the externallib.php file, and if we try to use it, doesn't work.
By the way i love the new moodle devdocs ❤️

Screenshot 2023-10-06 154521

Are you able to provide a patch for this?

Yes - I will create one

主要言語
TypeScript
スター
74
フォーク
652
平均マージ
2日 50分
マージ済み PR(30日)
12

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

moodle/devdocs のほかの issue

moodle/devdocs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。