summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-14 12:04:54 -0600
committerwushin <pasekei@gmail.com>2015-02-16 00:46:44 -0600
commitce884ff98ca11638d2658c8dff6ad00f0efd411f (patch)
treefd96033a577e0aedfc0b4f4ac0910ede82f264d1
parentb2cf456b565a633b37b8501c9383977d8bbbbe07 (diff)
downloadwebsite-ce884ff98ca11638d2658c8dff6ad00f0efd411f.tar.gz
website-ce884ff98ca11638d2658c8dff6ad00f0efd411f.tar.bz2
website-ce884ff98ca11638d2658c8dff6ad00f0efd411f.tar.xz
website-ce884ff98ca11638d2658c8dff6ad00f0efd411f.zip
Add Spoiler button to improve wiki page display
-rw-r--r--extensions/Spoilers/.gitignore4
-rw-r--r--extensions/Spoilers/Spoilers.hooks.php (renamed from extensions/Spoilers/extensions/Spoilers/Spoilers.hook.php)3
-rw-r--r--extensions/Spoilers/Spoilers.i18n.php (renamed from extensions/Spoilers/extensions/Spoilers/Spoilers.i18n.php)3
-rw-r--r--extensions/Spoilers/Spoilers.php (renamed from extensions/Spoilers/extensions/Spoilers/Spoilers.php)1
-rw-r--r--extensions/Spoilers/css/spoilers.css (renamed from extensions/Spoilers/extensions/Spoilers/css/spoilers.css)0
-rw-r--r--extensions/Spoilers/i18n/ar.json (renamed from extensions/Spoilers/extensions/Spoilers/i18n/ar.json)0
-rw-r--r--extensions/Spoilers/i18n/br.json (renamed from extensions/Spoilers/extensions/Spoilers/i18n/br.json)0
-rw-r--r--extensions/Spoilers/i18n/en.json (renamed from extensions/Spoilers/extensions/Spoilers/i18n/en.json)0
-rw-r--r--extensions/Spoilers/i18n/es.json (renamed from extensions/Spoilers/extensions/Spoilers/i18n/es.json)0
-rw-r--r--extensions/Spoilers/i18n/fr.json (renamed from extensions/Spoilers/extensions/Spoilers/i18n/fr.json)0
-rw-r--r--extensions/Spoilers/js/spoilers.js (renamed from extensions/Spoilers/extensions/Spoilers/js/spoilers.js)0
11 files changed, 5 insertions, 6 deletions
diff --git a/extensions/Spoilers/.gitignore b/extensions/Spoilers/.gitignore
deleted file mode 100644
index c254d72..0000000
--- a/extensions/Spoilers/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-.DS_Store
-.idea
-*.sublime-project
-*.sublime-workspace
diff --git a/extensions/Spoilers/extensions/Spoilers/Spoilers.hook.php b/extensions/Spoilers/Spoilers.hooks.php
index 5001c06..a2a596a 100644
--- a/extensions/Spoilers/extensions/Spoilers/Spoilers.hook.php
+++ b/extensions/Spoilers/Spoilers.hooks.php
@@ -35,7 +35,7 @@ class Spoilers {
static public function parseSpoilerTag( $input, array $args, Parser $parser, PPFrame $frame ) {
$out = $parser->getOutput();
$out->addModules( 'ext.spoilers' );
- $renderedInput = $parser->recursiveTagParse( $input )
+ $renderedInput = $parser->recursiveTagParse( $input );
$output = "<div class='spoilers'>
<div class='spoilers-button-container'>
<span class='spoilers-button'>
@@ -48,3 +48,4 @@ class Spoilers {
return $output;
}
}
+?>
diff --git a/extensions/Spoilers/extensions/Spoilers/Spoilers.i18n.php b/extensions/Spoilers/Spoilers.i18n.php
index 1299f80..a5e1460 100644
--- a/extensions/Spoilers/extensions/Spoilers/Spoilers.i18n.php
+++ b/extensions/Spoilers/Spoilers.i18n.php
@@ -1,4 +1,4 @@
-?php
+<?php
/**
* This is a backwards-compatibility shim, generated by:
* https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php
@@ -33,3 +33,4 @@ if ( !function_exists( 'wfJsonI18nShimefa4e861731a8843' ) ) {
$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShimefa4e861731a8843';
}
+?>
diff --git a/extensions/Spoilers/extensions/Spoilers/Spoilers.php b/extensions/Spoilers/Spoilers.php
index 99b7238..247cfe4 100644
--- a/extensions/Spoilers/extensions/Spoilers/Spoilers.php
+++ b/extensions/Spoilers/Spoilers.php
@@ -40,3 +40,4 @@ $wgResourceModules['ext.spoilers'] = array (
);
$wgHooks['ParserFirstCallInit'][] = "Spoilers::onParserFirstCallInit";
+?>
diff --git a/extensions/Spoilers/extensions/Spoilers/css/spoilers.css b/extensions/Spoilers/css/spoilers.css
index 10da4b1..10da4b1 100644
--- a/extensions/Spoilers/extensions/Spoilers/css/spoilers.css
+++ b/extensions/Spoilers/css/spoilers.css
diff --git a/extensions/Spoilers/extensions/Spoilers/i18n/ar.json b/extensions/Spoilers/i18n/ar.json
index 3cfce01..3cfce01 100644
--- a/extensions/Spoilers/extensions/Spoilers/i18n/ar.json
+++ b/extensions/Spoilers/i18n/ar.json
diff --git a/extensions/Spoilers/extensions/Spoilers/i18n/br.json b/extensions/Spoilers/i18n/br.json
index e98fdb1..e98fdb1 100644
--- a/extensions/Spoilers/extensions/Spoilers/i18n/br.json
+++ b/extensions/Spoilers/i18n/br.json
diff --git a/extensions/Spoilers/extensions/Spoilers/i18n/en.json b/extensions/Spoilers/i18n/en.json
index 4d5c782..4d5c782 100644
--- a/extensions/Spoilers/extensions/Spoilers/i18n/en.json
+++ b/extensions/Spoilers/i18n/en.json
diff --git a/extensions/Spoilers/extensions/Spoilers/i18n/es.json b/extensions/Spoilers/i18n/es.json
index f56ec74..f56ec74 100644
--- a/extensions/Spoilers/extensions/Spoilers/i18n/es.json
+++ b/extensions/Spoilers/i18n/es.json
diff --git a/extensions/Spoilers/extensions/Spoilers/i18n/fr.json b/extensions/Spoilers/i18n/fr.json
index 85ab276..85ab276 100644
--- a/extensions/Spoilers/extensions/Spoilers/i18n/fr.json
+++ b/extensions/Spoilers/i18n/fr.json
diff --git a/extensions/Spoilers/extensions/Spoilers/js/spoilers.js b/extensions/Spoilers/js/spoilers.js
index b05bf86..b05bf86 100644
--- a/extensions/Spoilers/extensions/Spoilers/js/spoilers.js
+++ b/extensions/Spoilers/js/spoilers.js