Tbleher has uploaded a new change for review. Change subject: Fix a few DumpHTML issues: ......................................................................
Fix a few DumpHTML issues: * Special pages and pages with query params (e.g. action=edit) now link to the live site, so the links actually work. * Add css so the dump looks mostly like Monobook * Set $wgUser in the RequestContext, so the user with its special user options (e.g. the offline skin) are used when rendering the page. * $article->followRedirect() returns its own title on image pages included via InstantCommons. Workaround this so no endless redirect loops are created in the HTML output. * Set real file object in the thumb in the DumpHTML_ProxyFile class, so the links on image pages to the original image work. Change-Id: Idf902b65edc0d4235153c6d69f1f7339496f612d --- M dumpHTML.inc M skin/main.css 2 files changed, 19 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DumpHTML refs/changes/97/17697/1 -- To view, visit https://gerrit.wikimedia.org/r/17697 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idf902b65edc0d4235153c6d69f1f7339496f612d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DumpHTML Gerrit-Branch: master Gerrit-Owner: Tbleher <thomasble...@gmx.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits