r103769 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103768‎ | r103769 | r103770 >
Date:18:08, 20 November 2011
Author:catrope
Status:ok
Tags:
Comment:
Followup r103768: svn add
Modified paths:
  • /trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php (added) (history)

Diff [purge]

Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php
@@ -0,0 +1,16 @@
 2+<?php
 3+/**
 4+ * Custom ResourceLoader module that loads a Geshi.css per-wiki.
 5+ */
 6+class HighlightGeSHilocal extends ResourceLoaderWikiModule {
 7+
 8+ /**
 9+ * @param $context ResourceLoaderContext
 10+ * @return array
 11+ */
 12+ protected function getPages( ResourceLoaderContext $context ) {
 13+ return array(
 14+ 'MediaWiki:Geshi.css' => array( 'type' => 'style' ),
 15+ );
 16+ }
 17+}
Property changes on: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php
___________________________________________________________________
Added: svn:eol-style
118 + native

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103768(bug 27714) Load MediaWiki:Geshi.css using ResourceLoader. Modified patch by ...catrope18:07, 20 November 2011

Status & tagging log