Rob Church [Mon, 25 Jun 2007 20:53:40 +0000 (20:53 +0000)]
Xml::monthSelector() -> Allow callers to override the "id" attribute
Rob Church [Mon, 25 Jun 2007 20:40:04 +0000 (20:40 +0000)]
Reset the page title after adding preview parser output to the output page
Rob Church [Mon, 25 Jun 2007 20:30:25 +0000 (20:30 +0000)]
DISPLAYTITLE: Fix comparison, damn fragments...check titles are equal and that there isn't a fragment in the desired title
Raimond Spekking [Mon, 25 Jun 2007 19:24:40 +0000 (19:24 +0000)]
* (bug 10333) Correct date format in Slovenian
Rob Church [Mon, 25 Jun 2007 16:07:49 +0000 (16:07 +0000)]
Revert r23395, since it won't work (d'oh, of course)
Rob Church [Mon, 25 Jun 2007 16:00:46 +0000 (16:00 +0000)]
On second thoughts, don't increment the parser cache serial; it *will* cause a load spike. Added some backwards-compatible checking which should incur no overhead. \o/
Rob Church [Mon, 25 Jun 2007 15:53:26 +0000 (15:53 +0000)]
Remove un-needed message; linking will work as normal
Rob Church [Mon, 25 Jun 2007 15:51:09 +0000 (15:51 +0000)]
Fix up DISPLAYTITLE and enable per default:
* Clean up the mess in ParserOutput
* Reject (ignore) custom titles which don't normalise to the same as the current page -- THIS IS IMPORTANT OTHERWISE LINKING GOES TO POT (and not the good kind of pot)
[WARNING: Touches parser version. Old caches will be expired. You might wish to undo this and add some temporarily backwards-compatibility for a few days.]
Brion Vibber [Mon, 25 Jun 2007 15:02:46 +0000 (15:02 +0000)]
* (bug 10338) Enforce signature length limit in Unicode characters instead of bytes
Uses mb_strlen(), which we already have a fallback function for if mbstring extension isn't present.
Rob Church [Mon, 25 Jun 2007 12:58:00 +0000 (12:58 +0000)]
Good old PHP 5, and the $recursive parameter to mkdir()
Raimond Spekking [Mon, 25 Jun 2007 12:53:44 +0000 (12:53 +0000)]
* Housekeeping:
** Magig word __END__ was removed a long time ago
Rob Church [Mon, 25 Jun 2007 11:09:51 +0000 (11:09 +0000)]
Clean up the mess that is Xml::monthSelector()...
* Use accessors instead of direct access to static members
* Use existing XML functions to make life easier and guarantee clean XHTML
* Drop the useless class (use the ID in CSS)
Rotem Liss [Mon, 25 Jun 2007 10:07:36 +0000 (10:07 +0000)]
Fixing the month names - e.g. use 'january', not 'january-gen', in the months list.
Anders Wegge Jakobsen [Mon, 25 Jun 2007 09:39:49 +0000 (09:39 +0000)]
Updated translations for da
Ivan Lanin [Mon, 25 Jun 2007 09:24:57 +0000 (09:24 +0000)]
Indonesian (id) localisation updates.
Raimond Spekking [Mon, 25 Jun 2007 09:04:32 +0000 (09:04 +0000)]
Updates German
Rotem Liss [Mon, 25 Jun 2007 08:21:57 +0000 (08:21 +0000)]
Fixing the text of the message: it is not the first line but the actual target.
Raimond Spekking [Mon, 25 Jun 2007 07:52:40 +0000 (07:52 +0000)]
* (bug 10341) Update Russian translations
Patch by Alexander Sigachov
Rotem Liss [Mon, 25 Jun 2007 07:33:27 +0000 (07:33 +0000)]
Update.
Raimond Spekking [Mon, 25 Jun 2007 07:20:35 +0000 (07:20 +0000)]
* (bug 1ß363) Update Bulgarian translations
Patch by Borislav Manolov
Yuri Astrakhan [Mon, 25 Jun 2007 05:44:33 +0000 (05:44 +0000)]
API: Fixed error codes encoding per bug 10308.
Aryeh Gregor [Sun, 24 Jun 2007 22:34:30 +0000 (22:34 +0000)]
(bug 9250) Remove hardcoded minimum image name length of three characters. Message minlength renamed to minlength1.
Rotem Liss [Sun, 24 Jun 2007 19:30:18 +0000 (19:30 +0000)]
Fixes.
Aaron Schulz [Sun, 24 Jun 2007 18:44:43 +0000 (18:44 +0000)]
Add new oldimage column stuff
Tim Starling [Sun, 24 Jun 2007 13:45:58 +0000 (13:45 +0000)]
Some notes on architecture.
Tim Starling [Sun, 24 Jun 2007 12:38:03 +0000 (12:38 +0000)]
honour system only please for this one
Aryeh Gregor [Sun, 24 Jun 2007 06:35:47 +0000 (06:35 +0000)]
Fix two mistakes from last commit
Aryeh Gregor [Sun, 24 Jun 2007 06:32:07 +0000 (06:32 +0000)]
E_STRICT fixes for filerepo stuff. Also, use 'abstract' keyword for File class, and mark some public methods public (and one private method protected, which I think is what was meant but no harm if private was actually meant). Couldn't fix the non-matching declarations of Image::newFromTitle() and LocalFile::newFromTitle().
Aryeh Gregor [Sun, 24 Jun 2007 03:16:08 +0000 (03:16 +0000)]
Wrap comments at 79 characters, not the particular width the commenter happened to have his screen set to when writing it
Aaron Schulz [Sat, 23 Jun 2007 20:10:15 +0000 (20:10 +0000)]
*Should be greater than 0, not 1 ;)
Aaron Schulz [Sat, 23 Jun 2007 20:00:49 +0000 (20:00 +0000)]
*Fix bug with year 9999
Rob Church [Sat, 23 Jun 2007 19:37:31 +0000 (19:37 +0000)]
(bug 10344) Don't follow a redirect after changing its protection level
Aaron Schulz [Sat, 23 Jun 2007 19:28:00 +0000 (19:28 +0000)]
*Remove extra pr_page index, it is redundant and just increases overhead
Rotem Liss [Sat, 23 Jun 2007 17:38:33 +0000 (17:38 +0000)]
Update.
Aaron Schulz [Sat, 23 Jun 2007 17:27:39 +0000 (17:27 +0000)]
*Add year/month selector to user contribs (bug 516)
Tim Starling [Sat, 23 Jun 2007 10:15:10 +0000 (10:15 +0000)]
* Make $wgUser->editToken() work for either logged-in or logged-out users.
* Fix escaping of edit tokens, removed FIXME note.
* Added + to EDIT_TOKEN_SUFFIX on report of broken proxy from mutante
* Two random minor changes
Rob Church [Sat, 23 Jun 2007 09:27:23 +0000 (09:27 +0000)]
(bug 7859) Kazakh message updates [patch from AlefZet]
Greg Sabino Mullane [Fri, 22 Jun 2007 22:00:58 +0000 (22:00 +0000)]
getLag() returns false, not 0. Add reminder about future code refactoring.
Tim Starling [Fri, 22 Jun 2007 20:23:49 +0000 (20:23 +0000)]
* Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving overlong key errors.
* Fixed zero-padding issues with MySQL 5 binary schema
* Added option to install to MyISAM
Tim Starling [Fri, 22 Jun 2007 20:11:42 +0000 (20:11 +0000)]
Converted a couple of missed fields. Reverted expansion of log_type/log_action, that one really needs a patch file to avoid having future developers breaking old installations.
Tim Starling [Fri, 22 Jun 2007 20:09:59 +0000 (20:09 +0000)]
Updated patch files to match the recent update to tables.sql. Removed some defunct patch files. Tested with a 1.3 -> 1.11 upgrade.
Brion Vibber [Fri, 22 Jun 2007 19:08:20 +0000 (19:08 +0000)]
watchLink1 no longer exists
Brion Vibber [Fri, 22 Jun 2007 18:58:51 +0000 (18:58 +0000)]
Fix drop-down for Nostalgia skin when $wgArticlePath is left to default interpolation.
Was skipping setup code, which is pretty.... useless. :)
Tim Starling [Fri, 22 Jun 2007 18:57:00 +0000 (18:57 +0000)]
PediaWiki has evolved.
Greg Sabino Mullane [Fri, 22 Jun 2007 18:45:10 +0000 (18:45 +0000)]
Return raw bytea string, not arrayified version for encodeBlob()
Brion Vibber [Fri, 22 Jun 2007 18:39:40 +0000 (18:39 +0000)]
'class' is a reserved word in JavaScript. :) Changing parameter name to 'className' fixes ajax watch in:
* IE 7/Win
* Safari 3/Win
* Safari 2/Mac
* Mozilla 1.1/Mac
Tim Starling [Fri, 22 Jun 2007 18:31:24 +0000 (18:31 +0000)]
* Fixed complete breakage for MySQL instances with a maximum key length of 1000 bytes. Tested with MyISAM 5 with UTF-8 default character set.
* Replaced char/varchar with binary/varbinary in cases where the data is pure ASCII. This is more efficient for various reasons in MySQL 4.1+, and equivalent to char() binary in 4.0. Sometimes varbinary is needed where char was used before, to avoid zero-padding on the right. As a side-effect, this means the MySQL 5 binary schema is no longer broken.
* Removed width specifiers from integer columns. These do virtually nothing, the MySQL command line client ignores them and they have no impact on storage. The only thing they do is cause arguments between developers over whether the most appropriate width of a 32-bit integer is 8, 9 or 10 columns.
* No updater provided for the moment, but everyone should migrate to the MySQL 5 binary schema eventually since it should now work correctly and efficiently.
Rotem Liss [Fri, 22 Jun 2007 18:27:47 +0000 (18:27 +0000)]
Update.
Brion Vibber [Fri, 22 Jun 2007 18:27:06 +0000 (18:27 +0000)]
Spiff up the JS message a little bit
Tim Starling [Fri, 22 Jun 2007 18:17:23 +0000 (18:17 +0000)]
* Added option to install with MyISAM
* Select MySQL by default if both drivers are available
* Use a frameset for the DB-specific box, instead of a garish orange background
* A big font and an <hr> for the final success message, since people sometimes forget to read it
Ivan Lanin [Fri, 22 Jun 2007 18:01:38 +0000 (18:01 +0000)]
Indonesian (id) localisation updates.
Aryeh Gregor [Fri, 22 Jun 2007 17:47:29 +0000 (17:47 +0000)]
Fix a couple of typos from last commit (one possibly error-causing for picky browsers, one for jslint)
Aryeh Gregor [Fri, 22 Jun 2007 17:36:59 +0000 (17:36 +0000)]
Fix up AJAX watch and enable it by default.
* Allow it to work for nonexistent articles (pass title instead of ID)
* Use event handlers, not javascript: URLs
* Fix bug preventing akeytt from setting tooltips for a single element
* Add jsMsg() function to wikibits to allow messages to be displayed dynamically at the top of the screen (could use dismiss button?)
Some test-cases I've thrown at it worked fine (nonexistent pages, namespaced pages, pages with funny characters), but I haven't spent seven weeks in a cave meditating on what could possibly go wrong, so there may be some kind of omission somewhere.
Yuri Astrakhan [Fri, 22 Jun 2007 15:19:55 +0000 (15:19 +0000)]
Forgot to update table sql per bug 10280
Brion Vibber [Fri, 22 Jun 2007 14:52:49 +0000 (14:52 +0000)]
Revert r23166, 23178, 23179, and probably some other related bits.
There are issues with putting robots stuff into the current protection system, so we're backing this out to prevent another backwards-compatibility disaster when it's done in a more reliable way. :)
Brion Vibber [Fri, 22 Jun 2007 14:25:23 +0000 (14:25 +0000)]
Revert r23197 -- while well-meaning, this would severely overrepresent minor content namespaces by selecting the namespaces with equal probability.
A better solution would be to modify the RandomPage class to allow passing pages of multiple namespaces, and giving it the complete list of content namespaces; then the selection would be properly proportional.
Raimond Spekking [Fri, 22 Jun 2007 08:40:20 +0000 (08:40 +0000)]
* (bug 7859) Update Kazakh translations
Patch by AlefZet
Rotem Liss [Fri, 22 Jun 2007 07:49:45 +0000 (07:49 +0000)]
Update.
Raimond Spekking [Fri, 22 Jun 2007 07:41:45 +0000 (07:41 +0000)]
* Some cosmetic tweaks
** ProtectionForm: move 'watch this page' checkbox between reason field and submit button like in all other forms too
** SpecialMovepage.php: right shift checkboxes a bit like in all other forms too, move hardcoded colons to message file for better localization
Ivan Lanin [Fri, 22 Jun 2007 07:37:02 +0000 (07:37 +0000)]
Indonesian (id) localisation updates.
Daniel Cannon [Fri, 22 Jun 2007 06:23:02 +0000 (06:23 +0000)]
Special:Randompage with no parameters now selects a random page from any namespace in $wgContentNamespaces, rather than just from NS_MAIN.
Rotem Liss [Fri, 22 Jun 2007 06:19:15 +0000 (06:19 +0000)]
Update and clarification.
Aaron Schulz [Fri, 22 Jun 2007 02:08:22 +0000 (02:08 +0000)]
*Increase RC prune change to 1/100
Aaron Schulz [Fri, 22 Jun 2007 00:21:54 +0000 (00:21 +0000)]
*Clean up comment
Raimond Spekking [Thu, 21 Jun 2007 22:02:52 +0000 (22:02 +0000)]
* Housekeeping:
Removing more untranslated, optional stuff from message files
Rob Church [Thu, 21 Jun 2007 21:18:29 +0000 (21:18 +0000)]
Bug fix
Rob Church [Thu, 21 Jun 2007 20:58:48 +0000 (20:58 +0000)]
i18n and better label text, don't assume all users speak robots.txt
Rob Church [Thu, 21 Jun 2007 20:50:29 +0000 (20:50 +0000)]
* Allow wiki links in "protect-robotspolicy", I imagine people are likely to want to link to help
* Typos
Tim Starling [Thu, 21 Jun 2007 20:44:47 +0000 (20:44 +0000)]
Pass through wpIgnoreWarning request parameter to the form.
Anders Wegge Jakobsen [Thu, 21 Jun 2007 20:33:17 +0000 (20:33 +0000)]
Updated translations for da
Raimond Spekking [Thu, 21 Jun 2007 19:13:08 +0000 (19:13 +0000)]
* (bug 10327) Update Swedish translations
Patch by Lejonel
Rob Church [Thu, 21 Jun 2007 19:11:24 +0000 (19:11 +0000)]
Some job cleanup:
* Move Jobs left in JobQueue.php to their own file
* Ditch $wgCustomJobs in favour of $wgJobClasses, which acts as a dictionary and allows extensions to add custom jobs
* Standardise Job derivative constructors and update everywhere
* Make sure all overriding implementations of Job::run() return true to avoid bogus "Error" report in runJobs.php
Rotem Liss [Thu, 21 Jun 2007 16:08:11 +0000 (16:08 +0000)]
Adding a direction mark, for RTL wikis (it may be better to localise the text, though).
Rotem Liss [Thu, 21 Jun 2007 16:04:42 +0000 (16:04 +0000)]
Update and fix.
Raimond Spekking [Thu, 21 Jun 2007 15:51:28 +0000 (15:51 +0000)]
* (bug 9415) Added options to Special:Protect to allow setting of per-page robot
policies. This can be done only by users with the 'editrobots' permission
Based on a patch of AmiDaniel
Aaron Schulz [Thu, 21 Jun 2007 15:29:05 +0000 (15:29 +0000)]
*Add wfQueriesMustScale(), a quick dirt way to see whether we can get away with inefficient queries or if the job queue is best. Will likely need tweaking.
Rob Church [Thu, 21 Jun 2007 14:21:44 +0000 (14:21 +0000)]
Remove errant return, breaks switch statement for 'htmlCacheUpdate' jobs
Aaron Schulz [Thu, 21 Jun 2007 14:12:50 +0000 (14:12 +0000)]
*Add $wgCustomJobs for adding functions/subclasses to jobqueue
Jens Frank [Thu, 21 Jun 2007 12:05:30 +0000 (12:05 +0000)]
Language stub for the Wolof language, setting fallback to French
Rob Church [Thu, 21 Jun 2007 11:50:15 +0000 (11:50 +0000)]
Minor code refactoring
Rob Church [Thu, 21 Jun 2007 11:41:24 +0000 (11:41 +0000)]
(bug 10325) Fix regression in form action on Special:Listusers
Nick Jenkins [Thu, 21 Jun 2007 04:28:06 +0000 (04:28 +0000)]
Prevent error on viewing [[Special:Allmessages]] when LocalSettings.php includes
a custom file that extends the ApiQueryGeneratorBase abstract base class, by adding
ApiQueryGeneratorBase to the list of classes that the autoloader knows how to handle.
Aaron Schulz [Wed, 20 Jun 2007 22:25:39 +0000 (22:25 +0000)]
*Use wfSuppressWarnings() instead of error_reporting()
Aaron Schulz [Wed, 20 Jun 2007 20:33:44 +0000 (20:33 +0000)]
*More system date bitching
Brion Vibber [Wed, 20 Jun 2007 19:35:17 +0000 (19:35 +0000)]
* Throw a showstopper exception when a hook function fails to return a value.
Forgetting to give a 'true' return value is a very common error which tends
to cause hard-to-track-down interactions between extensions.
Aaron Schulz [Wed, 20 Jun 2007 18:49:54 +0000 (18:49 +0000)]
*error_reporting() again...sigh
Aaron Schulz [Wed, 20 Jun 2007 18:41:15 +0000 (18:41 +0000)]
*Goddamn hack, modify error level temporarily while some dates are parsed so as not to make E_STRICT unusable due to local time complaint floodage
Raimond Spekking [Wed, 20 Jun 2007 16:50:28 +0000 (16:50 +0000)]
* Housekeeping:
Make messages 'isbn' and 'booksources-isbn' optional as ISBN is untranslated in all latin and most non-latin script languages.
Removing theses messages from message files.
Raimond Spekking [Wed, 20 Jun 2007 16:06:01 +0000 (16:06 +0000)]
* (bug 10296) Update Albanian language
based on [[sq:special:allmessages]]
Rob Church [Wed, 20 Jun 2007 07:46:44 +0000 (07:46 +0000)]
(bug 8890) Enable wiki text for "license" message
Tim Starling [Wed, 20 Jun 2007 07:40:42 +0000 (07:40 +0000)]
fix total breakage of image revert
Rob Church [Wed, 20 Jun 2007 07:31:13 +0000 (07:31 +0000)]
I even had it written on a post-it, and I still forgot to reset this before committing...
Rob Church [Wed, 20 Jun 2007 07:28:45 +0000 (07:28 +0000)]
(bug 9328) Use "revision-info-current" message in place of "revision-info" when viewing the current revision of a page, if available - ignored if blank or contains "-"
Tim Starling [Wed, 20 Jun 2007 07:13:56 +0000 (07:13 +0000)]
Removed mImageTimestamps, use the OutputPageParserOutput hook.
Tim Starling [Wed, 20 Jun 2007 07:10:06 +0000 (07:10 +0000)]
Removed mImageTimestamps, if an extension needs this then it can be set in a ParserAfterTidy hook, using a single DB query.
Rob Church [Wed, 20 Jun 2007 07:02:06 +0000 (07:02 +0000)]
(bug 9696) Fix handling of brace transformations in "pagemovedtext"
Raimond Spekking [Tue, 19 Jun 2007 22:34:39 +0000 (22:34 +0000)]
* (bug 10313) "create this page" link in pt-br message file fixed
Brion Vibber [Tue, 19 Jun 2007 21:13:17 +0000 (21:13 +0000)]
* Avoid PHP notice errors when doing HTTP proxy purges for an empty list
* As intended, *skip* the HTTP proxy purges when doing HTCP purges
Brion Vibber [Tue, 19 Jun 2007 16:00:11 +0000 (16:00 +0000)]
* (bug 10309) Initialise parser state properly in extractSections(), fixes
some cases where section edits broke because tags were improperly stripped
Brion Vibber [Tue, 19 Jun 2007 15:49:46 +0000 (15:49 +0000)]
parser test cases for bug 10309