Commit graph

45 commits

Author SHA1 Message Date
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Tim Starling
f22cd6bd5d Fixed pollution of a backend function with UI-only features. Autosummaries off by default. 2006-11-08 08:06:51 +00:00
Tim Starling
3005679b0e * Removed lots of explicit require_once statements. The autoloader should theoretically be faster, because it always uses an absolute path, eliminating the need for a search, and it is never called unnecessarily. Absolute paths are also more robust in the face of odd configurations or usage patterns. Moved a few constants around to support this, they always have to be available before the method call.
* Deleted DatabaseMysql.php, no longer necessary, database classes are autoloaded. 
* Moved wfGetMimeMagic() to MimeMagic::singleton()
* Fixed a couple of __CLASS__.'::'.__FUNCTION__ things.
2006-10-03 13:00:52 +00:00
Tim Starling
43b2fb56b6 Merged localisation-work branch:
* Made lines from initialiseMessages() appear as list items during installation
* Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files.
* Introduced "stub global" framework to provide deferred initialisation of core modules. 
* Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point.
* Added DBA cache type, for BDB-style caches. 
* Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases.
* Simplified the initialisation API for LoadBalancer objects.
* Removed the broken altencoding feature.
* Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface.
* Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled.
* Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. 
* Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). 
* Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts.
* Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
Rotem Liss
31c3012d45 Deprecating ; reordering the special pages array (whose the special page list is created from) by restricted and not restricted (like Special:Specialpages), not by rights which are not used to divide the list anymore to levels, and required us to use . 2006-07-23 12:36:37 +00:00
Tim Starling
adaf195148 Defer initialisation of the special page list, allow autoloading of the SpecialPage class. SpecialPage.php is not loaded for ordinary page views. Implemented some interfaces which allow special pages to do the same thing, although backwards compatibility is maintained. Old special page extensions will load SpecialPage during initialisation, so all extensions will have to be ported to get the full performance benefit. 2006-06-25 08:38:17 +00:00
Tim Starling
756cb86b0f Did some refactoring in Article.php:
* Introduced doEdit(), a simplified editing API. Rewrote updateArticle() and insertNewArticle() to call doEdit() and marked them deprecated. Callers should be updated to use doEdit() at a later date.
* Replaced $fname with __METHOD__
* Removed some unused member variables
* Fixed cache purging on null edit, hopefully it should work the same as action=purge now.
* Fixed doRedirect() callers, minor bug introduced with HTMLCacheUpdate.
2006-06-20 09:50:57 +00:00
Brion Vibber
26cc539cac * Skip loading of RecentChange.php except where needed
Moved constants to Define.php; removed unneeded includes until use of RecentChange:: in Article, Log, CheckUser
2006-01-09 21:09:33 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Ævar Arnfjörð Bjarmason
d77e1f4175 * Sorted $wgAvailableRights
* Added unwatchedpages to $wgAvailableRights (see http://mail.wikimedia.org/pipermail/wikitech-l/2006-January/033427.html)
2006-01-05 01:03:22 +00:00
Brion Vibber
3280e65cab * Removed Special:Validate, it's been superseded by the Review extension 2005-12-29 18:38:31 +00:00
Ævar Arnfjörð Bjarmason
a2bc1fc0e7 * Removing undelete permission, useless permission cruft, nothing uses it 2005-12-08 17:00:10 +00:00
Ævar Arnfjörð Bjarmason
7ecc2364b0 * whitespace 2005-09-27 19:48:54 +00:00
Ævar Arnfjörð Bjarmason
4cfc349052 * Removed renameuser permission, extension code 2005-09-24 00:49:55 +00:00
Brion Vibber
b1e03be6b4 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
format as designed. Documentation comments updated.
2005-09-13 06:55:43 +00:00
Tim Starling
7e63648db4 Formalising live performance hack 2005-07-25 06:57:12 +00:00
Ævar Arnfjörð Bjarmason
3e5277351e * Adding 'renameuser' to $wgAvailableRights 2005-07-04 14:18:56 +00:00
Brion Vibber
ddc2b784f8 Remove asksql priv from standard definitions; it's an extension thing. 2005-06-23 02:22:46 +00:00
Tim Starling
a7c938d0c3 ported $wgAntiLockFlags from REL1_4 2005-05-29 05:54:04 +00:00
Ævar Arnfjörð Bjarmason
27105c2129 * (bug 898) Mime type autodetection. 2005-05-21 07:46:17 +00:00
Ævar Arnfjörð Bjarmason
204d700135 * Documented the math constants
* Documented the cache types
2005-04-26 18:35:59 +00:00
Tim Starling
cdb3f96ab8 Various live patches ported from REL1_4 2005-04-12 04:03:21 +00:00
Tim Starling
52a4214b20 Smarter, more flexible cache type selection. Moved entire contents of ObjectCache.php to BagOStuff.php, to make way for some more generic code. 2005-04-09 10:30:45 +00:00
Ævar Arnfjörð Bjarmason
c009cdf4dd * Replacing NS_WP and NS_WIKIPEDIA with NS_PROJECT and NS_WP_TALK and
NS_WIKIPEDIA_TALK with NS_PROJECT_TALK, support for these aliases has now
  been removed.
2005-04-08 18:49:26 +00:00
Tim Starling
9bb6605166 introduced "import" right for Special:Import 2005-03-20 06:09:26 +00:00
Magnus Manske
2195bf8355 Re-establishing validation feature (the beginnings) 2005-03-17 13:47:05 +00:00
Guillaume Blanchard
b5036eb5ab removed NS_THREAD : not needed any more 2005-01-31 02:46:06 +00:00
Antoine Musso
ba4b6af5b5 Implement #858 : split user assignment and group rights. 2005-01-17 11:45:47 +00:00
Antoine Musso
991f798587 * Remove some hardcoded 0 instead of NS_MAIN
* Note in define.php that people should NOT change the integer values for NS_* constants
2005-01-11 18:18:16 +00:00
Brion Vibber
1f9032fe37 * Number 100 and beyond are reserved for custom namespaces;
* DO NOT assign standard namespaces at 100 or beyond.
2004-12-21 22:47:43 +00:00
Guillaume Blanchard
b21090671d remove thread's talk page namespace 2004-12-21 16:09:36 +00:00
Guillaume Blanchard
4bb7079f8a Reserved namespace 100 and 101 for forum-like's thread pages 2004-12-21 14:22:25 +00:00
Brion Vibber
1753353797 Revert unauthorized changes made without discussion of outstanding objections.
Please rework this as an extension.
2004-12-10 05:02:23 +00:00
Nicholas Pisarro, Jr
28de6d99d2 New feature: You can edit summaries and change the Minor Edit flag.
* Documented at http://meta.wikimedia.org/wiki/Feature_to_edit_summaries
2004-12-10 04:49:27 +00:00
Antoine Musso
0863dca4e0 Global array for user levels 2004-10-24 16:58:01 +00:00
Tim Starling
62c933c9c8 Moved some defines to Defines.php, removed unnecessary line from Language::getUserToggle() 2004-10-24 12:03:29 +00:00
Antoine Musso
e57ac87ceb Stop loading feed.php every time by moving available feeds classes in defines.php and removing call from skin.php 2004-09-17 23:08:22 +00:00
Antoine Musso
cab1e5d817 some documentation 2004-09-03 00:20:26 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Arne Heizmann
f621158326 NP_WIKIPEDIA => NP_PROJECT, and code readability stuff 2004-08-28 17:53:12 +00:00
Brion Vibber
c2836e08e1 NS_PROJECT, NS_PROJECT_TALK -- will phase out NS_WIKIPEDIA et all later 2004-08-25 02:12:02 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Antoine Musso
0737146cf0 Reverting my previous change. Comment 2004-08-14 12:20:39 +00:00
Antoine Musso
47c3eb7298 moving define(mediawiki, true) from index.php to includes/Defines.php 2004-08-14 12:10:43 +00:00
Tim Starling
5d73a032d7 constant definitions for inclusion before LocalSettings.php 2004-07-24 07:26:23 +00:00