Magnus Manske [Thu, 31 Mar 2005 11:11:37 +0000 (11:11 +0000)]
If you call function wfGetIP, it might help to implement it first ;-)
Tim Starling [Thu, 31 Mar 2005 10:39:15 +0000 (10:39 +0000)]
oops, committed from wrong branch, this is the fixed version
Tim Starling [Thu, 31 Mar 2005 10:37:54 +0000 (10:37 +0000)]
fixed bug
Magnus Manske [Thu, 31 Mar 2005 09:52:06 +0000 (09:52 +0000)]
Show link to validation on history page (for anons)
Tim Starling [Thu, 31 Mar 2005 09:10:25 +0000 (09:10 +0000)]
Adding some validation for IP determination via XFF headers, in preparation for adding ISP proxies to the trusted proxy list, which may occasionally give invalid XFF headers
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 08:50:01 +0000 (08:50 +0000)]
* (bug 1743) cease overriding the default browser colors for textarea.
Magnus Manske [Thu, 31 Mar 2005 08:19:20 +0000 (08:19 +0000)]
Validation fix
Magnus Manske [Thu, 31 Mar 2005 08:17:35 +0000 (08:17 +0000)]
Edit bug fix
Magnus Manske [Thu, 31 Mar 2005 08:13:37 +0000 (08:13 +0000)]
Fixed installation bug
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 08:12:32 +0000 (08:12 +0000)]
rewrote it IN PERL, TAKE THAT AUSTIN ;=)
Magnus Manske [Thu, 31 Mar 2005 08:02:09 +0000 (08:02 +0000)]
Partial fix for installation bug
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 06:08:37 +0000 (06:08 +0000)]
Adding myself
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 05:58:23 +0000 (05:58 +0000)]
* Formatting
* Changed <i> to <em>, <b> to <strong>
* Using <?=date('Y')?> for the "Copyright (C) 2001���2005" part.
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 02:27:31 +0000 (02:27 +0000)]
<? => <?php
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 02:22:03 +0000 (02:22 +0000)]
Display something nicer looking when the wiki hasn't been configured.
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 01:58:53 +0000 (01:58 +0000)]
* Changing checks for [.]./LocalSettings.php and [.]./AdminSettings.php to only
check for [.]./LocalSettings.php
* Removing function writeAdminSettings (not used at all)
Ævar Arnfjörð Bjarmason [Thu, 31 Mar 2005 00:06:30 +0000 (00:06 +0000)]
Redundant.
Antoine Musso [Wed, 30 Mar 2005 09:26:48 +0000 (09:26 +0000)]
Implements #1714 by Tomer Chachamu : add   after save button
Antoine Musso [Tue, 29 Mar 2005 20:23:05 +0000 (20:23 +0000)]
quotes
Brion Vibber [Tue, 29 Mar 2005 20:20:03 +0000 (20:20 +0000)]
Correct a couple variable misuses, remove defunct hover toggle again.
Antoine Musso [Tue, 29 Mar 2005 18:06:46 +0000 (18:06 +0000)]
*** empty log message ***
Antoine Musso [Tue, 29 Mar 2005 17:41:08 +0000 (17:41 +0000)]
Globals, singlequotes
Antoine Musso [Tue, 29 Mar 2005 17:32:07 +0000 (17:32 +0000)]
Massive update from wikipedia kn.wikipedia.org/w/index.php?title=Special:Allmessages&ot=php
Antoine Musso [Tue, 29 Mar 2005 17:10:42 +0000 (17:10 +0000)]
updates / single quotes
Antoine Musso [Tue, 29 Mar 2005 16:38:30 +0000 (16:38 +0000)]
New articles fetched revision assumed to be 0. Correctly display {{REVISIONID}} on diff page.
Antoine Musso [Tue, 29 Mar 2005 16:31:16 +0000 (16:31 +0000)]
typo
Antoine Musso [Tue, 29 Mar 2005 15:49:06 +0000 (15:49 +0000)]
code formatting
Tim Starling [Mon, 28 Mar 2005 15:57:18 +0000 (15:57 +0000)]
fixed bug
Tim Starling [Mon, 28 Mar 2005 15:19:24 +0000 (15:19 +0000)]
Support for SORBS DNSBL
Brion Vibber [Mon, 28 Mar 2005 11:19:59 +0000 (11:19 +0000)]
Fix a couple schema-related changes.
There's still major breakage in this file (use of 'old' table etc)
Brion Vibber [Mon, 28 Mar 2005 10:47:12 +0000 (10:47 +0000)]
Decouple revision.rev_id from text.old_id
* This will allow the backend text storage to use different id numbers
* Revisions noting metadata changes can be added to history without duplicating text
(implemented for page move)
This changes the revision table schema and requires running update.php
or maintenance/archives/patch-rev_text_id.sql on existing test wikis.
PostgreSQL table defs are still not in sync, so not updated.
Tim Starling [Mon, 28 Mar 2005 08:55:35 +0000 (08:55 +0000)]
Ability to disable actions from LocalSettings.php
Tim Starling [Mon, 28 Mar 2005 08:15:09 +0000 (08:15 +0000)]
Suppress warnings
Tim Starling [Mon, 28 Mar 2005 07:56:17 +0000 (07:56 +0000)]
Fixed ordering of SQL debug log
Brion Vibber [Sun, 27 Mar 2005 22:29:37 +0000 (22:29 +0000)]
Fix query syntax which broke a couple functions' debug info (foreport from 1.4)
Tim Starling [Sun, 27 Mar 2005 18:35:46 +0000 (18:35 +0000)]
Fixed obvious bug
Tim Starling [Sun, 27 Mar 2005 18:06:44 +0000 (18:06 +0000)]
Fixed bug causing transactions to not be started all the time
Tim Starling [Sun, 27 Mar 2005 17:34:16 +0000 (17:34 +0000)]
Removed legacy BEGIN/COMMIT pair
Tim Starling [Sun, 27 Mar 2005 17:26:55 +0000 (17:26 +0000)]
Don't clear objectcache on every query, I doubt there was any good reason for doing so
Tim Starling [Sun, 27 Mar 2005 17:09:48 +0000 (17:09 +0000)]
Bought me a horizontal scrollbar, no need for this anymore
Tim Starling [Sun, 27 Mar 2005 16:56:11 +0000 (16:56 +0000)]
Fixed efficiency problem with $wgSiteNotice. Introduced wfSiteNotice(), which allows the script to load it on demand instead of on every invocation
Tim Starling [Sun, 27 Mar 2005 16:30:00 +0000 (16:30 +0000)]
moved call to spreadBlock() to getBlockedStatus(). This means one less query per logged-in page view. It also means blocked users will only have their IP address blocked if they edit, rather than just viewing pages.
Antoine Musso [Sun, 27 Mar 2005 16:16:31 +0000 (16:16 +0000)]
FORPORT from REL1_4
Fix #1556 : tab order for login page.
Tim Starling [Sun, 27 Mar 2005 16:06:11 +0000 (16:06 +0000)]
Moved to extensions
Tim Starling [Sun, 27 Mar 2005 16:05:33 +0000 (16:05 +0000)]
Basic static HTML dump generator, experimental
Tim Starling [Sun, 27 Mar 2005 16:02:15 +0000 (16:02 +0000)]
quick hack to fix one installation problem, still plenty left
Brion Vibber [Sun, 27 Mar 2005 06:37:21 +0000 (06:37 +0000)]
* Installation fixes for running under IIS
$_SERVER['REQUEST_URI'] and $_SERVER['SERVER_ADMIN'] aren't set under IIS.
Fall back to $_SERVER['SCRIPT_NAME'] for determining base URL on install.
Ævar Arnfjörð Bjarmason [Sun, 27 Mar 2005 05:15:10 +0000 (05:15 +0000)]
* (bug 1765) Tidy causes corruption inside <gallery>
Ævar Arnfjörð Bjarmason [Sun, 27 Mar 2005 03:27:40 +0000 (03:27 +0000)]
rv
Ævar Arnfjörð Bjarmason [Sun, 27 Mar 2005 02:59:41 +0000 (02:59 +0000)]
* Fixed numerous fatal XHTML errors
* \" => ' where applicable
* Formatted.
Ævar Arnfjörð Bjarmason [Sun, 27 Mar 2005 02:25:25 +0000 (02:25 +0000)]
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
Brion Vibber [Sun, 27 Mar 2005 01:28:03 +0000 (01:28 +0000)]
Fix minor issues missed in patch review:
* Use getDbkey(), not getTitle(), when constructing new titles
* Don't bother checking for existence of a user page on go; with the
namespace prefix it's pretty clear what's meant, and the inconsistent
behavior would be more confusing than illuminating.
Ævar Arnfjörð Bjarmason [Sun, 27 Mar 2005 01:23:40 +0000 (01:23 +0000)]
Removing enchanted spaces
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 23:30:53 +0000 (23:30 +0000)]
* (bug 1398) patch by Thue Janus Kristensen that modifies the behaviour of the
'Go' button, if an IP address is entered the search engine first checks if an
article by that name exists, otherwise it goes to the user contributions list
of that search engine ( this would catch en.wp.org/wiki/127.0.0.1 ), also,
entering a valid username with the current namespace-3 + : prefix will go to
the users page, regardless of whether it contains any text or not.
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 22:55:57 +0000 (22:55 +0000)]
Fixing the google search which wasn't remotely valid XHTML.
Brion Vibber [Sat, 26 Mar 2005 22:23:48 +0000 (22:23 +0000)]
Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5...
Brion Vibber [Sat, 26 Mar 2005 21:54:18 +0000 (21:54 +0000)]
please don't check jokes into CVS :)
Antoine Musso [Sat, 26 Mar 2005 21:49:07 +0000 (21:49 +0000)]
Patch by brion in #mediawiki
Antoine Musso [Sat, 26 Mar 2005 21:29:49 +0000 (21:29 +0000)]
Looks like a bug. Article::mText no more exist, fetch revision instead.
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 21:26:32 +0000 (21:26 +0000)]
* (bug 1207) splitting 'all', into recentchangesall, imagelistall,
watchlistall1, watchlistall2, contributionsall to accommodate inflicted
languages. ( perl -pi -e "s/^['\"]all['\"].*//gs" * is useful =)
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 19:41:03 +0000 (19:41 +0000)]
* There is no such thing as &emdash; (chaged to —)
* Added information on bug 1662 and 1668
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 19:15:39 +0000 (19:15 +0000)]
* (bug 1015) support for the full wikisyntax in <gallery> captions.
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 18:55:10 +0000 (18:55 +0000)]
* (bug 1015) this fix enables the full wikisyntax inside <gallery> captions
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 18:45:51 +0000 (18:45 +0000)]
Changed a reference to the sf.net tracker to the wikimedia bugzilla
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 18:24:35 +0000 (18:24 +0000)]
useIndexClause( 'rev_timestamp' ); => useIndexClause( 'page_timestamp' );
(requested by kate turner).
Antoine Musso [Sat, 26 Mar 2005 18:24:32 +0000 (18:24 +0000)]
Implement #1739 : new magickeyword REVISIONID. Give the diff / latest revision id for the article being view. Useful for proper citation.
New fetchedRevId method in Article::
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 17:19:39 +0000 (17:19 +0000)]
This is probably what eloquenc meant to do ( at least it fixes that fatal error)
Antoine Musso [Sat, 26 Mar 2005 17:02:16 +0000 (17:02 +0000)]
Fix "ip address or username" when $wgSysopUserBans = false
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 16:51:42 +0000 (16:51 +0000)]
Fixing a fatal XML error that broke XHTML compliance.
Tim Starling [Sat, 26 Mar 2005 14:49:14 +0000 (14:49 +0000)]
note to self: think before commit
Tim Starling [Sat, 26 Mar 2005 14:47:56 +0000 (14:47 +0000)]
doDumbUpdate() not deprecated
Tim Starling [Sat, 26 Mar 2005 14:45:56 +0000 (14:45 +0000)]
rm fixme, doDumpUpdate() is correct
Tim Starling [Sat, 26 Mar 2005 14:07:37 +0000 (14:07 +0000)]
Making it easier for skin subclasses to change the navigation links
Brion Vibber [Sat, 26 Mar 2005 12:08:51 +0000 (12:08 +0000)]
* (bug 1042) Fix UTF-8 case conversion for PHP 4.1.x and 4.2.x with mbstring extension
The initialization code for the fallback conversion was checking for the
presence of the wrong function. mb_strtoupper and mb_strtolower are only
present starting in 4.3.0, so the case arrays were not being loaded when
the extension was detected as present and the fallback converter failed.
Antoine Musso [Sat, 26 Mar 2005 09:12:41 +0000 (09:12 +0000)]
NS_xxx instead of hardcoded integer
Brion Vibber [Sat, 26 Mar 2005 08:31:21 +0000 (08:31 +0000)]
patch typo
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 04:54:03 +0000 (04:54 +0000)]
Commenting out the default option in all languages that only have that one (or
none at all).
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 02:50:01 +0000 (02:50 +0000)]
Indentation fix, there was a bit too much of it...
Ævar Arnfjörð Bjarmason [Sat, 26 Mar 2005 01:28:33 +0000 (01:28 +0000)]
* (bug 1668) a redesign of the "Date format" system, languages are now able to
specify an arbitary amount of date formats which they wish to use in the
$wgDateFormatsXx array, if the array is empty the "Date format" option will
not be shown, the only languages that currently take atvantage of the
multiple formats are Icelandic, English and Frysk, I removed all but the
first item of the $wgDateFormatsXx array from those that don't which should
show something like "use default".
Brion Vibber [Sat, 26 Mar 2005 01:21:01 +0000 (01:21 +0000)]
* (bug 1746) Make full subject line quoted-printable
Applied patch by Tom Gries
Zheng Zhu [Sat, 26 Mar 2005 00:54:51 +0000 (00:54 +0000)]
(zh) strip before parsing the -{}- tag; small code clean-up.
Ævar Arnfjörð Bjarmason [Fri, 25 Mar 2005 23:05:06 +0000 (23:05 +0000)]
* Changed the name of the 'Media' namespace to the singular form of Media in
Icelandic (Mi��lar => Mi��ill)
* Cleaned up the syntax.
* Using 'ISO 8601' as a special keyname for the ISO date (soon to be supported
by the parent(s)
* " => ' (except when needed)
* Fixed the linktrail
Ævar Arnfjörð Bjarmason [Fri, 25 Mar 2005 21:45:43 +0000 (21:45 +0000)]
* Removed Wikipedia specific stuff ($wgDefaultUserOptionsIs and function
getDefaultUserOptions), now inherits options from the parent.
* Expanded on date(), time() and timeanddate() to support additional time
formats, i.e.:
'15. jan��ar 2001 kl. 16:12',
'15. jan. 2001 kl. 16:12',
'16:12, 15. jan��ar 2001',
'16:12, 15. jan. 2001',
'2001-01-15 16:12:34'
support still needs to be added for this one in other files in order for it
to return anything other than the default ( 15. jan��ar 2001 kl. 16:12 ).
Ævar Arnfjörð Bjarmason [Fri, 25 Mar 2005 18:42:36 +0000 (18:42 +0000)]
Fixing a small error of mine (the year didn't get displayed at all
Brion Vibber [Fri, 25 Mar 2005 12:37:19 +0000 (12:37 +0000)]
* Move editsectiononrightclick setup to JavaScript (it requires JS anyway)
This lets us use the same parser cache for both settings of this option.
Brion Vibber [Fri, 25 Mar 2005 09:35:59 +0000 (09:35 +0000)]
* do showtoc option via CSS hiding of toc when it's off.
This lets us use the same parser cache for either setting.
Brion Vibber [Fri, 25 Mar 2005 07:35:19 +0000 (07:35 +0000)]
kill the 'hover' toggle
Brion Vibber [Fri, 25 Mar 2005 07:25:49 +0000 (07:25 +0000)]
* remove 'hover' option; always put in the title attribute on links
* convert 'hightlightbroken' to use CSS switching so we don't need a separate parser cache copy of each page depending on this setting
?-mode falls back to normal rendering in IE 6/win
?-mode looks crappy in IE 5.2/mac :(
Erik Moeller [Thu, 24 Mar 2005 13:30:09 +0000 (13:30 +0000)]
Preliminary support for application/external-editor
allows editing wiki pages or files with an external application, by using
an intermediate helper application (such as the reference one in
extensions/ee) which fetches the data and transmits the changes back to the
server.
This version adds external editor support for uploaded files, as well as for
pages. More operations, such as diffs and merges, should support
application/external-editor in the future.
See extensions/ee/README for some more info on the concept. Documentation
will also be placed on http://meta.wikimedia.org/wiki/Help:External_editors
Erik Moeller [Thu, 24 Mar 2005 13:22:25 +0000 (13:22 +0000)]
suppressRC parameter for insertNewArticle()
Erik Moeller [Thu, 24 Mar 2005 13:18:16 +0000 (13:18 +0000)]
linkify log entry page titles in RC
Erik Moeller [Thu, 24 Mar 2005 13:13:08 +0000 (13:13 +0000)]
1) omit "N Image:Bla.jpg" entry from Recent Changes for file uploads
2) wikify page titles in log entries which appear in RC
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 12:27:48 +0000 (12:27 +0000)]
Removed empty table rows who were designed to create a whitespace, this is more
in tune with the rest of the UI.
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 11:06:21 +0000 (11:06 +0000)]
* (bug 1731) Plattd����tsch language file
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 09:43:12 +0000 (09:43 +0000)]
We *do* like pretty html right?;)
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 09:26:20 +0000 (09:26 +0000)]
Removed hardcoded messages in Special:Listusers.
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 04:53:40 +0000 (04:53 +0000)]
* Implemented date()
* Minor cleanups
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 04:02:32 +0000 (04:02 +0000)]
Fixed a fatal XML error, <select/><option>foo</option></select> is not correct.
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 03:07:24 +0000 (03:07 +0000)]
test checkin; trivial change (removed one \n).
Ævar Arnfjörð Bjarmason [Thu, 24 Mar 2005 03:00:06 +0000 (03:00 +0000)]
* (bug 1662) Implemented a new magic word, {{CURRENTMONTHABBREV}} which returns
the abbreviation of the current month, cleaned up the sourcecode while I was
at it to always display CURRENTMONTH, CURRENTMONTHNAME, CURRENTMONTHNAMEGEN
and CURRENTMONTHABBREV in that order that's mnemonics for you.