Greg Sabino Mullane [Thu, 29 Mar 2007 14:40:13 +0000 (14:40 +0000)]
Make sure wfTimestamp is used for all timestamps.
For true timestamp databases, use to_char as needed, rather than slinging around ugly timestamps.
Brion Vibber [Thu, 29 Mar 2007 14:25:07 +0000 (14:25 +0000)]
* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target page instead of silently redirecting.
Brion Vibber [Thu, 29 Mar 2007 14:17:10 +0000 (14:17 +0000)]
Revert r14063; listed as fix for bug 5817 in May 2006 but the behavior seems very unintuitive to me.
The listed problem is that the backlink to the target page on Special:Recentchangeslinked shows blue for nonexistent pages, but this patch made it redirect to the nonexistent page, where I'd expect to just change the link coloring. The redirect behavior also makes it tough to work with the category mode for cats where the page hasn't been filled out yet.
Brion Vibber [Thu, 29 Mar 2007 14:05:57 +0000 (14:05 +0000)]
* (bug 9371) Marathi linktrail update
Greg Sabino Mullane [Thu, 29 Mar 2007 12:54:16 +0000 (12:54 +0000)]
Restore archive table before we check columns, per report from kreegee on #mediawiki
River Tarnell [Thu, 29 Mar 2007 12:38:54 +0000 (12:38 +0000)]
varchar instead of char for interwiki table
Rotem Liss [Thu, 29 Mar 2007 07:47:43 +0000 (07:47 +0000)]
Moving the writing to file to the function writeMessagesToFile in writeMessagesArray.inc file, for future use in other scripts.
Rotem Liss [Thu, 29 Mar 2007 07:38:18 +0000 (07:38 +0000)]
Add no-unknown parameter for hiding the list of unknown messages.
Raimond Spekking [Thu, 29 Mar 2007 06:41:44 +0000 (06:41 +0000)]
* (bug 9441) Misspelled Tahitian language file renamed to correct ISO code
Fallback language for Aymara to 'es'
Rob Church [Wed, 28 Mar 2007 21:01:58 +0000 (21:01 +0000)]
* Split most of the result output code from QueryPage::doQuery() into QueryPage::outputResults(), leaving paging and other logic behind
* Introduce ImageQueryPage class which uses galleries instead of boring old lists
* (bug 9069) Use galleries in query pages dedicated to images [uncategorised images, most linked-to images and unused files at the moment]
Brion Vibber [Wed, 28 Mar 2007 20:41:32 +0000 (20:41 +0000)]
newlines are friendly
Greg Sabino Mullane [Wed, 28 Mar 2007 19:54:45 +0000 (19:54 +0000)]
Much more elegant solution for functions that are not sending a timestamp, thanks to Brion.
Aaron Schulz [Wed, 28 Mar 2007 19:41:53 +0000 (19:41 +0000)]
*Re-add r20317 with support for older URL param, rename "undoto" to just "undo"
Brion Vibber [Wed, 28 Mar 2007 19:14:24 +0000 (19:14 +0000)]
Revert r20558: appears to be trying to treat symptoms of misformatted data being passed to Language::timeanddate().
Instead, find the bits that are passing raw database-format timestamps in there and make them normalize their data properly through wfTimestamp()
River Tarnell [Wed, 28 Mar 2007 18:49:49 +0000 (18:49 +0000)]
this would be less silly if it used 2 dp
River Tarnell [Wed, 28 Mar 2007 18:26:28 +0000 (18:26 +0000)]
el_to should be varchar in oracle
check return from oci_new_descriptor
Brion Vibber [Wed, 28 Mar 2007 18:10:34 +0000 (18:10 +0000)]
revert r20430; seems to have been tied into a reverted branch merge, uses config var that's not present
Rotem Liss [Wed, 28 Mar 2007 17:10:05 +0000 (17:10 +0000)]
Fixing a regression (caused by r20473 and then r20525) that the move revert link was not shown.
Rotem Liss [Wed, 28 Mar 2007 16:57:35 +0000 (16:57 +0000)]
Update.
Greg Sabino Mullane [Wed, 28 Mar 2007 15:53:15 +0000 (15:53 +0000)]
Switch to always return GMT time.
Ivan Lanin [Wed, 28 Mar 2007 15:44:07 +0000 (15:44 +0000)]
Updates for Indonesian (id) localization.
Brion Vibber [Wed, 28 Mar 2007 15:12:05 +0000 (15:12 +0000)]
Revert r20659: accesses private member variables of Article and Revision, and doesn't appear to actually fix the permalink-on-old-version issue to boot
Brion Vibber [Wed, 28 Mar 2007 14:16:43 +0000 (14:16 +0000)]
Revert r20769: we don't use PHPDocumentor anymore, we use doxygen.
If making mass changes to tweak to its preferences, probably better to do it for the tool we actually generate docs with. :)
Raimond Spekking [Wed, 28 Mar 2007 10:22:51 +0000 (10:22 +0000)]
Use proper allowInlineDisplay function, by hint of Brion
Nick Jenkins [Wed, 28 Mar 2007 08:53:02 +0000 (08:53 +0000)]
PHPDocumentor [en.wikipedia.org/wiki/PhpDocumentor] documentation tweaking stuff.
Minor doc tweaks to prevent some PHPDocumentor warnings or errors when run on the includes/ directory. PHPDocumentor uses a syntax very similar to javadoc - mostly we already use this, but there were a few scattered places that were adjusted to make them consistent with the rest of the code. In practical terms, these changes were made:
* @url becomes @link
* @fixme becomes @todo
* HTML tags in descriptions must be closed / balanced.
* @bug was removed (where the bug was long fixed), or changed into a @todo (in the few situations where the bug was still pending)
* @obsolete becomes @deprecated
* Things like "/**@{{" and "/**@}}*/" which cause "unknown tag" warnings were removed
* @access must be a valid access level.
* @desc tag not needed, removed.
* Doesn't seem to like @licence, will accept @license however.
* Use full comment block notation in a few places (i.e. open block with "/**", start each line with " *", and end block with " */")
Then additional to this, to get some class docs associated with their respective classes:
* Moved some docs to right above those classes (deleting blank lines, or moving descriptions from the file headers)
* Marked some classes without docs as "@todo document"
* (done up to "class MIMEsearchPage" on the "classtrees_MediaWiki.html" page for the includes/ directory)
Aaron Schulz [Wed, 28 Mar 2007 07:28:21 +0000 (07:28 +0000)]
Don't show rev_deleted usernames
Raimond Spekking [Wed, 28 Mar 2007 07:09:37 +0000 (07:09 +0000)]
* (bug 9430) Update Cantonese translations
Patch by Shinjiman
Aaron Schulz [Wed, 28 Mar 2007 05:39:06 +0000 (05:39 +0000)]
*Fix isInRange(), remove cruft, add "ipv-6" prefix to toHex() and parseRange6(), actually show hidename option for blocks
Aaron Schulz [Wed, 28 Mar 2007 01:26:28 +0000 (01:26 +0000)]
*Use intval() to stop $ns from becoming '' which breaks query
Aaron Schulz [Wed, 28 Mar 2007 01:16:05 +0000 (01:16 +0000)]
*Don't embed $ns from string, for NS 0 it becomes '' and can break the query
Aryeh Gregor [Tue, 27 Mar 2007 22:14:49 +0000 (22:14 +0000)]
Improve documentation for $wgMaxUploadSize
Brion Vibber [Tue, 27 Mar 2007 21:43:21 +0000 (21:43 +0000)]
Revert r20426 which added an unused $isvalid parameter on Title::newFromURL()
It gives me the willies...
Brion Vibber [Tue, 27 Mar 2007 21:30:39 +0000 (21:30 +0000)]
Revert r20317 for the moment; incompatible changes to URL parameters for undo
Rob Church [Tue, 27 Mar 2007 21:15:23 +0000 (21:15 +0000)]
(bug 8421) Expose current action in JavaScript globals (as 'wgAction')
Rob Church [Tue, 27 Mar 2007 20:56:46 +0000 (20:56 +0000)]
Better mention that in release notes, since it fixes a regression...
Rob Church [Tue, 27 Mar 2007 20:56:00 +0000 (20:56 +0000)]
(bug 8933) User::loadFromDatabase() doesn't exist; use User::load()
Rob Church [Tue, 27 Mar 2007 20:53:33 +0000 (20:53 +0000)]
* (bug 8975) Use "Maintenance script" as the username for importTextFile.php, not "MediaWiki default" as it could cause pages to be overwritten
* Use "Maintenance script" as the username for importImages.php, too
* Clarified reserved username comment
Raimond Spekking [Tue, 27 Mar 2007 20:52:13 +0000 (20:52 +0000)]
* Update German translations
* adding new messages to messageTypes.inc
* fix RELEASE-NOTES
Brion Vibber [Tue, 27 Mar 2007 19:39:37 +0000 (19:39 +0000)]
Revert $wgDBtimezone commits: r20688, 20689, 20690, 20691.
Alters behavior of wfTimestamp() and wfTimestampNow() in clearly broken ways, such that current time would not return current time anymore.
Brion Vibber [Tue, 27 Mar 2007 19:25:26 +0000 (19:25 +0000)]
good thing we're not actually using this fallback func, huh
Rob Church [Tue, 27 Mar 2007 19:07:05 +0000 (19:07 +0000)]
Beef up the Special:Log search form so it's laid out a bit clearer; clarified English text for the prefix/wildcard thing
Domas Mituzas [Tue, 27 Mar 2007 19:01:55 +0000 (19:01 +0000)]
another miser-mode target...
Aaron Schulz [Tue, 27 Mar 2007 17:53:43 +0000 (17:53 +0000)]
*Add IF EXISTS clause so tables.sql can be ran to create a db without errors
Domas Mituzas [Tue, 27 Mar 2007 17:08:42 +0000 (17:08 +0000)]
in misermode enforce maximum offset of 10000, people should use search fields, probably.
TODO: rewrite to use indexpager
Domas Mituzas [Tue, 27 Mar 2007 16:50:09 +0000 (16:50 +0000)]
don't allow search for new images in miser mode
Rob Church [Tue, 27 Mar 2007 14:34:43 +0000 (14:34 +0000)]
Give the username field an identifier so the label is "linked" to it again
Raimond Spekking [Tue, 27 Mar 2007 12:10:50 +0000 (12:10 +0000)]
* (bug 7859) Update Kazahk translations
Patches by AlefZet
Nick Jenkins [Tue, 27 Mar 2007 08:08:53 +0000 (08:08 +0000)]
parenthesis
Aryeh Gregor [Tue, 27 Mar 2007 02:51:56 +0000 (02:51 +0000)]
While I'm at it, why not pseudo-initialize to null instead of ''? No difference in behavior, due to behavior of the receiving function, but who knows, it makes more sense. More semantic-y, kinda.
Aryeh Gregor [Tue, 27 Mar 2007 02:50:23 +0000 (02:50 +0000)]
Use the variable I introduced, maybe?
Aryeh Gregor [Mon, 26 Mar 2007 23:50:19 +0000 (23:50 +0000)]
Don't mess with system variables, sry brion
Rob Church [Mon, 26 Mar 2007 23:08:07 +0000 (23:08 +0000)]
(bug 9397) Introduce "sp-contributions-footer" and "sp-contributions-footer-anon" messages, shown at the end of Special:Contributions as appropriate for the target
Rob Church [Mon, 26 Mar 2007 23:06:33 +0000 (23:06 +0000)]
Move note for Aaron's hooks into correct section
Brion Vibber [Mon, 26 Mar 2007 22:16:48 +0000 (22:16 +0000)]
more idiot mistakes from me. whee
Brion Vibber [Mon, 26 Mar 2007 22:13:57 +0000 (22:13 +0000)]
duh
Brion Vibber [Mon, 26 Mar 2007 22:05:06 +0000 (22:05 +0000)]
quickie script to move ES blob tables from one wiki name to another, leaving fresh tables at the old name
should be generalized
Raimond Spekking [Mon, 26 Mar 2007 20:57:36 +0000 (20:57 +0000)]
Remove useless parameter/uninitialized variable.
Thanks to Nikerabbit
Raimond Spekking [Mon, 26 Mar 2007 17:46:13 +0000 (17:46 +0000)]
* (bug 4756) Add user tool links for self created accounts at special:log
instead of sometimes broken block links from newuserlog extension
Furthermore the block link from newuserlog was shown to users w/o block
allowance too.
Aryeh Gregor [Mon, 26 Mar 2007 16:42:45 +0000 (16:42 +0000)]
Fix E_NOTICE on line 76 if $_SERVER['HTTP_ACCEPT'] not set
Brion Vibber [Mon, 26 Mar 2007 14:33:08 +0000 (14:33 +0000)]
* (bug 9411) Fix for shared image descriptions using query-string titles
Extracted URL-query-append logic from Title to wfAppendQuery(), using this in two places now.
Greg Sabino Mullane [Mon, 26 Mar 2007 13:05:55 +0000 (13:05 +0000)]
Begin simple tests to catch invalid search queries.
Raimond Spekking [Mon, 26 Mar 2007 08:18:42 +0000 (08:18 +0000)]
* (bug 9384) Update French translations
Patches by Rémi Kaupp
Greg Sabino Mullane [Mon, 26 Mar 2007 02:32:33 +0000 (02:32 +0000)]
Account for wgDBtimezone if set. DBs not using it (mysql) will have it = 0 and return same time as always.
Greg Sabino Mullane [Mon, 26 Mar 2007 02:05:36 +0000 (02:05 +0000)]
Do not do timezone adjustment if tz is not set - unlogged in users thus see the "local" timezone
Greg Sabino Mullane [Mon, 26 Mar 2007 01:13:39 +0000 (01:13 +0000)]
Find out the local db timezone
Greg Sabino Mullane [Mon, 26 Mar 2007 01:05:06 +0000 (01:05 +0000)]
Allow user timezone adjustments to work when using Postgres - fixed bug 9299
Greg Sabino Mullane [Mon, 26 Mar 2007 00:12:26 +0000 (00:12 +0000)]
Account for pre-existing test table, commit only if setup completes.
Greg Sabino Mullane [Mon, 26 Mar 2007 00:02:16 +0000 (00:02 +0000)]
Another pesky comma where it shouldn't be.
Greg Sabino Mullane [Sun, 25 Mar 2007 23:53:36 +0000 (23:53 +0000)]
Mild formatting, fix missing '$'
Greg Sabino Mullane [Sun, 25 Mar 2007 23:51:30 +0000 (23:51 +0000)]
Errant comma restored.
Rob Church [Sun, 25 Mar 2007 23:42:09 +0000 (23:42 +0000)]
* Update release notes for r20680
* Typos in hook documentation
Please remember to document hook additions in both places in future.
Aaron Schulz [Sun, 25 Mar 2007 23:20:48 +0000 (23:20 +0000)]
*Document PageHistoryBeforeList and PageHistoryLineEnding and remove cruft variable from former
Aaron Schulz [Sun, 25 Mar 2007 23:06:52 +0000 (23:06 +0000)]
*Add some cute hooks; possible flaggedrevs use
Niklas Laxström [Sun, 25 Mar 2007 22:40:50 +0000 (22:40 +0000)]
* The very beginning of Luganda (lg)
Greg Sabino Mullane [Sun, 25 Mar 2007 21:40:02 +0000 (21:40 +0000)]
Typo.
Domas Mituzas [Sun, 25 Mar 2007 20:09:21 +0000 (20:09 +0000)]
oops
Domas Mituzas [Sun, 25 Mar 2007 16:12:07 +0000 (16:12 +0000)]
define querygroup
Domas Mituzas [Sun, 25 Mar 2007 16:01:12 +0000 (16:01 +0000)]
specify offset for Job::pop(), yay for efficient job queue runs (unless there's a bug somewhere in there :)
Domas Mituzas [Sun, 25 Mar 2007 15:55:39 +0000 (15:55 +0000)]
allow to specify offset at which to pop a Job.
needed for efficiency of really large sites (ok, single site :)
Niklas Laxström [Sat, 24 Mar 2007 21:23:11 +0000 (21:23 +0000)]
* Update to Slovak (sk) from helix84
Aaron Schulz [Sat, 24 Mar 2007 08:59:04 +0000 (08:59 +0000)]
*Use mRevision if available for permanent link. This id can easily be overrode by rev flagging extensions.
Aaron Schulz [Sat, 24 Mar 2007 03:28:57 +0000 (03:28 +0000)]
*Typo
Aaron Schulz [Fri, 23 Mar 2007 19:20:53 +0000 (19:20 +0000)]
*If a page is protected and cascade protected, use regular edit page notice (bug 9401)
Markus Krötzsch [Fri, 23 Mar 2007 16:47:58 +0000 (16:47 +0000)]
Added parser hook InternalParseBeforeLinks, closes Bug#8578. The hook is relevant for all parser extensions that want templates, nowiki, etc. to
be taken care of before they do their magic.
Raimond Spekking [Fri, 23 Mar 2007 16:19:14 +0000 (16:19 +0000)]
Split mega section "changes since..." into more proper subsections:
"Configuration changes", "New features since 1.9", "Bugfixes since 1.9",
"Maintenance" and "Languages updated" as discussed on wikitech-l
Please sort your coming updates into the appropriate section.
Niklas Laxström [Fri, 23 Mar 2007 15:53:31 +0000 (15:53 +0000)]
* Update to Low Saxon (nds) from Slomox
Ivan Lanin [Fri, 23 Mar 2007 11:35:47 +0000 (11:35 +0000)]
Updates for Indonesian (id) localization.
Rotem Liss [Fri, 23 Mar 2007 09:42:32 +0000 (09:42 +0000)]
Update.
Rotem Liss [Fri, 23 Mar 2007 09:42:14 +0000 (09:42 +0000)]
Typo.
Nick Jenkins [Fri, 23 Mar 2007 08:48:27 +0000 (08:48 +0000)]
Suspect $dbr was undefined in this scope.
Raimond Spekking [Fri, 23 Mar 2007 07:38:15 +0000 (07:38 +0000)]
* (bug 9384) Update Cantonese translations
Patch by Shinjiman
Nick Jenkins [Fri, 23 Mar 2007 02:56:17 +0000 (02:56 +0000)]
Merge approximately 15 missing Wikipedia language codes into wikipedia-interwiki.sql
based on Jeff Merkey's mediawiki-1.9.3.WG-
20070316.tar.gz.bz2 archive, and then
resorted Wikipedias into alphabetical order.
Tim Starling [Thu, 22 Mar 2007 22:56:16 +0000 (22:56 +0000)]
Fixed static member invocation, was broken since inception.
Niklas Laxström [Thu, 22 Mar 2007 22:13:54 +0000 (22:13 +0000)]
* Cleanup some more
Aaron Schulz [Thu, 22 Mar 2007 22:08:31 +0000 (22:08 +0000)]
*Fix comment typo, remove some redundant conversions
Raimond Spekking [Thu, 22 Mar 2007 19:41:48 +0000 (19:41 +0000)]
fix for r20616. Thanks to Brion whispering to me ;-)
Rotem Liss [Thu, 22 Mar 2007 16:59:54 +0000 (16:59 +0000)]
Fix.
Rotem Liss [Thu, 22 Mar 2007 16:22:07 +0000 (16:22 +0000)]
Update.
Rotem Liss [Thu, 22 Mar 2007 16:14:50 +0000 (16:14 +0000)]
Show a notice about unknown messages when rebuilding files.
Raimond Spekking [Thu, 22 Mar 2007 12:40:10 +0000 (12:40 +0000)]
* (bug 8870) Update Hungarian localizations
Based on a file of Bence Damokos
reworked and reformatted, extension messages transfered to extensions