r58874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58873‎ | r58874 | r58875 >
Date:20:58, 10 November 2009
Author:catrope
Status:deferred
Tags:
Comment:
usability: Merge part of r58873 (header dropdown whitespace tolerance) into acaifix
Modified paths:
  • /branches/usability/acaifix/EditToolbar/EditToolbar.js (modified) (history)

Diff [purge]

Index: branches/usability/acaifix/EditToolbar/EditToolbar.js
@@ -149,11 +149,9 @@
150150 action: {
151151 type: 'replace',
152152 options: {
153 - pre: "==",
154153 periMsg: 'edittoolbar-tool-heading-example',
155 - periRegex: /^(={1,6})(.*?)\1\s*$/,
156 - periRegexReplace: "\$2",
157 - post: "=="
 154+ periRegex: /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 155+ periRegexReplace: "\$1==\$3==\$4"
158156 }
159157 }
160158 },
@@ -162,11 +160,9 @@
163161 action: {
164162 type: 'replace',
165163 options: {
166 - pre: "===",
167 - periRegex: /^(={1,6})(.*?)\1\s*$/,
168 - periRegexReplace: "\$2",
169164 periMsg: 'edittoolbar-tool-heading-example',
170 - post: "==="
 165+ periRegex: /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 166+ periRegexReplace: "\$1===\$3===\$4"
171167 }
172168 }
173169 },
@@ -175,11 +171,9 @@
176172 action: {
177173 type: 'replace',
178174 options: {
179 - pre: "====",
180 - periRegex: /^(={1,6})(.*?)\1\s*$/,
181 - periRegexReplace: "\$2",
182175 periMsg: 'edittoolbar-tool-heading-example',
183 - post: "===="
 176+ periRegex: /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 177+ periRegexReplace: "\$1====\$3====\$4"
184178 }
185179 }
186180 },
@@ -188,11 +182,9 @@
189183 action: {
190184 type: 'replace',
191185 options: {
192 - pre: "=====",
193 - periRegex: /^(={1,6})(.*?)\1\s*$/,
194 - periRegexReplace: "\$2",
195186 periMsg: 'edittoolbar-tool-heading-example',
196 - post: "====="
 187+ periRegex: /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 188+ periRegexReplace: "\$1=====\$3=====\$4"
197189 }
198190 }
199191 }
Property changes on: branches/usability/acaifix/EditToolbar/EditToolbar.js
___________________________________________________________________
Name: svn:mergeinfo
200192 + /branches/REL1_15/phase3/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js:51646
/trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js:56151-57234
/trunk/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js:58873
/trunk/phase3/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58873* EditToolbar: Make header dropdown whitespace-tolerant...catrope20:52, 10 November 2009

Status & tagging log