lhc/web/wiklou.git
14 years agoStyle fixes
Aryeh Gregor [Sun, 21 Mar 2010 05:11:55 +0000 (05:11 +0000)]
Style fixes

14 years agoLocalisation updates Chinese
Shinjiman [Sun, 21 Mar 2010 00:59:07 +0000 (00:59 +0000)]
Localisation updates Chinese
fixing typos for the stable release

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sun, 21 Mar 2010 00:48:40 +0000 (00:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agostylize.php on ImagePage.php
Bryan Tong Minh [Sat, 20 Mar 2010 22:58:48 +0000 (22:58 +0000)]
stylize.php on ImagePage.php

14 years agoAdded some basic tests for uploading (title validation tests for now)
Bryan Tong Minh [Sat, 20 Mar 2010 22:41:45 +0000 (22:41 +0000)]
Added some basic tests for uploading (title validation tests for now)

14 years agoUploadBase::getTitle():
Bryan Tong Minh [Sat, 20 Mar 2010 22:38:48 +0000 (22:38 +0000)]
UploadBase::getTitle():
* Remove misleading intermediate variable.
* Remove duplicate title construction

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 20 Mar 2010 20:26:36 +0000 (20:26 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-20 20:15:00 UTC)

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sat, 20 Mar 2010 17:27:20 +0000 (17:27 +0000)]
Fixed some doxygen warnings

14 years agoUnused file. Feature was reverted in r41405. Other files were removed on r53118.
Platonides [Sat, 20 Mar 2010 14:51:23 +0000 (14:51 +0000)]
Unused file. Feature was reverted in r41405. Other files were removed on r53118.

14 years agoShow an appropiate message when the wiki is read only for some special pages.
Platonides [Sat, 20 Mar 2010 14:44:11 +0000 (14:44 +0000)]
Show an appropiate message when the wiki is read only for some special pages.
Note that they show a successful message but wouldn't work since User::saveSettings()
silently fails (maybe the user object at memcached  could get updated?).

14 years ago* Remove remnants of chunk uploader
Mark A. Hershberger [Sat, 20 Mar 2010 01:40:13 +0000 (01:40 +0000)]
* Remove remnants of chunk uploader
* set up and clean up db

14 years agoComment fix: Special:Imagelist -> Special:ListFiles
Bryan Tong Minh [Fri, 19 Mar 2010 22:12:30 +0000 (22:12 +0000)]
Comment fix: Special:Imagelist -> Special:ListFiles
For those poor people who can't remember all special pages MediaWiki has

14 years agoFollowup r63914, function must match parent
Chad Horohoe [Fri, 19 Mar 2010 21:18:11 +0000 (21:18 +0000)]
Followup r63914, function must match parent

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 19 Mar 2010 20:51:33 +0000 (20:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-19 20:38:00 UTC)

14 years agoFuture-proof redirection to fragments in Gecko
Aryeh Gregor [Fri, 19 Mar 2010 20:45:29 +0000 (20:45 +0000)]
Future-proof redirection to fragments in Gecko

Previously, in Gecko we wouldn't set document.location.hash at all until
the page loaded.  This means that if they fix their bug, so setting
document.location.hash to an id that doesn't yet exist (but will before
load is finished) works properly, we still would only jump to the right
place onload, not ASAP.  Now we'll jump to the right place ASAP, and
then jump again on load, which is better (although still annoying if the
gap ends up being perceptible).

Too bad I can't think of a way to feature-test this.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Fri, 19 Mar 2010 20:17:52 +0000 (20:17 +0000)]
Fixed some doxygen warnings

14 years agoAdding Persian translation for `safesubst` magic word.
Huji [Fri, 19 Mar 2010 16:15:04 +0000 (16:15 +0000)]
Adding Persian translation for `safesubst` magic word.

14 years agoFix reference to lazy-initialised global $wgLanguageNames.
Tim Starling [Thu, 18 Mar 2010 22:15:24 +0000 (22:15 +0000)]
Fix reference to lazy-initialised global $wgLanguageNames.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 18 Mar 2010 19:25:37 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-18 18:15:00 UTC)

