Current configuration on the wiki
Find a file
Krinkle 62a3e10fea AjaxCategories rewrite:
Solving syntax problems, performance improvements and applying code conventions: 

* Replaced sprite image with separate images and letting ResourceLoader embed them with @embed (@embed means 0 http requests, less maintenance, none of the known limitations with sprites, and more readable code (named files rather than pixel offsets)

* Many functions were floating in the global namespace (like window.makeCaseInsensitive). A statement ends after a semi-colon(;). All functions declared after "catUrl" were assigned to the window object. I've instead turned the semi-colons back into comma's, merged some other var statements and moved them to the top of the closure. Changed local function declarations into function expressions for clarity.

* fetchSuggestions is called by $.fn.suggestions like ".call( $textbox, $textbox.val() )". So the context (this) isn't the raw element but the jQuery object, no need to re-construct with "$(this)" or "$(that)" which is slow and shouldn't even work. jQuery methods can be called on it directly. I've also replaced "$(this).val()" with the value-argument passed to fetchSuggestions which has this exact value already.

* Adding more function documentation. And changing @since to 1.19 as this was merged from js2-branch into 1.19-trunk and new features aren't backported to 1.18.

* Optimizing options/default construction to just "options = $.extend( {}, options )". Caching defaultOptions is cool, but doesn't really work if it's in a context/instance local variable. Moved it up to the module closure var statements, now it's static across all instances.

* In makeSuggestionBox(): Fixing invalid html fragments passed to jQuery that fail in IE. Shortcuts (like '<foo>' and '<foo/>') are only allowed for createElement triggers, not when creating longer fragments with content and/or attributes which are created through innerHTML, in the latter case the HTML must be completely valid and is not auto-corrected by IE.

* Using more jQuery chaining where possible.

* In buildRegex(): Using $.map with join( '|' ), (rather than $.each with += '|'; and substr).

* Storing the init instance of mw.ajaxCategories in mw.page for reference (rather than local/anonymous).

* Applied some best practices and "write testable code"
** Moved some of the functions created on the fly and assigned to 'this' into prototype (reference is cheaper)
** Making sure at least all 'do', 'set' and/or 'prototype' functions have a return value. Even if it's just a simple boolean true or context/this for chain-ability. 
** Rewrote confirmEdit( .., .., .., ) as a prototyped method named "doConfirmEdit" which takes a single props-object with named valuas as argument, instead of list with 8 arguments.

* Removed trailing whitespace and other minor fixes to comply with the code conventions.
** Removed space between function name and caller: "foo ()" => foo()) 
** Changing "someArray.indexOf() + 1" into "someArr.indexOf() !== -1". We want a Boolean here, not a Number.
** Renamed all underscore-variables to non-underscore variants.

== Bug fixes ==

* When adding a category that is not already on the page as-is but of which the clean() version is already on the page, the script would fail. Fixed it by moving the checks up in handleCategoryAdd() and making sure that createCatLink() actually returned something.

* confirmEdit() wasn't working properly and had unused code (such as submitButton), removed hidden prepending to #catlinks, no need to, it can be dialog'ed directly from the jQuery object without being somewhere in the document.

* in doConfirmEdit() in submitFunction() and multiEdit: Clearing the input field after adding a category, so that when another category is being added it doesn't start with the previous value which is not allowed to be added again...
2011-07-28 00:43:21 +00:00
bin
cache
docs Updated hooks docs per r91123. The UI methods are not part of the object anymore. 2011-07-25 16:44:57 +00:00
extensions
images * Fix for bug 28534: IE 6 content type detection again 2011-05-05 05:29:50 +00:00
includes Followup r93343 2011-07-28 00:28:18 +00:00
languages Localisation updates for core and extension messages from translatewiki.net (2011-07-27 19:08:00 UTC) 2011-07-27 19:26:23 +00:00
maintenance * (bug 22744) Add/Update indexes for queries done by the API 2011-07-26 17:03:14 +00:00
mw-config HipHop improvements: 2011-05-30 13:49:09 +00:00
resources AjaxCategories rewrite: 2011-07-28 00:43:21 +00:00
serialized * Introduced a non-dummy collation for $wgCategoryCollation, namely UCA with default tables. 2011-01-17 14:02:22 +00:00
skins Recommit r93264 ( Remove semantically incorrect wrapper table from toc and replace it with an inline-blocked diff. Update some skin css, since we don't have the implicit table padding anymore and need to increase to padding to maintain the current look. ) with parser tests and release notes 2011-07-27 21:53:28 +00:00
tests Followup r93344: forgot to fix test. In other news: inline data providing is eww. 2011-07-28 00:14:49 +00:00
api.php Clean up the mess that is wfDie (resolves r85918). wfDie() doesn't exist anymore, so don't use it. 2011-07-06 21:01:12 +00:00
api.php5
COPYING * Reformatted several text documents to be a hybrid between wikitext and plain text, so that they look nicer in the new installer. 2010-12-06 13:30:24 +00:00
CREDITS Replacing my nick with my real name in CREDITS 2011-07-25 18:58:05 +00:00
FAQ
HISTORY Revert r87542 and rename RELEASE-NOTES to keep them both in trunk and branch 2011-05-07 14:45:48 +00:00
img_auth.php * (bug 29531) r89628 breaks img_auth.php 2011-06-30 01:44:11 +00:00
img_auth.php5
index.php Clean up the mess that is wfDie (resolves r85918). wfDie() doesn't exist anymore, so don't use it. 2011-07-06 21:01:12 +00:00
index.php5
INSTALL Require at least PHP 5.2.3. There's not much point increasing the minimum to 5.2.0, as I argued at http://lists.wikimedia.org/pipermail/wikitech-l/2010-November/050138.html . But requiring 5.2.3 is a significant win. Updates r83217. 2011-03-14 10:42:07 +00:00
load.php Clean up the mess that is wfDie (resolves r85918). wfDie() doesn't exist anymore, so don't use it. 2011-07-06 21:01:12 +00:00
load.php5
opensearch_desc.php
opensearch_desc.php5
profileinfo.php HipHop improvements: 2011-05-30 13:49:09 +00:00
README Follow-up r79713: add authors to README as well 2011-01-07 22:13:14 +00:00
redirect.php HipHop improvements: 2011-05-30 13:49:09 +00:00
redirect.php5
redirect.phtml
RELEASE-NOTES-1.18 Updates for new autopromote system & block hook 2011-07-23 00:56:17 +00:00
RELEASE-NOTES-1.19 Recommit r93264 ( Remove semantically incorrect wrapper table from toc and replace it with an inline-blocked diff. Update some skin css, since we don't have the implicit table padding anymore and need to increase to padding to maintain the current look. ) with parser tests and release notes 2011-07-27 21:53:28 +00:00
StartProfiler.sample * Made the profiler work in HipHop: 2011-05-31 06:05:05 +00:00
thumb.php HipHop improvements: 2011-05-30 13:49:09 +00:00
thumb.php5
trackback.php HipHop improvements: 2011-05-30 13:49:09 +00:00
trackback.php5
UPGRADE UPGRADE updates: 2011-05-05 10:37:20 +00:00
wiki.phtml

2008-11-11

For system requirements, installation and upgrade details, see the files 
RELEASE-NOTES, INSTALL, and UPGRADE.

== MediaWiki ==

MediaWiki is the software used for Wikipedia [http://www.wikipedia.org/] and the
other Wikimedia Foundation websites. Compared to other wikis, it has an
excellent range of features and support for high-traffic websites using
multiple servers (Wikimedia sites peak in the 60000+ requests per second range
as of November 2008).

While quite usable on smaller sites, you may find you have to "roll your own"
local documentation, and some aspects of configuration may seem overcomplicated
because MediaWiki is primarily targeted as an in-house tool.

The MediaWiki software was written by:
* Lee Daniel Crocker
* Magnus Manske
* Jan Hidders
* Brion Vibber
* Axel Boldt
* Geoffrey T. Dairiki
* Tomasz Wegrzanowski
* Erik Moeller
* Tim Starling
* Gabriel Wicke
* Ashar Voultoiz
* Evan Prodromou
* Ævar Arnfjörð Bjarmason
* Niklas Laxström
* Domas Mituzas
* Rob Church
* Jens Frank
* Yuri Astrakhan
* Aryeh Gregor
* Aaron Schulz
* Andrew Garrett
* Raimond Spekking
* Alexandre Emsenhuber
* Siebrand Mazeland
* Chad Horohoe
* Roan Kattouw
* Trevor Pascal
* Bryan Tong Minh
* Sam Reed
* Several others (view CREDITS for a more complete list)

The contributors hold the copyright to this work, and it is licensed under the
terms of the GNU General Public License, version 2 or later (see
http://www.fsf.org/licensing/licenses/gpl.html). Derivative works and later
versions of the code must be free software licensed under the same or a
compatible license. This includes "extensions" that use MediaWiki functions or
variables; see http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins for
details.

The Wikimedia Foundation currently has no legal rights to the software.

Sections of code written exclusively by Lee Crocker or Erik Moeller are also
released into the public domain, which does not impair the obligations of users
under the GPL for use of the whole code or other sections thereof.

MediaWiki makes use of the Sajax Toolkit by modernmethod, 
http://www.modernmethod.com/sajax/ which has the following license:

	'This work is licensed under the Creative Commons Attribution
	License. To view a copy of this license, visit
	http://creativecommons.org/licenses/by/2.0/ or send a letter
	to Creative Commons, 559 Nathan Abbott Way,
	Stanford, California 94305, USA.'

MediaWiki use Creative Commons license marks to points to their online
licenses. This content is trademarked and used under a specific license
available at http://creativecommons.org/policies#trademark
The restricted content is:

* skins/common/images/cc-by-nc-sa.png
* skins/common/images/cc-by-sa.png

Many thanks to the Wikimedia regulars for testing and suggestions.

The official website for MediaWiki is located at:

	http://www.mediawiki.org/

The code is currently maintained in a Subversion repository at
svn.wikimedia.org. See http://www.mediawiki.org/wiki/Subversion for details.

Please report bugs and make feature requests in our Bugzilla system:

* https://bugzilla.wikimedia.org/

Documentation and discussion on new features may be found at:

* http://www.mediawiki.org/wiki/Manual:FAQ
* http://www.mediawiki.org/wiki/Documentation
* http://www.mediawiki.org/wiki/Development

Extensions are listed at:

* http://www.mediawiki.org/wiki/Category:Extensions

If you are setting up your own wiki based on this software, it is highly
recommended that you subscribe to mediawiki-announce:

* https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce

The mailing list is very low volume, and is intended primarily for announcements
of new versions, bug fixes, and security issues.

A higher volume support mailing list can be found at:

* https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Developer discussion takes place at:

* https://lists.wikimedia.org/mailman/listinfo/wikitech-l

There is also a development and support channel #mediawiki on irc.freenode.net,
and an unoffical support forum at www.mwusers.com.