lhc/web/wiklou.git
14 years agoReplaced all @fixme with "@todo Fixme" since doxygen doesn't have a @fixme command
Alexandre Emsenhuber [Tue, 15 Dec 2009 21:26:58 +0000 (21:26 +0000)]
Replaced all @fixme with "@todo Fixme" since doxygen doesn't have a @fixme command

14 years agoMake some labels for reasons consistent over all reason labels: http://translatewiki...
Raimond Spekking [Tue, 15 Dec 2009 20:08:20 +0000 (20:08 +0000)]
Make some labels for reasons consistent over all reason labels: translatewiki.net/wiki/Template:Identical/Reason

14 years agomaking the height of the wikieditor tabs a bit smaller with the vector expirmental...
Adam Miller [Tue, 15 Dec 2009 20:00:00 +0000 (20:00 +0000)]
making the height of the wikieditor tabs a bit smaller with the vector expirmental tabs stylesheet

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Tue, 15 Dec 2009 19:27:17 +0000 (19:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-15 19:00 UTC)

14 years agoLocalization update.
Rotem Liss [Tue, 15 Dec 2009 19:01:26 +0000 (19:01 +0000)]
Localization update.

14 years agoKilled closing ?>
Max Semenik [Tue, 15 Dec 2009 14:42:38 +0000 (14:42 +0000)]
Killed closing ?>

14 years ago(bug 21814) Don't show broken user tool links when rolling back an edit that has...
Alex Z [Tue, 15 Dec 2009 07:26:40 +0000 (07:26 +0000)]
(bug 21814) Don't show broken user tool links when rolling back an edit that has a deleted username

14 years agoAdd NS_USER to MWNamespace::$alwaysCapitalizedNamespaces, as suggested by Happy-melon...
Tim Starling [Tue, 15 Dec 2009 04:20:17 +0000 (04:20 +0000)]
Add NS_USER to MWNamespace::$alwaysCapitalizedNamespaces, as suggested by Happy-melon on CR r57558. Untested, but should be beneficial, allowing easier linking to users on wikis with $wgCapitalLinks=false. But redirects from invalid names to valid names, e.g. [[User:tim]] -> [[User:Tim]] will become inaccessible. r57558 itself suffers similar problems, inaccessible pages should really be cleaned up with a maintenance script.

14 years agoMerged r56745 from wmf-deployment, with an adjusted comment. Fixes image redirect...
Tim Starling [Tue, 15 Dec 2009 03:22:19 +0000 (03:22 +0000)]
Merged r56745 from wmf-deployment, with an adjusted comment. Fixes image redirect cache invalidation on move page in a replicated setup.

14 years agoSlight clarification to unusedimagestext per bug 21836
Alex Z [Tue, 15 Dec 2009 01:31:35 +0000 (01:31 +0000)]
Slight clarification to unusedimagestext per bug 21836

14 years agomaxlength=200 for page move summary in HTML5
Aryeh Gregor [Tue, 15 Dec 2009 00:11:47 +0000 (00:11 +0000)]
maxlength=200 for page move summary in HTML5

