Aaron Schulz [Tue, 16 Sep 2008 18:39:13 +0000 (18:39 +0000)]
Avoid undefined var errors if data fetch fails
Alex Z [Tue, 16 Sep 2008 18:31:55 +0000 (18:31 +0000)]
*Re-implement r40723 in Article::view()
*Slight fix to EditPage following r40899
Aaron Schulz [Tue, 16 Sep 2008 17:08:08 +0000 (17:08 +0000)]
* Make sure we have the right article ID, not slave lagged. (bug 8072)
* Make FileDeleteForm use hook properly
Aaron Schulz [Tue, 16 Sep 2008 16:55:49 +0000 (16:55 +0000)]
minor refactoring
Rotem Liss [Tue, 16 Sep 2008 15:56:03 +0000 (15:56 +0000)]
Localization: Split the delete, rollback and protect messages into three sections (no change in the text).
Rotem Liss [Tue, 16 Sep 2008 15:50:40 +0000 (15:50 +0000)]
Localization update.
Rotem Liss [Tue, 16 Sep 2008 15:50:28 +0000 (15:50 +0000)]
Fix.
Aaron Schulz [Tue, 16 Sep 2008 13:29:01 +0000 (13:29 +0000)]
* Deal with new page move scenario (bug 3481)
* Move cat count stuff down in transaction for bug 13921
Aaron Schulz [Tue, 16 Sep 2008 12:47:44 +0000 (12:47 +0000)]
* Remove unneeded code
* Whitespace
Aaron Schulz [Tue, 16 Sep 2008 12:06:40 +0000 (12:06 +0000)]
This is indexed now, do live. (bug 3945)
Siebrand Mazeland [Tue, 16 Sep 2008 11:29:29 +0000 (11:29 +0000)]
Localisation updates for core messages from Betawiki (2008-09-16 12:46 CEST)
Siebrand Mazeland [Tue, 16 Sep 2008 11:27:44 +0000 (11:27 +0000)]
Add 'protect-existing-expiry'
Aaron Schulz [Tue, 16 Sep 2008 10:39:30 +0000 (10:39 +0000)]
whitespace tweaks
Tim Starling [Tue, 16 Sep 2008 09:42:31 +0000 (09:42 +0000)]
Revert r40723, and associated i18n. Unexpected side effects in Article::getContent(). Should be implemented in Article::view() if it's implemented at all.
Tim Starling [Tue, 16 Sep 2008 06:13:31 +0000 (06:13 +0000)]
Fixed documentation. Don't use empty() to determine if an array has zero length, that's not what it does.
Tim Starling [Tue, 16 Sep 2008 05:56:43 +0000 (05:56 +0000)]
Revert r40627, r40551, r40536, r40535 (mark non-autoconfirmed users in RC and watchlist with an orange asterisk). Potentially slow, potentially controversial, so it needs a configuration option to enable/disable it.
Tim Starling [Tue, 16 Sep 2008 05:21:10 +0000 (05:21 +0000)]
Revert revert r40717 of my formatting change r40416.
Tim Starling [Tue, 16 Sep 2008 04:59:49 +0000 (04:59 +0000)]
* Reverted code style change made by Aaron, "if (" -> "if("
* Use the convenience function selectRow() if you want a single row
* Move existence check for showDeletionLog() back to the caller, functions should do what their name says
* Revert r40674, $createRestrictions needs to be translated into some human language before it can be passed into a message. Also, note that "$a != array()" is equivalent to conversion to boolean if you know that the variable is an array.
Tim Starling [Tue, 16 Sep 2008 04:09:06 +0000 (04:09 +0000)]
In protect.js:
* Use fragments of English when naming things, instead of a jumble of words vaguely related to the topic
* Use verbs in function names that are related to what the functions do
* Move all functions into an object, to avoid prefixes that look like part of a nonsensical sentence
* Fixed a bug whereby the "move" controls would not be unlocked if the expiry times differed. Refactored the relevant code.
* When the user types something into the "other time" box, automatically select "other time" from the drop-down list.
In ProtectionForm:
* Use the new protect.js interface
* Use accessor instead of Title member variable mRestrictionsExpiry
* Added an "existing expiry" option to the expiry drop-down list, instead of putting the ISO 8601 time in the "other" box
* Formatting
* Fixed convoluted expiry time data flow, documented
* s/List/Selection, for variables containing a value that the user has selected from a list
X! [Tue, 16 Sep 2008 03:58:18 +0000 (03:58 +0000)]
(bug 15617)
$wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses, instead of hardcoding rss and atom.
Patch by Juliano F. Ravasi.
Aaron Schulz [Tue, 16 Sep 2008 01:38:03 +0000 (01:38 +0000)]
Undefined var error fix
Siebrand Mazeland [Mon, 15 Sep 2008 20:44:24 +0000 (20:44 +0000)]
* Fix common spelling error (seperate -> separate)
Siebrand Mazeland [Mon, 15 Sep 2008 20:38:27 +0000 (20:38 +0000)]
* Fix common spelling error (seperate -> separate)
Aaron Schulz [Mon, 15 Sep 2008 19:27:32 +0000 (19:27 +0000)]
Remove syntax typo that made line dupes
Rotem Liss [Mon, 15 Sep 2008 18:58:43 +0000 (18:58 +0000)]
Localization update for he.
Aaron Schulz [Mon, 15 Sep 2008 18:50:54 +0000 (18:50 +0000)]
Revert r40808. No need to make log_params and output uglier due to edit comment limitations.
Brion Vibber [Mon, 15 Sep 2008 18:33:36 +0000 (18:33 +0000)]
Revert r40838 -- patch is very scary and builds its links bizarrely
Rotem Liss [Mon, 15 Sep 2008 18:09:04 +0000 (18:09 +0000)]
Localization update for he.
* Note: Some updates were already done and were overrided by BetaWiki updates. Please do not override updates anymore.
Brion Vibber [Mon, 15 Sep 2008 17:51:53 +0000 (17:51 +0000)]
Revert r40837, r40839, r40840 (bug 332 - broken UTF-8)
Char-by-char scan of all output will perform very poorly and fails to address the root problem of bad internal treatment of strings.
Chad Horohoe [Mon, 15 Sep 2008 17:40:12 +0000 (17:40 +0000)]
Minor cleanup (docs, visibilities, formatting)
Aaron Schulz [Mon, 15 Sep 2008 15:51:45 +0000 (15:51 +0000)]
Clean up OldChangesListRecentChangesLine hooks some. Better if triggers before li tag additions.
Siebrand Mazeland [Mon, 15 Sep 2008 11:50:15 +0000 (11:50 +0000)]
Put back a message I somehow accidentally removed. Thanks to Raimond for noticing.
Siebrand Mazeland [Mon, 15 Sep 2008 10:59:37 +0000 (10:59 +0000)]
Remove more leftovers from r35950
Daniel Kinzler [Mon, 15 Sep 2008 09:53:52 +0000 (09:53 +0000)]
bug #15602: use echo for error messages if STDERR is undefined
Siebrand Mazeland [Mon, 15 Sep 2008 09:28:17 +0000 (09:28 +0000)]
Remove leftovers from r35950 (reverted addition of special page Missingfiles) *grumble*
Tim Starling [Mon, 15 Sep 2008 06:37:57 +0000 (06:37 +0000)]
Revert r40712, replace_variables is correct.
Tim Starling [Mon, 15 Sep 2008 05:34:32 +0000 (05:34 +0000)]
Fix $user parameter to Article::doEdit(), which was broken for page creation (worked only for page updates).
Fran Rogers [Mon, 15 Sep 2008 05:04:16 +0000 (05:04 +0000)]
Reverted r40771 for now - causes problems with CentralAuth
Fran Rogers [Mon, 15 Sep 2008 01:37:50 +0000 (01:37 +0000)]
Release notes for bug #332
Fran Rogers [Mon, 15 Sep 2008 01:27:22 +0000 (01:27 +0000)]
Addendum to r40837: only validate/clean the body text, as we can assume the rest of the skin is valid.
X! [Mon, 15 Sep 2008 01:26:32 +0000 (01:26 +0000)]
(bug 14638)
Special:Blockip now provides a link to the block log if the user has been blocked more than 10 times.
Patch by Matt Johnston.
Fran Rogers [Mon, 15 Sep 2008 00:42:17 +0000 (00:42 +0000)]
Fix for bug #332 - all UTF-8 output is now cleaned of invalid forms as defined by RFC 3629. All output from MediaWiki should now be valid UTF-8 in all circumstances.
Siebrand Mazeland [Sun, 14 Sep 2008 20:19:00 +0000 (20:19 +0000)]
Localisation updates for core messages from Betawiki
* Add messages for LinkSearch (follow up for r40830).
Rotem Liss [Sun, 14 Sep 2008 20:07:23 +0000 (20:07 +0000)]
Localization update.
Siebrand Mazeland [Sun, 14 Sep 2008 20:06:05 +0000 (20:06 +0000)]
Add special page names for LinkSearch (follow up for r40830).
Siebrand Mazeland [Sun, 14 Sep 2008 19:51:25 +0000 (19:51 +0000)]
* Add functionality of extension LinkSearch to core
* Update release notes for adding of Special:Log/newusers
Aryeh Gregor [Sun, 14 Sep 2008 19:42:25 +0000 (19:42 +0000)]
Add signup link to nosuchusertext
Part of bug 6702, "Default system messages should be improved". Suggested by Michael De La Rue.
Siebrand Mazeland [Sun, 14 Sep 2008 18:41:33 +0000 (18:41 +0000)]
Localisation updates for core messages from Betawiki (2008-09-14 20:32 CEST)
Aryeh Gregor [Sun, 14 Sep 2008 18:33:31 +0000 (18:33 +0000)]
Fix whitespace
Meno25 [Sun, 14 Sep 2008 18:12:11 +0000 (18:12 +0000)]
Update files
Rotem Liss [Sun, 14 Sep 2008 14:36:28 +0000 (14:36 +0000)]
Localization: Prefer showing the date before the time, like in lastmodifiedat (no change in parameters).
Rotem Liss [Sun, 14 Sep 2008 14:34:12 +0000 (14:34 +0000)]
Localization: Keep date as the first parameter, before time. English localization assumes so, too.
Rotem Liss [Sun, 14 Sep 2008 14:25:21 +0000 (14:25 +0000)]
Localization update.
Thomas Bleher [Sun, 14 Sep 2008 14:24:54 +0000 (14:24 +0000)]
Escape $1 in message (was PHP syntax error)
Aaron Schulz [Sun, 14 Sep 2008 12:25:53 +0000 (12:25 +0000)]
Don't throw fatals for bogus feed types (bug 15596)
Siebrand Mazeland [Sun, 14 Sep 2008 09:06:14 +0000 (09:06 +0000)]
(bug 15569) Fix Russian commafy function. Patch by Alexander Sigachov.
Alex Z [Sun, 14 Sep 2008 04:49:22 +0000 (04:49 +0000)]
(bug 15598) Special:Newpages default limit uses user preference for recentchanges limit instead of hardcoded 50.
Ilmari Karonen [Sun, 14 Sep 2008 04:28:16 +0000 (04:28 +0000)]
Make sure no outgoing links are listed for nonexistent pages. Used to look for links from article 0, which could produce confusing results if the database contained any (broken) records that actually matched such a query.
Alex Z [Sun, 14 Sep 2008 03:02:02 +0000 (03:02 +0000)]
* Update title protection to be more consistent with regular protection
* Make protection log output somewhat more consistent.
Alex Z [Sun, 14 Sep 2008 01:11:54 +0000 (01:11 +0000)]
Allow cascading protection to be turned off without changing other settings
Aryeh Gregor [Sun, 14 Sep 2008 00:49:52 +0000 (00:49 +0000)]
Make sure to pass the right types to LinkBegin
If Linker::link() is passed an invalid Title, now that it fails gracefully, we should fail gracefully before passing over to the hook. In theory some hooks might want to override this, but it's unlikely, because any caller that passes a non-Title is probably buggy and should be fixed anyway. This saves unexpected fatal errors and/or having to add "if( !$target instanceof Title ) return true;" to the beginning of every function hooking into this.
Also ensure that $options is an array before passing to the hook, just for convenience.
Siebrand Mazeland [Sat, 13 Sep 2008 23:59:43 +0000 (23:59 +0000)]
* split time and date in 'emailauthenticated', and 'undelete-revision', retaiming the old parameter for backward compatibility
* move some code in SpecialUndelete.php a little lower as that seems a more logical place.
Aaron Schulz [Sat, 13 Sep 2008 20:41:58 +0000 (20:41 +0000)]
Revert r40792. Filesort is gone, but table scan is still there for time range.
Danny B [Sat, 13 Sep 2008 18:29:26 +0000 (18:29 +0000)]
+ documentation
Roan Kattouw [Sat, 13 Sep 2008 18:10:23 +0000 (18:10 +0000)]
Reverting r40790 and fixing the filesort properly (by adding an extra ORDER BY clause).
Aaron Schulz [Sat, 13 Sep 2008 17:56:07 +0000 (17:56 +0000)]
I swear this table scan filesort was disabled before. Disabling again...thanks to Vyznev for pointing this out.
Rotem Liss [Sat, 13 Sep 2008 17:38:58 +0000 (17:38 +0000)]
Localization update for he.
Rotem Liss [Sat, 13 Sep 2008 16:25:23 +0000 (16:25 +0000)]
Fix.
Aaron Schulz [Sat, 13 Sep 2008 16:00:38 +0000 (16:00 +0000)]
$msg not defined...use $text?
Aaron Schulz [Sat, 13 Sep 2008 15:04:41 +0000 (15:04 +0000)]
* Fix edit comment spacing
* Code spacing
Aaron Schulz [Sat, 13 Sep 2008 09:24:51 +0000 (09:24 +0000)]
make "other time" chain properly with JS
Siebrand Mazeland [Sat, 13 Sep 2008 08:55:52 +0000 (08:55 +0000)]
Localisation updates for core messages from Betawiki
* also includes messages previously part of extension Newuserlog
Aaron Schulz [Sat, 13 Sep 2008 08:53:07 +0000 (08:53 +0000)]
Cleanup for r40770:
* Clean up protection form
* Fix syntax typo (use '==', not '=')
* Fix $2 message in movepage cascade warning
Siebrand Mazeland [Sat, 13 Sep 2008 08:32:11 +0000 (08:32 +0000)]
Cleanup after r40723, r40769, and r40770. C'mon guys. Messages need to be registered and core does not have feature descriptions.
Shinjiman [Sat, 13 Sep 2008 08:07:55 +0000 (08:07 +0000)]
* Fixed the HTTP accept language string detection length in LanguageConverter.php, instead of the fixed length language codes.
patch by PhiLiP
Shinjiman [Sat, 13 Sep 2008 07:35:00 +0000 (07:35 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Chad Horohoe [Sat, 13 Sep 2008 06:50:56 +0000 (06:50 +0000)]
Clean up some of the i18n stuff in HTMLDiff. Still not perfect, but better.
X! [Sat, 13 Sep 2008 06:27:17 +0000 (06:27 +0000)]
(bug 12284) Special:Preferences now sets a returnto parameter on the link to Special:Userlogin.
Patch by Marooned.
Chad Horohoe [Sat, 13 Sep 2008 06:21:18 +0000 (06:21 +0000)]
A few misc. docs here and there.
Fran Rogers [Sat, 13 Sep 2008 05:48:11 +0000 (05:48 +0000)]
#15577: Moved spreading of autoblocks from User::isBlocked() et al to ::setCookies() and (if the session doesn't exist, but token cookie does) ::loadFromSession(). Autoblocks will now be spread predictably at the beginning of a session, instead of at random points as a side effect of testing for blocks.
Alex Z [Sat, 13 Sep 2008 05:33:24 +0000 (05:33 +0000)]
(bug 12650) Make it possible to enter separate expiry times for each restriction type.
Aaron Schulz [Sat, 13 Sep 2008 00:29:33 +0000 (00:29 +0000)]
Add newuser log to core
Bryan Tong Minh [Fri, 12 Sep 2008 22:26:07 +0000 (22:26 +0000)]
Don't access $_SESSION in UploadBase::stashSession.
Alexandre Emsenhuber [Fri, 12 Sep 2008 22:24:15 +0000 (22:24 +0000)]
and pass the reason too *stab*
Alexandre Emsenhuber [Fri, 12 Sep 2008 22:22:32 +0000 (22:22 +0000)]
$this is better that $wgOut :P
Chad Horohoe [Fri, 12 Sep 2008 22:16:14 +0000 (22:16 +0000)]
Needs mw- prefix.
Chad Horohoe [Fri, 12 Sep 2008 22:00:57 +0000 (22:00 +0000)]
Add a unique identifier for read-only pages.
Aryeh Gregor [Fri, 12 Sep 2008 21:08:19 +0000 (21:08 +0000)]
(bug 6702) Improve default English messages
Two more tweaks based on suggestions by Michael De La Rue on the bug.
Aaron Schulz [Fri, 12 Sep 2008 17:01:41 +0000 (17:01 +0000)]
Don't hang up page views with jobs
Shinjiman [Fri, 12 Sep 2008 16:10:10 +0000 (16:10 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Fri, 12 Sep 2008 15:12:13 +0000 (15:12 +0000)]
fix typo
Aaron Schulz [Fri, 12 Sep 2008 15:10:27 +0000 (15:10 +0000)]
Use wfEscapeShellArg() since it works on windows (bug 13518)
Aaron Schulz [Fri, 12 Sep 2008 15:03:46 +0000 (15:03 +0000)]
Tweak transaction for bug 13039
Siebrand Mazeland [Fri, 12 Sep 2008 12:53:28 +0000 (12:53 +0000)]
Localisation updates for core messages from Betawiki (2008-09-12 14:20 CEST)
Siebrand Mazeland [Fri, 12 Sep 2008 12:51:37 +0000 (12:51 +0000)]
Remove Filipino (Tagalog is a macro language, and a language (ISO 639-3 tgl), Filipino is a language (fil). See ethnologue.com/show_family.asp?subid=92513 for more information.
Aaron Schulz [Fri, 12 Sep 2008 09:37:31 +0000 (09:37 +0000)]
Redo RefreshLinksJob2 commit with trivial notice fix.
Siebrand Mazeland [Fri, 12 Sep 2008 08:06:00 +0000 (08:06 +0000)]
Revert 40741. Causes "Division by zero in includes/LinksUpdate.php on line 210"
Aaron Schulz [Fri, 12 Sep 2008 04:26:33 +0000 (04:26 +0000)]
job-queue insert should no longer fail for highly used templates (bug 5527)
Raimond Spekking [Fri, 12 Sep 2008 04:06:23 +0000 (04:06 +0000)]
Fix weird typo from r40734
Chad Horohoe [Fri, 12 Sep 2008 02:45:36 +0000 (02:45 +0000)]
Update docs to caution against use of create_function(). Per bug 15476.