aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Title.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2015-10-14 09:12:01 +0200
committerumherirrender <umherirrender_de.wp@web.de>2015-10-14 09:26:42 +0200
commit63478e1415907178778697ab1e2321d0dd1a596f (patch)
tree864f4cb8c29563f036ab7d2a945b52e2efd3b065 /includes/Title.php
parent0d4234979e4d158b1425e8931fd4e5e6474d00e8 (diff)
downloadmediawikicore-63478e1415907178778697ab1e2321d0dd1a596f.tar.gz
mediawikicore-63478e1415907178778697ab1e2321d0dd1a596f.zip
Move the "shit" out
There is no need for such words Change-Id: I0294c0e2381b96fd4377d7edcdf4d7e7fc0d06d3
Diffstat (limited to 'includes/Title.php')
-rw-r--r--includes/Title.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/includes/Title.php b/includes/Title.php
index 8e5fae93b99a..7fb2b063aec9 100644
--- a/includes/Title.php
+++ b/includes/Title.php
@@ -1008,10 +1008,8 @@ class Title {
*/
public function getNsText() {
if ( $this->isExternal() ) {
- // This probably shouldn't even happen. ohh man, oh yuck.
- // But for interwiki transclusion it sometimes does.
- // Shit. Shit shit shit.
- //
+ // This probably shouldn't even happen,
+ // but for interwiki transclusion it sometimes does.
// Use the canonical namespaces if possible to try to
// resolve a foreign namespace.
if ( MWNamespace::exists( $this->mNamespace ) ) {