Merged revisions 23203-23405 via svnmerge from
svn+
ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3
........
r23220 | brion | 2007-06-22 07:25:23 -0700 (Fri, 22 Jun 2007) | 3 lines
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.
........
r23226 | brion | 2007-06-22 07:52:49 -0700 (Fri, 22 Jun 2007) | 3 lines
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. :)
........
r23228 | yurik | 2007-06-22 08:19:55 -0700 (Fri, 22 Jun 2007) | 1 line
Forgot to update table sql per
bug 10280
........
r23233 | simetrical | 2007-06-22 10:36:59 -0700 (Fri, 22 Jun 2007) | 8 lines
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.
........
r23234 | simetrical | 2007-06-22 10:47:29 -0700 (Fri, 22 Jun 2007) | 1 line
Fix a couple of typos from last commit (one possibly error-causing for picky browsers, one for jslint)
........
r23235 | ivanlanin | 2007-06-22 11:01:38 -0700 (Fri, 22 Jun 2007) | 1 line
Indonesian (id) localisation updates.
........
r23236 | tstarling | 2007-06-22 11:17:23 -0700 (Fri, 22 Jun 2007) | 4 lines
* 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
........
r23237 | brion | 2007-06-22 11:27:06 -0700 (Fri, 22 Jun 2007) | 2 lines
Spiff up the JS message a little bit
........
r23238 | rotem | 2007-06-22 11:27:47 -0700 (Fri, 22 Jun 2007) | 1 line
Update.
........
r23239 | tstarling | 2007-06-22 11:31:24 -0700 (Fri, 22 Jun 2007) | 4 lines
* 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.
........
r23240 | brion | 2007-06-22 11:39:40 -0700 (Fri, 22 Jun 2007) | 7 lines
'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
........
r23241 | greg | 2007-06-22 11:45:10 -0700 (Fri, 22 Jun 2007) | 2 lines
Return raw bytea string, not arrayified version for encodeBlob()
........
r23242 | tstarling | 2007-06-22 11:57:00 -0700 (Fri, 22 Jun 2007) | 1 line
PediaWiki has evolved.
........
r23243 | brion | 2007-06-22 11:58:51 -0700 (Fri, 22 Jun 2007) | 3 lines
Fix drop-down for Nostalgia skin when $wgArticlePath is left to default interpolation.
Was skipping setup code, which is pretty.... useless. :)
........
r23244 | brion | 2007-06-22 12:08:20 -0700 (Fri, 22 Jun 2007) | 2 lines
watchLink1 no longer exists
........
r23246 | tstarling | 2007-06-22 13:09:59 -0700 (Fri, 22 Jun 2007) | 1 line
Updated patch files to match the recent update to tables.sql. Removed some defunct patch files. Tested with a 1.3 -> 1.11 upgrade.
........
r23247 | tstarling | 2007-06-22 13:11:42 -0700 (Fri, 22 Jun 2007) | 1 line
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.
........
r23248 | tstarling | 2007-06-22 13:23:49 -0700 (Fri, 22 Jun 2007) | 4 lines
* 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
........
r23257 | greg | 2007-06-22 15:00:58 -0700 (Fri, 22 Jun 2007) | 2 lines
getLag() returns false, not 0. Add reminder about future code refactoring.
........
r23286 | robchurch | 2007-06-23 02:27:23 -0700 (Sat, 23 Jun 2007) | 1 line
(
bug 7859) Kazakh message updates [patch from AlefZet]
........
r23287 | tstarling | 2007-06-23 03:15:10 -0700 (Sat, 23 Jun 2007) | 4 lines
* 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
........
r23297 | aaron | 2007-06-23 10:27:39 -0700 (Sat, 23 Jun 2007) | 1 line
*Add year/month selector to user contribs (
bug 516)
........
r23298 | rotem | 2007-06-23 10:38:33 -0700 (Sat, 23 Jun 2007) | 1 line
Update.
........
r23303 | aaron | 2007-06-23 12:28:00 -0700 (Sat, 23 Jun 2007) | 1 line
*Remove extra pr_page index, it is redundant and just increases overhead
........
r23304 | robchurch | 2007-06-23 12:37:31 -0700 (Sat, 23 Jun 2007) | 1 line
(
bug 10344) Don't follow a redirect after changing its protection level
........
r23306 | aaron | 2007-06-23 13:00:49 -0700 (Sat, 23 Jun 2007) | 1 line
*Fix bug with year 9999
........
r23307 | aaron | 2007-06-23 13:10:15 -0700 (Sat, 23 Jun 2007) | 1 line
*Should be greater than 0, not 1 ;)
........
r23308 | simetrical | 2007-06-23 20:16:08 -0700 (Sat, 23 Jun 2007) | 1 line
Wrap comments at 79 characters, not the particular width the commenter happened to have his screen set to when writing it
........
r23313 | simetrical | 2007-06-23 23:32:07 -0700 (Sat, 23 Jun 2007) | 1 line
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().
........
r23315 | simetrical | 2007-06-23 23:35:47 -0700 (Sat, 23 Jun 2007) | 1 line
Fix two mistakes from last commit
........
r23318 | tstarling | 2007-06-24 05:38:03 -0700 (Sun, 24 Jun 2007) | 1 line
honour system only please for this one
........
r23320 | tstarling | 2007-06-24 06:45:58 -0700 (Sun, 24 Jun 2007) | 1 line
Some notes on architecture.
........
r23333 | aaron | 2007-06-24 11:44:43 -0700 (Sun, 24 Jun 2007) | 1 line
Add new oldimage column stuff
........
r23334 | rotem | 2007-06-24 12:30:18 -0700 (Sun, 24 Jun 2007) | 1 line
Fixes.
........
r23339 | simetrical | 2007-06-24 15:34:30 -0700 (Sun, 24 Jun 2007) | 1 line
(
bug 9250) Remove hardcoded minimum image name length of three characters. Message minlength renamed to minlength1.
........
r23358 | yurik | 2007-06-24 22:44:33 -0700 (Sun, 24 Jun 2007) | 1 line
API: Fixed error codes encoding per
bug 10308.
........
r23366 | raymond | 2007-06-25 00:20:35 -0700 (Mon, 25 Jun 2007) | 2 lines
* (
bug 1ß363) Update Bulgarian translations
Patch by Borislav Manolov
........
r23367 | rotem | 2007-06-25 00:33:27 -0700 (Mon, 25 Jun 2007) | 1 line
Update.
........
r23368 | raymond | 2007-06-25 00:52:40 -0700 (Mon, 25 Jun 2007) | 2 lines
* (
bug 10341) Update Russian translations
Patch by Alexander Sigachov
........
r23370 | rotem | 2007-06-25 01:21:57 -0700 (Mon, 25 Jun 2007) | 1 line
Fixing the text of the message: it is not the first line but the actual target.
........
r23373 | raymond | 2007-06-25 02:04:32 -0700 (Mon, 25 Jun 2007) | 1 line
Updates German
........
r23374 | ivanlanin | 2007-06-25 02:24:57 -0700 (Mon, 25 Jun 2007) | 1 line
Indonesian (id) localisation updates.
........
r23376 | wegge | 2007-06-25 02:39:49 -0700 (Mon, 25 Jun 2007) | 1 line
Updated translations for da
........
r23381 | rotem | 2007-06-25 03:07:36 -0700 (Mon, 25 Jun 2007) | 1 line
Fixing the month names - e.g. use 'january', not 'january-gen', in the months list.
........
r23382 | robchurch | 2007-06-25 04:09:51 -0700 (Mon, 25 Jun 2007) | 5 lines
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)
........
r23385 | raymond | 2007-06-25 05:53:44 -0700 (Mon, 25 Jun 2007) | 2 lines
* Housekeeping:
** Magig word __END__ was removed a long time ago
........
r23386 | robchurch | 2007-06-25 05:58:00 -0700 (Mon, 25 Jun 2007) | 1 line
Good old PHP 5, and the $recursive parameter to mkdir()
........
r23389 | brion | 2007-06-25 08:02:46 -0700 (Mon, 25 Jun 2007) | 3 lines
* (
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.
........
r23393 | robchurch | 2007-06-25 08:51:09 -0700 (Mon, 25 Jun 2007) | 4 lines
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.]
........
r23394 | robchurch | 2007-06-25 08:53:26 -0700 (Mon, 25 Jun 2007) | 1 line
Remove un-needed message; linking will work as normal
........
r23395 | robchurch | 2007-06-25 09:00:46 -0700 (Mon, 25 Jun 2007) | 1 line
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/
........
r23396 | robchurch | 2007-06-25 09:07:49 -0700 (Mon, 25 Jun 2007) | 1 line
Revert
r23395, since it won't work (d'oh, of course)
........
r23399 | raymond | 2007-06-25 12:24:40 -0700 (Mon, 25 Jun 2007) | 1 line
* (
bug 10333) Correct date format in Slovenian
........
r23402 | robchurch | 2007-06-25 13:30:25 -0700 (Mon, 25 Jun 2007) | 1 line
DISPLAYTITLE: Fix comparison, damn fragments...check titles are equal and that there isn't a fragment in the desired title
........
r23403 | robchurch | 2007-06-25 13:40:04 -0700 (Mon, 25 Jun 2007) | 1 line
Reset the page title after adding preview parser output to the output page
........
r23404 | robchurch | 2007-06-25 13:53:40 -0700 (Mon, 25 Jun 2007) | 1 line
Xml::monthSelector() -> Allow callers to override the "id" attribute
........