Lisa Ridley [Mon, 15 Mar 2010 23:22:50 +0000 (23:22 +0000)]
Updated documentation on Title, Wiki. Added @internal tag to Article, Title, Wiki indicating documentation review date for tracking purposes.
Alexandre Emsenhuber [Mon, 15 Mar 2010 21:51:12 +0000 (21:51 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Mon, 15 Mar 2010 19:28:12 +0000 (19:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-15 19:05:00 UTC)
Mark A. Hershberger [Mon, 15 Mar 2010 17:31:29 +0000 (17:31 +0000)]
off-by-one error: the fullwidth z was not being converted.
Lisa Ridley [Mon, 15 Mar 2010 14:05:54 +0000 (14:05 +0000)]
Fixed another typo in documentation, added documentation for properties
Lisa Ridley [Mon, 15 Mar 2010 13:40:51 +0000 (13:40 +0000)]
Fixed typo in documentation in Article.php
Lisa Ridley [Mon, 15 Mar 2010 13:35:00 +0000 (13:35 +0000)]
Removing unused parameter for Article::onArticleEdit() (removed code using this parameter between versions 1.14 and 1.15 -- no longer needed, not found in any extension calls to this method for extensions in Subversion either)
Lisa Ridley [Mon, 15 Mar 2010 12:04:24 +0000 (12:04 +0000)]
Last of the preliminary documentation review and update on Article.php
Roan Kattouw [Mon, 15 Mar 2010 08:11:19 +0000 (08:11 +0000)]
(bug 19627) Fix regression from r57867 where HTMLForm would output <element classes="foo bar"> rather than <element class="foo bar">
Lisa Ridley [Mon, 15 Mar 2010 01:08:07 +0000 (01:08 +0000)]
Documentation through ~line 2150
Lisa Ridley [Sun, 14 Mar 2010 23:20:40 +0000 (23:20 +0000)]
Expanding documentation for first ~500 lines or so
Alexandre Emsenhuber [Sun, 14 Mar 2010 21:20:34 +0000 (21:20 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Sun, 14 Mar 2010 19:52:57 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-14 19:40:00 UTC)
Raimond Spekking [Sun, 14 Mar 2010 18:28:34 +0000 (18:28 +0000)]
Add count for PLURAL support, requested at translatewiki: translatewiki.net/wiki/Thread:Support/PLURAL_support_needed
Alexandre Emsenhuber [Sun, 14 Mar 2010 15:48:29 +0000 (15:48 +0000)]
Fixed some errors while running patchSql.php:
* Notice: Undefined variable: name in includes/db/Database.php on lines 2209 and 2212
* Fatal error: Call to undefined method DatabaseMysql::fileSource() in maintenance/patchSql.php on line 48
Mark Clements [Sun, 14 Mar 2010 11:38:18 +0000 (11:38 +0000)]
Porting my update to the maybeHelp() function in Maintenance.php into the trunk. This was accidentally committed to the 1.16 branch (rather than trunk, as intended) in r62955. Here is the original commit message:
--------------------------
Update to the maybeHelp() function in Maintenance.php, to tidy the way help output is displayed on the command-line:
* Only display the file name as part of the command, rather than the full path to it (when the path is long it was virtually unreadable).
* Wrap the option/parameter descriptions so that they sit neatly on the screen. Previously if a description ran to multiple lines it wrapped to column 1, possibly in the middle of a word. Now it wraps neatly and the subsequent lines are indented to make it clearer to read.
For now I have hard-coded the screen width to 80 characters, which is a sub-optimal solution. However I do not know how to get the current screen-width in a system-agnostic way, so I will leave that detail for some-one else to flesh out.
--------------------------
Raimond Spekking [Sat, 13 Mar 2010 21:33:40 +0000 (21:33 +0000)]
Consistency tweak: Use same text for identical messages, see translatewiki.net/wiki/Template:Identical/Other_reason
Alexandre Emsenhuber [Sat, 13 Mar 2010 21:09:39 +0000 (21:09 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Sat, 13 Mar 2010 21:04:30 +0000 (21:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-13 20:50:00 UTC)
Happy-melon [Sat, 13 Mar 2010 20:49:34 +0000 (20:49 +0000)]
Fix encoding broken in r63707
Happy-melon [Sat, 13 Mar 2010 20:46:22 +0000 (20:46 +0000)]
Add $wgAllowUserCssPrefs option to disable CSS-based preferences. These are injected by a 'stylesheet' /w/index.php?title=-&action=raw&gen=css, which is ~20 times slower to get out to the browser than a normal stylesheet. If you don't care about your users too much, getting rid of these options can dramatically improve page load times.
Also, update monobook/main.css to actually offer the redlink colour that's been seen on wikipedia since forever. It's only when you turn off this per-user styling stuff that you realise that it's been overriding a different colour since September 2004 :D
Happy-melon [Sat, 13 Mar 2010 19:07:25 +0000 (19:07 +0000)]
Follow-ups from r63682 CR suggestions.
Raimond Spekking [Sat, 13 Mar 2010 18:13:40 +0000 (18:13 +0000)]
Partly revert r63696.
Raimond Spekking [Sat, 13 Mar 2010 18:10:29 +0000 (18:10 +0000)]
Fix invalid/404 links for $bookstoreList
Roan Kattouw [Sat, 13 Mar 2010 17:57:30 +0000 (17:57 +0000)]
Fix regression from r62087 (!) breaking importImages.php . Backport to 1.16 follows
Raimond Spekking [Sat, 13 Mar 2010 16:50:36 +0000 (16:50 +0000)]
Use commaList() for better i18n
Max Semenik [Sat, 13 Mar 2010 16:47:32 +0000 (16:47 +0000)]
MTT r63686: Handle realpath errors in SQLite installer
Happy-melon [Sat, 13 Mar 2010 16:13:26 +0000 (16:13 +0000)]
This check throws E_NOTICEs and isn't particularly rigorous.
Happy-melon [Sat, 13 Mar 2010 16:11:36 +0000 (16:11 +0000)]
Strict type checking, otherwise can't set a default value of '0'.
Happy-melon [Sat, 13 Mar 2010 16:09:23 +0000 (16:09 +0000)]
Layout tweak.
Happy-melon [Sat, 13 Mar 2010 16:07:38 +0000 (16:07 +0000)]
Allow OutputPage::addReturnTo() to set the text of the link.
Happy-melon [Sat, 13 Mar 2010 16:05:30 +0000 (16:05 +0000)]
Sort $wgDefaultUserOptions elements alphabetically.
Happy-melon [Sat, 13 Mar 2010 15:35:09 +0000 (15:35 +0000)]
Add FIXME to wfMergeErrorArrays(), throws E_NOTICEs.
Happy-melon [Sat, 13 Mar 2010 15:33:18 +0000 (15:33 +0000)]
HTMLSubmitField is more useful as an inline button than an alias for HTMLForm::addButton().
Happy-melon [Sat, 13 Mar 2010 14:59:44 +0000 (14:59 +0000)]
Apply CSS classes for XML checkboxes/radiobuttons to their labels as well.
Raimond Spekking [Sat, 13 Mar 2010 11:42:04 +0000 (11:42 +0000)]
* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display options
Reapply of r63197 (reverted with r63261). Per suggestion of demon now with 1 array with keys and w/o breaking parsertests
Raimond Spekking [Sat, 13 Mar 2010 09:43:37 +0000 (09:43 +0000)]
* (bug 21981) Add parameter 'showfilename' to <gallery> to automatically apply the names of the individual files within the gallery
Chad Horohoe [Fri, 12 Mar 2010 22:52:11 +0000 (22:52 +0000)]
Force loading of Sanitizer in setUp() so defines() are always present before tests.
Chad Horohoe [Fri, 12 Mar 2010 22:40:36 +0000 (22:40 +0000)]
Remove include for test, not necessary due to Autoloader :D
Raimond Spekking [Fri, 12 Mar 2010 21:35:52 +0000 (21:35 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-12 21:15:00 UTC)
Bryan Tong Minh [Fri, 12 Mar 2010 19:20:01 +0000 (19:20 +0000)]
Remove internalhttpsession from ApiUpload; remnant from reverted feature.
Max Semenik [Fri, 12 Mar 2010 19:18:14 +0000 (19:18 +0000)]
Fix bug that prevented non-hidden users from appearing on Special:BlockList on SQLite
Bryan Tong Minh [Fri, 12 Mar 2010 18:46:13 +0000 (18:46 +0000)]
Remove the session_start from UploadBase, since there is nothing that could close the session in MediaWiki trunk.
Bryan Tong Minh [Fri, 12 Mar 2010 18:26:12 +0000 (18:26 +0000)]
Merge r63621 and r63636 from REL1_16:
* Rollback chunked uploading support for 1.16
* Pass $sessionKey as parameter to UploadFromStash::initialize.
Aaron Schulz [Thu, 11 Mar 2010 21:25:33 +0000 (21:25 +0000)]
Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all public logs" excerpt.
Alexandre Emsenhuber [Thu, 11 Mar 2010 20:59:25 +0000 (20:59 +0000)]
Fixed some doxygen warnings
Mark A. Hershberger [Thu, 11 Mar 2010 20:05:16 +0000 (20:05 +0000)]
follow up r63578 - remove stray debugging code.
Raimond Spekking [Thu, 11 Mar 2010 18:08:45 +0000 (18:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-11 18:00:00 UTC)
Alexandre Emsenhuber [Thu, 11 Mar 2010 12:27:35 +0000 (12:27 +0000)]
Fix for r63578: also change wordSegmentation() to segmentByWord() here
Aaron Schulz [Thu, 11 Mar 2010 05:32:04 +0000 (05:32 +0000)]
Made resetArticleID() reset redirect/length/latest ID fields
Mark A. Hershberger [Wed, 10 Mar 2010 21:54:23 +0000 (21:54 +0000)]
Follow-up r61856
* Rename wordSegmentation() to segmentByWord().
* Consolidate search index locking and iteration to Maintenance.php
* Add maintenance/updateDoubleWidthSearch.php to take care of new
format for normalized double-width roman characters.
* Add error checking to updateSearchIndex.php for creating $posFile.
* Add note to UPGRADE about running updateDoubleWidthSearch.php.
Alexandre Emsenhuber [Wed, 10 Mar 2010 21:17:58 +0000 (21:17 +0000)]
Fixed some doxygen warnings
Aaron Schulz [Wed, 10 Mar 2010 20:01:49 +0000 (20:01 +0000)]
Made getLatestRevID() return an integer
Raimond Spekking [Wed, 10 Mar 2010 19:52:52 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-10 19:30:00 UTC)
Chad Horohoe [Wed, 10 Mar 2010 12:59:44 +0000 (12:59 +0000)]
Fix child class visibility
Chad Horohoe [Wed, 10 Mar 2010 12:45:38 +0000 (12:45 +0000)]
Followup r63545: Whoops make that public
Chad Horohoe [Wed, 10 Mar 2010 12:44:57 +0000 (12:44 +0000)]
Fix regression from r51677, still need to load AdminSettings if it exists for back-compat. Needs backporting to REL1_16.
Alexandre Emsenhuber [Tue, 9 Mar 2010 21:51:05 +0000 (21:51 +0000)]
* Fixed some doxygen warnings
* Removed some useless spaces in the begining of lines
Alexandre Emsenhuber [Tue, 9 Mar 2010 20:40:00 +0000 (20:40 +0000)]
fix typo
Aryeh Gregor [Tue, 9 Mar 2010 19:48:31 +0000 (19:48 +0000)]
Style fixes
Aryeh Gregor [Tue, 9 Mar 2010 19:47:05 +0000 (19:47 +0000)]
Fix validity and correctness of r63342
The name attribute may only be used on <a> if an id attribute with
identical value is given on the same element. I moved the id to the tr
so it leaves a bit of space at the top, rather than using a name
attribute at all. Also, we need to call Sanitizer::escapeId() on the
group key, lest people use spaces or something in the group key (not
advisable, but possible).
Aryeh Gregor [Tue, 9 Mar 2010 19:27:36 +0000 (19:27 +0000)]
Avoid fatal on login if username is invalid title
Steps to reproduce: Try logging in with a 256-character username.
Expected result: Friendly error message saying the name is invalid.
Actual result: Fatal error: Call to a member function getName() on a
non-object in /var/www/git-trunk/phase3/includes/specials/SpecialUserlogin.php
on line 433
Fix: If you want to check whether something is a User object, check
whether it's a User object. There are things other than null that don't
behave like User objects.
Raimond Spekking [Tue, 9 Mar 2010 18:55:22 +0000 (18:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-09 19:45:00 UTC)
Raimond Spekking [Tue, 9 Mar 2010 17:19:34 +0000 (17:19 +0000)]
Add a clear:both to the filehistory headline to avoid funny floats if the file description contains something like [[File:Foo.jpg|thumb|bar]]
Backport to 1.16 follows.
Sam Reed [Tue, 9 Mar 2010 11:52:43 +0000 (11:52 +0000)]
Minor followup to r63425 and r63428
Set $oldLang to null, and only reset if !is_null( $oldLang )
Also, only change language on ApiQueryAllmessages if wanted language != current language
Mark A. Hershberger [Tue, 9 Mar 2010 04:19:55 +0000 (04:19 +0000)]
follow-up r61856 — wordsegmentation should be done for all search engines, not just mysql
Chad Horohoe [Mon, 8 Mar 2010 22:52:23 +0000 (22:52 +0000)]
Merge r63436 RELEASE-NOTES to trunk HISTORY
Chad Horohoe [Mon, 8 Mar 2010 22:40:55 +0000 (22:40 +0000)]
Merge r63429 RELEASE-NOTES to trunk HISTORY
Tim Starling [Mon, 8 Mar 2010 22:39:14 +0000 (22:39 +0000)]
Fix data leakage from thumb.php for wikis where access to images is restricted (e.g. using img_auth.php). For backport to 1.15.
Sam Reed [Mon, 8 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Minor comment for r63428
Sam Reed [Mon, 8 Mar 2010 22:32:17 +0000 (22:32 +0000)]
* (bug 22764) uselang parameter for action=parse
Also add a few full stops to normalise format of Params
Sam Reed [Mon, 8 Mar 2010 22:26:59 +0000 (22:26 +0000)]
Restore $wgLang in ApiQueryAllmessages if changed during execution
Tim Starling [Mon, 8 Mar 2010 22:22:01 +0000 (22:22 +0000)]
Fixed CSS validation issue (no handling for line continuation). Reported by Suffusion of Yellow. Release notes will go in other branches.
Alexandre Emsenhuber [Mon, 8 Mar 2010 21:11:32 +0000 (21:11 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Mon, 8 Mar 2010 20:41:40 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-08 20:00 UTC)
Alexandre Emsenhuber [Mon, 8 Mar 2010 20:39:47 +0000 (20:39 +0000)]
There's also File_Ogg in MetavidWiki extension ;)
Max Semenik [Mon, 8 Mar 2010 17:09:55 +0000 (17:09 +0000)]
Fixed error output in moveBatch.php
Roan Kattouw [Mon, 8 Mar 2010 14:43:02 +0000 (14:43 +0000)]
Build preload l10ncache after running hooks, not before, so extension changes (by e.g. LocalisationUpdate) to preloaded messages get picked up.
Aaron Schulz [Sun, 7 Mar 2010 23:47:00 +0000 (23:47 +0000)]
Doc typo
Raimond Spekking [Sun, 7 Mar 2010 22:09:30 +0000 (22:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-07 21:55 UTC)
Tobias [Sun, 7 Mar 2010 18:29:22 +0000 (18:29 +0000)]
reverting myself (r63361) due to comment #2 in bug 22756. Feature not needed
Alexandre Emsenhuber [Sun, 7 Mar 2010 17:26:23 +0000 (17:26 +0000)]
Fixed some doxygen warnings
Siebrand Mazeland [Sun, 7 Mar 2010 17:08:59 +0000 (17:08 +0000)]
Refine documentation added in r63361
Tobias [Sun, 7 Mar 2010 16:26:42 +0000 (16:26 +0000)]
bug 22756: Add parameter to noarticletext/newarticletext indicating if it's the current user's user (talk) page
Rotem Liss [Sun, 7 Mar 2010 15:15:39 +0000 (15:15 +0000)]
Localization update for he, and whitespace fix in en.
Jack Phoenix [Sun, 7 Mar 2010 14:07:14 +0000 (14:07 +0000)]
cleanup to SpecialUpload.php:
*trimmed trailing spaces
*more braces
*indentation tweaks
*removed unused globals
*removed unused $sk variable from showUploadWarning()
*changed double quotes to single where appropriate
Aaron Schulz [Sun, 7 Mar 2010 12:32:21 +0000 (12:32 +0000)]
* truncate() comment fix
* truncateHtml() tweaks:
** Fixed miscount of remaining length wrt. entities
** Improved performance of "ellipsis makes string longer" check
Mark A. Hershberger [Sun, 7 Mar 2010 04:26:23 +0000 (04:26 +0000)]
* Fix a global problem.
* Stop serialisation of PDO objects for sqlite
* temporarily order tests so they work (shouldn't be necessary in the
long run)
Chad Horohoe [Sun, 7 Mar 2010 01:51:15 +0000 (01:51 +0000)]
Test case for wfLocalFile() returning valid objects when a file does not exist
Mark A. Hershberger [Sun, 7 Mar 2010 00:30:02 +0000 (00:30 +0000)]
* Fix search-replace problems in MediaWiki_Setup.php
* Use the proper Search* class depending on database setup.
* Rename SearchMySQLTest to SearchDbTest since it isn't
mysql-specific.
* Clean up code in SearchEngineTest.php to make it easier to add
searchable pages.
Chad Horohoe [Sat, 6 Mar 2010 22:42:20 +0000 (22:42 +0000)]
Remove wfGetHTTP(), has been deprecated for ages and has no callers. Also stop loading XmlFunctions by default.
Niklas Laxström [Sat, 6 Mar 2010 21:18:10 +0000 (21:18 +0000)]
* (bug 22748) Add anchors on Special:ListGroupRights
Alexandre Emsenhuber [Sat, 6 Mar 2010 20:49:19 +0000 (20:49 +0000)]
* (bug 22747) "Reveal my e-mail address in notification e-mails" preference is now only displayed when relevant
Raimond Spekking [Sat, 6 Mar 2010 20:48:53 +0000 (20:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-06 20:30 UTC)
Ilmari Karonen [Sat, 6 Mar 2010 20:42:35 +0000 (20:42 +0000)]
followup to r63300: add links to /common.css & /common.js to preferences
Alexandre Emsenhuber [Sat, 6 Mar 2010 20:34:10 +0000 (20:34 +0000)]
Fixed some doxygen warnings
Mark A. Hershberger [Sat, 6 Mar 2010 18:14:11 +0000 (18:14 +0000)]
whitespace.
Sam Reed [Sat, 6 Mar 2010 18:03:05 +0000 (18:03 +0000)]
Fixup r63301 as per Roan comment
Still not using an index...
Max Semenik [Sat, 6 Mar 2010 16:45:48 +0000 (16:45 +0000)]
Fix r63320
Max Semenik [Sat, 6 Mar 2010 16:39:31 +0000 (16:39 +0000)]
Fixed a couple of E_DEPRECATED in DatabaseMssql