Jforrester has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/179400

Change subject: Use the "Apex" theme in OOjs UI
......................................................................

Use the "Apex" theme in OOjs UI

Bug: T78367
Change-Id: I3cd71a9d9bfadbc35452ea8b24e36dd8a7c131e3
---
M apex.php
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/apex 
refs/changes/00/179400/1

diff --git a/apex.php b/apex.php
index d322ead..d95df58 100644
--- a/apex.php
+++ b/apex.php
@@ -58,3 +58,12 @@
        'remoteSkinPath' => 'apex',
        'localBasePath' => __DIR__,
 );
+
+// Over-ride OOjs UI styling to use the Apex-compatible "Apex" theme, rather 
than the default
+$wgResourceModuleSkinStyles['apex'] = array(
+       'oojs-ui' => 'resources/lib/oojs-ui/oojs-ui-apex.js',
+);
+
+$wgResourceModuleSkinScripts['apex'] = array(
+       'oojs-ui' => 'resources/lib/oojs-ui/oojs-ui-apex.svg.css',
+);

-- 
To view, visit https://gerrit.wikimedia.org/r/179400
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3cd71a9d9bfadbc35452ea8b24e36dd8a7c131e3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/apex
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to