EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/179512
Change subject: Dont output base hrefs
......................................................................
Dont output base hrefs
We switched awhile ago to have redlinker rewrite all urls being output
as such this base href does nothing but confuse people as to how
things actually work.
Change-Id: Iebdbeb3efdbea278c26c6cb23cb89fcb6b3905ff
---
M includes/View.php
1 file changed, 0 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/12/179512/1
diff --git a/includes/View.php b/includes/View.php
index e5e62a6..908293d 100644
--- a/includes/View.php
+++ b/includes/View.php
@@ -69,13 +69,6 @@
$workflow = $loader->getWorkflow();
$title = $workflow->getArticleTitle();
- // Temporary hack to make relative links work when the page is
requested as /w/index.php?title=
- // @todo this wont work when we eventually display posts from
multiple source pages,
- // @todo Patch core to either deprecate /w/index.php?title= and
issue redirects, or
- // include the <base href="..."> directly from core
- $out->prependHTML( Html::element( 'base', array(
- 'href' => $title->getLinkURL()
- ) ) );
$request = $this->getRequest();
$user = $this->getUser();
--
To view, visit https://gerrit.wikimedia.org/r/179512
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iebdbeb3efdbea278c26c6cb23cb89fcb6b3905ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits