Aryeh Gregor [Fri, 25 Jul 2008 20:16:24 +0000 (20:16 +0000)]
Move more initialization to member variable defaults. (The Title constructor now actually does nothing, but I left it for the comment.)
Aryeh Gregor [Fri, 25 Jul 2008 19:36:13 +0000 (19:36 +0000)]
Change a few hardcoded select() parameters (one of which was actually incorrect) to __METHOD__.
Aryeh Gregor [Fri, 25 Jul 2008 19:19:11 +0000 (19:19 +0000)]
Convert subpage move to use TitleArray, just for demonstration. It's only a few lines' difference in this case, with no actual effect on anything. Finding places where *arrays* of Titles are used would be more fruitful.
Aryeh Gregor [Fri, 25 Jul 2008 19:14:30 +0000 (19:14 +0000)]
Copy-paste documentation for copy-pasted hook, too.
Aryeh Gregor [Fri, 25 Jul 2008 19:03:53 +0000 (19:03 +0000)]
Add TitleArray, a straight rip-off of UserArray. I couldn't figure out how to make them both inherit from ObjectArray or anything, so code duplication works for now.
Jack Phoenix [Fri, 25 Jul 2008 18:11:43 +0000 (18:11 +0000)]
new hook, ConfirmEmailComplete
Alexandre Emsenhuber [Fri, 25 Jul 2008 18:06:29 +0000 (18:06 +0000)]
Per r38036: also fix FormOptions
Rotem Liss [Fri, 25 Jul 2008 17:00:06 +0000 (17:00 +0000)]
Credits:
* I'm already in the list, 4 lines above.
* Alphabetic order.
* Removing trailing whitespace.
Bryan Tong Minh [Fri, 25 Jul 2008 16:52:13 +0000 (16:52 +0000)]
* alnokta = Mohamed Magdy
* Add Rotem Liss per r38033
Alexandre Emsenhuber [Fri, 25 Jul 2008 16:46:43 +0000 (16:46 +0000)]
(bug 14659) Passing the default limit param to Special:Recentchanges no more falls back to the user option
Krzysztof Krzyzaniak [Fri, 25 Jul 2008 15:39:12 +0000 (15:39 +0000)]
avoid php FATAL error when Parser_OldPP is used
Aryeh Gregor [Fri, 25 Jul 2008 14:30:54 +0000 (14:30 +0000)]
Fix spelling of my name.
Rotem Liss [Fri, 25 Jul 2008 13:59:24 +0000 (13:59 +0000)]
API change: Registration time of users registered before the DB field was created is now shown as empty instead of the current time.
Shinjiman [Fri, 25 Jul 2008 13:39:43 +0000 (13:39 +0000)]
Update the Chinese conversion tables
Chad Horohoe [Fri, 25 Jul 2008 13:39:00 +0000 (13:39 +0000)]
Add some docs on how far back wfLoadExtensionMessages() goes
Siebrand Mazeland [Fri, 25 Jul 2008 08:50:35 +0000 (08:50 +0000)]
Localisation updates for core messages from Betawiki (2008-07-25 10:43 CEST)
Robert Leverington [Fri, 25 Jul 2008 07:52:34 +0000 (07:52 +0000)]
* The line regarding otehr contributors should read "CREDITS" rather than "AUTHORS".
Chad Horohoe [Fri, 25 Jul 2008 05:57:07 +0000 (05:57 +0000)]
Add CREDITS file, listed all those who've committed something to trunk since the 1.13 branch. Need patch submitters (any thus far?) and translators.
Aryeh Gregor [Fri, 25 Jul 2008 01:27:51 +0000 (01:27 +0000)]
Move some member variable initialization to the declarations and out of constructors. This is better style and less error-prone: OutputPage::$mIsPrintable was first being set to true and then to false in the constructor, and $mAllowUserJs and $mLinkColours are missing defaults entirely. Also, Tim said there's some lazy-loading or shared memory or something if it's done this way, so it might be a performance boost.
Mohamed Magdy [Thu, 24 Jul 2008 23:31:06 +0000 (23:31 +0000)]
Add note about $wgTranslateNumerals
Greg Sabino Mullane [Thu, 24 Jul 2008 22:28:29 +0000 (22:28 +0000)]
Add partial index for common recentchanges query.
Mohamed Magdy [Thu, 24 Jul 2008 21:54:06 +0000 (21:54 +0000)]
Set $wgTranslateNumerals to false by default.
Aryeh Gregor [Thu, 24 Jul 2008 18:10:35 +0000 (18:10 +0000)]
Break at 80 columns in some comments. Also improve documentation for $wgArticleRobotPolicies.
Aryeh Gregor [Thu, 24 Jul 2008 18:02:20 +0000 (18:02 +0000)]
Instead of last commit, use $wgExemptFromUserRobotsControl to control __INDEX__/__NOINDEX__. This defaults to null, which means $wgContentNamespaces. Pages whose namespaces are in the array will be unaffected by __INDEX__/__NOINDEX__. This will prevent serious vandalism, so the feature is again enabled by default (with content namespaces exempted).
As was pointed out, it's probably better anyway that the vandal noindex a page and have nothing turn up in searches if the search engine arrives at that exact time, than to have the vandal replace the page with "ARTICLE SUBJECT IS A POOPY-HEAD" and have that turn up in searches if the search engine arrives at that exact time. :) At any rate, this should solve the issue.
Aryeh Gregor [Thu, 24 Jul 2008 17:40:16 +0000 (17:40 +0000)]
Implement $wgAllowUserRobotsControl to control whether the new __INDEX__ and __NOINDEX__ magic words work. False by default until this is thought out a little better: there are major possibilities for vandalism here.
Chad Horohoe [Thu, 24 Jul 2008 17:14:43 +0000 (17:14 +0000)]
Allow local caching of thumbs from remote APIs. Still highly hackish and should only be used if you're on crack.
Tim Starling [Thu, 24 Jul 2008 16:25:19 +0000 (16:25 +0000)]
* Fix bug 14904: fragments lost when redirects are fixed.
* Add $fragment parameter to Title::makeTitle() and friends
Tim Starling [Thu, 24 Jul 2008 12:51:26 +0000 (12:51 +0000)]
Syntax error
Tim Starling [Thu, 24 Jul 2008 12:45:23 +0000 (12:45 +0000)]
Workaround for APC bug. Not fully isolated, but AutoLoader::$localClasses is implicated by the C stack frame at the time of the crash.
Chad Horohoe [Thu, 24 Jul 2008 12:37:07 +0000 (12:37 +0000)]
bug 14907 - DatabasePostgres::fieldType() wasn't defined, fatal errors abound.
Rotem Liss [Thu, 24 Jul 2008 09:22:08 +0000 (09:22 +0000)]
Localization update for he.
Siebrand Mazeland [Thu, 24 Jul 2008 08:55:11 +0000 (08:55 +0000)]
Localisation updates for core messages from Betawiki (2008-07-24 10:48 CEST)
Shinjiman [Thu, 24 Jul 2008 00:26:04 +0000 (00:26 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Huji [Wed, 23 Jul 2008 20:03:40 +0000 (20:03 +0000)]
Localisation updates: Adding/updating Persian translations
Aryeh Gregor [Wed, 23 Jul 2008 19:49:46 +0000 (19:49 +0000)]
(bug 8068) New __INDEX__ and __NOINDEX__ magic words allow control of search engine indexing on a per-article basis. Remarks:
* Currently __INDEX__ will override __NOINDEX__ regardless of their relative positions, due to the way things are written. Instead, the last one on the page should win. This should be pretty easy to fix.
* __INDEX__ and __NOINDEX__ override $wgArticleRobotPolicies. This is almost certainly incorrect, but it's not totally obvious how to fix it, because of the way the code is structured. Probably not a big deal, but should probably be fixed at some point.
* Anyone can add and remove the magic words, and there's no config option to disable them. It's not obvious whether this is okay or not. It would be a one-line change to OutputPage.php to have a config option to ignore the magic words, maybe per-namespace or who knows what.
Aryeh Gregor [Wed, 23 Jul 2008 19:27:13 +0000 (19:27 +0000)]
Revert last commit for a moment, committed lots of stuff I didn't mean to.
Aryeh Gregor [Wed, 23 Jul 2008 19:25:48 +0000 (19:25 +0000)]
Follow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy in extensions.
Aryeh Gregor [Wed, 23 Jul 2008 19:05:43 +0000 (19:05 +0000)]
Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in OutputPage to allow index and follow policy to be set separately. Also now validates input to setRobotPolicy(). And renamed setRobotpolicy to setRobotPolicy, too. If anyone was accessing $mRobotpolicy directly they're out of luck, though.
Aryeh Gregor [Wed, 23 Jul 2008 17:53:27 +0000 (17:53 +0000)]
Documentation: note that $wgNamespaceRobotPolicies can't change the default for NS_SPECIAL.
Tim Starling [Wed, 23 Jul 2008 16:17:56 +0000 (16:17 +0000)]
More updates for 1.14
Alexandre Emsenhuber [Wed, 23 Jul 2008 16:13:07 +0000 (16:13 +0000)]
$wgVersion too
Tim Starling [Wed, 23 Jul 2008 16:11:57 +0000 (16:11 +0000)]
HISTORY/RELEASE-NOTES to 1.14
Tim Starling [Wed, 23 Jul 2008 14:51:39 +0000 (14:51 +0000)]
Some documentation for SFH_OBJECT_ARGS
Rotem Liss [Wed, 23 Jul 2008 10:32:00 +0000 (10:32 +0000)]
Localization fix.
Rotem Liss [Wed, 23 Jul 2008 09:52:39 +0000 (09:52 +0000)]
Localization update for he.
Tim Starling [Wed, 23 Jul 2008 08:48:20 +0000 (08:48 +0000)]
Missing file for r37928
Siebrand Mazeland [Wed, 23 Jul 2008 08:45:41 +0000 (08:45 +0000)]
Localisation updates for core messages from Betawiki (2008-07-23 10:30 CEST)
Siebrand Mazeland [Wed, 23 Jul 2008 08:39:55 +0000 (08:39 +0000)]
Fix for r37928.
So if you *do* decide to add messages during a freeze, then at least take the time to do it right.
Siebrand Mazeland [Wed, 23 Jul 2008 08:25:23 +0000 (08:25 +0000)]
Just removing a few justs.
Brion Vibber [Wed, 23 Jul 2008 07:59:38 +0000 (07:59 +0000)]
Revert r37924 "(bug 14883) Create hook AlternateSkinPreferences to alternate skin section in user preferences"
This hook seems pretty unclear to me. What's it meant to accomplish? It passes no data to be customized, and has no code interface for building a sustainable, forward-compatible extension from it.
Chad Horohoe [Wed, 23 Jul 2008 01:43:57 +0000 (01:43 +0000)]
Typofix
Tim Starling [Tue, 22 Jul 2008 22:44:34 +0000 (22:44 +0000)]
* (bug 4578) Automatically fix redirects broken by a page move. Works via the job queue, controllable by a checkbox on Special:Movepage.
* Renamed some excessively short variables in SpecialMovepage.php
* Allow $wgReservedUsernames to be localised using "msg:..." syntax
Ilmari Karonen [Tue, 22 Jul 2008 22:37:55 +0000 (22:37 +0000)]
Make Special:Recentchangeslinked display changes to transcluded pages (templatelinks table) and embedded images (imagelinks table). This should help a bit against the recent spate of template vandalism on enwiki.
Also make the "Show changes to pages linked" button work for categories.
Remaining issues / things to do:
- Test performance of the UNION query on a larger dataset than my test wiki.
- Add some checkboxes to allow filtering the results like on Special:Whatlinkshere.
- Try to think of some way to make the behavior for categories less klugy.
Tim Starling [Tue, 22 Jul 2008 21:47:53 +0000 (21:47 +0000)]
Use a history file with readline, so that readline history is carried over from one invocation to another
Ryan Schmidt [Tue, 22 Jul 2008 21:28:11 +0000 (21:28 +0000)]
* (bug 14883) Create hook AlternateSkinPreferences to alternate skin section in user preferences
Mohamed Magdy [Tue, 22 Jul 2008 17:28:21 +0000 (17:28 +0000)]
Update skin names
Alexandre Emsenhuber [Tue, 22 Jul 2008 16:40:55 +0000 (16:40 +0000)]
update
Roan Kattouw [Tue, 22 Jul 2008 13:26:15 +0000 (13:26 +0000)]
API: Change descriptions for some limit parameters to actually refer to the correct type of result
Siebrand Mazeland [Tue, 22 Jul 2008 08:25:44 +0000 (08:25 +0000)]
Localisation updates for core messages from Betawiki (2008-07-22 10:14 CEST)
Brion Vibber [Mon, 21 Jul 2008 22:37:33 +0000 (22:37 +0000)]
Revert r37872 for now -- "(bug 2971) Standardize format of links to hist/diff in Special:Contributions."
This appears to have changed "(hist) (diff)" to "(diff; hist)". I'm a bit leery of callign that "standardization" as it changes it from looking like regular Recent Chagnes to looking like enhanced Recent Changes.
Might be good to do a look around at other things, which use for example commas or pipes in parens as well, and figure out which is best to stick with.
Chad Horohoe [Mon, 21 Jul 2008 21:51:51 +0000 (21:51 +0000)]
Allow $wgCookiePrefix to be set by the user. Default is false which keeps current behavior in Setup. Fixes bug 14843.
Roan Kattouw [Mon, 21 Jul 2008 21:37:11 +0000 (21:37 +0000)]
Cleanup from r37839: just put ipb_auto in the relevant arrays. We have those arrays so we don't have to add if($fld_a || $fld_b) for every crazy flag combination in existence.
Alexandre Emsenhuber [Mon, 21 Jul 2008 20:22:17 +0000 (20:22 +0000)]
Per r37889: $wgStyleVersion++;
Jon Harald Søby [Mon, 21 Jul 2008 20:17:29 +0000 (20:17 +0000)]
* Making <hr> 1px in Modern, like in Monobook
Alexandre Emsenhuber [Mon, 21 Jul 2008 17:13:55 +0000 (17:13 +0000)]
We already have the skin in $this->data, no need to take it from $wgUser
Greg Sabino Mullane [Mon, 21 Jul 2008 17:06:35 +0000 (17:06 +0000)]
Minor grammar fixes, etc.
Greg Sabino Mullane [Mon, 21 Jul 2008 16:58:06 +0000 (16:58 +0000)]
Clarify Postgres text indexing process.
Alexandre Emsenhuber [Mon, 21 Jul 2008 16:24:39 +0000 (16:24 +0000)]
Use the internal diff engine if the diff excutable is not found
Aryeh Gregor [Mon, 21 Jul 2008 13:15:19 +0000 (13:15 +0000)]
Oops, forgot a line. Now this works in Modern too. Yay for code duplication . . .
Shinjiman [Mon, 21 Jul 2008 04:53:43 +0000 (04:53 +0000)]
Update the Chinese conversion tables
Shinjiman [Mon, 21 Jul 2008 04:47:48 +0000 (04:47 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aryeh Gregor [Mon, 21 Jul 2008 02:47:42 +0000 (02:47 +0000)]
* The accesskey to edit a page is now disabled when editing the page, to prevent conflicts with Safari shortcuts (Ctrl-E = go to end of line).
* Fix watch checkbox for real in Firefox 3. It still wasn't working right, due to the duplicate use of the W accesskey for the watch/unwatch tab. This is now disabled on edit.
Alexandre Emsenhuber [Sun, 20 Jul 2008 19:15:47 +0000 (19:15 +0000)]
typo
Aryeh Gregor [Sun, 20 Jul 2008 17:42:14 +0000 (17:42 +0000)]
(bug 2971) Standardize format of links to hist/diff in Special:Contributions.
Alexandre Emsenhuber [Sun, 20 Jul 2008 14:29:04 +0000 (14:29 +0000)]
* (bug 12568) configuration script now produce valid XHTML
* Updated copyright (taken from SpecialVersion.php)
Alexandre Emsenhuber [Sun, 20 Jul 2008 13:55:35 +0000 (13:55 +0000)]
* order aplhabetically
* avoid using $this
Alexandre Emsenhuber [Sat, 19 Jul 2008 20:52:53 +0000 (20:52 +0000)]
Removed some PHP4-ism
Siebrand Mazeland [Sat, 19 Jul 2008 19:11:58 +0000 (19:11 +0000)]
Add descriptionCacheExpiry to configuration example to avoid 2 notices.
Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1071
Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1083
Huji [Sat, 19 Jul 2008 18:16:58 +0000 (18:16 +0000)]
Localisation updates: Adding/updating Persian translations
Siebrand Mazeland [Sat, 19 Jul 2008 17:40:22 +0000 (17:40 +0000)]
Localisation updates for core messages from Betawiki (2008-07-19 19:07 CEST)
Siebrand Mazeland [Sat, 19 Jul 2008 14:09:59 +0000 (14:09 +0000)]
Fix typo
Siebrand Mazeland [Sat, 19 Jul 2008 13:46:54 +0000 (13:46 +0000)]
* Add PopularPages to group 'wiki' on Special:SpecialPages
* remove trailing whitespace
Antoine Musso [Sat, 19 Jul 2008 12:53:59 +0000 (12:53 +0000)]
Fix #12441 : generateSitemap.php --fspath parameter required a trailing slash
Antoine Musso [Sat, 19 Jul 2008 12:15:07 +0000 (12:15 +0000)]
Fix 12384 : comment on maintenance/*php files
Brion Vibber [Sat, 19 Jul 2008 07:50:14 +0000 (07:50 +0000)]
Security fix for API blocks query -- ipb_anon field wasn't being loaded when querying for usernames but not flags, but this field is needed to tell whether a given row is an autoblock and needs the IP suppressed.
Brion Vibber [Sat, 19 Jul 2008 07:29:43 +0000 (07:29 +0000)]
Cleanup for r37830 & earlier ($wgDirectoryMode default to wfMkdirParents()):
Just check is_null() here. is_int() isn't necessarily safe, as numbers frequently get passed around in what are really strings. :)
Huji [Fri, 18 Jul 2008 23:17:58 +0000 (23:17 +0000)]
Localisation updates: Adding/updating Persian translations
Aryeh Gregor [Fri, 18 Jul 2008 19:36:42 +0000 (19:36 +0000)]
Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3. It apparently doesn't like an accesskey being declared for both an input element and its label.
Siebrand Mazeland [Fri, 18 Jul 2008 19:33:04 +0000 (19:33 +0000)]
Localisation updates from Betawiki
* Update magic words and special page aliases
Aryeh Gregor [Fri, 18 Jul 2008 19:08:58 +0000 (19:08 +0000)]
Adjust copyright info for sortable tables script: our version contains some modifications and is not under the MIT license, but rather the GPL.
Chad Horohoe [Fri, 18 Jul 2008 18:03:50 +0000 (18:03 +0000)]
$wgDefaultDirectoryChmod -> $wgDirectoryMode. Less crappy name + docs I should've written on the original commit.
Siebrand Mazeland [Fri, 18 Jul 2008 15:53:29 +0000 (15:53 +0000)]
Disable plural checks for gn, hu, sah
Siebrand Mazeland [Fri, 18 Jul 2008 14:44:10 +0000 (14:44 +0000)]
Localisation updates for core messages from Betawiki (2008-07-18 16:35 CEST)
Chad Horohoe [Fri, 18 Jul 2008 12:54:12 +0000 (12:54 +0000)]
Found the errno for deadlocks on MsSQL, let's return a proper bool instead of no-op.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:59:49 +0000 (03:59 +0000)]
Check for GROUP BY #.
Scan extensions directory as well, refactor that section.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:46:39 +0000 (03:46 +0000)]
Handle new includes directory scheme.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:29:40 +0000 (03:29 +0000)]
No more TYPE, look for (and default to) ENGINE.
Aryeh Gregor [Fri, 18 Jul 2008 01:31:18 +0000 (01:31 +0000)]
Change various uses of GROUP BY 1,2,3 and similar to use the actual column names. This is more familiar and readable. Also, MSSQL apparently doesn't support the numeric syntax. See discussion at bug 9767.
This should cause no functional changes. If it does, revert.
Siebrand Mazeland [Thu, 17 Jul 2008 20:38:16 +0000 (20:38 +0000)]
Localisation updates for core messages from Betawiki (2008-07-17 22:24 CEST)
Alexandre Emsenhuber [Thu, 17 Jul 2008 20:18:23 +0000 (20:18 +0000)]
Per r37799: $wgStyleVersion++;