We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.t-navbar
1 parent 6f221d6 commit b889da4Copy full SHA for b889da4
migrate/migrate-bot.ts
@@ -69,6 +69,7 @@ async function fetchPageContent(
69
const html = await response.text();
70
const dom = new JSDOM(html);
71
const contentElement = dom.window.document.querySelector("#mw-content-text");
72
+ contentElement?.querySelector('.t-navbar')?.remove();
73
const headingElement = dom.window.document.querySelector("#firstHeading");
74
if (!contentElement) {
75
throw new Error("Could not find #mw-content-text");
0 commit comments