http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99471
Revision: 99471
Author: amire80
Date: 2011-10-11 10:44:31 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
Bug 30770: Removed "Executable not found". It is not necessarily correct - the
executable is EasyTimeline.pl and this message can be produced if it is found
but didn't run expected.
Added dir="ltr" to error messages that are always in English, so the LTR
direction should be forced.
Modified Paths:
--------------
trunk/extensions/timeline/Timeline.php
Modified: trunk/extensions/timeline/Timeline.php
===================================================================
--- trunk/extensions/timeline/Timeline.php 2011-10-11 10:25:58 UTC (rev
99470)
+++ trunk/extensions/timeline/Timeline.php 2011-10-11 10:44:31 UTC (rev
99471)
@@ -82,7 +82,7 @@
if ( $ret == "" ) {
// Message not localized, only relevant during install
- return "<div id=\"toc\"><tt>Timeline error: Executable
not found." .
+ return "<div id=\"toc\" dir=\"ltr\"><tt>Timeline error.
" .
"Command line was: " . htmlspecialchars(
$cmdline ) . "</tt></div>";
}
@@ -103,7 +103,7 @@
// Now convert back to HTML again
$encErr = nl2br( htmlspecialchars( $err ) );
- $txt = "<div id=\"toc\"><tt>$encErr</tt></div>";
+ $txt = "<div id=\"toc\" dir=\"ltr\"><tt>$encErr</tt></div>";
} else {
@$map = file_get_contents( $fname.".map" );
$map = str_replace( ' >', ' />', $map );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs