https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112395
Revision: 112395
Author: ialex
Date: 2012-02-25 15:23:45 +0000 (Sat, 25 Feb 2012)
Log Message:
-----------
* (bug 34528) Don't parse section name in edit section tooltips
Modified Paths:
--------------
branches/REL1_18/phase3/RELEASE-NOTES-1.18
branches/REL1_18/phase3/includes/Skin.php
branches/REL1_19/phase3/HISTORY
branches/REL1_19/phase3/includes/Skin.php
trunk/phase3/HISTORY
trunk/phase3/includes/Skin.php
Modified: branches/REL1_18/phase3/RELEASE-NOTES-1.18
===================================================================
--- branches/REL1_18/phase3/RELEASE-NOTES-1.18 2012-02-25 15:10:25 UTC (rev
112394)
+++ branches/REL1_18/phase3/RELEASE-NOTES-1.18 2012-02-25 15:23:45 UTC (rev
112395)
@@ -17,6 +17,7 @@
* UserMailer could potentially throw a fatal error when a MailAddress object
had
an empty email address.
* (Bug 33087) Exchange server rejected mail sent by MediaWiki
+* (bug 34528) Edit section tooltips show correction section name again
== MediaWiki 1.18.1 ==
2012-01-11
Modified: branches/REL1_18/phase3/includes/Skin.php
===================================================================
--- branches/REL1_18/phase3/includes/Skin.php 2012-02-25 15:10:25 UTC (rev
112394)
+++ branches/REL1_18/phase3/includes/Skin.php 2012-02-25 15:23:45 UTC (rev
112395)
@@ -1516,7 +1516,7 @@
if ( !is_null( $tooltip ) ) {
# Bug 25462: undo double-escaping.
$tooltip = Sanitizer::decodeCharReferences( $tooltip );
- $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag' ), $tooltip );
+ $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'replaceafter' ), $tooltip );
}
$link = Linker::link( $nt, wfMsgExt( 'editsection', array(
'language' => $lang ) ),
$attribs,
@@ -1528,7 +1528,7 @@
# we can rid of it someday.
$attribs = '';
if ( $tooltip ) {
- $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape' ), $tooltip );
+ $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape', 'replaceafter' ), $tooltip );
$attribs = " title=\"$attribs\"";
}
$result = null;
Modified: branches/REL1_19/phase3/HISTORY
===================================================================
--- branches/REL1_19/phase3/HISTORY 2012-02-25 15:10:25 UTC (rev 112394)
+++ branches/REL1_19/phase3/HISTORY 2012-02-25 15:23:45 UTC (rev 112395)
@@ -9,6 +9,7 @@
parameter without setting the text parameter.
* UserMailer could potentially throw a fatal error when a MailAddress object
had
an empty email address.
+* (bug 34528) Edit section tooltips show correction section name again
=== MediaWiki 1.18.1 ===
2012-01-11
Modified: branches/REL1_19/phase3/includes/Skin.php
===================================================================
--- branches/REL1_19/phase3/includes/Skin.php 2012-02-25 15:10:25 UTC (rev
112394)
+++ branches/REL1_19/phase3/includes/Skin.php 2012-02-25 15:23:45 UTC (rev
112395)
@@ -1499,7 +1499,7 @@
if ( !is_null( $tooltip ) ) {
# Bug 25462: undo double-escaping.
$tooltip = Sanitizer::decodeCharReferences( $tooltip );
- $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag' ), $tooltip );
+ $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'replaceafter' ), $tooltip );
}
$link = Linker::link( $nt, wfMsgExt( 'editsection', array(
'language' => $lang ) ),
$attribs,
@@ -1511,7 +1511,7 @@
# we can rid of it someday.
$attribs = '';
if ( $tooltip ) {
- $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape' ), $tooltip );
+ $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape', 'replaceafter' ), $tooltip );
$attribs = " title=\"$attribs\"";
}
$result = null;
Modified: trunk/phase3/HISTORY
===================================================================
--- trunk/phase3/HISTORY 2012-02-25 15:10:25 UTC (rev 112394)
+++ trunk/phase3/HISTORY 2012-02-25 15:23:45 UTC (rev 112395)
@@ -9,6 +9,7 @@
parameter without setting the text parameter.
* UserMailer could potentially throw a fatal error when a MailAddress object
had
an empty email address.
+* (bug 34528) Edit section tooltips show correction section name again
=== MediaWiki 1.18.1 ===
2012-01-11
Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php 2012-02-25 15:10:25 UTC (rev 112394)
+++ trunk/phase3/includes/Skin.php 2012-02-25 15:23:45 UTC (rev 112395)
@@ -1499,7 +1499,7 @@
if ( !is_null( $tooltip ) ) {
# Bug 25462: undo double-escaping.
$tooltip = Sanitizer::decodeCharReferences( $tooltip );
- $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag' ), $tooltip );
+ $attribs['title'] = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'replaceafter' ), $tooltip );
}
$link = Linker::link( $nt, wfMsgExt( 'editsection', array(
'language' => $lang ) ),
$attribs,
@@ -1511,7 +1511,7 @@
# we can rid of it someday.
$attribs = '';
if ( $tooltip ) {
- $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape' ), $tooltip );
+ $attribs = wfMsgExt( 'editsectionhint', array(
'language' => $lang, 'parsemag', 'escape', 'replaceafter' ), $tooltip );
$attribs = " title=\"$attribs\"";
}
$result = null;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs