Huji [Mon, 12 May 2008 15:37:33 +0000 (15:37 +0000)]
* Adding/updating Persian translations
Rotem Liss [Mon, 12 May 2008 14:39:06 +0000 (14:39 +0000)]
Update.
Huji [Mon, 12 May 2008 14:28:09 +0000 (14:28 +0000)]
(bug 14063) Power search form missing <label> for redirects check
Bryan Tong Minh [Mon, 12 May 2008 14:12:51 +0000 (14:12 +0000)]
(bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
Aryeh Gregor [Mon, 12 May 2008 13:56:21 +0000 (13:56 +0000)]
Tweaks to Special:ListGroupRights:
* Have the internally-used permission key in parentheses after the descriptive text, since a primary purpose of the page is for sysadmins' convenience.
* Make sure to use the word "rollback" in rollback-related messages -- that's the name of the button, after all.
* Adjust the wording of a couple of other messages so they sound better or are clearer.
Aaron Schulz [Mon, 12 May 2008 04:35:08 +0000 (04:35 +0000)]
* Add user_text index to filearchives (for renames at least)
* Remove useless, incomplete, deleted_user index
Shinjiman [Mon, 12 May 2008 02:08:14 +0000 (02:08 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Niklas Laxström [Sun, 11 May 2008 21:55:43 +0000 (21:55 +0000)]
* Forget the offset in the form also
Niklas Laxström [Sun, 11 May 2008 21:43:16 +0000 (21:43 +0000)]
* Code cleanup
Bryan Tong Minh [Sun, 11 May 2008 21:07:33 +0000 (21:07 +0000)]
Refactor SpecialEmailUser.php to split outputting from other stuff so that a to be written API module can easily use the existing code.
Siebrand Mazeland [Sun, 11 May 2008 21:02:26 +0000 (21:02 +0000)]
Localisation updates for core messages from Betawiki (2008-05-11 22:57 CEST)
Greg Sabino Mullane [Sun, 11 May 2008 20:39:43 +0000 (20:39 +0000)]
Refactor duplicated code into one area.
Remove unneeded parens in regexes, don't set matches array if not needed.
Add warning about odd gmmktime() behavior.
Aaron Schulz [Sun, 11 May 2008 20:24:15 +0000 (20:24 +0000)]
Tweak doc
Aaron Schulz [Sun, 11 May 2008 20:22:49 +0000 (20:22 +0000)]
GAID_FOR_UPDATE
Greg Sabino Mullane [Sun, 11 May 2008 20:22:25 +0000 (20:22 +0000)]
Clean up date formatting per bug 14067, remove assumptions that things like
20051300000000 will work. It's fine for dates-as-integers, but goes horribly
wrong when fed to $dbr->timestamp(), which calls gmmktime(). The latter function
has a bug/feature causing any 0s in the month or day field to cause a month
or day's *subtraction*. We might want to modify timestamp() to handle that, as
I can imagine any MW code would want to rely on such a feature, but that's not
this patch.
Also set a limit for Y2K38 problems, as gmmktime() doesn't like that very much either.
Bryan Tong Minh [Sun, 11 May 2008 19:49:08 +0000 (19:49 +0000)]
Put code to view redirect page in new method Article::viewRedirect in order to allow displaying redirects on foreign file repos.
Robert Leverington [Sun, 11 May 2008 17:31:38 +0000 (17:31 +0000)]
Avoid possible register_globals issue.
Robert Leverington [Sun, 11 May 2008 17:21:10 +0000 (17:21 +0000)]
Remove paramter that only appears to illustrate the fact more parameters can be added and causes an E_STRICT level error.
Robert Leverington [Sun, 11 May 2008 17:15:15 +0000 (17:15 +0000)]
Notice: Undefined variable: extensionsList in includes/SpecialUpload.php on line 1081
Huji [Sun, 11 May 2008 16:12:36 +0000 (16:12 +0000)]
* Adding/updating Persian translations
Aaron Schulz [Sun, 11 May 2008 14:54:45 +0000 (14:54 +0000)]
Consistent type
Aran Dunkley [Sun, 11 May 2008 11:23:52 +0000 (11:23 +0000)]
pages can render, but many operations break it
Aran Dunkley [Sun, 11 May 2008 06:12:07 +0000 (06:12 +0000)]
replace with newly generated version
Aran Dunkley [Sun, 11 May 2008 02:20:19 +0000 (02:20 +0000)]
add some dev notes and other info
Aaron Schulz [Sat, 10 May 2008 23:31:52 +0000 (23:31 +0000)]
Add $flags
Aran Dunkley [Sat, 10 May 2008 22:52:20 +0000 (22:52 +0000)]
gets thru installation procedure but fails on article access
Siebrand Mazeland [Sat, 10 May 2008 20:48:53 +0000 (20:48 +0000)]
Localisation updates. Rebuilt all language files, removing obsolete messages
Siebrand Mazeland [Sat, 10 May 2008 20:48:08 +0000 (20:48 +0000)]
Fix typo
Siebrand Mazeland [Sat, 10 May 2008 20:43:23 +0000 (20:43 +0000)]
Localisation updates for core messages from Betawiki (2008-05-08 22:30 CEST)
Victor Vasiliev [Sat, 10 May 2008 19:22:14 +0000 (19:22 +0000)]
* Fix image redirect caching so it doesn't break image redirects on shared repositories
Ryan Schmidt [Sat, 10 May 2008 18:31:05 +0000 (18:31 +0000)]
Fix for bug 13677
Alexandre Emsenhuber [Sat, 10 May 2008 17:41:17 +0000 (17:41 +0000)]
E_STRICT
Huji [Sat, 10 May 2008 17:29:21 +0000 (17:29 +0000)]
* Adding/updating Persian translations
* Rebuilding MessagesFa and MessagesEn
Leon Weber [Sat, 10 May 2008 16:41:35 +0000 (16:41 +0000)]
(bug 12145) Kazakh localisation updates, patch 4893 by AlefZet
Rotem Liss [Sat, 10 May 2008 16:29:19 +0000 (16:29 +0000)]
For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn't exist).
Roan Kattouw [Sat, 10 May 2008 16:25:49 +0000 (16:25 +0000)]
Fixing grammar in error message
Niklas Laxström [Sat, 10 May 2008 15:14:39 +0000 (15:14 +0000)]
* Normalise also special page names (in addition to namespace)
Bryan Tong Minh [Sat, 10 May 2008 14:19:25 +0000 (14:19 +0000)]
Don't call wfFindFile twice when it's not necessary.
Rotem Liss [Sat, 10 May 2008 13:58:55 +0000 (13:58 +0000)]
Update.
Niklas Laxström [Sat, 10 May 2008 13:46:05 +0000 (13:46 +0000)]
* Consistent case and autoloader
Niklas Laxström [Sat, 10 May 2008 13:44:25 +0000 (13:44 +0000)]
* Added code two commonly needed use cases: separate label and input, and select
Aaron Schulz [Sat, 10 May 2008 13:42:07 +0000 (13:42 +0000)]
Just use @ here too
Aaron Schulz [Sat, 10 May 2008 13:38:07 +0000 (13:38 +0000)]
Pass in $join_conds
Niklas Laxström [Sat, 10 May 2008 12:55:59 +0000 (12:55 +0000)]
* Use local cache as well, this might be called a lot in certain circumstances
Aran Dunkley [Sat, 10 May 2008 12:17:45 +0000 (12:17 +0000)]
Change binary's to varchar's and allow NULL's
Niklas Laxström [Sat, 10 May 2008 11:56:02 +0000 (11:56 +0000)]
* Use Xml:: and so
Niklas Laxström [Sat, 10 May 2008 11:21:16 +0000 (11:21 +0000)]
* Use addScriptFile
Bryan Tong Minh [Sat, 10 May 2008 11:12:53 +0000 (11:12 +0000)]
(bug 13943) Fix image redirect behaviour on image pages:
* Confused redirect source with target
* Don't check for article existence if the target is a foreign image page
Niklas Laxström [Sat, 10 May 2008 11:00:19 +0000 (11:00 +0000)]
* typo
Shinjiman [Sat, 10 May 2008 10:53:56 +0000 (10:53 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Roan Kattouw [Sat, 10 May 2008 10:49:26 +0000 (10:49 +0000)]
* Re-applying r34449, r34500 and r34518 which Brion reverted by accident
* Adding ApiQueryBase::addJoinConds() as wrapper for Database::select()'s $join_conds parameter
* Migrating query modules to addJoinConds()
* Using implicit join rather than INNER JOIN in ApiQueryBacklinks
* Using FORCE INDEX (times) on logging table in ApiQueryLogEvents; although MySQL 4 seems to pick this index automatically (evidenced by the fact the WMF servers are still alive), MySQL 5 doesn't and filesorts
* Replacing LEFT JOIN with implicit (inner) join in ApiQueryContributions: revisions without a corresponding page table entry shouldn't be shown anyway
Roan Kattouw [Sat, 10 May 2008 10:31:57 +0000 (10:31 +0000)]
Allow an array as ON clause. There are quite a few queries out there that JOIN on title and namespace.
Niklas Laxström [Sat, 10 May 2008 10:10:52 +0000 (10:10 +0000)]
* Use Xml:: functions and remove the huge warning about escaping
Niklas Laxström [Sat, 10 May 2008 09:52:51 +0000 (09:52 +0000)]
* Automatic edit summaries can be turned of with $wgUseAutomaticEditSummaries
Roan Kattouw [Sat, 10 May 2008 09:49:21 +0000 (09:49 +0000)]
E_NOTICE: $options['USE_INDEX'] might not be set
Niklas Laxström [Sat, 10 May 2008 09:48:03 +0000 (09:48 +0000)]
* Typo in comment
Niklas Laxström [Sat, 10 May 2008 09:40:26 +0000 (09:40 +0000)]
* Partly revert 34542, broke my section editing
Niklas Laxström [Sat, 10 May 2008 09:34:27 +0000 (09:34 +0000)]
* Use full path
Niklas Laxström [Sat, 10 May 2008 09:31:47 +0000 (09:31 +0000)]
* cy date formats..
Roan Kattouw [Sat, 10 May 2008 09:29:34 +0000 (09:29 +0000)]
Re-applying r34440 (documenting ApiQueryBase)
Niklas Laxström [Sat, 10 May 2008 09:21:37 +0000 (09:21 +0000)]
* Bah parse error...
Niklas Laxström [Sat, 10 May 2008 09:16:58 +0000 (09:16 +0000)]
* Some message tweaks
Aran Dunkley [Sat, 10 May 2008 07:16:13 +0000 (07:16 +0000)]
Functional but no indexes yet
Aran Dunkley [Sat, 10 May 2008 07:04:15 +0000 (07:04 +0000)]
Could someone please check this - I may be wrong but it looks like the table-prefix is needed here
Aran Dunkley [Sat, 10 May 2008 06:43:30 +0000 (06:43 +0000)]
remove doubled up statement
Aaron Schulz [Sat, 10 May 2008 00:48:07 +0000 (00:48 +0000)]
Add a way to do different JOINs with $tables
Brion Vibber [Fri, 9 May 2008 23:52:04 +0000 (23:52 +0000)]
Revert r34541 for the moment pending further review & discussion...
There's some kind of crazy magic_quotes stuff in here which screams RED ALERT, something's weird going on! :)
Daniel Friesen [Fri, 9 May 2008 23:36:21 +0000 (23:36 +0000)]
Fixing up a variety of GlobalFunctions and also improving queries in Titke.php.
* getFullURL and getLocalUrl now accept arrays and objects as valid input.
* Use wfAppendQuery in getLocalUrl to match up with getFullURL.
* wfArrayToCgi is now a alias to wfBuildQuery (Parameters are in the OPPOSITE order so wfBuildQuery takes defaults as second param and wfArrayToCgi takes them as first parameter like it always did)
* New function wfBuildQuery.
** The code moved here from what once was wfArrayToCgi has been changed from a set of plain loops to a wrapper around http_build_query so that complex data is handled correctly.
** We now support strings and objects as input, and we even parse strings when necessary to merge queries.
* New function wfForeignWikiID to pair with wfWikiID like wfForeignMemcKey. The foreign id can take 2 parameters, if omitted it falls back to the shared db, then to the local db if not set.
* wfMemcKey and wfForeignMemcKey now call the respective wf(Foreign)WikiID function, this simplifies the functions, and avoids code duplication making sure things always match even if for some strange reason it's changed.
I'll likely be using the forign functions later to improve the use of a shared interwiki map to avoid redundant caches.
I could always make the local MemcKey and WikiID functions depend on the foreign ones in a sane way
Aran Dunkley [Fri, 9 May 2008 22:33:00 +0000 (22:33 +0000)]
tidy up generated tables.sql
Robert Stojnić [Fri, 9 May 2008 22:21:37 +0000 (22:21 +0000)]
The Horrible Twin for r28127. The call happens when content is fetched from
parser cache, and the title needs converting. A consequence of returning ''
is bad regexp that produces odd conversion behavior for titles reported on
various occasions.
One of these days, I'm just going to completely rewrite this thing, I swear!
Brion Vibber [Fri, 9 May 2008 20:59:08 +0000 (20:59 +0000)]
Pluck a few more KB of crap out of wikibits.js -- break out prefs.js for Special:Preferences
Brion Vibber [Fri, 9 May 2008 20:51:32 +0000 (20:51 +0000)]
Split page history radio button tweaks out from wikibits.js to history.js
Only include it when it's needed -- don't force it on every reader!
Brion Vibber [Fri, 9 May 2008 20:24:06 +0000 (20:24 +0000)]
* Message name filter on Special:Allmessages now case-insensitive
Brion Vibber [Fri, 9 May 2008 20:18:35 +0000 (20:18 +0000)]
* add OutputPage::addScriptFile() for easier adding of JS files, similar to OutputPage::addStyle()
* broke Special:Allmessages-specific JS out of wikibits.js to allmessages.js
Brion Vibber [Fri, 9 May 2008 20:02:12 +0000 (20:02 +0000)]
* (bug 14058) Support pipe trick for namespaces and interwikis with "-"
Alexandre Emsenhuber [Fri, 9 May 2008 19:48:32 +0000 (19:48 +0000)]
E_STRICT
Brion Vibber [Fri, 9 May 2008 18:53:54 +0000 (18:53 +0000)]
Ensure there's a newline at the end of the editing <textarea>, otherwise adding lines is awkward.
But don't add a newline if the ext is empty, or Firefox in XHTML mode will show an extra newline. A bit annoying, and drives me nuts while I'm testing. :D
Brion Vibber [Fri, 9 May 2008 18:40:52 +0000 (18:40 +0000)]
Wikify some image messages:
* linkstoimage
* nolinkstoimage
* redirectstofile
Two of these were previously raw-HTML paragraphs, and had div classes stuck on them on eg English Wikipedia.
r34507 changed them into plaintext, breaking them.
Since image pages are already swathed with little wiki bits (meta table, other various bits), shouldn't be any harm in making these properly flexible wiki messages.
Brion Vibber [Fri, 9 May 2008 18:00:15 +0000 (18:00 +0000)]
Revert to r34430 in order to revert r34431 which is breaking the site (unindexed filesorts)
Huji [Fri, 9 May 2008 16:49:32 +0000 (16:49 +0000)]
Fixing and old typo in Persian translations
Alexandre Emsenhuber [Fri, 9 May 2008 16:22:33 +0000 (16:22 +0000)]
* Added --online option to maintenance/findhooks.php to compare hooks with mediawiki.org/wiki/Manual:Hooks
* Renamed GetAvailableRights to UserGetAllRights in docs/hooks.txt
Roan Kattouw [Fri, 9 May 2008 14:44:32 +0000 (14:44 +0000)]
(bug 14021) Removing titles= support from list=backlinks, has been obsolete for ages (since July 2007)
Rotem Liss [Fri, 9 May 2008 14:32:28 +0000 (14:32 +0000)]
Several fixes.
Rotem Liss [Fri, 9 May 2008 14:16:59 +0000 (14:16 +0000)]
* Recreating the checkExtensions script, using data in the Translate extension, and using the existing interface of checkLanguage. The i18n.db file is now obsolete.
* Moving the CheckLanguageCLI class to checkLanguage.inc.
* Several fixes in checkLanguage script.
Aran Dunkley [Fri, 9 May 2008 12:13:27 +0000 (12:13 +0000)]
remove comment
Aran Dunkley [Fri, 9 May 2008 12:10:34 +0000 (12:10 +0000)]
rv oops disable mssql - not ready
Aran Dunkley [Fri, 9 May 2008 12:08:28 +0000 (12:08 +0000)]
keep schema in maintenance same as postgresql
Rotem Liss [Fri, 9 May 2008 11:54:58 +0000 (11:54 +0000)]
Rebuilding language files.
Huji [Fri, 9 May 2008 11:53:19 +0000 (11:53 +0000)]
* Adding/updating Persian translations
Rotem Liss [Fri, 9 May 2008 11:52:40 +0000 (11:52 +0000)]
Update.
Bryan Tong Minh [Fri, 9 May 2008 11:31:00 +0000 (11:31 +0000)]
* Show a link to [[Special:Whatlinkshere]] in case there are more imagelinks on ImagePage
* Cleanup ImagePage code
Huji [Fri, 9 May 2008 11:03:57 +0000 (11:03 +0000)]
* Adding/updating Persian translations
Bryan Tong Minh [Fri, 9 May 2008 10:42:49 +0000 (10:42 +0000)]
* Use getters where appropriate
* Fix following foreign file redirects again
Rotem Liss [Fri, 9 May 2008 10:30:23 +0000 (10:30 +0000)]
Update.
Bryan Tong Minh [Fri, 9 May 2008 10:07:03 +0000 (10:07 +0000)]
Disable debug statements which make the debug log totally unreadable.
Roan Kattouw [Fri, 9 May 2008 10:00:34 +0000 (10:00 +0000)]
(bug 14022) Added usprop=registration and auprop=blockinfo
Roan Kattouw [Fri, 9 May 2008 09:41:53 +0000 (09:41 +0000)]
(bug 14028) Added language attribute to interwiki map in meta=siteinfo
Raimond Spekking [Fri, 9 May 2008 08:17:28 +0000 (08:17 +0000)]
Localisation updates German
Huji [Fri, 9 May 2008 07:40:07 +0000 (07:40 +0000)]
* Adding/updating Persian translations
* Adding the newly added message to messages.inc
Aran Dunkley [Fri, 9 May 2008 05:37:01 +0000 (05:37 +0000)]
Preparing for MSSQL database support coming soon