Rob Church
76409fecd7
Document all methods and mark them public
2007-08-14 01:14:42 +00:00
Rob Church
129abc4457
Improvements to the watchlist editor per Brion; diff the current watchlist against the list of wanted titles, speeds things up, avoids resetting notification timestamps and lets us show a couple of natty lists which make the user feel warm and fuzzy inside. Also, ignore titles which can't be watched - special, media, interwiki etc.
2007-07-05 18:20:46 +00:00
Aryeh Gregor
a15c419b3d
Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.)
2007-06-29 01:19:14 +00:00
Antoine Musso
c771fc9c96
Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
2007-01-20 15:09:52 +00:00
Rob Church
7827500fda
* Reset the release notes
...
* Fix site statistics when moving pages in/out of content namespaces (was treating all non-main namespaces as non-content)
2007-01-08 15:32:58 +00:00
Rotem Liss
c0d5b63588
Commited the categories redirect stuff by mistake.
2006-12-22 19:50:56 +00:00
Rotem Liss
d7a9acb13d
Update.
2006-12-22 19:48:46 +00:00
Niklas Laxström
a77e0f4231
* Indentation, magic numbers
2006-11-27 22:55:12 +00:00
Antoine Musso
89d2c02702
Adding some more static statements
2006-07-10 18:53:15 +00:00
Antoine Musso
fd912a148b
A lot more of static issues when using E_STRICT from the commandline.
2006-07-10 15:41:30 +00:00
Antoine Musso
5a5cc201b1
having some fun with doxygen error log
2006-06-10 18:28:50 +00:00
Rob Church
3e64af3615
Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms for all) magic words
2006-04-12 15:38:17 +00:00
Tim Starling
730535c329
indenting
2006-03-06 13:52:21 +00:00
Domas Mituzas
8aabcc03d1
Be less anal about entry points, class definitions do no harm to anyone, defined() is expensive
2006-01-14 11:04:04 +00:00
Brion Vibber
266d41f165
* Added wfDie() wrapper, and some manual die(-1), to force the return code
...
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Ævar Arnfjörð Bjarmason
d8e90514ab
* Documentation: @private => @access private
2006-01-07 12:48:44 +00:00
Ævar Arnfjörð Bjarmason
1d15461a57
Code review!
...
* Don't start a new scope with if defined 'MEDIAWIKI...
2006-01-07 12:31:39 +00:00
Ævar Arnfjörð Bjarmason
e7fe879f24
* 0 => NS_MAIN
...
* Simplified Namespace::isMovable()
2005-12-21 02:35:20 +00:00
Ævar Arnfjörð Bjarmason
19fef3d49e
* Added a isMain() function that's the inverse of isTalk(), am I supposed to be bothered to type "!" ?
2005-11-03 01:29:02 +00:00
Brion Vibber
01d7f48a69
* Fix interlanguage links on special pages when extra namespaces configured
2005-08-28 23:39:18 +00:00
River Tarnell
b817c0c15f
merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively.
2005-08-02 13:35:19 +00:00
Brion Vibber
b0c41ad13b
* (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
...
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0
2005-07-22 11:29:15 +00:00
Ævar Arnfjörð Bjarmason
2bfac2e762
* Whitespace
2005-06-24 22:56:23 +00:00
Ævar Arnfjörð Bjarmason
e980f2a801
* Removing the second check for MEDIAWIKI, already checked at this point
2005-06-24 06:08:53 +00:00
Brion Vibber
0e6c27ae83
eat a couple more namespace cruft bits
2005-02-21 12:29:31 +00:00
Brion Vibber
7f9163f81c
Remove use of undefined constants NS_THREAD and NS_THREAD_TALK which make it impossible to use the wiki with notice warnings on.
2005-02-03 20:42:36 +00:00
Guillaume Blanchard
b21090671d
remove thread's talk page namespace
2004-12-21 16:09:36 +00:00
Guillaume Blanchard
eb1c01c252
missing ','
2004-12-21 15:04:40 +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
6810e5a92e
Fix register_globals vulnerability checked in last week.
2004-09-09 06:12:04 +00:00
Antoine Musso
ba2afcd9fa
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97
Changing comments layout preparing for generated documentation with Phpdocumentor
2004-09-02 23:28:24 +00:00
Erik Moeller
f11ab4263b
Custom namespaces:
...
To add a new namespace, just set $wgExtraNamespaces in LocalSettings.php.
Custom namespaces must begin at 100.
This is primarily intended to let us add a bunch of international versions
of the "Help:" namespace on Meta, so we can finally have a single place for
all documentation and easily dump/import it to other wikis.
2004-08-31 10:23:55 +00:00
Arne Heizmann
f621158326
NP_WIKIPEDIA => NP_PROJECT, and code readability stuff
2004-08-28 17:53:12 +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
Tim Starling
cd2e8170d2
Ahh, so that's what that does
2004-08-12 06:54:58 +00:00
Brion Vibber
62e98ad47c
Suppress some more warnings on separate execution of files. Shouldn't
...
be anything exploitable, it's just annoying.
2004-08-06 22:30:47 +00:00
Tim Starling
1773cd1e76
* Introducing bit field for database parameters
...
** Database constructor calling sequence, and Database::newFromParams()
** Including flags in the server initialisation structs
** Support for setting appropriate flags from legacy globals in Setup.php
** Moved some defines to Define.php so that they can be used in LocalSettings.php, most importantly the bit field constants
* Changes related to post-parse link colouring
** Turn the link cache back on when using it for updating the links table
** No longer need to call preFill() on page view
* Better synchronisation of slave servers
** Rearranged getConnection()
** System for beginning and committing transactions when multiple connections are open
** wfAbruptExit() commits transactions, wfErrorExit() does not. Various functions changed to use wfErrorAbort()
* Allowed reporting of database errors during deferred updates by moving them above output()
2004-07-24 07:24:04 +00:00
Brion Vibber
11bf1cd3b5
Disable renaming of category pages (this causes a number of problems
...
currently which make it a dubious thing to try to do). Fix HTML for
error display on move. Add error class to style sheets. Fix error call
in protect. Remove dupe function that was moved from skin to output.
2004-04-25 01:01:38 +00:00
Magnus Manske
071cae1ad4
Category namespaces
2004-04-20 21:33:03 +00:00
Magnus Manske
cc1fbbe002
Category namespaces
2004-04-20 21:30:59 +00:00
Magnus Manske
dfe7412cbd
Category namespaces
2004-04-20 20:42:07 +00:00
Tim Starling
690a9e34e2
changed canonical name for NS 4 to "Project"
2004-04-09 15:21:05 +00:00
Tim Starling
c503774b28
Moved MAG_XXXX constants to MagicWord.php, changed canonical name for NS 4 to "MetaNamespace"
2004-04-09 07:02:29 +00:00
Tim Starling
ba00eafeae
Added transformation to wfMsg output, allowing tags such as {{SITENAME}} and {{localurl:Special:Preferences}} in the language files and MediaWiki namespace
2004-04-05 10:38:40 +00:00
Tim Starling
a3282dfc45
template namespace is moveable
2004-03-23 10:25:52 +00:00
Erik Moeller
861a514de0
Help: namespace (en: only for now)
...
This is mainly intended for starting to develop a standard, site-independent
MediaWiki handbook that can be easily imported
2004-03-22 05:34:41 +00:00
Tim Starling
2ca258fd03
* Changed inclusion syntax to allow e.g. {{stub}}
...
* Split MediaWiki namespace into MediaWiki and Template (requires changes to all language files)
* Purge links to on edit of Template namespace
* General refactoring of purging and cache invalidation code
2004-03-20 15:03:26 +00:00
Tim Starling
840dee3ad4
* Fixed magic quotes in $_REQUEST, in Setup.php
...
* Converted many instances of globals from the query to $_REQUEST
* Renamed near-useless Title::getURL() to Title::getPartialURL()
* Created new Title::getURL(), to replace wfLocalUrl, wfLocalUrlE, wfFullUrl and wfFullUrlE. Replaced most instances throughout the code
* In Parser.php, generalised stripping of <nowiki>, <pre> and <math> to allow more general use such as nesting
* Moved body of Article::preSaveTransform to Parser.php
* Put lots of comments in Title.php
2004-03-06 01:49:16 +00:00
Brion Vibber
0332f4c598
Fix for compatibility with short_open_tag = Off
2004-02-18 02:15:00 +00:00