Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1338
SpecialMovepage.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 7:00 PM
2014-11-21 19:00:59 (UTC+0)
Size
734 B
Referenced Files
None
Subscribers
None
SpecialMovepage.patch
View Options
Index: includes/SpecialMovepage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialMovepage.php,v
retrieving revision 1.45
diff -u -r1.45 SpecialMovepage.php
--- includes/SpecialMovepage.php 14 Oct 2004 07:29:38 -0000 1.45
+++ includes/SpecialMovepage.php 24 Oct 2004 22:19:57 -0000
@@ -59,7 +59,7 @@
}
$encOldTitle = htmlspecialchars( $this->oldTitle );
- $encNewTitle = htmlspecialchars( $this->newTitle );
+ if ( empty( $this->newTitle ) ) {
$encNewTitle = $encOldTitle;
}
else {
$encNewTitle = htmlspecialchars ( $this->newTitle );
}
$ot = Title::newFromURL( $this->oldTitle );
$ott = $ot->getPrefixedText();
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1237
Default Alt Text
SpecialMovepage.patch (734 B)
Attached To
Mode
T2776: Old title as default for new title when moving pages
Attached
Detach File
Event Timeline
Log In to Comment