14 years ago* Follow-up r63914: SpecialPage has methods for that, use them ;)
Alexandre Emsenhuber [Thu, 18 Mar 2010 17:36:43 +0000 (17:36 +0000)]
* Follow-up r63914: SpecialPage has methods for that, use them ;)
* Fix a case mismatch in LogEventsList.php

14 years agoFix for r63675: the parameter is $attribs, not $attrs
Alexandre Emsenhuber [Thu, 18 Mar 2010 17:14:24 +0000 (17:14 +0000)]
Fix for r63675: the parameter is $attribs, not $attrs

14 years agoRefactor MergeHistory to subclass SpecialPage. Ohai unloved code :)
Chad Horohoe [Thu, 18 Mar 2010 16:41:53 +0000 (16:41 +0000)]
Refactor MergeHistory to subclass SpecialPage. Ohai unloved code :)

14 years agoRemove ancient (added in r13105) stopgap to prevent running schema sanity checks...
Chad Horohoe [Thu, 18 Mar 2010 16:03:39 +0000 (16:03 +0000)]
Remove ancient (added in r13105) stopgap to prevent running schema sanity checks on Wikimedia. Checks were removed in r21785, global never disappeared.

14 years agoTypo in comment
Alexandre Emsenhuber [Thu, 18 Mar 2010 11:42:26 +0000 (11:42 +0000)]
Typo in comment

14 years agoDon't send hundreds of lines of useless progress messages to stdout.
Tim Starling [Thu, 18 Mar 2010 05:42:01 +0000 (05:42 +0000)]
Don't send hundreds of lines of useless progress messages to stdout.

14 years agoFixed inappropriate include_path dependency. From WMF working copy hack.
Tim Starling [Thu, 18 Mar 2010 05:38:22 +0000 (05:38 +0000)]
Fixed inappropriate include_path dependency. From WMF working copy hack.

14 years agoFixed object type unserialization. Based on WMF working copy patch, tested there.
Tim Starling [Thu, 18 Mar 2010 05:34:59 +0000 (05:34 +0000)]
Fixed object type unserialization. Based on WMF working copy patch, tested there.

14 years ago* Quieter, more frequent slave waits
Tim Starling [Thu, 18 Mar 2010 05:32:56 +0000 (05:32 +0000)]
* Quieter, more frequent slave waits
* Option to skip the counts for the progress meter, allows faster startup
* Merged from WMF working copy, tested there.

