Skip to content

Export nested MediaWiki lists with repeated markers#114

Open
JohnMcLear with Copilot wants to merge 6 commits into
mainfrom
copilot/add-nested-lists-support
Open

Export nested MediaWiki lists with repeated markers#114
JohnMcLear with Copilot wants to merge 6 commits into
mainfrom
copilot/add-nested-lists-support

Conversation

Copilot AI commented May 13, 2026

Copy link
Copy Markdown
Contributor

Nested unordered lists were exported with a single * regardless of indentation level, so deeper list structure was flattened in MediaWiki output. This updates the exporter to emit one marker per list depth and adds coverage for the nested-list case.

  • Exporter

    • Build list prefixes from the current list depth instead of always emitting a single marker
    • Preserve existing behavior for numbered lists by applying the same depth-based prefix generation
  • Regression coverage

    • Add a backend export test that creates a pad with nested unordered lists and verifies the exported MediaWiki contains the expected repeated markers
  • Behavior

    * 1
    ** 2

Copilot AI linked an issue May 13, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add support for nested unnumbered lists in MediaWiki markup Export nested MediaWiki lists with repeated markers May 13, 2026
Copilot AI requested a review from JohnMcLear May 13, 2026 10:28
@JohnMcLear JohnMcLear marked this pull request as ready for review May 15, 2026 09:59
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

Copilot AI and others added 6 commits May 15, 2026 11:00
Agent-Logs-Url: https://github.com/ether/ep_mediawiki/sessions/ff948421-c1ea-491c-a96b-d5dbbb641d48

Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ether/ep_mediawiki/sessions/ff948421-c1ea-491c-a96b-d5dbbb641d48

Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ether/ep_mediawiki/sessions/ff948421-c1ea-491c-a96b-d5dbbb641d48

Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ether/ep_mediawiki/sessions/ff948421-c1ea-491c-a96b-d5dbbb641d48

Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JohnMcLear JohnMcLear force-pushed the copilot/add-nested-lists-support branch from 1dc6dd4 to aa94744 Compare May 15, 2026 10:03
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.

Add nested lists

2 participants