Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1975
patch1877_REL14.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 8:21 PM
2014-11-21 20:21:22 (UTC+0)
Size
744 B
Referenced Files
None
Subscribers
None
patch1877_REL14.txt
View Options
Index: EditPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/EditPage.php,v
retrieving revision 1.131.2.11
diff -u -r1.131.2.11 EditPage.php
--- EditPage.php 17 Mar 2005 00:13:25 -0000 1.131.2.11
+++ EditPage.php 18 Apr 2005 18:00:14 -0000
@@ -847,6 +847,10 @@
$toolbar.="document.writeln(\"<div id='toolbar'>\");\n";
foreach($toolarray as $tool) {
+ // remove linebreaks as they may brake the JavaScript code
+ $tool['sample'] = str_replace("\n", ' ' , $tool['sample']);
+ $tool['tip'] = str_replace("\n", ' ' , $tool['tip']);
+
$image=$wgStylePath.'/common/images/'.$tool['image'];
$open=$tool['open'];
$close=$tool['close'];
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1493
Default Alt Text
patch1877_REL14.txt (744 B)
Attached To
Mode
T3877: JavaScript error in page editing in some localizations
Attached
Detach File
Event Timeline
Log In to Comment