summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-02-05 10:49:51 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-02-05 10:49:51 +0000
commitc39aeb62f7e8dfb6ba6467beb2d9d6f97fd84959 (patch)
tree187c3b0b29a4baf4a6e23b053abf8a94ee62e085 /skins
parent471fc27fc958b3495b92057c88eb4b8f75792f88 (diff)
Aktualisierung auf MediaWiki 1.9.2
Diffstat (limited to 'skins')
-rw-r--r--skins/ArchLinux.deps.php3
-rw-r--r--skins/Chick.deps.php5
-rw-r--r--skins/MonoBook.deps.php5
-rw-r--r--skins/MySkin.deps.php5
-rw-r--r--skins/Simple.deps.php5
-rw-r--r--skins/common/sorttable.js3
-rw-r--r--skins/common/wikibits.js2
7 files changed, 21 insertions, 7 deletions
diff --git a/skins/ArchLinux.deps.php b/skins/ArchLinux.deps.php
index 8a78ae6b..afc41392 100644
--- a/skins/ArchLinux.deps.php
+++ b/skins/ArchLinux.deps.php
@@ -5,5 +5,8 @@
// changed on a subsequent page view.
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
require_once('includes/SkinTemplate.php');
?> \ No newline at end of file
diff --git a/skins/Chick.deps.php b/skins/Chick.deps.php
index 273ac18b..a178a791 100644
--- a/skins/Chick.deps.php
+++ b/skins/Chick.deps.php
@@ -5,6 +5,9 @@
// changed on a subsequent page view.
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
require_once('includes/SkinTemplate.php');
require_once('MonoBook.php');
-?> \ No newline at end of file
+?>
diff --git a/skins/MonoBook.deps.php b/skins/MonoBook.deps.php
index 8a78ae6b..b054c840 100644
--- a/skins/MonoBook.deps.php
+++ b/skins/MonoBook.deps.php
@@ -5,5 +5,8 @@
// changed on a subsequent page view.
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
require_once('includes/SkinTemplate.php');
-?> \ No newline at end of file
+?>
diff --git a/skins/MySkin.deps.php b/skins/MySkin.deps.php
index ea0455f2..ba00558b 100644
--- a/skins/MySkin.deps.php
+++ b/skins/MySkin.deps.php
@@ -5,6 +5,9 @@
// changed on a subsequent page view.
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
require_once('includes/SkinTemplate.php');
require_once('MonoBook.php');
-?> \ No newline at end of file
+?>
diff --git a/skins/Simple.deps.php b/skins/Simple.deps.php
index ffc51557..369f6b00 100644
--- a/skins/Simple.deps.php
+++ b/skins/Simple.deps.php
@@ -5,6 +5,9 @@
// changed on a subsequent page view.
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
require_once('includes/SkinTemplate.php');
require_once('MonoBook.php');
-?> \ No newline at end of file
+?>
diff --git a/skins/common/sorttable.js b/skins/common/sorttable.js
index 24877865..229b4c3a 100644
--- a/skins/common/sorttable.js
+++ b/skins/common/sorttable.js
@@ -55,9 +55,8 @@ function ts_makeSortable(table) {
// We have a first row: assume it's the header, and make its contents clickable links
for (var i=0;i<firstRow.cells.length;i++) {
var cell = firstRow.cells[i];
- var txt = ts_getInnerText(cell);
if (cell.className != "unsortable" && cell.className.indexOf("unsortable") == -1) {
- cell.innerHTML = txt+'&nbsp;&nbsp;<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;"><span class="sortarrow"><img src="'+ image_path + image_none + '" alt="&darr;"/></span></a>';
+ cell.innerHTML += '&nbsp;&nbsp;<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;"><span class="sortarrow"><img src="'+ image_path + image_none + '" alt="&darr;"/></span></a>';
}
}
if (alternate_row_colors) {
diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js
index afb1fa27..1e8e10ae 100644
--- a/skins/common/wikibits.js
+++ b/skins/common/wikibits.js
@@ -853,7 +853,7 @@ function getElementsByClassName(oElm, strTagName, oClassNames){
function sortableTables() {
if (getElementsByClassName(document, "table", "sortable").length != 0) {
- document.write('<script type="text/javascript" src="'+stylepath+'/common/sorttable.js"></script>');
+ document.write('<script type="text/javascript" src="'+stylepath+'/common/sorttable.js?1"></script>');
}
}