Bug 16921.  maxlength is not allowed on textareas in HTML4, so this only
works in HTML5.  Note that Firefox 3.5 and Opera 9.22 ignore the
attribute (didn't test IE), so this isn't a complete fix.  Recent WebKit
does respect the attribute (tested in Chrome 4).

Of course, the length limit of 200 is a hack, just like for edit
summaries, and we really need to move to a non-varchar(255) backend for
all these fields.

Relevant to r45517, r45571.

14 years agoFollowup r60051, with the rest of the callers and removing a useless subclassing...
Chad Horohoe [Mon, 14 Dec 2009 23:18:03 +0000 (23:18 +0000)]
Followup r60051, with the rest of the callers and removing a useless subclassing from DatabaseMssql

14 years agoNew experimental tab styles for staging on sandbox1
Adam Miller [Mon, 14 Dec 2009 23:07:13 +0000 (23:07 +0000)]
New experimental tab styles for staging on sandbox1

14 years agoUpdate callers from immediateCommit() to commit(). The former's been deprecated a...
Chad Horohoe [Mon, 14 Dec 2009 23:05:35 +0000 (23:05 +0000)]
Update callers from immediateCommit() to commit(). The former's been deprecated a really long time...Tim did it 45243 revisions ago.

14 years agoRemove fixme, done since r53528
Alexandre Emsenhuber [Mon, 14 Dec 2009 20:58:41 +0000 (20:58 +0000)]
Remove fixme, done since r53528

14 years agoWhitespaces fixes:
Alexandre Emsenhuber [Mon, 14 Dec 2009 20:37:51 +0000 (20:37 +0000)]
Whitespaces fixes:
* replaced tabs with spaces for Title members variables description so that it's the same for everybody
* removed trailing spaces
* removed/replaced tabs before spaces

14 years agoFollow-up r60043. Add accidently deleted strong
Raimond Spekking [Mon, 14 Dec 2009 20:11:01 +0000 (20:11 +0000)]
Follow-up r60043. Add accidently deleted strong

14 years ago* Change <h2> to <strong> for message 'loginerror' because this message is always...
Raimond Spekking [Mon, 14 Dec 2009 20:08:13 +0000 (20:08 +0000)]
* Change <h2> to <strong> for message 'loginerror' because this message is always shown inside a box: either 'errorbox' or 'successbox', never as real h2
No other error message using these boxes has an 'h2' in it.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Mon, 14 Dec 2009 19:20:28 +0000 (19:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-14 19:00 UTC)

14 years agotypo in comment
Alexandre Emsenhuber [Mon, 14 Dec 2009 13:41:32 +0000 (13:41 +0000)]
typo in comment

14 years agoRemove unnecessary and broken converGrammar override
Niklas Laxström [Mon, 14 Dec 2009 11:33:36 +0000 (11:33 +0000)]
Remove unnecessary and broken converGrammar override

14 years agoBegin work on allowing extauth login from cookies
Aryeh Gregor [Mon, 14 Dec 2009 00:53:13 +0000 (00:53 +0000)]
Begin work on allowing extauth login from cookies

Still need to actually do the user creation, but some more framework is
in place for when I want to continue work.

14 years ago* (bug 21441) meta=userinfo&uiprop=options no longer returns default options for...
Alexandre Emsenhuber [Sun, 13 Dec 2009 20:55:09 +0000 (20:55 +0000)]
* (bug 21441) meta=userinfo&uiprop=options no longer returns default options for logged-in users under certain circumstances

User::$mOptions is no now only set when calling User::loadOptions() and thus remain null on cache hit and thus the api displays default user settings

14 years agoMore convenient format for $wgExternalAuthType
Aryeh Gregor [Sun, 13 Dec 2009 20:45:10 +0000 (20:45 +0000)]
More convenient format for $wgExternalAuthType

Now is the whole class name, not a suffix.  This allows you to do things
like $wgExternalAuthType::someStaticMethod() instead of having to fiddle
with temporary variables.

This will obviously break anything that has $wgExternalAuthType already
configured, so if that's anyone but me, make sure to fix your configs.
This is still experimental.

14 years agoAutomatically link on login if passwords match
Aryeh Gregor [Sun, 13 Dec 2009 20:24:38 +0000 (20:24 +0000)]
Automatically link on login if passwords match

14 years agovB strips whitespace from passwords
Aryeh Gregor [Sun, 13 Dec 2009 20:24:17 +0000 (20:24 +0000)]
vB strips whitespace from passwords

14 years agoFix comment
Aryeh Gregor [Sun, 13 Dec 2009 20:23:53 +0000 (20:23 +0000)]
Fix comment

We don't strip whitespace from passwords, that would be braindead.

14 years ago* (bug 20765) Special:ListGroupRights no longer misses addables and removables groups...
Alexandre Emsenhuber [Sun, 13 Dec 2009 20:17:09 +0000 (20:17 +0000)]
* (bug 20765) Special:ListGroupRights no longer misses addables and removables groups if there are duplicate entries
I could reproduce the problem locally, but since I don't know the exact issue on the Polish Wikipedia, I suspect this is this one:
array_unique() doesn't change keys, so if you have:
array(
 0 => 'One',
 1 => 'One',
 2 => 'Two'
)
you'll get after array_unique():
array(
 0 => 'One',
 2 => 'Two'
)
which confuses Language::listToText() since it expects consecutive keys

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Sun, 13 Dec 2009 19:19:46 +0000 (19:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-13 19:00 UTC)

14 years ago(bug 20332) Estonian grammar forms for Wikimedia project names
Siebrand Mazeland [Sun, 13 Dec 2009 19:16:38 +0000 (19:16 +0000)]
(bug 20332) Estonian grammar forms for Wikimedia project names

14 years ago*coding style cleanup
Jack Phoenix [Sun, 13 Dec 2009 17:57:21 +0000 (17:57 +0000)]
*coding style cleanup
*marked public functions as such in memcached-client.php

14 years agoReadded definition for doxygen's Maintenance group that was removed in r55810
Alexandre Emsenhuber [Sat, 12 Dec 2009 22:22:26 +0000 (22:22 +0000)]
Readded definition for doxygen's Maintenance group that was removed in r55810

14 years agoFor consistency with the other special pages, don't add wfSpecialLinkSearch() to...
Alexandre Emsenhuber [Sat, 12 Dec 2009 20:54:57 +0000 (20:54 +0000)]
For consistency with the other special pages, don't add wfSpecialLinkSearch() to the SpecialPage group

14 years agoMissing global; was throwing Fatal error: Call to a member function getSkinFromCssJsS...
Alexandre Emsenhuber [Sat, 12 Dec 2009 18:04:13 +0000 (18:04 +0000)]
Missing global; was throwing Fatal error: Call to a member function getSkinFromCssJsSubpage() on a non-object in includes/EditPage.php on line 1467

14 years agoAdd maintenance script for running queries in batches. This is especially useful...
Roan Kattouw [Sat, 12 Dec 2009 15:38:03 +0000 (15:38 +0000)]
Add maintenance script for running queries in batches. This is especially useful for executing large write queries (e.g. fixing user renames, clearing huge watchlists) on the WMF cluster; before, everyone wrote their own script for this when they needed it.

14 years ago* (bug 21826) Subsections of Special:Version now also have anchors
Alexandre Emsenhuber [Sat, 12 Dec 2009 15:34:23 +0000 (15:34 +0000)]
* (bug 21826) Subsections of Special:Version now also have anchors

14 years agoI fail to see why we need to invalidate cache on watchlist edits here, do we store...
Domas Mituzas [Sat, 12 Dec 2009 14:52:01 +0000 (14:52 +0000)]
I fail to see why we need to invalidate cache on watchlist edits here, do we store full watchlist in user object?

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Sat, 12 Dec 2009 12:29:14 +0000 (12:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-12 11:30 UTC)

14 years agoWhee, a debugging piece of SQL had made it through in r59932
Max Semenik [Fri, 11 Dec 2009 23:30:08 +0000 (23:30 +0000)]
Whee, a debugging piece of SQL had made it through in r59932

14 years agofix some doxygen errors
Alexandre Emsenhuber [Fri, 11 Dec 2009 22:19:37 +0000 (22:19 +0000)]
fix some doxygen errors

14 years agoMass convert NULL -> null. Left strings and comments alone, obviously.
Chad Horohoe [Fri, 11 Dec 2009 21:07:27 +0000 (21:07 +0000)]
Mass convert NULL -> null. Left strings and comments alone, obviously.

14 years agoImprove documentation for $wgEnforceHtmlIds
Aryeh Gregor [Fri, 11 Dec 2009 19:59:52 +0000 (19:59 +0000)]
Improve documentation for $wgEnforceHtmlIds

Per code review feedback on r45171.  This seems to be easier than
reverting it wholesale, but anyone who would like to do that instead
should feel free.

14 years agoPer CR for r58631, moved default duplicateTableStructure() implementation to Database...
Max Semenik [Fri, 11 Dec 2009 19:53:10 +0000 (19:53 +0000)]
Per CR for r58631, moved default duplicateTableStructure() implementation to DatabaseMysql, replacing it with 'not implemented' exception throw

14 years agoDelete refs to variable removed in r59692
Aryeh Gregor [Fri, 11 Dec 2009 19:43:04 +0000 (19:43 +0000)]
Delete refs to variable removed in r59692

14 years agoFix bugs in r59360, r59361, r59363
Aryeh Gregor [Fri, 11 Dec 2009 19:01:16 +0000 (19:01 +0000)]
Fix bugs in r59360, r59361, r59363

* spellcheck is not a boolean attribute; it is an enumerated attribute
  whose possible values are "true" and "false".  If it were boolean, the
  permitted constructs would be <input spellcheck>, <input
  spellcheck="spellcheck">, and <input spellcheck="">, which would all
  set it true, and it would only be set to false if omitted entirely.
  (It would be boolean if HTML5 had invented it, but can't be for
  historical reasons.)
* spellcheck is valid on any HTML element, not just input, and so should
  be stripped on any element.

For reference, a table of all HTML5 attributes can be found at:

<http://www.whatwg.org/specs/web-apps/current-work/multipage/section-index.html#attributes-0>

14 years agomore coding style cleanup to DatabaseOracle.php
Jack Phoenix [Fri, 11 Dec 2009 18:23:24 +0000 (18:23 +0000)]
more coding style cleanup to DatabaseOracle.php

14 years agoLocalization update.
Rotem Liss [Fri, 11 Dec 2009 16:56:06 +0000 (16:56 +0000)]
Localization update.

14 years agoFixed missing table in ora/tables.sql. Replaced instantiation of DBUndexpecedError...
Jure Kajzer [Fri, 11 Dec 2009 16:47:06 +0000 (16:47 +0000)]
Fixed missing table in ora/tables.sql. Replaced instantiation of DBUndexpecedError with DBQueryError in reportQueryError function

14 years agoAPI: (bug 21817) list=usercontribs chokes on empty ucuser. Patch by Paul Copperman...
Roan Kattouw [Fri, 11 Dec 2009 15:47:32 +0000 (15:47 +0000)]
API: (bug 21817) list=usercontribs chokes on empty ucuser. Patch by Paul Copperman. Backported from wmf-deployment (r59952)

14 years ago(bug 20928) Added tri-state form for RevisionDelete when there are multiple items.
Aaron Schulz [Fri, 11 Dec 2009 06:57:37 +0000 (06:57 +0000)]
(bug 20928) Added tri-state form for RevisionDelete when there are multiple items.

14 years agoRestored the function of ApiMain::requestWriteMode(), as per the suggestion on CR...
Tim Starling [Fri, 11 Dec 2009 06:49:48 +0000 (06:49 +0000)]
Restored the function of ApiMain::requestWriteMode(), as per the suggestion on CR r50833.

14 years agoadded 'typeof' check, less ambiguous
Nimish Gautam [Fri, 11 Dec 2009 00:02:22 +0000 (00:02 +0000)]
added 'typeof' check, less ambiguous

14 years agostylize.php on DatabaseOracle.php
Aryeh Gregor [Thu, 10 Dec 2009 23:22:34 +0000 (23:22 +0000)]
stylize.php on DatabaseOracle.php

Please follow <http://www.mediawiki.org/wiki/Manual:Coding_conventions>
so that code is easier to read.  (For anyone whose blames are getting
messed up by whitespace changes, use svn blame -x -w, or git blame -w,
to ignore them.)

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Thu, 10 Dec 2009 21:01:33 +0000 (21:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-10 20:30 UTC)

14 years agoFixed updater borkage on SQLite from r59925 and r59926, tweaked explanation for this...
Max Semenik [Thu, 10 Dec 2009 17:42:12 +0000 (17:42 +0000)]
Fixed updater borkage on SQLite from r59925 and r59926, tweaked explanation for this change in updaters.inc for portability. See my comments for these revisions in CodeReview for motivation.

14 years agoAddendum to r59925, fix remaining straggling files that set rc_time to int
OverlordQ [Thu, 10 Dec 2009 10:10:56 +0000 (10:10 +0000)]
Addendum to r59925, fix remaining straggling files that set rc_time to int

14 years agoFollowup to r59869, add to MySQL section, and copy patch to SQLite directory
OverlordQ [Thu, 10 Dec 2009 05:39:45 +0000 (05:39 +0000)]
Followup to r59869, add to MySQL section, and copy patch to SQLite directory

14 years agoAdd rudimentary MediaWiki support to ExternalAuth
Aryeh Gregor [Thu, 10 Dec 2009 01:51:22 +0000 (01:51 +0000)]
Add rudimentary MediaWiki support to ExternalAuth

14 years agoAdd new ExternalAuth mechanism, Hardcoded
Aryeh Gregor [Thu, 10 Dec 2009 01:05:13 +0000 (01:05 +0000)]
Add new ExternalAuth mechanism, Hardcoded

This just lets you enter the database by hand in LocalSettings.php, for
testing.  Now other people can actually test ExternalAuth without having
a vBulletin license.  23 lines not counting whitespace/comments/closing
braces, and took me ~20 minutes to write.

14 years agoRemoved $file->load() call from r57148: already called internally as needed
Aaron Schulz [Thu, 10 Dec 2009 00:20:20 +0000 (00:20 +0000)]
Removed $file->load() call from r57148: already called internally as needed

14 years agofix for different sources of upload comments
Daniel Kinzler [Wed, 9 Dec 2009 21:58:20 +0000 (21:58 +0000)]
fix for different sources of upload comments

14 years agoRemoved the extra parameter from the attachEvent call, which only takes 2 parameters...
Trevor Parscal [Wed, 9 Dec 2009 21:57:48 +0000 (21:57 +0000)]
Removed the extra parameter from the attachEvent call, which only takes 2 parameters. This resolves issues in r59832.

14 years ago* (bug 21803) Special:MyContributions now keeps the query string parameters
Alexandre Emsenhuber [Wed, 9 Dec 2009 21:47:06 +0000 (21:47 +0000)]
* (bug 21803) Special:MyContributions now keeps the query string parameters
As side effect:
* Redirecting special pages now keep query string paramters set to "0" (e.g. for namespace)

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Wed, 9 Dec 2009 19:52:28 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-09 19:00 UTC)

14 years agoAPI: Add rvdifftotext parameter to prop=revisions to allow diffing to a fixed text...
Roan Kattouw [Wed, 9 Dec 2009 18:34:32 +0000 (18:34 +0000)]
API: Add rvdifftotext parameter to prop=revisions to allow diffing to a fixed text instead of a revision

14 years agoFix r59761,r59797: check if is_object()
Chad Horohoe [Wed, 9 Dec 2009 18:25:57 +0000 (18:25 +0000)]
Fix r59761,r59797: check if is_object()

14 years ago* Added a space between the version and "(rXXX)" in SpecialVersion::getVersion()...
Alexandre Emsenhuber [Wed, 9 Dec 2009 17:54:33 +0000 (17:54 +0000)]
* Added a space between the version and "(rXXX)" in SpecialVersion::getVersion() so that it's the same as SpecialVersion::getVersionLinked()
* Removed trailing whitespaces

14 years agoAdded missing braces.
Jure Kajzer [Wed, 9 Dec 2009 09:10:55 +0000 (09:10 +0000)]
Added missing braces.

14 years agoFollowup to r59818, change transcache timestamp field to be consistent with other...
OverlordQ [Wed, 9 Dec 2009 02:26:50 +0000 (02:26 +0000)]
Followup to r59818, change transcache timestamp field to be consistent with other timestamp fields, requires schema change

