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
Aryeh Gregor [Thu, 17 Apr 2008 21:27:59 +0000 (21:27 +0000)]
Allow \C and \Q as TeX commands to match \R, \N, \Z, because the inconsistency annoys me. Patterned off r22477, so I assume this will work, although I guess not on Wikimedia until someone recompiles (which is not exactly critical).
Aaron Schulz [Thu, 17 Apr 2008 21:17:28 +0000 (21:17 +0000)]
Add user_last_timestamp field for diff from last view links. Discussed timestamp use for this w/ brion.
Aaron Schulz [Thu, 17 Apr 2008 21:06:31 +0000 (21:06 +0000)]
revisiondeletion log clean up
Aaron Schulz [Thu, 17 Apr 2008 20:42:29 +0000 (20:42 +0000)]
All or nothing
Alexandre Emsenhuber [Thu, 17 Apr 2008 19:56:31 +0000 (19:56 +0000)]
This is a bit weired but... Don't throw a MySQL error if revision table is empty
Niklas Laxström [Thu, 17 Apr 2008 19:41:49 +0000 (19:41 +0000)]
* Clean up
* Move one unused message to extension
Robert Leverington [Thu, 17 Apr 2008 19:20:27 +0000 (19:20 +0000)]
Supress errors when setting the PHP timeout so output isn't ugly when safe mode is enabled.
Niklas Laxström [Thu, 17 Apr 2008 19:16:27 +0000 (19:16 +0000)]
* Clean up a little
Brion Vibber [Thu, 17 Apr 2008 19:11:36 +0000 (19:11 +0000)]
* (bug 13768) pt_title field encoding fixed
pt_title field in page_protections was added without a binary marker when used on non-binary schema.
This means you get false matches for ASCII case-insensitive bits, and probably for horribly wrong UTF-8 mish-mashes as well.
Adds an updated to fix the field's encoding to binary, matching all our other title keys,
so you can join and get correct matches.
Revert r33473, which seems to assume that pt_title is supposed to be case-insensitive.
(Even if it was, it woudln't work correctly as written.)
Niklas Laxström [Thu, 17 Apr 2008 18:56:06 +0000 (18:56 +0000)]
* Double-escaping, checkLabel, fixed another label
* Do we really need reset button here?
Brion Vibber [Thu, 17 Apr 2008 18:52:20 +0000 (18:52 +0000)]
Revert r33478 for now; I don't much like the field name user_timestamp, it's very unclear. Timestamp may not be ideal to build a diff link with, either.
Aryeh Gregor [Thu, 17 Apr 2008 18:23:28 +0000 (18:23 +0000)]
Remember to update RELEASE-NOTES!
Raimond Spekking [Thu, 17 Apr 2008 18:15:11 +0000 (18:15 +0000)]
Fix error from r33495: class -> id. Thanks to Nikerabbit.
Niklas Laxström [Thu, 17 Apr 2008 18:15:04 +0000 (18:15 +0000)]
* Improve styles for prefences
Robert Leverington [Thu, 17 Apr 2008 18:13:54 +0000 (18:13 +0000)]
Use sitemap.org 0.9 schema instead of Google 0.84 schema. Fixes bug 13527.
Robert Leverington [Thu, 17 Apr 2008 18:02:05 +0000 (18:02 +0000)]
Slightly modified version of attachment 4606 by Sergey Chernyshev, fixes bug 12860 and adds a new configuration variable $wgSitemapNamespaces to
allow specification of which namespaces a sitemap will be generated for. Defaults to false, indicating all namespaces should have a sitemap generated
for them.
Robert Leverington [Thu, 17 Apr 2008 17:46:30 +0000 (17:46 +0000)]
Normalising comment spacing.
Raimond Spekking [Thu, 17 Apr 2008 17:26:58 +0000 (17:26 +0000)]
* Tweaks for sections date/time and search of SpecialPreferences:
** Fix aligning for RTL wikis: Use existing CSS classes
** Move hardcoded superscript number 1 into 'timezonetext' message. The counterpart is in 'timezoneoffset' since ages.
** Use XML functions for these sections
Aryeh Gregor [Thu, 17 Apr 2008 15:59:49 +0000 (15:59 +0000)]
The problem also applies to all the other regex special chars: try it out with ., |, etc. Use preg_quote().
Greg Sabino Mullane [Thu, 17 Apr 2008 15:38:26 +0000 (15:38 +0000)]
Escape forward slashes in search terms, otherwise PHP thinks the regex has ended and starts treating the rest of the characters in the string as PCRE modifiers.
Robert Stojnić [Thu, 17 Apr 2008 15:11:42 +0000 (15:11 +0000)]
Use content language for search prefixes.
Aaron Schulz [Thu, 17 Apr 2008 15:03:40 +0000 (15:03 +0000)]
Remove unused message
Aaron Schulz [Thu, 17 Apr 2008 14:54:54 +0000 (14:54 +0000)]
Fix description
Aaron Schulz [Thu, 17 Apr 2008 14:48:28 +0000 (14:48 +0000)]
Remove temp $wgAllowLogDeletion var
Aaron Schulz [Thu, 17 Apr 2008 14:42:07 +0000 (14:42 +0000)]
Add user_timestamp for diff since last view for new messages.
Alexandre Emsenhuber [Thu, 17 Apr 2008 13:13:51 +0000 (13:13 +0000)]
Remove unused global declaration of $wgCookiePrefix in User::clearCookie()
Roan Kattouw [Thu, 17 Apr 2008 12:58:20 +0000 (12:58 +0000)]
(bug 13768) Handling case-insensitivity of pt_title in prop=info
Rotem Liss [Thu, 17 Apr 2008 12:30:48 +0000 (12:30 +0000)]
Update for he.
Raimond Spekking [Thu, 17 Apr 2008 12:01:54 +0000 (12:01 +0000)]
Lets define all default usergroups for i18n purposes
Andrew Garrett [Thu, 17 Apr 2008 10:28:23 +0000 (10:28 +0000)]
Did this already!
Raimond Spekking [Thu, 17 Apr 2008 09:58:32 +0000 (09:58 +0000)]
* Use existing CSS classes for input form aligning
* Fix double escaping of the token
* Make a proper label when form is called w/o a valid block id
* Make the length of both input fields identical. I see no reason why to shorten one.
Siebrand Mazeland [Thu, 17 Apr 2008 06:56:36 +0000 (06:56 +0000)]
Localisation updates for core messages from Betawiki (2008-04-17 08:47 CEST)
Brion Vibber [Wed, 16 Apr 2008 23:06:51 +0000 (23:06 +0000)]
Apply $wgCookieHttpOnly setting to the session cookie as well
Brion Vibber [Wed, 16 Apr 2008 22:59:13 +0000 (22:59 +0000)]
* Clean up cookie setting code in User
* Don't clear the token cookie when mailing a password -- this may belong to a different user entirely! If it's the same user, then no harm; the old cookie just won't have any affect. If they're making someone else's account, this will avoid clearing their own token.
Aaron Schulz [Wed, 16 Apr 2008 21:07:39 +0000 (21:07 +0000)]
* Move affectedRows count up
* Shouldn't need to pass db object here
* Some code style tweaks
Alexandre Emsenhuber [Wed, 16 Apr 2008 20:51:13 +0000 (20:51 +0000)]
Remove usage of deprecated function, thanks to Siebrand for reporting it.
Raimond Spekking [Wed, 16 Apr 2008 20:38:57 +0000 (20:38 +0000)]
Use existing CSS classes for input form aligning
Niklas Laxström [Wed, 16 Apr 2008 20:00:51 +0000 (20:00 +0000)]
ialex> nikerabbit: ++$wgStyleVersion
Niklas Laxström [Wed, 16 Apr 2008 19:58:31 +0000 (19:58 +0000)]
* (bug 13632) Show white space differences with wikidiff2 too
Aaron Schulz [Wed, 16 Apr 2008 18:49:43 +0000 (18:49 +0000)]
Fix double escaping
Aaron Schulz [Wed, 16 Apr 2008 18:44:15 +0000 (18:44 +0000)]
More revision delete cleanup
Robert Stojnić [Wed, 16 Apr 2008 18:25:35 +0000 (18:25 +0000)]
Even a bit nicer, the return there should be unreachable code.
Brion Vibber [Wed, 16 Apr 2008 18:14:45 +0000 (18:14 +0000)]
js tweak - use var for local variable; skip processing if not to be found
Siebrand Mazeland [Wed, 16 Apr 2008 18:09:40 +0000 (18:09 +0000)]
Localisation updates for core messages from Betawiki (2008-04-16 20:02 CEST)
Aaron Schulz [Wed, 16 Apr 2008 18:05:54 +0000 (18:05 +0000)]
Fix suppress log revert links
Robert Stojnić [Wed, 16 Apr 2008 18:04:55 +0000 (18:04 +0000)]
Fix arrow keys in Internet Explorer, seems I overrefactored this method :P
Brion Vibber [Wed, 16 Apr 2008 17:40:47 +0000 (17:40 +0000)]
Cleanup for r33429 - fix double-escaping
Aaron Schulz [Wed, 16 Apr 2008 17:34:52 +0000 (17:34 +0000)]
No need to pass db around, should be the same