在MediaWiki中实现可过滤表格脚本? [英] Implementing filterable table script in mediawiki?

查看:153
本文介绍了在MediaWiki中实现可过滤表格脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此人已成功集成了脚本(从此处 http://www.javascripttoolbox .com/lib/table/documentation.php )导入他们的mediawiki.

This person has managed to integrate a script (from here http://www.javascripttoolbox.com/lib/table/documentation.php) into their mediawiki.

请参阅: http://offene-naturfuehrer.de/web/Kategorie:Filtertabellen

我不知道他们是怎么做到的!

I don't understand how they've done it!

用于创建可过滤表的原始脚本已链接到该页面.但是我不知道他们是如何利用它的,因为他们没有在标题中调用它..

The original script to create filterable tables is linked to on that page. Yet I have no idea how they've utilized it as they've not called it in the header..

我真的很想在我的mediawiki网站中使用这样的可过滤表.我该怎么办?!

I really want to use a filterable table like this in my mediawiki site. What do I do?!

推荐答案

他们在

They have added some lines of code (search for Table Filter/Sort, far below) to the MediaWiki:Common.js file, from where they load the script at MediaWiki:SortTableFilter.js. You don't see it loaded in the DOM because they've used jQuery.getScript, which loads it via ajax and evals then.

这篇关于在MediaWiki中实现可过滤表格脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