14 years agoRename some extauth functions and fields
Aryeh Gregor [Tue, 8 Dec 2009 19:32:17 +0000 (19:32 +0000)]
Rename some extauth functions and fields

Per Code Review at
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53497#c4633>.  One
of the changes was a database field, and updaters might have to be
written for pgsql and DB2.

14 years agoMore doxygen fixes:
Alexandre Emsenhuber [Tue, 8 Dec 2009 19:19:24 +0000 (19:19 +0000)]
More doxygen fixes:
* added rebuildInterwiki.inc to Wikimedia group
* added "@file" to addwiki.php and renamewiki.php so that they really belong to the Wikimedia group

14 years agoFixes for comments on r59655
Daniel Friesen [Tue, 8 Dec 2009 17:17:24 +0000 (17:17 +0000)]
Fixes for comments on r59655
- Look for any textbox since just creating one doesn't work
- editFormHeadInit -> showHeader
- code style
- moved checkbox initialization into relevant locations
- dropped hardcoded use of currentFocused in favor of catching event delegated focus events within the edit form

Also:
- Removed more direct uses of $wgRequest in favor of properties
- add $wgPreviewOnOpenNamespaces for extensions like SMW that have category like namespaces.

14 years agoFixed coding convention issue
Jure Kajzer [Tue, 8 Dec 2009 10:24:23 +0000 (10:24 +0000)]
Fixed coding convention issue

14 years agoFix mk plural as requested, CLDR seems to be wrong in this case
Niklas Laxström [Tue, 8 Dec 2009 10:04:48 +0000 (10:04 +0000)]
Fix mk plural as requested, CLDR seems to be wrong in this case

14 years agoFix Parser transcache to correctly format timestamps
OverlordQ [Tue, 8 Dec 2009 02:01:26 +0000 (02:01 +0000)]
Fix Parser transcache to correctly format timestamps

14 years agoClarified documentation of File::isMultipage() to avoid further mistakes like bug...
Tim Starling [Tue, 8 Dec 2009 00:07:37 +0000 (00:07 +0000)]
Clarified documentation of File::isMultipage() to avoid further mistakes like bug 21523.

14 years agoUsed more @noflip rules to make some of the margins a bit less confusing.
Trevor Parscal [Mon, 7 Dec 2009 23:03:24 +0000 (23:03 +0000)]
Used more @noflip rules to make some of the margins a bit less confusing.

14 years agoRevert debugging code accidentally left in from r59780
Tim Starling [Mon, 7 Dec 2009 21:45:21 +0000 (21:45 +0000)]
Revert debugging code accidentally left in from r59780

14 years agoYet more fixes for r59799: fix typo, JS error in js2stopgap, reminify.
Roan Kattouw [Mon, 7 Dec 2009 21:28:52 +0000 (21:28 +0000)]
Yet more fixes for r59799: fix typo, JS error in js2stopgap, reminify.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2009...
Raimond Spekking [Mon, 7 Dec 2009 19:59:37 +0000 (19:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-07 16:30 UTC)

14 years ago* updated js2 stopgap stubs to reflect new function name
Michael Dale [Mon, 7 Dec 2009 19:56:42 +0000 (19:56 +0000)]
* updated js2 stopgap stubs to reflect new function name
js2AddonLoadHook -> mw.addonLoadHook
loadGM -> mw.addMessege
mvJsLoader->doLoad() -> mw.load()
mvJsLoader->doDepsMode() -> mw.load()
loadExternalScript() -> mw.load()

14 years agoPer Nikerabbit, follow-up to r59761: just check for "instanceof User"
Alexandre Emsenhuber [Mon, 7 Dec 2009 19:42:12 +0000 (19:42 +0000)]
Per Nikerabbit, follow-up to r59761: just check for "instanceof User"

14 years agoCosmetic fixes:
Alexandre Emsenhuber [Mon, 7 Dec 2009 19:16:17 +0000 (19:16 +0000)]
Cosmetic fixes:
* indention for lines not starting with "* "
* break lines at 80 chars

14 years agoLocalization update.
Rotem Liss [Mon, 7 Dec 2009 19:06:33 +0000 (19:06 +0000)]
Localization update.

14 years ago* (bug 21776) Empty project + language interwikis do not work anymore [patch by Plato...
Danny B [Mon, 7 Dec 2009 18:28:25 +0000 (18:28 +0000)]
* (bug 21776) Empty project + language interwikis do not work anymore [patch by Platonides]

14 years agostop undefined variable notices
Aaron Schulz [Mon, 7 Dec 2009 16:50:36 +0000 (16:50 +0000)]
stop undefined variable notices

14 years agoReplaced all instances of <<<END (which breaks vim syntax highlighting), with a type...
Tim Starling [Mon, 7 Dec 2009 08:51:52 +0000 (08:51 +0000)]
Replaced all instances of <<<END (which breaks vim syntax highlighting), with a type-specific end token. For HTML and SQL, this causes vim to highlight the embedded text with the HTML or SQL file type plugins respectively, which is very neat.

14 years agoMessage cosmetic MediaWiki:sectioneditnotsupported-text
Purodha B Blissenbach [Mon, 7 Dec 2009 01:30:56 +0000 (01:30 +0000)]
Message cosmetic MediaWiki:sectioneditnotsupported-text

14 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 6 Dec 2009 15:05:33 +0000 (15:05 +0000)]
Localisation updates from translatewiki.net
* update magic words translations

14 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 6 Dec 2009 14:59:27 +0000 (14:59 +0000)]
Localisation updates from translatewiki.net
* update special page aliases

