Rotem Liss [Wed, 23 Apr 2008 16:08:16 +0000 (16:08 +0000)]
* When undoing an edit, make sure it wasn't deleted.
* Show a proper error message for non-existant or deleted revisions when undoing.
Rotem Liss [Wed, 23 Apr 2008 13:45:14 +0000 (13:45 +0000)]
Update.
Raimond Spekking [Wed, 23 Apr 2008 10:23:05 +0000 (10:23 +0000)]
* Add a nice fieldset around the input form
* Fix double escaping of some elements
* Be smart to $wgCapitalLinks = true wikis and accept input with a lower case first character
* Use the default -summary message as header
Meno25 [Wed, 23 Apr 2008 06:55:33 +0000 (06:55 +0000)]
Add magic words, etc
Brion Vibber [Tue, 22 Apr 2008 23:47:27 +0000 (23:47 +0000)]
Fix regression with confirmation e-mails sent via Special:Confirmemail.
Recent changes to User object made User::sendConfirmationEmail() *not* save the new confirmation token to the database, which seems rather odd. As a result, you got a mail with a bogus value.
Since the function has side-effects, it pretty clearly needs to be saving its changes. Went ahead and had it do that rather than forcing all callers to fix its internal failing.
Brion Vibber [Tue, 22 Apr 2008 22:35:50 +0000 (22:35 +0000)]
* (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
The setup code was using a MonoBook-specific div ID to insert the results container into. Swapped that for the plain ol' document.body and fixed the styles for MonoBook and Modern so it gets the scale-up fix for the font size (they both use a weird system where they shrink the font size on the body, then scale it back up inside.... very wtf territory!)
Added setup for form and input IDs used for the second search box on Cologne Blue, and copied those IDs over to Nostalgia and Classic skins.
Note that the drop-down is a bit unsatisfactory on the page-bottom search boxes in Nostalgia, Classic, and Cologne Blue, as it tries to squish in at the bottom of the page, and you only get two lines of data. The sidebar search boxes are also not very wide, which makes results pretty cramped.
Siebrand Mazeland [Tue, 22 Apr 2008 19:03:15 +0000 (19:03 +0000)]
Localisation updates for core messages from Betawiki (2008-04-22 20:53 CEST)
Roan Kattouw [Tue, 22 Apr 2008 18:43:22 +0000 (18:43 +0000)]
E_NOTICE
Brion Vibber [Tue, 22 Apr 2008 18:04:49 +0000 (18:04 +0000)]
Fix event hooking for suggest.
Works around bug with custom search form destinations on Wikipedia; multiple event handlers for form submission were overwriting each other
Brion Vibber [Tue, 22 Apr 2008 17:29:41 +0000 (17:29 +0000)]
Revert r33725, r33726 (hook in Sanitizer::fixTagAttributes()).
This hook is just plain weird.
* Return value on abort destroys the entire data set
* Whitespace is bad
* It's very unclear what this would be used for
* This is a low-level function that's going to get called very often, and the hook is in a place that has little clear function. It's unclear what a general hook would want to do with it.
Brion Vibber [Tue, 22 Apr 2008 17:25:31 +0000 (17:25 +0000)]
Add bug number to notes entry for r33742
Raimond Spekking [Tue, 22 Apr 2008 17:03:34 +0000 (17:03 +0000)]
Localisation updates German
Shinjiman [Tue, 22 Apr 2008 16:44:55 +0000 (16:44 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aryeh Gregor [Tue, 22 Apr 2008 16:34:43 +0000 (16:34 +0000)]
Fatal error on some pages when calculating subpage subtitle, reported in #wikimedia-tech
Raimond Spekking [Tue, 22 Apr 2008 15:03:11 +0000 (15:03 +0000)]
Let's remember the mantra: Escaping is wise. Thanks to Nikerabbit :)
Andrew Garrett [Tue, 22 Apr 2008 13:03:11 +0000 (13:03 +0000)]
Commit the whole fix, not just the documentation from previous commit.
Andrew Garrett [Tue, 22 Apr 2008 13:02:33 +0000 (13:02 +0000)]
(bug 13821) Add new SanitizerAfterFixTagAttributes. Patch adapted from one by Wiktor Walc, but with some indentation fixing, and my own documentation on the hook
Roan Kattouw [Tue, 22 Apr 2008 12:46:00 +0000 (12:46 +0000)]
(bug 13819) API: exturlusage paging skipped an item
Rotem Liss [Tue, 22 Apr 2008 12:25:34 +0000 (12:25 +0000)]
Update.
Huji [Tue, 22 Apr 2008 11:55:35 +0000 (11:55 +0000)]
* Adding/updating Persian translations
Raimond Spekking [Tue, 22 Apr 2008 09:01:04 +0000 (09:01 +0000)]
Convenience tweaks:
* Change link of groupname to the project group page
* Add explicit link to Special:listusers. New message: 'listgrouprights-members'
Raimond Spekking [Tue, 22 Apr 2008 06:10:01 +0000 (06:10 +0000)]
* Move hardcoded text "Diff:..." to new message 'missingarticle-diff'
* Move hardcoded text "oldid=..." to new message 'missingarticle-rev'
* Remove variable $t from message 'noarticletext' as it has no parameter $1
Aaron Schulz [Tue, 22 Apr 2008 01:06:51 +0000 (01:06 +0000)]
Don't make extensions have to play around with NS_MEDIA
Aryeh Gregor [Tue, 22 Apr 2008 01:05:15 +0000 (01:05 +0000)]
(bug 13816) Filter by main namespace doesn't work on WhatLinksHere. Guess why? Weak PHP typing! I want to assemble a list of all these bugs as a concrete example of why PHP sucks.
Aaron Schulz [Tue, 22 Apr 2008 00:56:58 +0000 (00:56 +0000)]
Pass title by ref to consistently override the whole thing. Image pages where acting oddly with Media: urls, thinking the page didn't exist when it did.
Aaron Schulz [Mon, 21 Apr 2008 23:15:17 +0000 (23:15 +0000)]
Actually color replace on the right prefixed text
Aaron Schulz [Mon, 21 Apr 2008 23:10:20 +0000 (23:10 +0000)]
Clean this up a bit
Aaron Schulz [Mon, 21 Apr 2008 22:59:54 +0000 (22:59 +0000)]
Use prefixedText(), rather than IRC clean text for replace call on comment to make blue color (bug 13662)
Siebrand Mazeland [Mon, 21 Apr 2008 21:14:19 +0000 (21:14 +0000)]
Localisation updates for core messages from Betawiki (2008-04-21 23:06 CEST)
Alexandre Emsenhuber [Mon, 21 Apr 2008 18:36:52 +0000 (18:36 +0000)]
Fixed HTML error when there isn't any unsettable right (XML Parsing Error: mismatched tag. Expected: </tr>. Line Number 109, Column 3.)
Raimond Spekking [Mon, 21 Apr 2008 17:55:50 +0000 (17:55 +0000)]
Localisation updates German
Siebrand Mazeland [Mon, 21 Apr 2008 10:57:51 +0000 (10:57 +0000)]
No plural warnings for Mongolian
Siebrand Mazeland [Mon, 21 Apr 2008 06:39:11 +0000 (06:39 +0000)]
Localisation updates for extension messages from Betawiki (2008-04-21 08:31 CEST)
Aaron Schulz [Mon, 21 Apr 2008 04:40:41 +0000 (04:40 +0000)]
Better variable name
Aaron Schulz [Mon, 21 Apr 2008 03:20:08 +0000 (03:20 +0000)]
Add rcid for new unpatrolled pages
Aaron Schulz [Mon, 21 Apr 2008 00:53:13 +0000 (00:53 +0000)]
Lets include the prefix folks
Aaron Schulz [Sun, 20 Apr 2008 23:57:30 +0000 (23:57 +0000)]
FORCE should only apply when no group given
Aaron Schulz [Sun, 20 Apr 2008 23:46:03 +0000 (23:46 +0000)]
Remove filesort from EXPLAIN
Aaron Schulz [Sun, 20 Apr 2008 21:47:12 +0000 (21:47 +0000)]
More cleanup and simplifications
Aaron Schulz [Sun, 20 Apr 2008 21:39:06 +0000 (21:39 +0000)]
Use $key for the url param
Aaron Schulz [Sun, 20 Apr 2008 21:26:42 +0000 (21:26 +0000)]
Handle bad oldids more gracefully
Aaron Schulz [Sun, 20 Apr 2008 21:14:44 +0000 (21:14 +0000)]
Make a single restore link for multi-rev revisiondelete entries
Alexandre Emsenhuber [Sun, 20 Apr 2008 18:53:46 +0000 (18:53 +0000)]
(bug 13796) Show links to parent pages even if some of them are missing
Siebrand Mazeland [Sun, 20 Apr 2008 18:52:24 +0000 (18:52 +0000)]
Remove getKeys(). Unused in core and extensions in SVN.
Siebrand Mazeland [Sun, 20 Apr 2008 18:05:55 +0000 (18:05 +0000)]
No plural warnings for Korean
Siebrand Mazeland [Sun, 20 Apr 2008 18:03:37 +0000 (18:03 +0000)]
Localisation updates. Add some credits for 'be-tarask' and 'no'
Huji [Sun, 20 Apr 2008 16:54:41 +0000 (16:54 +0000)]
* Adding/updating Persian translations
Domas Mituzas [Sun, 20 Apr 2008 16:17:46 +0000 (16:17 +0000)]
ProfilerSimpleText needs loading!
Aaron Schulz [Sun, 20 Apr 2008 15:20:09 +0000 (15:20 +0000)]
NS_MEDIA fix for old parser too
Aaron Schulz [Sun, 20 Apr 2008 14:31:02 +0000 (14:31 +0000)]
Remove old nonsensical code
Aaron Schulz [Sun, 20 Apr 2008 14:24:10 +0000 (14:24 +0000)]
* Clean up IRC feed
* Remove some unused vars
Rotem Liss [Sun, 20 Apr 2008 12:38:19 +0000 (12:38 +0000)]
Update for he.
Niklas Laxström [Sun, 20 Apr 2008 10:54:56 +0000 (10:54 +0000)]
* Support prefix for message meta data
Siebrand Mazeland [Sun, 20 Apr 2008 09:36:24 +0000 (09:36 +0000)]
Localisation updates. Remove bot name in credits.
Siebrand Mazeland [Sun, 20 Apr 2008 09:24:22 +0000 (09:24 +0000)]
Localisation updates for extension messages from Betawiki (2008-04-20 11:12 CEST)
Siebrand Mazeland [Sun, 20 Apr 2008 09:16:59 +0000 (09:16 +0000)]
Add 'whatlinkshere-filters'
Jens Frank [Sun, 20 Apr 2008 08:24:49 +0000 (08:24 +0000)]
fix redirect loop
Aaron Schulz [Sat, 19 Apr 2008 21:29:19 +0000 (21:29 +0000)]
Fix NS_MEDIA link handling
Alexandre Emsenhuber [Sat, 19 Apr 2008 18:45:42 +0000 (18:45 +0000)]
Don't throw a fatal error if somebody access Special:Whatlinkshere without target page
Niklas Laxström [Sat, 19 Apr 2008 18:01:05 +0000 (18:01 +0000)]
* This function is not used anymore
Niklas Laxström [Sat, 19 Apr 2008 17:40:36 +0000 (17:40 +0000)]
* Use FormOptions in WhatLinksHere
Niklas Laxström [Sat, 19 Apr 2008 17:38:06 +0000 (17:38 +0000)]
* New helper class for dealing with forms
Bryan Tong Minh [Sat, 19 Apr 2008 17:24:38 +0000 (17:24 +0000)]
(bug 13792) Broken titles are now silently skipped in API search results.
Victor Vasiliev [Sat, 19 Apr 2008 16:46:45 +0000 (16:46 +0000)]
* (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of before
Huji [Sat, 19 Apr 2008 16:06:30 +0000 (16:06 +0000)]
* Adding/updating Persian translations (from Translatewiki, after fixing)
Niklas Laxström [Sat, 19 Apr 2008 14:36:04 +0000 (14:36 +0000)]
* Split output formatting away from the mile long function
Niklas Laxström [Sat, 19 Apr 2008 13:51:01 +0000 (13:51 +0000)]
* Shortcut for common use case
Siebrand Mazeland [Sat, 19 Apr 2008 10:57:02 +0000 (10:57 +0000)]
Localisation updates for core messages from Betawiki (2008-04-19 12:32 CEST)
Siebrand Mazeland [Sat, 19 Apr 2008 10:46:03 +0000 (10:46 +0000)]
Fix
Siebrand Mazeland [Sat, 19 Apr 2008 10:29:04 +0000 (10:29 +0000)]
Fall back to Hindi
Alexandre Emsenhuber [Sat, 19 Apr 2008 09:17:32 +0000 (09:17 +0000)]
Per r33580: Bump $wgStyleVersion
Aaron Schulz [Sat, 19 Apr 2008 05:54:26 +0000 (05:54 +0000)]
Remove distracting red dotted box. This was make some hard to read, and annoying diffs. Various VP/T complaints.
Meno25 [Fri, 18 Apr 2008 23:53:53 +0000 (23:53 +0000)]
Update
Brion Vibber [Fri, 18 Apr 2008 23:53:03 +0000 (23:53 +0000)]
Revert r33565 pending some cleanup...
A few notes:
* This seems to drop the 'action=success' page in favor of dumping all the output directly on the POST response. That's probably necessary, but tends to cause annoyances with back/forward navigation (warnings about re-POSTing data etc)
* The subpage checkbox is shown on the form based only on the target page's namespace. This means it'll show for the vast majority of, say, talk pages which don't have any subpages. To be consistent with the talk namespace, it should be kept hidden if there aren't any.
* Subpages may exist for a talk namespace while not existing for the article namespace. When moving an article with its talk, and the talk has archive subpages, it would probably make sense to do the moves -- but no check will show here due to the check only on the article space.
* There's a couple copy-pasted instances of $something ? ' checked="checked"' : '' ... since these are passed to a function looking for a boolean, they should just use the boolean $something. :)
* I see some unnecessary uses of =& ... this is a PHP 4-ism and not needed here.
* This query's kind of creepy:
SELECT /* MovePageForm::doSubmit WikiSysop */
page_id,page_namespace,page_title FROM `page` WHERE 0 = 1
* Generally speaking, there may be a _lot_ of subpages. English Wikipedia Main_Page will net you 169 total including itself, talk, and all subpages. How safe is it to move potentially thousands in one request here?
Brion Vibber [Fri, 18 Apr 2008 22:55:06 +0000 (22:55 +0000)]
Add parser regression test case for r33546 fatal error fix
Aryeh Gregor [Fri, 18 Apr 2008 20:40:47 +0000 (20:40 +0000)]
Users moving a page can now have all subpages automatically moved as well. Done by request of the people in #wikibooks; this is apparently a much-desired thing there (for, I guess, obvious reasons :) ). This took longer than I thought and is somewhat hackish in places, so it could maybe use a bit of polish.
Siebrand Mazeland [Fri, 18 Apr 2008 17:17:03 +0000 (17:17 +0000)]
Localisation updates.
* add 'nav-login-createaccount' as copy of 'userlogin'
* remove 'imgdesc'
* rebuild message file
Greg Sabino Mullane [Fri, 18 Apr 2008 16:27:57 +0000 (16:27 +0000)]
Make sure DateStyle is set properly. Thanks to Brian A. Seklecki.
Rotem Liss [Fri, 18 Apr 2008 16:17:53 +0000 (16:17 +0000)]
Update.
Aryeh Gregor [Fri, 18 Apr 2008 15:46:54 +0000 (15:46 +0000)]
* Allow the "log in / create account" link in the toolbar to have different text from Special:UserLogin title (new message 'nav-login-createaccount')
* Say "log in / create account" if an anonymous user can create an account, otherwise just "log in", consistently across skins. (Currently Monobook always says "log in / create account " and non-Monobook always says "log in".)
Rotem Liss [Fri, 18 Apr 2008 15:43:21 +0000 (15:43 +0000)]
Update.
Greg Sabino Mullane [Fri, 18 Apr 2008 15:21:24 +0000 (15:21 +0000)]
Add user_last_timestamp column to user_newtalk table
Aryeh Gregor [Fri, 18 Apr 2008 15:01:04 +0000 (15:01 +0000)]
(bug 12698) Create PAGESIZE parser function, to return the size of a page. Quite possibly this is getting out of hand; in that case, revert. Patch based on one by CBM/carl-m.
Aryeh Gregor [Fri, 18 Apr 2008 14:42:24 +0000 (14:42 +0000)]
Re-eliminate the fatal error I reintroduced in my last commit
Aryeh Gregor [Fri, 18 Apr 2008 14:34:38 +0000 (14:34 +0000)]
* Add Parser::incrementExpensiveFunctionCount() and use it in CoreParserFunctions::getcategorycount(); refactor slightly so that formatRaw is called even for 0 (do any languages format that differently? maybe if they use non-Arabic numerals?). From bug 12698, by CBM.
* Add a cache so that calling getcategorycount for the same category many times won't stupidly repeat the same query over and over. Currently an early return avoids incrementing the expensive function count in this case, so technically this makes things *slower*, not faster, but that can be tweaked if anyone cares.
Alexandre Emsenhuber [Fri, 18 Apr 2008 14:20:38 +0000 (14:20 +0000)]
Updated URL and changed lines to 80 chars
Aryeh Gregor [Fri, 18 Apr 2008 14:19:00 +0000 (14:19 +0000)]
Comments, code simplification
Aryeh Gregor [Fri, 18 Apr 2008 14:04:46 +0000 (14:04 +0000)]
Fix fatal error on calling PAGESINCATEGORY with invalid category name; Category::newFromName does not always return an object!
Siebrand Mazeland [Fri, 18 Apr 2008 12:57:51 +0000 (12:57 +0000)]
Fixes for 'listgrouprights-helppage': 'Help:' should remain as it is, as it is a page link always used with a description ('listgrouprights-link')
Rotem Liss [Fri, 18 Apr 2008 11:45:49 +0000 (11:45 +0000)]
Update.
Raimond Spekking [Fri, 18 Apr 2008 10:15:17 +0000 (10:15 +0000)]
Localisation updates Kazakh
Bug 12145, patch by AlefZet
Niklas Laxström [Fri, 18 Apr 2008 06:57:47 +0000 (06:57 +0000)]
* Expiry handling is really sub-optimal here
Niklas Laxström [Fri, 18 Apr 2008 06:31:37 +0000 (06:31 +0000)]
* Parse messages in correct language, so plurals and grammar might even work correctly
* Deprecated one unneeded parameter in one message
Shinjiman [Fri, 18 Apr 2008 02:40:41 +0000 (02:40 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aryeh Gregor [Fri, 18 Apr 2008 00:29:26 +0000 (00:29 +0000)]
Clean up RELEASE-NOTES some
Aryeh Gregor [Fri, 18 Apr 2008 00:23:52 +0000 (00:23 +0000)]
* Do not display empty columns on Special:UserRights if all groups are changeable or all unchangeable.
* On Special:UserRights, when you can add a group you can't remove or remove one you can't add, a notice is printed to warn you. This is to avoid confusion like that exhibited at bug 13503; it's a fairly unusual situation in MediaWiki to be unable to reverse your own actions, so a notice seems to be appropriate. (I changed the userrights-groups-help message to point out the meaning of the extra markup; should it be renamed? It's a common and kind of annoying problem, we should think up some consistent way of versioning messages. Start adding numbers to the end?)
Meno25 [Fri, 18 Apr 2008 00:18:01 +0000 (00:18 +0000)]
Update
Siebrand Mazeland [Thu, 17 Apr 2008 23:35:29 +0000 (23:35 +0000)]
Localisation updates for core messages from Betawiki (2008-04-18 01:17 CEST)
Siebrand Mazeland [Thu, 17 Apr 2008 23:16:51 +0000 (23:16 +0000)]
Localisation updates for core messages from Betawiki
* magic words, namespace names, special pages aliases, skin names
Siebrand Mazeland [Thu, 17 Apr 2008 23:06:07 +0000 (23:06 +0000)]
Fallback to Danish