Antoine Musso
49838b7f27
includes/GlobalFunctions.php
2005-09-25 12:19:51 +00:00
Antoine Musso
1833e43b5a
Move reporttime method from OutputPage object to a global function, let us use it for diewithtraceback
2005-09-24 13:37:26 +00:00
Ævar Arnfjörð Bjarmason
2c37b2fd62
* Added a new paramater to wfDebugLog()
2005-09-19 12:52:32 +00:00
Ævar Arnfjörð Bjarmason
51005082be
* Two new functions:
...
function wfOpenElement( $element ) { return "<$element>"; }
function wfCloseElement( $element ) { return "</$element>"; }
2005-09-13 16:50:57 +00:00
Tim Starling
5dd3b4903f
* Negative caching for the MediaWiki namespace. This is especially important when the user language is different to the content language.
...
* Allow messages to be blank, without them being considered missing
2005-09-11 14:50:47 +00:00
Antoine Musso
4158d560a4
html output formatting
2005-09-06 17:59:17 +00:00
Ævar Arnfjörð Bjarmason
db47e816de
* Changed the name of the wfNoMsg() function to wfEmptyMsg()
2005-09-06 16:52:11 +00:00
Antoine Musso
0f95931fb8
Might or might not fix a php5 notice error (undefined variable)
2005-08-31 14:58:36 +00:00
Ævar Arnfjörð Bjarmason
6479881d82
* Postfix --/++ => Prefix --/++
2005-08-26 13:47:38 +00:00
Erik Moeller
5fb92b7d12
try to better document the distinction between
...
wfMsg() and wfMsgForContent()
2005-08-25 03:07:45 +00:00
Tim Starling
51d4051743
Don't quote the program name, windows doesn't like it. Output some useful debugging information.
2005-08-20 06:36:04 +00:00
Tim Starling
9578059ce1
removed some debugging statements, I think they were all added by kate in the oracle merge
2005-08-20 03:11:05 +00:00
Brion Vibber
f0cd9a8d0e
* Add ability to break off certain debug topics into additional log files;
...
use $wgDebugLogGroups to configure and wfDebugLog() to log.
2005-08-17 20:07:33 +00:00
Brion Vibber
f1f8176317
* Fix display of read-only lockfile message
...
Committing live hack.
2005-08-17 07:37:47 +00:00
Niklas Laxström
94132b7913
Cleanup, html-safety and output
...
bug 2323 Remove "last" tabindex from history page
hopefully no new bugs
2005-08-12 16:14:20 +00:00
Ævar Arnfjörð Bjarmason
1651479b90
* Made the sidebar idiot proof, if a message is specified like
...
* ** This message key|Does not exist use
* then the literals are used if the wfMsg() lookup on them fails
2005-08-08 13:26:42 +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
Niklas Laxström
20d8ac77ce
Renamed contributionsall to namespacesall
2005-08-02 10:12:15 +00:00
Niklas Laxström
7d4a95ab53
No references here, caused ugly by php notice
2005-08-01 23:58:51 +00:00
Niklas Laxström
96a9c327e2
* Refactored namespace selector to it's own function
...
* Killed one undefined variable warning
* some other cleanup like html-safe message fixes
2005-08-01 23:47:22 +00:00
Niklas Laxström
3d4fab1d95
* Special:Watchlist allowed only one type of limit at a time
...
* moved appendToArrayIfNotDefault to GlobalFunctions
* changed some html message in Special:Watchlist to wiki text or plain text
2005-07-31 17:56:51 +00:00
Jens Frank
ae4983dc16
Moved password encryption algorithm to GlobalFunctions.php to make it useable for other parts of the code
2005-07-26 16:09:00 +00:00
Niklas Laxström
6e85cd9ada
Rename percent to wfPercent
2005-07-24 08:52:49 +00:00
Ævar Arnfjörð Bjarmason
be977a75d7
* Added a percent() function
2005-07-16 21:59:53 +00:00
Brion Vibber
fc4eb0ad56
* PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
...
This triggered if the 'days' option in Special:Watchlist was selected
2005-07-16 06:31:46 +00:00
Antoine Musso
64345ba2d5
Fix #2709 , patch by Zigger
2005-07-06 22:13:42 +00:00
Brion Vibber
7fe3ed71f3
* (bug 2683) Really fix apostrophe escaping for toolbox tips
2005-07-03 18:14:20 +00:00
Brion Vibber
05067682df
* Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
2005-06-27 07:23:18 +00:00
Brion Vibber
d8066dc251
Make sure we die with nonzero return code for command-line scripts
2005-06-26 18:50:21 +00:00
Tim Starling
9f6bb34d41
documentation
2005-06-26 06:29:41 +00:00
Tim Starling
cb81edc195
faster read-only mode
2005-06-25 13:39:19 +00:00
Brion Vibber
1e3c99396f
* (bug 2178) Fix temp dir check again
2005-06-22 20:22:31 +00:00
Tim Starling
ad01e39c51
stats changes ported from 1.4
2005-06-19 03:05:51 +00:00
Brion Vibber
c0627b953b
* Added wfMsgHtml() function for escaping messages and leaving params intact
2005-06-16 02:31:57 +00:00
Brion Vibber
d115eafe62
* (bug 2334) Accept null for attribs in wfElement without PHP warning
2005-06-06 01:10:05 +00:00
Tim Starling
a12ce8f747
new load balancing algorithm
2005-06-01 06:18:49 +00:00
Brion Vibber
fe40fe9da8
* Replace wfMungeToUtf8 and do_html_entity_decode with a single function
...
that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions
2005-05-31 11:54:36 +00:00
Tim Starling
ef38058ef5
fixed horrible sidebar breakage under windows due to \\r\\n line endings in Language.php
2005-05-28 08:35:50 +00:00
Tim Starling
95d23fe4fe
Added wfMkdirParents(), used in HTML dump. Works like unix mkdir -p
2005-05-28 07:03:29 +00:00
Brion Vibber
e46d19e72d
* Simple rate limiter for edits and page moves; set $wgRateLimits
...
(somewhat experimental; currently needs memcached)
* Pretty up HTTP error output a bit (HTML instead of text/plain)
* Genericise DNS blacklist support a bit, func for Blitzed OPM
(not yet used)
2005-05-27 11:03:37 +00:00
Ævar Arnfjörð Bjarmason
27105c2129
* (bug 898) Mime type autodetection.
2005-05-21 07:46:17 +00:00
Brion Vibber
e19a4391b5
* (bug 2178) Use TMPDIR, TMP, or TEMP environment variable for temp dir
...
before trying /tmp; new wfTempDir() function to centralize this
* Fix parser test database usage; runs on a single connection again by not
creating new LoadBalancer instances all the time
2005-05-15 10:37:56 +00:00
Brion Vibber
2d297d4472
Strip unprintables from debug log: they can cause font switching on the
...
terminal which is annoying.
2005-05-15 06:09:40 +00:00
Ævar Arnfjörð Bjarmason
4d556548eb
* Typo: missing $
2005-05-08 17:09:36 +00:00
Ævar Arnfjörð Bjarmason
778ad6abb3
* Added a comment to the Exif part of wfTimestamp()
2005-05-08 16:08:04 +00:00
Brion Vibber
aad99df7d4
* HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
...
multiple-revision pulls
* Special:Export now includes page, revision, and user id numbers by
default (previously this was disabled for no particular reason)
* dumpBackup.php can dump the full database to Export XML, with current
revisions only or complete histories.
2005-05-08 08:17:12 +00:00
Ævar Arnfjörð Bjarmason
43d2a47491
* Added support for the Exif time format in wfTimestamp()
...
* Documented the TS_UNIX, TS_MW, TS_DB and TS_RFC2822 constants
* Documented wfTimestamp()
2005-05-07 12:48:12 +00:00
Tim Starling
133b12c9dc
fixed weird composite random number function
2005-05-07 11:01:26 +00:00
Ævar Arnfjörð Bjarmason
1b7839c430
* Clarified the difference between wfMsg and wfMsgForContent
2005-05-04 21:52:48 +00:00
Ævar Arnfjörð Bjarmason
239e96a01e
* Changed do_html_entity_decode()'s default character set from ISO-8859-1 to
...
UTF-8 and documented the function.
* Clened up wfUtf8Sequence() (messy indenting) and documented it
* Documented wfMsg()
2005-05-03 07:53:37 +00:00