User:Nad

From MediaWiki.org

Jump to: navigation, search

Hi there :-)

My main user page is at OrganicDesign:Nad

Here's some useful MediaWiki related code snippets I've accumulated from writing extensions: OrganicDesign:MediaWiki code snippets

[edit] Extensions I've made

- A simple to implement security extension
- Allows dynamic menus and tree-views to be made with bullet-list syntax
- Shows how to add new built in variables
- Dynamically adds a new hook to intercept database row requests
- A taghook which allows ActionScript to render as an embedded SWF movie.
- Using normal wikitext articles to define skin content and layout
- Adds a hook called "CategoryHook" which allows rules-based categorisation, adds a parser-function for categorisation and adds a parser-function for checking if the current title is a member of a given category
- Makes recent-changes and watchlists render in nice columns for easier reading, see this example
- a very simple calendar extension which renders a table of all the months in the year with each day being a wiki article
- adds a new parser function called #when which expands to easily queryable time categorisation
- Allows mass deletion of articles by DPL query (based on Extension:Nuke by Brion Vibber
- Manage the InterWiki list from a file
- Logs usage of the search box and allows reporting of keyword totals during given time periods
- Send fully rendered articles with embedded CSS to users, groups or contact lists
- Allows emails to be sent to and appended to articles in the wiki using pagename@your-wiki-domain
- A parser-function for adding CSS's to articles
- Divides wiki into private and public by domain name, but allows unrestricted access to articles in a public category.
- Formats and sends posted forms to email recipients
- Loads Javascript files from selected files or directories without duplication
- Allows a list of currently active users to be embedded into a page using a template
- Creates a new MediaWiki log for user logins and logout events
- Allows articles containing XML to be returned as raw XML with associated XSLT applied if required
- A template which can be added to an article to make it synchronise with a file
- Add a message to newly created user's talk pages

[edit] Current Development

- Allow articles to be held at a particular revision until subsequent edits are authorised by a user with sufficient permissions
- Allows dynamic content areas called tags which can be switched between pre-selected states by clicking. The states can contain normal content such as images and categorisation links
- A set of simple mechanisms for making and processing forms
- Allows dynamic tree-views to be made with bullet-list syntax
- Use simple template-syntax to create live portlets that update dynamically without the need for polling
- Composes a book from articles in a category and exports as a PDF file
- Using normal wikitext articles to define skin content and layout
- Create packages of templates and other articles from remote wiki's. The resulting packages are PHP files which can be added or removed like a normal extension without affecting the database.
- Allow MediaWiki installations to store content in an SQLite database instead of MySQL, and to run as a daemon independently of a web-server.

[edit] On the back burner

- A parser function which works like a template but the content is in a moveable panel which floats over the page instead of embedding in the page.
- A special page for backing up and restoring multiple wikis on a server

[edit] Obslolete or Abandoned

- A MediaWiki hack giving XML properties to articles
- try Extension:Pdf Book and/or Extension:Pdf Export instead
- Allows expandable/collapsable tables to be created similar to WikiNews
- Create links which control visibility of areas by CSS class
- Replaced with Extension:TreeAndMenu
Personal tools