Brion Vibber [Thu, 28 Jun 2007 16:21:27 +0000 (16:21 +0000)]
* Delay AJAX watch initialization until click so IE 6 with ugly security
settings doesn't prompt you until you use the link.
Rob Church [Thu, 28 Jun 2007 16:06:32 +0000 (16:06 +0000)]
(bug 10398) Honour .php5 script extensions in pre-installation splash screen
Brion Vibber [Thu, 28 Jun 2007 16:06:10 +0000 (16:06 +0000)]
* Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
security settings are cranked this way and AJAX-y gets used.
We still get prompts on IE 6, though, which is kind of annoying.
Brion Vibber [Thu, 28 Jun 2007 15:13:28 +0000 (15:13 +0000)]
* (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
using $wgScript now included in JS info
Brion Vibber [Thu, 28 Jun 2007 15:05:03 +0000 (15:05 +0000)]
* (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
Brion Vibber [Thu, 28 Jun 2007 14:50:06 +0000 (14:50 +0000)]
* (bug 10387) Detect and handle '.php5' extension environments at install time
Patch by Edward Z. Yang.
Brion Vibber [Thu, 28 Jun 2007 13:42:17 +0000 (13:42 +0000)]
Tweak API change which broke Makesysop extension. Same functionality, now in compatible API.
* use protected, not private, so subclass can still call showEditUserGroupsForm()
* restore compatible parameters to showEditUserGroupsForm()
* encapsulate the filtering of available groups into splitGroups(), so caller doesn't have to do it
Rob Church [Thu, 28 Jun 2007 12:55:12 +0000 (12:55 +0000)]
(bug 10392) Include MediaWiki version details in version output [Roan Kattouw]
Brion Vibber [Wed, 27 Jun 2007 21:02:49 +0000 (21:02 +0000)]
Revert r23034 for the moment; made it hard to clearly extract log line information via cut-n-paste since date is missing
Aaron Schulz [Wed, 27 Jun 2007 20:53:47 +0000 (20:53 +0000)]
*goddamnit
Brion Vibber [Wed, 27 Jun 2007 20:51:41 +0000 (20:51 +0000)]
Fix regression -- wfMkdirParents() started whining if target directory existed, instead of just giving the thumbs-up
Aaron Schulz [Wed, 27 Jun 2007 20:43:29 +0000 (20:43 +0000)]
*Add usertext_timestamp index to archive table
Brion Vibber [Wed, 27 Jun 2007 20:36:03 +0000 (20:36 +0000)]
Stripping out the year/month filter on contribs for the moment, since there's disagreement over how it should work.
Rather than annoy everyone by having it one way and changing it, we'll put it back when it's changed.
Brion Vibber [Wed, 27 Jun 2007 15:30:43 +0000 (15:30 +0000)]
* (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
match the given title. Fixes inconsistencies with talk, history, edit links.
This reverts r23445 and moves the check upstream into the title setup at
MediaWiki::checkInitialQueries(). As the most specific identifier which can
be passed, the revision title listed for the oldid (if any) trumps both
'title' and 'curid' parameters.
Niklas Laxström [Wed, 27 Jun 2007 14:41:45 +0000 (14:41 +0000)]
* First Tigrinya (ti) messages by Blake
Rob Church [Wed, 27 Jun 2007 14:32:31 +0000 (14:32 +0000)]
* Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
* Add User::getRegistration() accessor
Brion Vibber [Wed, 27 Jun 2007 13:55:59 +0000 (13:55 +0000)]
Revert r23471, r23474: restore Special:Version to working, non-ugly state
Was spitting out PHP warnings and something was badly broken in the style
Ivan Lanin [Wed, 27 Jun 2007 13:01:51 +0000 (13:01 +0000)]
Indonesian (id) localisation updates.
Raimond Spekking [Wed, 27 Jun 2007 10:38:06 +0000 (10:38 +0000)]
* (bug 10369) Update Chinese translations
Patch by Shinjiman
Raimond Spekking [Wed, 27 Jun 2007 10:35:08 +0000 (10:35 +0000)]
* (bug 10367) Update Kazakh translations
Patch by AlefZet
Raimond Spekking [Wed, 27 Jun 2007 10:19:36 +0000 (10:19 +0000)]
* (bug 10365) Localization of Special:Version
Let English licence information hard coded to avoid any possibility to suppress this important text
Sort extension functions, parser extension tags and parser extension tags alphabetically
Use table for software information too.
WTF needs/uses the hook 'SpecialVersionExtensionTypes'? Not documented anywhere in trunk.
Anders Wegge Jakobsen [Wed, 27 Jun 2007 08:04:22 +0000 (08:04 +0000)]
Updated translations for da
Rob Church [Wed, 27 Jun 2007 02:49:27 +0000 (02:49 +0000)]
Use Linker::makeKnownLinkObj(); we have a Title object, and it's faster
Rob Church [Wed, 27 Jun 2007 02:46:06 +0000 (02:46 +0000)]
(bug 10360) Fix LogViewer::logLine() for new user log entries. $s->log_user is *not* the user_id of the user we created, it's the user_id of the creating user, and when $s->log_action is 'create2', these are not the same. Use the ID stashed in log_params (as of r23446) if available, otherwise fall back to a normal contributions link.
Aryeh Gregor [Wed, 27 Jun 2007 01:01:22 +0000 (01:01 +0000)]
(bug 10377) "Permanent links" to revisions still work if the page is moved and the redirect deleted
Rob Church [Tue, 26 Jun 2007 21:24:23 +0000 (21:24 +0000)]
Drop the `redirect=no` thing for non-redirects, per Brion. Seems like a waste of time and a needless load of the page record and text to me, but he's the boss...
Brion Vibber [Tue, 26 Jun 2007 21:18:44 +0000 (21:18 +0000)]
woops
Brion Vibber [Tue, 26 Jun 2007 21:18:27 +0000 (21:18 +0000)]
* (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
* namespaceDupes.php should work better for initial-lowercase wikis
Also reduced verbosity of output by default. Use --verbose to list eeeverything it checks
Rob Church [Tue, 26 Jun 2007 21:03:59 +0000 (21:03 +0000)]
Some updates; regarding method/member visibilities, OutputPage is not Parser, and Language objects
Tim Starling [Tue, 26 Jun 2007 20:40:02 +0000 (20:40 +0000)]
When you log in from cookie, make the session valid for login as well. Not sure what the point of it is otherwise. Necessary for BoardVote session transfer stuff.
Brion Vibber [Tue, 26 Jun 2007 20:18:23 +0000 (20:18 +0000)]
* (bug 10372) namespaceDupes.php no longer ignores namespace aliases
Ivan Lanin [Tue, 26 Jun 2007 20:10:00 +0000 (20:10 +0000)]
Indonesian (id) localisation updates.
Aryeh Gregor [Tue, 26 Jun 2007 17:07:23 +0000 (17:07 +0000)]
Change classes for <pre>s per Brion on Wikitech-l
Tim Starling [Tue, 26 Jun 2007 14:52:51 +0000 (14:52 +0000)]
load all messages
Tim Starling [Tue, 26 Jun 2007 14:52:37 +0000 (14:52 +0000)]
Fixed incorrect error message for static member functions
Raimond Spekking [Tue, 26 Jun 2007 08:56:30 +0000 (08:56 +0000)]
* (bug 10334) Replace normal spaces before percent (%) signs with non-breaking spaces
Rotem Liss [Tue, 26 Jun 2007 07:29:40 +0000 (07:29 +0000)]
Update.
Raimond Spekking [Tue, 26 Jun 2007 07:21:28 +0000 (07:21 +0000)]
* (bug 10160) Show error message for unknown namespace on Special:Allpages and
Special:Prefixindex
* Making input forms prettier for RTL wikis.
* Use proper XML functions for input forms
Rotem Liss [Tue, 26 Jun 2007 06:27:00 +0000 (06:27 +0000)]
Update.
Raimond Spekking [Tue, 26 Jun 2007 05:23:19 +0000 (05:23 +0000)]
* Updates German
* Update maintenance message files
Aryeh Gregor [Tue, 26 Jun 2007 04:07:27 +0000 (04:07 +0000)]
(bug 6711) Add and to allow finer control over usergroup assignment. Completely reverse-compatible with existing userrights-based setups, but can replace Makesysop and Makebot and open the door to lots of other things as well. Could be moved to extension, I guess, but it just seems a lot simpler to have one interface for all adding/removing of groups.
Aryeh Gregor [Tue, 26 Jun 2007 01:01:08 +0000 (01:01 +0000)]
* Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
* (bug 10196) Add classes and dir=ltr to the <pre>s on CSS and JS pages (new
classes: mw-user-css, mw-user-js, mw-site-css, mw-site-js)
* Merge RELEASE-NOTES regarding the addition of a feature and a change to that feature
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.