Brion Vibber [Tue, 19 Dec 2006 19:44:55 +0000 (19:44 +0000)]
Reverting...this broke the site. Massive temporary tables and filesort eating up all slave servers.
Greg, please test these things on MySQL, using an 'EXPLAIN' on the query.
You have been warned before. We may have to start requiring PG compatibility commits to be reviewed before commit.
Rob Church [Tue, 19 Dec 2006 13:42:35 +0000 (13:42 +0000)]
* (bug 8109) Template parameters ignored in "recentchangestext"
Rotem Liss [Tue, 19 Dec 2006 08:28:39 +0000 (08:28 +0000)]
Update.
Nick Jenkins [Tue, 19 Dec 2006 05:38:55 +0000 (05:38 +0000)]
Prevent:
* Strict Standards: Undefined variable: dbr in includes/SpecialAllpages.php on line 266
* Fatal error: Call to a member function select() on a non-object in includes/SpecialAllpages.php on line 266
* Strict Standards: Undefined variable: n in includes/SpecialAllpages.php on line 308
Above could be repo-ed with error_reporting(E_ALL | E_STRICT) set, by supplying bad input, such as this command line:
curl --silent --include --globoff -F 'from'='\<' 'http://localhost/wiki/index.php?title=Special%3AAllpages'
(or easier is to just type "<" into the "Display pages starting at:" field on [[Special:Allpages]], and click "Go")
Nick Jenkins [Tue, 19 Dec 2006 05:35:35 +0000 (05:35 +0000)]
* prevent minor W3C validator/tidy error on Special:Booksources about nesting of "</form>" tag by swapping the order of two lines.
* stop minor tidy warning: "<input> attribute 'size' lacks value", by setting size to 20 (which allows enough visual field width for 10 ISBN digits + some leeway for extra dashes and spaces and whatnot).
Leon Weber [Mon, 18 Dec 2006 22:15:29 +0000 (22:15 +0000)]
Update to german localisation. Translations by The Incredible Raymond.
Rob Church [Mon, 18 Dec 2006 21:43:28 +0000 (21:43 +0000)]
Remove a few instances of "autopatrol" in message files I know are likely to have actually been updated to include it
Rob Church [Mon, 18 Dec 2006 21:39:36 +0000 (21:39 +0000)]
* (bug 5411) Remove autopatrol preference; users who can mark edits patrolled will now have their edits marked as such regardless - per Brion's enthusiasm on the mailing list ;)
Rob Church [Mon, 18 Dec 2006 19:32:41 +0000 (19:32 +0000)]
If there is no $oldtext, don't bother prepending it
Rob Church [Mon, 18 Dec 2006 19:30:26 +0000 (19:30 +0000)]
* (bug 8310) Blank line added to top of 'post' when page is blank
Rob Church [Mon, 18 Dec 2006 18:29:29 +0000 (18:29 +0000)]
Fix "viewsourcetext" from previous commits for French and German
Rotem Liss [Mon, 18 Dec 2006 18:28:33 +0000 (18:28 +0000)]
* Renaming the message 'protectedtext' to 'protectedpagetext', to prevent a duplicate display of the second paragraph due to the saved message.
* Update.
Rob Church [Mon, 18 Dec 2006 18:26:57 +0000 (18:26 +0000)]
Er, that should be wfMsg()...
Rob Church [Mon, 18 Dec 2006 18:17:37 +0000 (18:17 +0000)]
* Don't show "you can view and copy the source of this page" message for pages which don't exist (and therefore have no source)
Rob Church [Mon, 18 Dec 2006 17:23:25 +0000 (17:23 +0000)]
* (bug 2785) Accept optional colon prefix in links when formatting comments
Rotem Liss [Mon, 18 Dec 2006 10:36:27 +0000 (10:36 +0000)]
(bug 8295) Add Kongo localisation (kg) (real commit)
Rotem Liss [Mon, 18 Dec 2006 10:35:45 +0000 (10:35 +0000)]
(bug 8295) Add Kongo localisation (kg)
Rotem Liss [Mon, 18 Dec 2006 10:25:34 +0000 (10:25 +0000)]
(bug 8269) Update basque language translation
Rotem Liss [Mon, 18 Dec 2006 10:08:16 +0000 (10:08 +0000)]
(bug 8294) Update to Japanese localisation (ja)
Ilmari Karonen [Mon, 18 Dec 2006 01:12:19 +0000 (01:12 +0000)]
(bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
(plus optional ISBN-13 prefix) with no immediately following alphanumeric
character, disallow multiple consecutive internal redirects. This required
fixing a number of broken parser tests that had used a too-short ISBN.
Ilmari Karonen [Mon, 18 Dec 2006 00:46:36 +0000 (00:46 +0000)]
be safe, just in case
Ilmari Karonen [Mon, 18 Dec 2006 00:20:21 +0000 (00:20 +0000)]
fix localized aliasing of various links from skin to special pages with subpages
Ilmari Karonen [Sun, 17 Dec 2006 23:44:40 +0000 (23:44 +0000)]
Make convertGrammar() slightly smarter (still pretty dumb), remove wikiquote
kluge. NOTE: This will require setting $wgGrammarForms in LocalSettings.php
at fi.wikiquote as follows:
$wgGrammarForms['fi']['genitive']['Wikisitaatit'] = 'Wikisitaattien';
$wgGrammarForms['fi']['partitive']['Wikisitaatit'] = 'Wikisitaatteja';
$wgGrammarForms['fi']['elative']['Wikisitaatit'] = 'Wikisitaateista';
$wgGrammarForms['fi']['inessive']['Wikisitaatit'] = 'Wikisitaateissa';
$wgGrammarForms['fi']['illative']['Wikisitaatit'] = 'Wikisitaatteihin';
Niklas Laxström [Sun, 17 Dec 2006 18:29:42 +0000 (18:29 +0000)]
* Add one page to the list
Ilmari Karonen [Sun, 17 Dec 2006 16:51:01 +0000 (16:51 +0000)]
Change the regexen in doBlockLevels() to handle <center> tags the same as
<div>. This fixes bug 8293: Use of center tag ruins paragraph formatting,
but COULD SOMEONE PLEASE EXPLAIN TO ME WHY??!? Trying to make sense of
that code gives me a headache. (Ps. See also related change in r14690.)
Ilmari Karonen [Sun, 17 Dec 2006 15:53:50 +0000 (15:53 +0000)]
Parser test for bug 8293: Use of center tag ruins paragraph formatting.
No idea what's causing this, looks like the parser just gives up when it
sees </center> on a line of its own and spits the rest out verbatim.
Ilmari Karonen [Sun, 17 Dec 2006 13:40:28 +0000 (13:40 +0000)]
Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
mysteriously otherwise (detection code copied from install-utils.inc)
Rotem Liss [Sun, 17 Dec 2006 09:33:14 +0000 (09:33 +0000)]
Fixes.
Rotem Liss [Sun, 17 Dec 2006 09:31:30 +0000 (09:31 +0000)]
Update.
Aryeh Gregor [Sun, 17 Dec 2006 06:36:01 +0000 (06:36 +0000)]
Prefix all new classes/ids with "mw-"
Rob Church [Sun, 17 Dec 2006 03:17:12 +0000 (03:17 +0000)]
* (bug 8274) Wrap edit tools in a <div> with a specified class
Rob Church [Sun, 17 Dec 2006 02:36:44 +0000 (02:36 +0000)]
* (bug 6690) wfMsgNoTrans() transforms messages
Rob Church [Sun, 17 Dec 2006 01:05:03 +0000 (01:05 +0000)]
* (bug 8153) <nowiki> doesn't work in site notice
The fix for this was to use wfMsgForContentNoTrans() in wfGetCachedNotice(). Since we pass the text through the parser, there's no point in doing message transformations up front, and it allows users to do magic things.
Antoine Musso [Sat, 16 Dec 2006 22:31:08 +0000 (22:31 +0000)]
Makes convertPlural compatible (strict standards)
Antoine Musso [Sat, 16 Dec 2006 22:21:16 +0000 (22:21 +0000)]
use the factory to load a new language
Antoine Musso [Sat, 16 Dec 2006 22:03:49 +0000 (22:03 +0000)]
Makes Language::getLanguageNames static (strict standards)
Antoine Musso [Sat, 16 Dec 2006 21:53:34 +0000 (21:53 +0000)]
Strict standards.
Rob Church [Sat, 16 Dec 2006 21:40:05 +0000 (21:40 +0000)]
Forgot to mention something else, damn it...
Rob Church [Sat, 16 Dec 2006 21:36:01 +0000 (21:36 +0000)]
* (bug 4488) Support watching pages on deletion; introduces new user preference
Antoine Musso [Sat, 16 Dec 2006 21:32:11 +0000 (21:32 +0000)]
Save two function calls when pages are not cached.
Antoine Musso [Sat, 16 Dec 2006 21:28:57 +0000 (21:28 +0000)]
Update to use sortable tables (patch from meta.wikimedia.org)
Antoine Musso [Sat, 16 Dec 2006 21:23:43 +0000 (21:23 +0000)]
End some lines at 80
Antoine Musso [Sat, 16 Dec 2006 21:19:19 +0000 (21:19 +0000)]
Die cleanly when not using memcached
Ilmari Karonen [Sat, 16 Dec 2006 19:58:25 +0000 (19:58 +0000)]
(bug 7925) Change Special:Allmessages message name filter javascript to be
a bit more responsive and easier on the CPU. The main improvement is actually
a delay; the new code won't start filtering until you stop typing for half a
second. Tested on Firefox, Opera and Konqueror; needs testing on IE at least.
Rob Church [Sat, 16 Dec 2006 19:20:44 +0000 (19:20 +0000)]
* (bug 8164) Special:Booksources should use GET for form submission
* Rewrite Special:Booksources to clean up interface and remove redundant code
Leon Weber [Sat, 16 Dec 2006 18:56:40 +0000 (18:56 +0000)]
Added missing closing bracket when the diff is below the threshold.
Niklas Laxström [Sat, 16 Dec 2006 17:40:40 +0000 (17:40 +0000)]
* formatting
* some missing special pages
Niklas Laxström [Sat, 16 Dec 2006 17:21:15 +0000 (17:21 +0000)]
* (bug 8044) When redirecting from the canonical name of the special page
to the localised one, parameters/subpages are omitted
Rotem Liss [Sat, 16 Dec 2006 15:18:06 +0000 (15:18 +0000)]
(bug 8272) Problem with some localized messages on Commons (Russian translation)
Rotem Liss [Sat, 16 Dec 2006 15:15:37 +0000 (15:15 +0000)]
(bug 8281) Update to Japanese localisation (ja)
Rotem Liss [Sat, 16 Dec 2006 14:54:11 +0000 (14:54 +0000)]
(bug 8281) Update to Japanese localisation (ja)
Rotem Liss [Sat, 16 Dec 2006 14:50:45 +0000 (14:50 +0000)]
(bug 8278) Update for Cantonese language (zh-yue) #8
Brion Vibber [Sat, 16 Dec 2006 09:13:43 +0000 (09:13 +0000)]
* Make $wgSiteNotice value wikitext again, for consistency with editable
MediaWiki:Sitenotice and MediaWiki:Anonnotice.
Tim Starling [Sat, 16 Dec 2006 06:15:04 +0000 (06:15 +0000)]
Command line interface to Article::doEdit()
Tim Starling [Fri, 15 Dec 2006 13:45:05 +0000 (13:45 +0000)]
Removed broken feature $wgBreakFramesExceptions
Brion Vibber [Fri, 15 Dec 2006 02:15:47 +0000 (02:15 +0000)]
* (bug 8266) typo
Brion Vibber [Fri, 15 Dec 2006 00:10:33 +0000 (00:10 +0000)]
Add replication-friendly background batch update mode.
Rip out the ugly MySQL 4.0 mode and use the background mode for it, it should be compatible too.
Add a little help text
Brion Vibber [Thu, 14 Dec 2006 23:24:06 +0000 (23:24 +0000)]
* (bug 8264) Fix JavaScript global vars for XHTML mode
Don't use <!-- --> to wrap JavaScript code!
This ACTUALLY MAKES THE CODE DISAPPEAR when using an XML parser.
Instead, wrapped in /*<![CDATA[*/ /*]]>*/ to ensure XML compatibility for contents.
We've long since given up on super-ancient browsers that don't
know about <script>; they're so old you can't even use name-based
virtual hosts so why bother? ;)
Brion Vibber [Thu, 14 Dec 2006 22:30:42 +0000 (22:30 +0000)]
XHTML fix in enhanced RC
Antoine Musso [Thu, 14 Dec 2006 21:05:15 +0000 (21:05 +0000)]
Some doxygen patches:
* fuzz-tester : @desc not needed
* remove some @global statements
Antoine Musso [Thu, 14 Dec 2006 20:47:19 +0000 (20:47 +0000)]
* someone forgot to declare a method static
* compatibility issue in zhconvert
Antoine Musso [Thu, 14 Dec 2006 20:34:07 +0000 (20:34 +0000)]
make the base method compatible with its various children (strict standard)
Leon Weber [Thu, 14 Dec 2006 20:30:00 +0000 (20:30 +0000)]
Whoops, I also forgot that one...
Antoine Musso [Thu, 14 Dec 2006 20:28:38 +0000 (20:28 +0000)]
User::getOption now accept a default value to override default user values
this makes it consistent with WebRequest::get* methods. Corrected code in
various places accordingly.
Rotem Liss [Thu, 14 Dec 2006 17:24:28 +0000 (17:24 +0000)]
Update.
Leon Weber [Thu, 14 Dec 2006 15:34:56 +0000 (15:34 +0000)]
* Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be
Brion Vibber [Thu, 14 Dec 2006 13:22:52 +0000 (13:22 +0000)]
Going ahead and adding this field while other DB updates are pending.
Interfaces to use it can be added shortly.
* Add user_editcount field to provide data for heuristics on account use.
Incremented on edit, with lazy initialization from past revision data.
Can batch-initialize with maintenance/initEditCount.php (not yet friendly
to replication environments, this will do all accounts in one query).
* Allow raw SQL subsections in Database::update() SET portion as well as
for WHERE portion. Handy for increments and such.
Brion Vibber [Thu, 14 Dec 2006 10:55:23 +0000 (10:55 +0000)]
* (bug 8255) fix regression in postgres tables.sql
Robert Stojnić [Thu, 14 Dec 2006 02:16:49 +0000 (02:16 +0000)]
Be more cautious about using _SERVER['SCRIPT_NAME'] in /variant/Title syntax.
Robert Stojnić [Thu, 14 Dec 2006 01:06:28 +0000 (01:06 +0000)]
Small patch to minimize the number of category variants need to be fetched.
Brion Vibber [Thu, 14 Dec 2006 00:31:16 +0000 (00:31 +0000)]
* Add a notification about the confirmation mail sent during account
creation, so people don't immediately go off to request a second one.
* Add a warning on Special:Confirmemail if a code was already sent and has
not yet expired.
Brion Vibber [Wed, 13 Dec 2006 23:32:08 +0000 (23:32 +0000)]
* (bug 2259) Fix old regression where e-mail addresses were no longer
confirmed on login with mailed password.
Antoine Musso [Wed, 13 Dec 2006 20:28:17 +0000 (20:28 +0000)]
Fix #8239 : really get the 50 next contribs
Leon Weber [Wed, 13 Dec 2006 20:08:02 +0000 (20:08 +0000)]
* Made the show change size function work on page moves, page creations, and
log entries.
* Also fixed it in the javascript recentchanges.
* Moved the value behind the page title to ensure the columns are still lined up
* Merged both sql patches into one.
* Set the default for both columns to NULL to make it work on edits before the db
update.
Antoine Musso [Wed, 13 Dec 2006 19:30:17 +0000 (19:30 +0000)]
* cleans out some spaces
* add some basic comments
Rotem Liss [Wed, 13 Dec 2006 13:47:03 +0000 (13:47 +0000)]
Update.
Manuel Schneider [Wed, 13 Dec 2006 10:26:37 +0000 (10:26 +0000)]
added additional check to avoid warnings
Brion Vibber [Wed, 13 Dec 2006 08:59:20 +0000 (08:59 +0000)]
* Accept null parameter to User::setPassword() as indicating the password
field should be cleared to an unusable state. Login will only be possible
after the password is reset, for instance by e-mail.
* (bug 6394) Invalidate the password set for "by e-mail" account creations
to avoid accidental empty password creations.
Brion Vibber [Wed, 13 Dec 2006 08:33:31 +0000 (08:33 +0000)]
Consolidate checks against $wgMinimalPasswordLength to use User::isValidPassword
Tim Starling [Wed, 13 Dec 2006 05:53:06 +0000 (05:53 +0000)]
Set an explicit class on framed thumbnail inner divs and images, changed some CSS to use these instead of using descendent selectors. The immediate application is the ImageMap extension.
Andrew Garrett [Wed, 13 Dec 2006 05:44:46 +0000 (05:44 +0000)]
Include the block ID in blockedtext. This way, users can get themselves unblocked without revealing their IP addresses.
Aryeh Gregor [Tue, 12 Dec 2006 23:13:14 +0000 (23:13 +0000)]
* (bug 8241) Don't consider user pages of User:Foo.css/User:Foo.js to be CSS/JS subpages. Patch by Fyren.
Steve Sanbeg [Tue, 12 Dec 2006 21:37:36 +0000 (21:37 +0000)]
correct confusing comment Special:protect->action=protect, reported by AzaTht
Brion Vibber [Tue, 12 Dec 2006 20:00:25 +0000 (20:00 +0000)]
Revert r18294
Wikipedia-specific things that belong in configuration of a particular site, surely
Leon Weber [Tue, 12 Dec 2006 19:14:29 +0000 (19:14 +0000)]
Added Title::isSubpage()
Robert Stojnić [Tue, 12 Dec 2006 18:57:19 +0000 (18:57 +0000)]
Should add only link variants (and not category variants) to pagelinks table.
Robert Stojnić [Tue, 12 Dec 2006 17:05:24 +0000 (17:05 +0000)]
Update namespace aliases for sr.wiki
Steve Sanbeg [Tue, 12 Dec 2006 16:12:30 +0000 (16:12 +0000)]
per Rob's comment, make call to createAssocArgs() more clearly static.
Rotem Liss [Tue, 12 Dec 2006 12:17:43 +0000 (12:17 +0000)]
Update.
Brion Vibber [Tue, 12 Dec 2006 04:15:00 +0000 (04:15 +0000)]
* Change behavior of logins using the temporary e-mailed password (as stored
in user_newpassword hash field). Instead of just logging in silently and
leaving the previous user_password field in place indefinitely, the user
is now prompted to set a new password.
The password-changing form is at Special:Resetpass; currently it's only
usable for changing from the temporary password during login, but it
could perhaps be generalized, replacing the subform in preferences.
Once the new password is set successfully, the temporary password is wiped
so it cannot be used to login a second time, and the login process
is completed.
* Suppress 'mail new password' button on login form if $wgAuth forbids
changing user passwords; it wouldn't work very well...
* Consolidate password length checks and $wgAuth manipulation into
User::setPassword() to avoid duplicate code in different places
that set passwords.
* User::setPassword() now throws PasswordError exceptions if the password
is illegal or cannot be set via $wgAuth. These can be caught and a human-
readable error message displayed by UI code.
Steve Sanbeg [Tue, 12 Dec 2006 00:02:17 +0000 (00:02 +0000)]
refactor template arg parsing into static method; this may prevent a future fork of it, since it could be useful for parserfunctions, too.
Steve Sanbeg [Mon, 11 Dec 2006 23:50:41 +0000 (23:50 +0000)]
refactor template arg parsing into static method; this may prevent a future fork of it, since it could be useful for parserfunctions, too.
Robert Stojnić [Mon, 11 Dec 2006 23:33:27 +0000 (23:33 +0000)]
* Enable category names to be written in variants (use single linkbatch for both link and category variants)
* introduce armourMath(), use to put -{ }- around math if needed (not needed for zh, but needed for sr, and probably kk)
Antoine Musso [Mon, 11 Dec 2006 21:05:14 +0000 (21:05 +0000)]
Fix #8121 : wfRandom() is not between 0 and 1
Antoine Musso [Mon, 11 Dec 2006 20:56:58 +0000 (20:56 +0000)]
Revert most of r18268 (only kept the empty <tr> removal)
Antoine Musso [Mon, 11 Dec 2006 20:38:34 +0000 (20:38 +0000)]
* Add some summaries for <table> elements
* Empty <a> href now point to http://www.example.com/
* Remove empty <tr></tr> in SpecialUpload
Leon Weber [Mon, 11 Dec 2006 20:25:58 +0000 (20:25 +0000)]
readded zh-min-nan to not break the site
Brion Vibber [Mon, 11 Dec 2006 19:54:34 +0000 (19:54 +0000)]
fix typo in comment
Antoine Musso [Mon, 11 Dec 2006 19:49:21 +0000 (19:49 +0000)]
remove some white spaces, add some for clarity
Antoine Musso [Mon, 11 Dec 2006 19:29:41 +0000 (19:29 +0000)]
Implements bug #4673 : Special:Allpages should display "previous" link
Notes: added a 'prevpage' message, you might want to review database queries