Question: I have a problem disabling an input field when a checkbox is checked with a plugin called iCheck (<http://fronteed.com/iCheck/>). 

Note: my code is working when the iCheck plugin is not used.

**Working example without iCheck:**
<http://jsbin.com/gusewu/1/>

**NOT working example when iCheck is included:**
<http://jsbin.com/ludiqi/1/>

Any help on debugging this would be appreciated. I've been on this for 2 days now. :-/

Answer: 
It looks like the SQL backup you have is from an older version of MediaWiki, and is missing the [`page.page_content_model`](//www.mediawiki.org/wiki/Manual:Page_table#page_content_model) column (among others, likely).

To fix it, you will need to [run the database schema update script](//www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script) ([`maintenance/update.php`](//www.mediawiki.org/wiki/Manual:Update.php)) that comes with your version of MediaWiki. You can either do this from the command line (recommended) or via the [web upgrader](//www.mediawiki.org/wiki/Manual:Upgrading#Web_browser) (if you don't have command-line access).

See the links above for more details, but basically, for a typical MediaWiki install with command-line access, you just need to `ssh` to your web host, `cd` to the MediaWiki root directory, and run:

```sh
php maintenance/update.php

```

You'll see a lot of output describing what the script is doing (mostly checking for missing database columns and adding them), but hopefully no errors. If everything goes well, your wiki should now be ready to use.
There are some extensions to [mass-delete pages](https://www.mediawiki.org/wiki/Category:Page_deletion_extensions) but no one can "delete all pages after a certain date". Depending of the typology of the pages you have to delete, you can use:

* [Extension:Nuke](https://www.mediawiki.org/wiki/Extension:Nuke) distributed with MediaWiki (you only have to [register it in LocalSettings.php](https://www.mediawiki.org/wiki/Manual:Extensions)) to delete all pages from some users or IP, and then use the command-line script [`php maintenance/deleteArchivedRevisions.php`](https://www.mediawiki.org/wiki/Manual:DeleteArchivedRevisions.php) to wipe archived versions from your database,
* [Extension:Extension:DeleteBatch](https://www.mediawiki.org/wiki/Extension:DeleteBatch) if you can write a list of pages, and then use `php maintenance/deleteArchivedRevisions.php`,
* possibly other extensions in the category [Page deletion extensions](https://www.mediawiki.org/wiki/Category:Page_deletion_extensions), but you should review the extension before using it, some seems to be less reliable than others, and keep your original database dump in case of problem.