r60133 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60132‎ | r60133 | r60134 >
Date:19:59, 16 December 2009
Author:tparscal
Status:ok
Tags:
Comment:
Added comment about updating style version, and also updated the style version.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.highlight.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.highlight.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.highlight.css
@@ -1,6 +1,8 @@
22 /* CSS for highlight module. Note that this CSS is loaded in the iframe,
33 * not in the main document. For that reason, it's also not in the combined and
44 * minified files.
 5+ *
 6+ * When you edit this please update the style version in js/plugins/jquery.wikiEditor.highlight.js
57 */
68
79 /* Wikitext that's folded away and shouldn't be displayed */
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.highlight.js
@@ -2,6 +2,12 @@
33 ( function( $ ) { $.wikiEditor.modules.highlight = {
44
55 /**
 6+ * Configuration
 7+ */
 8+cfg: {
 9+ 'styleVersion': 2
 10+},
 11+/**
612 * Internally used event handlers
713 */
814 evt: {
@@ -40,7 +46,8 @@
4147 context.$content.parent().find( 'head' ).append( $j( '<link />' ).attr( {
4248 'rel': 'stylesheet',
4349 'type': 'text/css',
44 - 'href': wgScriptPath + '/extensions/UsabilityInitiative/css/wikiEditor.highlight.css?1',
 50+ 'href': wgScriptPath + '/extensions/UsabilityInitiative/css/wikiEditor.highlight.css?' +
 51+ $.wikiEditor.modules.highlight.cfg.styleVersion,
4552 } ) );
4653 // Highlight stuff for the first time
4754 $.wikiEditor.modules.highlight.fn.scan( context, "" );

Follow-up revisions

RevisionCommit summaryAuthorDate
r60135Bumped and rebuilt for r60133tparscal20:02, 16 December 2009

Status & tagging log