14 years ago* Fixed complete breakage of "lag.php -r" due to spurious line-endings introduced...
Tim Starling [Thu, 18 Mar 2010 05:23:46 +0000 (05:23 +0000)]
* Fixed complete breakage of "lag.php -r" due to spurious line-endings introduced in maintenance-work.
* Fixed breakage due to lag time cache, based on a hack in the WMF working copy.
* Tested locally.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Wed, 17 Mar 2010 22:02:43 +0000 (22:02 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 17 Mar 2010 21:19:39 +0000 (21:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-17 21:10:00 UTC)

14 years agoLocalization fix for he.
Rotem Liss [Wed, 17 Mar 2010 16:46:30 +0000 (16:46 +0000)]
Localization fix for he.

14 years agoMake ModernTemplate extend MonoBookTemplate so we can cut down at least /some/ of...
Chad Horohoe [Wed, 17 Mar 2010 12:51:48 +0000 (12:51 +0000)]
Make ModernTemplate extend MonoBookTemplate so we can cut down at least /some/ of the line-by-line duplication. Could use some more work though.

14 years agobug 18664, bug 19270: Relative URIs in interwiki table break things (in general:...
Chad Horohoe [Wed, 17 Mar 2010 00:21:52 +0000 (00:21 +0000)]
bug 18664, bug 19270: Relative URIs in interwiki table break things (in general: fix wfExpandUrl() so it handles protocol-relative URIs)

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Tue, 16 Mar 2010 20:17:24 +0000 (20:17 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 16 Mar 2010 20:10:23 +0000 (20:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-16 19:45:00 UTC)

14 years ago* (bug 22772) {{#special:}} parser function now works with subpages
Alexandre Emsenhuber [Tue, 16 Mar 2010 19:47:24 +0000 (19:47 +0000)]
* (bug 22772) {{#special:}} parser function now works with subpages

14 years agoLocalization update for he.
Rotem Liss [Tue, 16 Mar 2010 09:54:24 +0000 (09:54 +0000)]
Localization update for he.

14 years agoUpdated documentation on Title, Wiki. Added @internal tag to Article, Title, Wiki...
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.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Mon, 15 Mar 2010 21:51:12 +0000 (21:51 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agooff-by-one error: the fullwidth z was not being converted.
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.

14 years agoFixed another typo in documentation, added documentation for properties
Lisa Ridley [Mon, 15 Mar 2010 14:05:54 +0000 (14:05 +0000)]
Fixed another typo in documentation, added documentation for properties

14 years agoFixed typo in documentation in Article.php
Lisa Ridley [Mon, 15 Mar 2010 13:40:51 +0000 (13:40 +0000)]
Fixed typo in documentation in Article.php

14 years agoRemoving unused parameter for Article::onArticleEdit() (removed code using this param...
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)

14 years agoLast of the preliminary documentation review and update on Article.php
Lisa Ridley [Mon, 15 Mar 2010 12:04:24 +0000 (12:04 +0000)]
Last of the preliminary documentation review and update on Article.php

14 years ago(bug 19627) Fix regression from r57867 where HTMLForm would output <element classes...
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">

14 years agoDocumentation through ~line 2150
Lisa Ridley [Mon, 15 Mar 2010 01:08:07 +0000 (01:08 +0000)]
Documentation through ~line 2150

14 years agoExpanding documentation for first ~500 lines or so
Lisa Ridley [Sun, 14 Mar 2010 23:20:40 +0000 (23:20 +0000)]
Expanding documentation for first ~500 lines or so

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sun, 14 Mar 2010 21:20:34 +0000 (21:20 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoAdd count for PLURAL support, requested at translatewiki: http://translatewiki.net...
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

14 years agoFixed some errors while running patchSql.php:
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

14 years agoPorting my update to the maybeHelp() function in Maintenance.php into the trunk....
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.
--------------------------

14 years agoConsistency tweak: Use same text for identical messages, see http://translatewiki...
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

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sat, 13 Mar 2010 21:09:39 +0000 (21:09 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoFix encoding broken in r63707
Happy-melon [Sat, 13 Mar 2010 20:49:34 +0000 (20:49 +0000)]
Fix encoding broken in r63707

14 years agoAdd $wgAllowUserCssPrefs option to disable CSS-based preferences. These are injected...
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

14 years agoFollow-ups from r63682 CR suggestions.
Happy-melon [Sat, 13 Mar 2010 19:07:25 +0000 (19:07 +0000)]
Follow-ups from r63682 CR suggestions.

14 years agoPartly revert r63696.
Raimond Spekking [Sat, 13 Mar 2010 18:13:40 +0000 (18:13 +0000)]
Partly revert r63696.

14 years agoFix invalid/404 links for $bookstoreList
Raimond Spekking [Sat, 13 Mar 2010 18:10:29 +0000 (18:10 +0000)]
Fix invalid/404 links for $bookstoreList

14 years agoFix regression from r62087 (!) breaking importImages.php . Backport to 1.16 follows
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

14 years agoUse commaList() for better i18n
Raimond Spekking [Sat, 13 Mar 2010 16:50:36 +0000 (16:50 +0000)]
Use commaList() for better i18n

14 years agoMTT r63686: Handle realpath errors in SQLite installer
Max Semenik [Sat, 13 Mar 2010 16:47:32 +0000 (16:47 +0000)]
MTT r63686: Handle realpath errors in SQLite installer

14 years agoThis check throws E_NOTICEs and isn't particularly rigorous.
Happy-melon [Sat, 13 Mar 2010 16:13:26 +0000 (16:13 +0000)]
This check throws E_NOTICEs and isn't particularly rigorous.

14 years agoStrict type checking, otherwise can't set a default value of '0'.
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'.

14 years agoLayout tweak.
Happy-melon [Sat, 13 Mar 2010 16:09:23 +0000 (16:09 +0000)]
Layout tweak.

14 years agoAllow OutputPage::addReturnTo() to set the text of the link.
Happy-melon [Sat, 13 Mar 2010 16:07:38 +0000 (16:07 +0000)]
Allow OutputPage::addReturnTo() to set the text of the link.

14 years agoSort $wgDefaultUserOptions elements alphabetically.
Happy-melon [Sat, 13 Mar 2010 16:05:30 +0000 (16:05 +0000)]
Sort $wgDefaultUserOptions elements alphabetically.

14 years agoAdd FIXME to wfMergeErrorArrays(), throws E_NOTICEs.
Happy-melon [Sat, 13 Mar 2010 15:35:09 +0000 (15:35 +0000)]
Add FIXME to wfMergeErrorArrays(), throws E_NOTICEs.

14 years agoHTMLSubmitField is more useful as an inline button than an alias for HTMLForm::addBut...
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().

14 years agoApply CSS classes for XML checkboxes/radiobuttons to their labels as well.
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.

14 years ago* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display options
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

14 years ago* (bug 21981) Add parameter 'showfilename' to <gallery> to automatically apply the...
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

14 years agoForce loading of Sanitizer in setUp() so defines() are always present before tests.
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.

14 years agoRemove include for test, not necessary due to Autoloader :D
Chad Horohoe [Fri, 12 Mar 2010 22:40:36 +0000 (22:40 +0000)]
Remove include for test, not necessary due to Autoloader :D

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoRemove internalhttpsession from ApiUpload; remnant from reverted feature.
Bryan Tong Minh [Fri, 12 Mar 2010 19:20:01 +0000 (19:20 +0000)]
Remove internalhttpsession from ApiUpload; remnant from reverted feature.

14 years agoFix bug that prevented non-hidden users from appearing on Special:BlockList on SQLite
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

14 years agoRemove the session_start from UploadBase, since there is nothing that could close...
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.

14 years agoMerge r63621 and r63636 from REL1_16:
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.

14 years agoFixed blockip log excerpt permission check (bug 22809). Resulted in excess "all publi...
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.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Thu, 11 Mar 2010 20:59:25 +0000 (20:59 +0000)]
Fixed some doxygen warnings

14 years agofollow up r63578 - remove stray debugging code.
Mark A. Hershberger [Thu, 11 Mar 2010 20:05:16 +0000 (20:05 +0000)]
follow up r63578 - remove stray debugging code.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoFix for r63578: also change wordSegmentation() to segmentByWord() here
Alexandre Emsenhuber [Thu, 11 Mar 2010 12:27:35 +0000 (12:27 +0000)]
Fix for r63578: also change wordSegmentation() to segmentByWord() here

14 years agoMade resetArticleID() reset redirect/length/latest ID fields
Aaron Schulz [Thu, 11 Mar 2010 05:32:04 +0000 (05:32 +0000)]
Made resetArticleID() reset redirect/length/latest ID fields

14 years agoFollow-up r61856
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.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Wed, 10 Mar 2010 21:17:58 +0000 (21:17 +0000)]
Fixed some doxygen warnings

14 years agoMade getLatestRevID() return an integer
Aaron Schulz [Wed, 10 Mar 2010 20:01:49 +0000 (20:01 +0000)]
Made getLatestRevID() return an integer

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoFix child class visibility
Chad Horohoe [Wed, 10 Mar 2010 12:59:44 +0000 (12:59 +0000)]
Fix child class visibility

14 years agoFollowup r63545: Whoops make that public
Chad Horohoe [Wed, 10 Mar 2010 12:45:38 +0000 (12:45 +0000)]
Followup r63545: Whoops make that public

14 years agoFix regression from r51677, still need to load AdminSettings if it exists for back...
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.

14 years ago* Fixed some doxygen warnings
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

14 years agofix typo
Alexandre Emsenhuber [Tue, 9 Mar 2010 20:40:00 +0000 (20:40 +0000)]
fix typo

14 years agoStyle fixes
Aryeh Gregor [Tue, 9 Mar 2010 19:48:31 +0000 (19:48 +0000)]
Style fixes

14 years agoFix validity and correctness of r63342
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).

14 years agoAvoid fatal on login if username is invalid title
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.