Rotem Liss [Wed, 6 Dec 2006 18:22:21 +0000 (18:22 +0000)]
(bug 8114) Fixing namespaces for nds-nl
Rotem Liss [Wed, 6 Dec 2006 18:16:47 +0000 (18:16 +0000)]
(bug 8071) Update for Lithuanian language (lt)
Rotem Liss [Wed, 6 Dec 2006 18:10:46 +0000 (18:10 +0000)]
(bug 7979) Tatarish i18n for MediaWiki updates
Rotem Liss [Wed, 6 Dec 2006 16:16:29 +0000 (16:16 +0000)]
(bug 8168) Russian translation update
Rotem Liss [Wed, 6 Dec 2006 15:31:59 +0000 (15:31 +0000)]
Update.
Rotem Liss [Wed, 6 Dec 2006 15:27:30 +0000 (15:27 +0000)]
Merging 'diff-multi' and 'diff-multi-revs'.
Rotem Liss [Wed, 6 Dec 2006 15:20:15 +0000 (15:20 +0000)]
Combining new 'diff-multi-rev' and 'diff-multi-revs' to one message with plural.
Ilmari Karonen [Wed, 6 Dec 2006 08:46:22 +0000 (08:46 +0000)]
fix "show changes" edit button breakage from r18194
Ilmari Karonen [Wed, 6 Dec 2006 08:28:44 +0000 (08:28 +0000)]
(bug 5485) Show number of intervening revisions in diff view.
Also clean up RELEASE-NOTES some more after SpecialContributions revert.
Ilmari Karonen [Wed, 6 Dec 2006 06:58:50 +0000 (06:58 +0000)]
...the previous line can also me moved inside the if block
Ilmari Karonen [Wed, 6 Dec 2006 06:55:34 +0000 (06:55 +0000)]
avoid calling wfMsg( 'missingarticle' ) unless needed
Aryeh Gregor [Tue, 5 Dec 2006 22:45:27 +0000 (22:45 +0000)]
(bug 8151) Enable link prefix for Lingala (ln).
Rotem Liss [Tue, 5 Dec 2006 17:55:09 +0000 (17:55 +0000)]
Fixes.
Rotem Liss [Tue, 5 Dec 2006 14:40:01 +0000 (14:40 +0000)]
Reverting r18153, per the revert of Special:Contributions and Special:NewbieContributions in r18166.
Aryeh Gregor [Tue, 5 Dec 2006 08:45:16 +0000 (08:45 +0000)]
Add pretty arrow images from SMW for sorttable instead of Unicode arrow characters. Currently the same for all skins; any clever ideas on how to make them different, maybe? The path should be overridable in other JS files, anyway.
Brion Vibber [Tue, 5 Dec 2006 02:44:53 +0000 (02:44 +0000)]
add cute barchart
Brion Vibber [Tue, 5 Dec 2006 02:37:31 +0000 (02:37 +0000)]
* silly script to dump lag time for each database
Brion Vibber [Tue, 5 Dec 2006 01:35:41 +0000 (01:35 +0000)]
Revert r17964 again; accidentally restored that breakage while restoring Special:Contributions
Brion Vibber [Tue, 5 Dec 2006 01:11:12 +0000 (01:11 +0000)]
Restore Special:Contributions to its state as of 17964
New version doesn't keep all features; keep it off trunk until complete
Nick Jenkins [Mon, 4 Dec 2006 23:29:15 +0000 (23:29 +0000)]
Reverting oldid parts of r18156 and r18150, as should not be taking 'oldid' out of $wgRequest as it is going to be frequently incorrect, and can contain bogus integer data.
E.g. outputs the wrong value here: http://en.wikipedia.org/w/index.php?title=Calcitriol&direction=next&oldid=
71374766
and outputs a negative value here: http://en.wikipedia.org/w/index.php?title=Calcitriol&direction=next&oldid=-
71374766
Brion Vibber [Mon, 4 Dec 2006 22:54:12 +0000 (22:54 +0000)]
* Enable QueryPage classes to override list formatting; return Contribs
to unordered list display to improve readability
Brion Vibber [Mon, 4 Dec 2006 22:17:12 +0000 (22:17 +0000)]
* (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
instead of hardcoding to 1000
* Avoid notice when contribs query page class is instantiated in batch mode
Leon Weber [Mon, 4 Dec 2006 21:17:24 +0000 (21:17 +0000)]
Whoops, forgot to update the release notes :-) Thanks raymond.
Leon Weber [Mon, 4 Dec 2006 20:08:53 +0000 (20:08 +0000)]
* (bug 8141) Cleanup of Parser::doTableStuff() (patch by Carl Fürstenberg/AzaTht)
* Slightes change of a code snippet of me to make it look nicer
Rotem Liss [Mon, 4 Dec 2006 12:02:00 +0000 (12:02 +0000)]
(bug 8119) Correct spelling of Category namespace in Limburgish
Nick Jenkins [Mon, 4 Dec 2006 11:28:48 +0000 (11:28 +0000)]
E_STRICT minor tweaks:
* Strict Standards: Undefined index: currevisionid in includes/Skin.php on line 287
* Strict Standards: Undefined index: oldid in includes/Skin.php on line 288
[ Repo above with error_logging(E_ALL | E_STRICT) in LocalSettings.php, and a non-default skin, e.g: http://localhost/wiki/index.php?title=Main_Page&useskin=nostalgia ]
* Strict Standards: is_a(): Deprecated. Please use the instanceof operator in includes/UserMailer.php on line 42
Rotem Liss [Sun, 3 Dec 2006 15:09:32 +0000 (15:09 +0000)]
Update.
Leon Weber [Sun, 3 Dec 2006 14:13:59 +0000 (14:13 +0000)]
Fixed the error of r18149. Apologies.
Leon Weber [Sun, 3 Dec 2006 13:47:37 +0000 (13:47 +0000)]
Took back the change of r18150 until I find out how to fix
Leon Weber [Sun, 3 Dec 2006 12:35:50 +0000 (12:35 +0000)]
* Added js variable wgOldId which shows the oldid when viewing an old revision
Leon Weber [Sun, 3 Dec 2006 11:44:23 +0000 (11:44 +0000)]
* Added js variable wgCurRevisionId to the output
Rob Church [Sun, 3 Dec 2006 04:09:48 +0000 (04:09 +0000)]
Quote namespace names before plonking them into a regular expression, to give me the warm fuzzies
Rob Church [Sun, 3 Dec 2006 04:05:12 +0000 (04:05 +0000)]
(bug 7671) Observe canonical media namespace prefix in Linker::formatComment
Ilmari Karonen [Sun, 3 Dec 2006 01:59:57 +0000 (01:59 +0000)]
New special page Special:NewbieContributions to replace Special:Contributions/newbies
Also remove some obsolete contributions-related UI messages.
Ilmari Karonen [Sun, 3 Dec 2006 00:42:32 +0000 (00:42 +0000)]
fixfix (thx brion!)
Ilmari Karonen [Sun, 3 Dec 2006 00:22:14 +0000 (00:22 +0000)]
Use Title::newMainPage() in various places instead of calling
wfMsgForContent( 'mainpage' ) directly. Also add release notes
for previous commit.
Ilmari Karonen [Sun, 3 Dec 2006 00:05:45 +0000 (00:05 +0000)]
Didn't really mean to delete SpecialContributions.php back there, but now that
it's gone, I might just as well roll out my new, completely rewritten version.
Brion Vibber [Sat, 2 Dec 2006 23:56:25 +0000 (23:56 +0000)]
* (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
now uses current time for previews and if timestamp can't be loaded from DB
* {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
to ensure consistent behavior
* {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
Ilmari Karonen [Sat, 2 Dec 2006 23:54:55 +0000 (23:54 +0000)]
remove empty file left over from revert
Ilmari Karonen [Sat, 2 Dec 2006 23:51:58 +0000 (23:51 +0000)]
what is this old copy doing here?
Ilmari Karonen [Sat, 2 Dec 2006 22:39:05 +0000 (22:39 +0000)]
proper Finnish translations for NS_MEDIAWIKI and NS_MEDIAWIKI_TALK
Rob Church [Sat, 2 Dec 2006 22:16:21 +0000 (22:16 +0000)]
Rewrite the importTextFile.php script; remove un-needed include file, use Article::doEdit() to do the work, and allow overwriting to occur. Fixes these bugs:
* (bug 7461) Allow overwriting pages using importTextFile.php
* (bug 7946) importTextFile.php doesn't perform pre-save transform
Niklas Laxström [Sat, 2 Dec 2006 21:34:13 +0000 (21:34 +0000)]
* make compile
Andrew Garrett [Sat, 2 Dec 2006 08:52:54 +0000 (08:52 +0000)]
Update linker to make contributions links (in userToolLinks and userLink) and block links (blockLink) use subpage notation, rather than pass the target as a parameter
Rotem Liss [Sat, 2 Dec 2006 07:54:51 +0000 (07:54 +0000)]
Update.
Ilmari Karonen [Sat, 2 Dec 2006 06:34:27 +0000 (06:34 +0000)]
guess I should add a release note for that
Ilmari Karonen [Sat, 2 Dec 2006 06:19:48 +0000 (06:19 +0000)]
Include a backslash character in wpEditToken to prevent editing from broken
proxies that mangle such characters. Not only is editing from open proxies
generally frowned upon on Wikimedia projects, but more importantly, these
particular proxies tend to break wiki markup in submitted content. These
really are not edits we want to let through.
Yes, this is a hack. We may eventually want to explicitly check for this
condition and provide a more informative response, but even so this would
still remain a useful fallback check just in case.
Leon Weber [Fri, 1 Dec 2006 22:56:25 +0000 (22:56 +0000)]
(bug 8083) Applied patch for sk localisation
Leon Weber [Fri, 1 Dec 2006 21:18:40 +0000 (21:18 +0000)]
Added hook 'EditPage::attemptSave' before an article is saved.
Rob Church [Fri, 1 Dec 2006 18:39:43 +0000 (18:39 +0000)]
(bug 8024) Introduce "send me copies of emails I send to others" preference
Rotem Liss [Fri, 1 Dec 2006 14:32:27 +0000 (14:32 +0000)]
Fixes.
Greg Sabino Mullane [Fri, 1 Dec 2006 04:37:48 +0000 (04:37 +0000)]
Change realTimestamp to a function only, per Tim's advice.
Ilmari Karonen [Fri, 1 Dec 2006 03:16:22 +0000 (03:16 +0000)]
disallow embedded line breaks in ISBNs; allowing them breaks things in a most interesting manner
Ilmari Karonen [Fri, 1 Dec 2006 03:09:39 +0000 (03:09 +0000)]
fix broken ISBN test, add two to test space-delimited ISBNs
Ilmari Karonen [Fri, 1 Dec 2006 02:59:21 +0000 (02:59 +0000)]
avoid matching "ISBN " in "ISBN foo"
Ilmari Karonen [Fri, 1 Dec 2006 02:39:19 +0000 (02:39 +0000)]
(bug 8110) allow spaces in ISBNs
Brion Vibber [Thu, 30 Nov 2006 20:55:44 +0000 (20:55 +0000)]
* Fix regression in authentication hook auto-creation on login
Rob Church [Thu, 30 Nov 2006 17:09:27 +0000 (17:09 +0000)]
(bug 1331) Add "next page" link to bottom of Special:Allpages in chunk mode
This code is the stuff nightmares are made of. Nightmares that would make even David Gerard cry.
Brion Vibber [Thu, 30 Nov 2006 07:47:34 +0000 (07:47 +0000)]
* Add AuthPluginSetup hook to override $wgAuth after configuration
Greg Sabino Mullane [Thu, 30 Nov 2006 01:00:08 +0000 (01:00 +0000)]
Bring reportQueryError back in sync and support the IGNORE option
Jason Richey [Wed, 29 Nov 2006 23:13:59 +0000 (23:13 +0000)]
moved the status call so it is only called if max_lag is set, since that is the only time it's value is useful. This won't help Wikimedia, but it should help users who are not using multiple DB servers+max_lag
Brion Vibber [Wed, 29 Nov 2006 21:32:28 +0000 (21:32 +0000)]
Undo oddity from r17987; function doesn't need to be using references here in php5-land, just remove them and behave normally
Niklas Laxström [Wed, 29 Nov 2006 19:57:44 +0000 (19:57 +0000)]
* Updates from helix84
Ilmari Karonen [Wed, 29 Nov 2006 18:21:56 +0000 (18:21 +0000)]
Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
Greg Sabino Mullane [Wed, 29 Nov 2006 16:49:10 +0000 (16:49 +0000)]
Minor tweaks to search query.
Rotem Liss [Wed, 29 Nov 2006 15:04:54 +0000 (15:04 +0000)]
Update.
Greg Sabino Mullane [Wed, 29 Nov 2006 14:05:52 +0000 (14:05 +0000)]
Check for valid timestamp input, thanks to Brion for pointing this out.
Nick Jenkins [Wed, 29 Nov 2006 12:57:54 +0000 (12:57 +0000)]
Appears to be a dupe of the line above it, and ParserOptions::initialiseFromUser() [ which is called by the ParserOptions constructor, which in turn is called by ParserOptions::newFromUser() ] does not appear to have any side effects.
Nick Jenkins [Wed, 29 Nov 2006 12:45:47 +0000 (12:45 +0000)]
$fname is not defined / null in these contexts, replacing with __METHOD__
Nick Jenkins [Wed, 29 Nov 2006 12:32:43 +0000 (12:32 +0000)]
$functionname not defined in this context, replacing with hardcoded "-setup" array key.
Nick Jenkins [Wed, 29 Nov 2006 12:06:58 +0000 (12:06 +0000)]
Probable variable name typo, currently passing ref to NULL.
Nick Jenkins [Wed, 29 Nov 2006 11:58:49 +0000 (11:58 +0000)]
Variable name typo, but again I'm guessing this function isn't used if no-one has complained.
Nick Jenkins [Wed, 29 Nov 2006 11:55:18 +0000 (11:55 +0000)]
Connecting to the database may help, but I'm guessing this function isn't used if no-one has complained.
Nick Jenkins [Wed, 29 Nov 2006 11:43:58 +0000 (11:43 +0000)]
Completing code housekeeping stuff for rest of includes/ directory: removing unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth.
Ilmari Karonen [Wed, 29 Nov 2006 08:08:57 +0000 (08:08 +0000)]
convert "::1" and other pseudo-IPv6 addresses that Apache may throw at us to their IPv4 counterparts
Andrew Garrett [Wed, 29 Nov 2006 06:56:18 +0000 (06:56 +0000)]
*Automatically pre-fill the edit-summary field when undoing an edit.*Add a message at the top of the edit page when undoing an edit. This gives the user some feedback that their undo actually worked, rather than just directed them to an edit page. (Unless you actually look, there's no evidence of a successful undo, which could confuse users)
Nick Jenkins [Wed, 29 Nov 2006 05:45:03 +0000 (05:45 +0000)]
Prevent the following strict-standards warnings - i.e. when running with error_logging(E_ALL | E_STRICT); - which seems to disable the yucky "@" operator, as well as maxing out the pedantry of warnings. Nothing major found, just nice to be as explicit and as forward-compatible as possible.
* Strict Standards: Undefined index: switch in includes/Parser.php on line 3849
* Strict Standards: Undefined index: ref in includes/Parser.php on line 3818
* Strict Standards: Non-static method OutputPage::setEncodings() should not be called statically in index.php on line 11
* Strict Standards: Only variables should be assigned by reference in includes/Skin.php on line 888
* Strict Standards: Non-static method Title::newFromURL() should not be called statically in includes/SpecialContributions.php on line 178
* Strict Standards: Only variables should be assigned by reference in includes/GlobalFunctions.php on line 2054
* Strict Standards: Undefined index: contributions-summary in languages/Language.php on line 764
* Strict Standards: Undefined index: trackbackhtml in skins/MonoBook.php on line 86
* Strict Standards: Undefined index: blockip in skins/MonoBook.php on line 204
* Strict Standards: Undefined index: tagline in skins/MonoBook.php on line 261
* Strict Standards: Undefined index: uselang in includes/SkinTemplate.php on line 1159
* Strict Standards: Non-static method CoreParserFunctions::plural() cannot be called statically in includes/Parser.php on line 2902
* Strict Standards: Undefined offset: 0 in includes/SkinTemplate.php on line 196
* Strict Standards: Undefined index: USE INDEX in includes/Database.php on line 1015
* Strict Standards: Undefined index: image_tests in includes/Parser.php on line 3488
* Strict Standards: Undefined offset: 0 in includes/Parser.php on line 3507
* Strict Standards: Non-static method ChangesList::newFromUser() should not be called statically in includes/SpecialWatchlist.php on line 361
* Strict Standards: Non-static method RecentChange::newFromCurRow() should not be called statically in includes/SpecialWatchlist.php on line 367
* Strict Standards: is_a(): Deprecated. Please use the instanceof operator in includes/Exception.php on line 168
* Strict Standards: Non-static method LogPage::logName() should not be called statically in includes/SpecialContributions.php on line 325
* Strict Standards: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush. in maintenance/commandLine.inc on line 191
* Strict Standards: Undefined index: meatball in languages/Language.php on line 234
* Strict Standards: rmdir(/tmp/mwParser-
2108164586-images/thumb): Directory not empty in maintenance/parserTests.inc on line 605
* Cleaning out some new temp files left over by parserTests (there were one or two straggler dirs/files that would persist after the test run ended, due to new tests being added over time)
* Strict Standards: Non-static method CoreParserFunctions::special() cannot be called statically in includes/Parser.php on line 2902
* Strict Standards: Declaration of ListUsersPage::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in includes/SpecialListusers.php on line 38
* Strict Standards: Only variables should be passed by reference in includes/SpecialBlockip.php on line 175
* Strict Standards: Skin::include_once(skins/Standard.deps.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in includes/Skin.php on line 121
* Strict Standards: Declaration of ApiMain::getResult() should be compatible with that of ApiBase::getResult() in includes/api/ApiMain.php on line 35
* Strict Standards: is_a(): Deprecated. Please use the instanceof operator in includes/WikiError.php on line 63
* Strict Standards: Non-static method WikiError::isError() should not be called statically in includes/SpecialImport.php on line 64
* Strict Standards: Non-static method ImportStreamSource::newFromInterwiki() should not be called statically in includes/SpecialImport.php on line 58<b
* Strict Standards: Only variables should be assigned by reference in includes/SpecialUndelete.php on line 501
* Strict Standards: Non-static method Image::newFromName() should not be called statically in thumb.php on line 56
* Strict Standards: Non-static method CoreParserFunctions::numberoffiles() cannot be called statically in includes/Parser.php on line 2902
* Strict Standards: Non-static method CoreParserFunctions::statisticsFunction() should not be called statically in includes/CoreParserFunctions.php on line 139
* Strict Standards: Non-static method CoreParserFunctions::isRaw() should not be called statically in includes/CoreParserFunctions.php on line 128
* Strict Standards: Non-static method CoreParserFunctions::grammar() cannot be called statically in includes/Parser.php on line 2902
* Strict Standards: Undefined offset: 1 in includes/SpecialMIMEsearch.php on line 130
* Strict Standards: Undefined index: recentchangeslinked in skins/MonoBook.php on line 184
* Strict Standards: Declaration of DumpNotalkFilter::pass() should be compatible with that of DumpFilter::pass() in includes/Export.php on line 612
* Strict Standards: Declaration of DumpNamespaceFilter::pass() should be compatible with that of DumpFilter::pass() in includes/Export.php on line 665
* Strict Standards: Non-static method ImportStreamSource::newFromUpload() should not be called statically in includes/SpecialImport.php on line 46
* Strict Standards: Undefined offset: 5 in includes/Sanitizer.php on line 396
* Strict Standards: Undefined index: wikidbUserName in includes/SpecialUserlogin.php on line 562
* Strict Standards: Only variables should be assigned by reference in includes/api/ApiQueryBase.php on line 95
* Strict Standards: Only variables should be assigned by reference in includes/api/ApiQueryBase.php on line 116
* Strict Standards: Only variables should be assigned by reference in includes/api/ApiQueryWatchlist.php on line 128
* Strict Standards: Undefined property: stdClass::$rc_id in includes/api/ApiQueryBase.php on line 131
* Strict Standards: Undefined property: stdClass::$rc_last_oldid in includes/api/ApiQueryBase.php on line 164
* Strict Standards: Undefined property: stdClass::$rc_moved_to_ns in includes/api/ApiQueryBase.php on line 285
* Strict Standards: Undefined property: stdClass::$rc_patrolled in includes/api/ApiQueryBase.php on line 176
* Strict Standards: Undefined index: comment in includes/api/ApiFeedWatchlist.php on line 85
* Strict Standards: Undefined offset: 0 in includes/Skin.php on line 302
* Strict Standards: Non-static method User::SetupSession() should not be called statically in includes/SpecialUserlogin.php on line 15
... There are certain to be other things too, so this is not intended to be comprehensive, rather the above just stops most of the notifications I observed.
Aryeh Gregor [Wed, 29 Nov 2006 02:43:04 +0000 (02:43 +0000)]
(bug 6016) Left-aligned images should stack vertically, like right-aligned images, not horizontally.
Greg Sabino Mullane [Tue, 28 Nov 2006 21:40:42 +0000 (21:40 +0000)]
Fix broken contribution listings with postgres by adding a new variable
to check if we are using integers or explicit timestamps.
Greg Sabino Mullane [Tue, 28 Nov 2006 21:32:59 +0000 (21:32 +0000)]
Slight UPDATE syntax adjustment for non-mysql databases.
Niklas Laxström [Tue, 28 Nov 2006 19:01:14 +0000 (19:01 +0000)]
* (bug 6329) Date/Time settings on Frisian wikis do not conform to Frisian usage.
Niklas Laxström [Tue, 28 Nov 2006 16:58:58 +0000 (16:58 +0000)]
* (bug 6910) Dates in Vietnamese localization broken
Brion Vibber [Tue, 28 Nov 2006 04:44:09 +0000 (04:44 +0000)]
Revert r17964, breaks diff links for no apparent reason.
Brion Vibber [Tue, 28 Nov 2006 04:31:35 +0000 (04:31 +0000)]
Revert special:deletedcontribs for now; it's not ready to go live without the
index change so would hold up other work for a few days, and the code's kind
of ugly and should get refactored.
Would love to see this on a branch for the moment.
Ilmari Karonen [Tue, 28 Nov 2006 03:22:12 +0000 (03:22 +0000)]
New special page Special:Deletedcontribs for browsing deleted edits made by a user.
NOTENOTENOTE: This is a one-night hack; feel free to tweak it mercilessly. It has
a lot of common code with Special:Contributions that should be factored out. There
is no link to this new page anywhere in the UI yet; I'd like people to test and
review this a bit before officially announcing it. The page is currently only
available to users with deletedhistory privileges; a possible additional feature
might be to allow all users to list (but not view) their _own_ deleted edits.
Ilmari Karonen [Tue, 28 Nov 2006 00:32:00 +0000 (00:32 +0000)]
make undelete preview more consistent with normal article view (tidy, pagename)
Brion Vibber [Tue, 28 Nov 2006 00:16:49 +0000 (00:16 +0000)]
Woops, left a parameter off of the AuthPlugin default interface class. *embarrassed*
Niklas Laxström [Mon, 27 Nov 2006 23:20:29 +0000 (23:20 +0000)]
* Don't mess up diff link when revision is not deleted
Niklas Laxström [Mon, 27 Nov 2006 22:55:12 +0000 (22:55 +0000)]
* Indentation, magic numbers
Niklas Laxström [Mon, 27 Nov 2006 22:40:22 +0000 (22:40 +0000)]
*I like verbs
Niklas Laxström [Mon, 27 Nov 2006 19:49:48 +0000 (19:49 +0000)]
* Xmlify a little
Brion Vibber [Mon, 27 Nov 2006 18:27:25 +0000 (18:27 +0000)]
* Fix regression when selecting mysql 4.0 schema in installer
* Detect PHP parse errors in generated config and dump the file
as a debugging aid, instead of silently corrupting the behavior
of the installer
Rotem Liss [Mon, 27 Nov 2006 17:19:52 +0000 (17:19 +0000)]
Message order compatibility.
Tim Starling [Mon, 27 Nov 2006 15:09:43 +0000 (15:09 +0000)]
Fixed wikia link
Rotem Liss [Mon, 27 Nov 2006 13:11:15 +0000 (13:11 +0000)]
Fixes.
Rotem Liss [Mon, 27 Nov 2006 12:58:01 +0000 (12:58 +0000)]
(bug 8012) Update for messagesSv.php (Swedish language)
Nick Jenkins [Mon, 27 Nov 2006 08:36:57 +0000 (08:36 +0000)]
Changing lines like this: "extract( $dbw->tableNames( 'page', 'archive' ) );" to be like this: "list ($page, $archive) = $dbw->tableNamesN( 'page', 'archive' );".
Three reasons for this:
1) It's better for analysis tools [which want explicit variable declaration]
2) It's easier for a human to read, as it's completely explicit where the variables came from [which is something you don't get with extract() ]
3) It makes it easier to find everywhere where a variable is used with search/grep [which you can't currently do with $tbl_page variables from things like: "extract($db->tableNames( 'page', 'revision'), EXTR_PREFIX_ALL, 'tbl');"].
Otherwise, from a functionality/efficiency perspective the two forms should be identical.
By doing this have been able run static analysis over the usages of these variables, thus eliminating 5 unneeded table names from calls, plus removing 3 unused calls entirely, and it just feels subjectively slightly nicer to me.
Tim Starling [Mon, 27 Nov 2006 03:15:38 +0000 (03:15 +0000)]
Fixed Parser::getRevisionTimestamp()
Andrew Garrett [Mon, 27 Nov 2006 03:09:35 +0000 (03:09 +0000)]
Make passing an invalid revid for undoing fail gracefully
Tim Starling [Mon, 27 Nov 2006 02:43:36 +0000 (02:43 +0000)]