Commit graph

27236 commits

Author SHA1 Message Date
Rotem Liss
6629decf59 Localization update. 2009-12-11 16:56:06 +00:00
Jure Kajzer
1600e22d14 Fixed missing table in ora/tables.sql. Replaced instantiation of DBUndexpecedError with DBQueryError in reportQueryError function 2009-12-11 16:47:06 +00:00
Roan Kattouw
ce8e63a27b API: (bug 21817) list=usercontribs chokes on empty ucuser. Patch by Paul Copperman. Backported from wmf-deployment (r59952) 2009-12-11 15:47:32 +00:00
Aaron Schulz
478f45779f (bug 20928) Added tri-state form for RevisionDelete when there are multiple items. 2009-12-11 06:57:37 +00:00
Tim Starling
12b8a2a75e Restored the function of ApiMain::requestWriteMode(), as per the suggestion on CR r50833. 2009-12-11 06:49:48 +00:00
Nimish Gautam
5db0cf9226 added 'typeof' check, less ambiguous 2009-12-11 00:02:22 +00:00
Aryeh Gregor
d5c5375ec4 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.)
2009-12-10 23:22:34 +00:00
Raimond Spekking
2261b2608e Localisation updates for core and extension messages from translatewiki.net (2009-12-10 20:30 UTC) 2009-12-10 21:01:33 +00:00
Max Semenik
5445d274c1 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. 2009-12-10 17:42:12 +00:00
OverlordQ
7f5332a3b7 Addendum to r59925, fix remaining straggling files that set rc_time to int 2009-12-10 10:10:56 +00:00
OverlordQ
ff2d149795 Followup to r59869, add to MySQL section, and copy patch to SQLite directory 2009-12-10 05:39:45 +00:00
Aryeh Gregor
984be432fc Add rudimentary MediaWiki support to ExternalAuth 2009-12-10 01:51:22 +00:00
Aryeh Gregor
d4c6696bb7 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.
2009-12-10 01:05:13 +00:00
Aaron Schulz
fe4ec33ccd Removed $file->load() call from r57148: already called internally as needed 2009-12-10 00:20:20 +00:00
Daniel Kinzler
009673ebdc fix for different sources of upload comments 2009-12-09 21:58:20 +00:00
Trevor Parscal
56c02c75d2 Removed the extra parameter from the attachEvent call, which only takes 2 parameters. This resolves issues in r59832. 2009-12-09 21:57:48 +00:00
Alexandre Emsenhuber
8bb062d73d * (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)
2009-12-09 21:47:06 +00:00
Raimond Spekking
7d8423a736 Localisation updates for core and extension messages from translatewiki.net (2009-12-09 19:00 UTC) 2009-12-09 19:52:28 +00:00
Roan Kattouw
8cceca66db API: Add rvdifftotext parameter to prop=revisions to allow diffing to a fixed text instead of a revision 2009-12-09 18:34:32 +00:00
Chad Horohoe
6efc0d1da2 Fix r59761,r59797: check if is_object() 2009-12-09 18:25:57 +00:00
Alexandre Emsenhuber
97e4789cd4 * Added a space between the version and "(rXXX)" in SpecialVersion::getVersion() so that it's the same as SpecialVersion::getVersionLinked()
* Removed trailing whitespaces
2009-12-09 17:54:33 +00:00
Jure Kajzer
2275a0d710 Added missing braces. 2009-12-09 09:10:55 +00:00
OverlordQ
8c0dbeb928 Followup to r59818, change transcache timestamp field to be consistent with other timestamp fields, requires schema change 2009-12-09 02:26:50 +00:00
Aryeh Gregor
b520bfb771 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.
2009-12-08 19:32:17 +00:00
Alexandre Emsenhuber
5ae63ebac8 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
2009-12-08 19:19:24 +00:00
Daniel Friesen
71fc5a0ffc 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.
2009-12-08 17:17:24 +00:00
Jure Kajzer
406f04b6bb Fixed coding convention issue 2009-12-08 10:24:23 +00:00
Niklas Laxström
183898db45 Fix mk plural as requested, CLDR seems to be wrong in this case 2009-12-08 10:04:48 +00:00
OverlordQ
2ba3527d10 Fix Parser transcache to correctly format timestamps 2009-12-08 02:01:26 +00:00
Tim Starling
2d8de85107 Clarified documentation of File::isMultipage() to avoid further mistakes like bug 21523. 2009-12-08 00:07:37 +00:00
Trevor Parscal
fcc0196e55 Used more @noflip rules to make some of the margins a bit less confusing. 2009-12-07 23:03:24 +00:00
Tim Starling
ee8ec5ac34 Revert debugging code accidentally left in from r59780 2009-12-07 21:45:21 +00:00
Roan Kattouw
d83293478c Yet more fixes for r59799: fix typo, JS error in js2stopgap, reminify. 2009-12-07 21:28:52 +00:00
Raimond Spekking
77493aeceb Localisation updates for core and extension messages from translatewiki.net (2009-12-07 16:30 UTC) 2009-12-07 19:59:37 +00:00
Michael Dale
8b1b8981dc * 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()
2009-12-07 19:56:42 +00:00
Alexandre Emsenhuber
26ff65e818 Per Nikerabbit, follow-up to r59761: just check for "instanceof User" 2009-12-07 19:42:12 +00:00
Alexandre Emsenhuber
2c8d22f7b8 Cosmetic fixes:
* indention for lines not starting with "* "
* break lines at 80 chars
2009-12-07 19:16:17 +00:00
Rotem Liss
740f043ae4 Localization update. 2009-12-07 19:06:33 +00:00
Danny B
6333fe241c * (bug 21776) Empty project + language interwikis do not work anymore [patch by Platonides] 2009-12-07 18:28:25 +00:00
Aaron Schulz
1d05356f12 stop undefined variable notices 2009-12-07 16:50:36 +00:00
Tim Starling
c5fc589257 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. 2009-12-07 08:51:52 +00:00
Purodha B Blissenbach
246b0b7d2c Message cosmetic MediaWiki:sectioneditnotsupported-text 2009-12-07 01:30:56 +00:00
Siebrand Mazeland
98ec17c2ee Localisation updates from translatewiki.net
* update magic words translations
2009-12-06 15:05:33 +00:00
Siebrand Mazeland
4be236c2a4 Localisation updates from translatewiki.net
* update special page aliases
2009-12-06 14:59:27 +00:00
Max Semenik
a9927b34c5 Fixed duplicateTableStructure() for SQLite, it previously didn't copy row properties such as autoincrement. Resolves bug 20549 - parser tests now work with SQLite. 2009-12-06 11:09:39 +00:00
OverlordQ
f14ba931ad Followup to 59748, add comment describing option 2009-12-06 00:15:05 +00:00
Alexandre Emsenhuber
19d188a88c 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" 2009-12-05 21:26:42 +00:00
Alexandre Emsenhuber
95e1a7210b 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"
2009-12-05 17:07:40 +00:00
Max Semenik
a6cda4b42b Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) 2009-12-05 15:03:20 +00:00
Max Semenik
98c3370efc Eliminated deadlock during parser tests on SQLite 2009-12-05 10:33:09 +00:00