Skip to content

Handle interwiki link format in assignment titles#6651

Open
Sukuna0007Abhi wants to merge 1 commit intoWikiEducationFoundation:masterfrom
Sukuna0007Abhi:fix-interwiki-assignment-parsing
Open

Handle interwiki link format in assignment titles#6651
Sukuna0007Abhi wants to merge 1 commit intoWikiEducationFoundation:masterfrom
Sukuna0007Abhi:fix-interwiki-assignment-parsing

Conversation

@Sukuna0007Abhi
Copy link
Copy Markdown

  • Add support for parsing interwiki format (e.g., en:Article, es:wiktionary:palabra)
  • Update JavaScript articleFromTitleInput() to parse interwiki format
  • Update Ruby ArticleUtils with parse_interwiki_format() method
  • Modify Assignment model to handle interwiki format on save
  • Add comprehensive test coverage for both JS and Ruby implementations

What this PR does

< describe the purpose of this pull request and note the issue it addresses >

Fixes #2491

Pls review @ragesoss @Abishekcs @gabina

- Add support for parsing interwiki format (e.g., en:Article, es:wiktionary:palabra)
- Update JavaScript articleFromTitleInput() to parse interwiki format
- Update Ruby ArticleUtils with parse_interwiki_format() method
- Modify Assignment model to handle interwiki format on save
- Add comprehensive test coverage for both JS and Ruby implementations

Signed-off-by: Sukuna0007Abhi <appsonly310@gmail.com>
@Abishekcs
Copy link
Copy Markdown
Contributor

Can you add a before and after screen recording for the changes. Refer to PULL_REQUEST_TEMPLATE.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assignments in foreign wikis shows as interwiki in wikipage

2 participants