summaryrefslogtreecommitdiff
path: root/.config/pancake/unclutter/mediawiki.xsl
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-29 06:25:00 +0300
committerdefanor <defanor@uberspace.net>2017-12-29 06:25:00 +0300
commitcdfc88c3fbe175e55390612971960c5b0061f224 (patch)
tree73512e3c71d8c8b5be07591713c8a79a860b4e5b /.config/pancake/unclutter/mediawiki.xsl
parent032ac6aa1f5297a334d51efc5ceb0109b3ad6197 (diff)
Remove uncluttering XSLTs
They are included into pancake now
Diffstat (limited to '.config/pancake/unclutter/mediawiki.xsl')
-rw-r--r--.config/pancake/unclutter/mediawiki.xsl27
1 files changed, 0 insertions, 27 deletions
diff --git a/.config/pancake/unclutter/mediawiki.xsl b/.config/pancake/unclutter/mediawiki.xsl
deleted file mode 100644
index 2c64c38..0000000
--- a/.config/pancake/unclutter/mediawiki.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <xsl:output method="html" indent="yes"/>
-
- <xsl:template match="/">
- <html>
- <body>
- <xsl:apply-templates select="//div[@id='content']" />
- </body>
- </html>
- </xsl:template>
-
- <!-- Cut these out -->
- <xsl:template match="span[@class='mw-editsection']" />
- <xsl:template match="ul[@id='page-actions']" />
- <xsl:template match="div[@class='mw-ui-icon mw-ui-icon-element indicator']" />
- <xsl:template match="a[@class='mw-ui-icon mw-ui-icon-element mw-ui-icon-edit-enabled edit-page']" />
-
-
- <!-- Catch-all: copy and apply templates -->
- <xsl:template match="node()" priority="0">
- <xsl:copy>
- <xsl:copy-of select="@*" />
- <xsl:apply-templates />
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>