14 years agoFixed duplicateTableStructure() for SQLite, it previously didn't copy row properties...
Max Semenik [Sun, 6 Dec 2009 11:09:39 +0000 (11:09 +0000)]
Fixed duplicateTableStructure() for SQLite, it previously didn't copy row properties such as autoincrement. Resolves bug 20549 - parser tests now work with SQLite.

14 years agoFollowup to 59748, add comment describing option
OverlordQ [Sun, 6 Dec 2009 00:15:05 +0000 (00:15 +0000)]
Followup to 59748, add comment describing option

14 years agoUser::newFromName() can return false on invalid user name, and thus was throwing...
Alexandre Emsenhuber [Sat, 5 Dec 2009 21:26:42 +0000 (21:26 +0000)]
User::newFromName() can return false on invalid user name, and thus was throwing "PHP Fatal error: Call to a member function idForName() on a non-object in includes/specials/SpecialUserlogin.php on line 280"

14 years agoDoxygen fixes:
Alexandre Emsenhuber [Sat, 5 Dec 2009 17:07:40 +0000 (17:07 +0000)]
Doxygen fixes:
* remove duplicated definition of "Wikimedia" group in cleanupTable.inc
* define "HTTP" and "Wikimedia" groups in a separate comment so that doxygen doesn't throw "Cannot assign group to itself"

