Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mwbot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • mwbot-rs
  • mwbot
  • Merge requests
  • !14

Have Wikicode store a title instead of trying to parse it

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Legoktm requested to merge title2-fix into main Jan 08, 2023
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 4

Because of T324431, HTML is somtimes ending up in the <title> element, so it isn't usable as an actual title. In most cases, we know the title since we requested it from the server, so just store that title since we at least know it's the correct title.

Most importantly this makes transform_to_wikitext() work for pages with customized titles.

Bug: T326490

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: title2-fix