Umherirrender has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246159
Change subject: Move the "shit" out
......................................................................
Move the "shit" out
There is no need for such words
Change-Id: I0294c0e2381b96fd4377d7edcdf4d7e7fc0d06d3
---
M includes/Title.php
M includes/mail/MailAddress.php
M includes/specials/SpecialUndelete.php
M maintenance/backupTextPass.inc
4 files changed, 4 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/59/246159/1
diff --git a/includes/Title.php b/includes/Title.php
index 8e5fae9..7fb2b06 100644
--- a/includes/Title.php
+++ b/includes/Title.php
@@ -1008,10 +1008,8 @@
*/
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 ) ) {
diff --git a/includes/mail/MailAddress.php b/includes/mail/MailAddress.php
index 7a228bd..387ba30 100644
--- a/includes/mail/MailAddress.php
+++ b/includes/mail/MailAddress.php
@@ -65,7 +65,7 @@
* @return string
*/
function toString() {
- # PHP's mail() implementation under Windows is somewhat shite,
and
+ # PHP's mail() implementation under Windows is very poor, and
# can't handle "Joe Bloggs <[email protected]>" format email
addresses,
# so don't bother generating them
if ( $this->address ) {
diff --git a/includes/specials/SpecialUndelete.php
b/includes/specials/SpecialUndelete.php
index 00ee327..d833d99 100644
--- a/includes/specials/SpecialUndelete.php
+++ b/includes/specials/SpecialUndelete.php
@@ -587,7 +587,7 @@
$restored = 0;
foreach ( $result as $row ) {
- // Check for key dupes due to shitty archive integrity.
+ // Check for key dupes due to archive integrity.
if ( $row->ar_rev_id ) {
$exists = $dbw->selectField( 'revision', '1',
array( 'rev_id' => $row->ar_rev_id ),
__METHOD__ );
diff --git a/maintenance/backupTextPass.inc b/maintenance/backupTextPass.inc
index 11a0590..0ed584c 100644
--- a/maintenance/backupTextPass.inc
+++ b/maintenance/backupTextPass.inc
@@ -699,7 +699,6 @@
$this->progress( "Spawning database subprocess: $cmd" );
$this->spawnProc = proc_open( $cmd, $spec, $pipes );
if ( !$this->spawnProc ) {
- // shit
$this->progress( "Subprocess spawn failed." );
return false;
--
To view, visit https://gerrit.wikimedia.org/r/246159
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0294c0e2381b96fd4377d7edcdf4d7e7fc0d06d3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits