Demon has submitted this change and it was merged.

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(-)

Approvals:
  Tbleher: Looks good to me, but someone else must approve
  Demon: Verified; Looks good to me, approved
  Matmarex: Looks good to me, but someone else must approve
  Hashar: Verified; Looks good to me, but someone else must approve


--
To view, visit https://gerrit.wikimedia.org/r/17697
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idf902b65edc0d4235153c6d69f1f7339496f612d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DumpHTML
Gerrit-Branch: master
Gerrit-Owner: Tbleher <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Matmarex <[email protected]>
Gerrit-Reviewer: Tbleher <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to