14 years agoUpdated links for pages moved from Meta to mw.org, tweaked doc a bit in one case...
Max Semenik [Sat, 5 Dec 2009 15:03:20 +0000 (15:03 +0000)]
Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha)

14 years agoEliminated deadlock during parser tests on SQLite
Max Semenik [Sat, 5 Dec 2009 10:33:09 +0000 (10:33 +0000)]
Eliminated deadlock during parser tests on SQLite

14 years agofollow-up r59522 and r59735. only redirect to a variant URL when logged out.
Philip Tzou [Sat, 5 Dec 2009 05:39:21 +0000 (05:39 +0000)]
follow-up r59522 and r59735. only redirect to a variant URL when logged out.

14 years agoMaking the DBA handler configurable when using CACHE_DBA, still defaults to db3.
OverlordQ [Fri, 4 Dec 2009 23:11:28 +0000 (23:11 +0000)]
Making the DBA handler configurable when using CACHE_DBA, still defaults to db3.
Changed the constructor to only take one optional dir param, the only place it gets called is ObjectCache with no parameters.

14 years agoAdd DTD to fix well-formedness errors in HTML5
Aryeh Gregor [Fri, 4 Dec 2009 19:39:15 +0000 (19:39 +0000)]
Add DTD to fix well-formedness errors in HTML5

Now actually tested, using Python's SAX module.  You can verify that a
page is well-formed XML (or at least won't break in pywikipediabot) with
a program like this:

import xml.sax
class Myhandler(xml.sax.ContentHandler):
    pass
h = Myhandler()
xml.sax.parse("http://localhost/git-trunk/phase3/index.php?title=Special:UserLogin",
    h)

If the page is not well-formed, this will throw an exception.  It did
with the old doctype, but no longer does if $wgWellFormedXml == true.

14 years ago* (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logem...
Alexandre Emsenhuber [Fri, 4 Dec 2009 18:37:54 +0000 (18:37 +0000)]
* (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logempty" when used in log extract