r54707 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54706‎ | r54707 | r54708 >
Date:10:42, 10 August 2009
Author:catrope
Status:deferred
Tags:
Comment:
EditToolbar: Add special characters for Telugu, thanks to Veeven for providing them and to GerardM for asking around for them; bump style versions for r54704
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php (modified) (history)
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.i18n.php (modified) (history)
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php (modified) (history)
  • /trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php
@@ -49,16 +49,16 @@
5050 array( 'src' => 'js/plugins/jquery.async.js', 'version' => 3 ),
5151 array( 'src' => 'js/plugins/jquery.browser.js', 'version' => 3 ),
5252 array( 'src' => 'js/plugins/jquery.cookie.js', 'version' => 3 ),
53 - array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 4 ),
 53+ array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 5 ),
5454 array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 4 ),
5555 array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 6 ),
5656 array( 'src' => 'js/plugins/jquery.wikiEditor.toc.js', 'version' => 4 ),
5757 ),
5858 'combined' => array(
59 - array( 'src' => 'js/plugins.combined.js', 'version' => 7 ),
 59+ array( 'src' => 'js/plugins.combined.js', 'version' => 8 ),
6060 ),
6161 'minified' => array(
62 - array( 'src' => 'js/plugins.combined.min.js', 'version' => 7 ),
 62+ array( 'src' => 'js/plugins.combined.min.js', 'version' => 8 ),
6363 ),
6464 ),
6565 );
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php
@@ -107,6 +107,7 @@
108108 'edittoolbar-characters-page-cyrillic',
109109 'edittoolbar-characters-page-arabic',
110110 'edittoolbar-characters-page-hebrew',
 111+ 'edittoolbar-characters-page-telugu',
111112 /* Help Section */
112113 'edittoolbar-section-help',
113114 'edittoolbar-help-heading-description',
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js
@@ -709,6 +709,35 @@
710710 [ "\u05c0\u25cc", "\u05c0" ],
711711 [ "\u05c3\u25cc", "\u05c3" ]
712712 ]
 713+ },
 714+ 'telugu': {
 715+ 'labelMsg': 'edittoolbar-characters-page-telugu',
 716+ 'language': 'te',
 717+ 'layout': 'characters',
 718+ 'characters': [ "\u0c01",
 719+ "\u0c02", "\u0c03", "\u0c05", "\u0c06",
 720+ "\u0c07", "\u0c08", "\u0c09", "\u0c0a",
 721+ "\u0c0b", "\u0c60", "\u0c0c", "\u0c61",
 722+ "\u0c0e", "\u0c0f", "\u0c10", "\u0c12",
 723+ "\u0c13", "\u0c14", "\u0c15", "\u0c16",
 724+ "\u0c17", "\u0c18", "\u0c19", "\u0c1a",
 725+ "\u0c1b", "\u0c1c", "\u0c1d", "\u0c1e",
 726+ "\u0c1f", "\u0c20", "\u0c21", "\u0c22",
 727+ "\u0c23", "\u0c24", "\u0c25", "\u0c26",
 728+ "\u0c27", "\u0c28", "\u0c2a", "\u0c2b",
 729+ "\u0c2c", "\u0c2d", "\u0c2e", "\u0c2f",
 730+ "\u0c30", "\u0c31", "\u0c32", "\u0c33",
 731+ "\u0c35", "\u0c36", "\u0c37", "\u0c38",
 732+ "\u0c39", "\u0c3e", "\u0c3f", "\u0c40",
 733+ "\u0c41", "\u0c42", "\u0c43", "\u0c44",
 734+ "\u0c46", "\u0c47", "\u0c48", "\u0c4a",
 735+ "\u0c4b", "\u0c4c", "\u0c4d", "\u0c62",
 736+ "\u0c63", "\u0c58", "\u0c59", "\u0c66",
 737+ "\u0c67", "\u0c68", "\u0c69", "\u0c6a",
 738+ "\u0c6b", "\u0c6c", "\u0c6d", "\u0c6e",
 739+ "\u0c6f", "\u0c3d", "\u0c78", "\u0c79",
 740+ "\u0c7a", "\u0c7b", "\u0c7c", "\u0c7d",
 741+ "\u0c7e", "\u0c7f" ]
713742 }
714743 }
715744 },
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.i18n.php
@@ -83,6 +83,7 @@
8484 'edittoolbar-characters-page-cyrillic' => 'Cyrillic',
8585 'edittoolbar-characters-page-arabic' => 'Arabic',
8686 'edittoolbar-characters-page-hebrew' => 'Hebrew',
 87+ 'edittoolbar-characters-page-telugu' => 'Telugu',
8788 /* Help Section */
8889 'edittoolbar-section-help' => 'Help',
8990 'edittoolbar-help-heading-description' => 'Description',
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php
@@ -19,7 +19,7 @@
2020 /* Configuration */
2121
2222 // Bump the version number every time you change any of the .css/.js files
23 -$wgEditToolbarStyleVersion = 14;
 23+$wgEditToolbarStyleVersion = 15;
2424
2525 // Set this to true to simply override the stock toolbar for everyone
2626 $wgEditToolbarGlobalEnable = false;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54704EditToolbar: Prevent JS error occurring when trying to access selectionStart ...catrope09:49, 10 August 2009

Status & tagging log