Tim Starling [Sun, 13 Nov 2005 04:47:03 +0000 (04:47 +0000)]
Support for short empty extension tags, e.g. <extension attr="value"/>
Tim Starling [Sun, 13 Nov 2005 04:09:06 +0000 (04:09 +0000)]
Moving the title cache from a static local variable to a global, to allow it to be cleared for benchmarking purposes.
Ævar Arnfjörð Bjarmason [Sun, 13 Nov 2005 02:49:10 +0000 (02:49 +0000)]
* spaces => tabs
Ævar Arnfjörð Bjarmason [Sun, 13 Nov 2005 02:48:19 +0000 (02:48 +0000)]
* @copyright tag
Domas Mituzas [Sat, 12 Nov 2005 23:00:02 +0000 (23:00 +0000)]
marking as expensive, needs other index in order to provide efficient list of namespace0 nonredirect short pages
Domas Mituzas [Sat, 12 Nov 2005 20:43:21 +0000 (20:43 +0000)]
categories deserve recentchanges based recentchanges linked queries as well
Domas Mituzas [Sat, 12 Nov 2005 20:25:33 +0000 (20:25 +0000)]
add timestamp key on logging table, in order to avoid stupid filesorting
Domas Mituzas [Sat, 12 Nov 2005 20:06:28 +0000 (20:06 +0000)]
recentchanges based recentchanges linked
Domas Mituzas [Sat, 12 Nov 2005 19:40:24 +0000 (19:40 +0000)]
use index for sorting, sorting by cur_id makes no sense
Domas Mituzas [Sat, 12 Nov 2005 19:39:17 +0000 (19:39 +0000)]
page_timestamp does not exist, eh eh, page_touched does though..
Domas Mituzas [Sat, 12 Nov 2005 19:12:54 +0000 (19:12 +0000)]
avoid filesorts on big dataset with name_title index, use timestamp scanning,
warning, might have table scans on rarely-edited namespaces
Domas Mituzas [Sat, 12 Nov 2005 17:04:13 +0000 (17:04 +0000)]
there were two queries to be fixed, ...
Domas Mituzas [Sat, 12 Nov 2005 16:17:01 +0000 (16:17 +0000)]
move function name comment from start of query string to a next whitespace
simply makes query cache work ;-D
Domas Mituzas [Sat, 12 Nov 2005 15:34:07 +0000 (15:34 +0000)]
do not join revision for pages not touched, saves some cpu and i/o
Domas Mituzas [Sat, 12 Nov 2005 09:53:16 +0000 (09:53 +0000)]
"I LOVE YOU AVAR" type of commit
a) Use indexes for joins
b) Choose proper column for IS NULL, in order to avoid row fetches and work on index only
c) PROFIT!!! (a query faster by a factor of tens of thousands... )
Tim Starling [Sat, 12 Nov 2005 08:21:57 +0000 (08:21 +0000)]
Fixed mt, as per bug #3937
Ævar Arnfjörð Bjarmason [Thu, 10 Nov 2005 10:30:25 +0000 (10:30 +0000)]
* Rewrote magnus's spaghetti-hook, see mail.wikimedia.org/pipermail/wikitech-l/2005-November/032426.html
Ævar Arnfjörð Bjarmason [Thu, 10 Nov 2005 08:55:17 +0000 (08:55 +0000)]
* If uploading is disabled and $wgUploadNavigationUrl is set, still display the upload link in the toolbox
Brion Vibber [Thu, 10 Nov 2005 08:06:04 +0000 (08:06 +0000)]
* (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on DIRECTORY_SEPARATOR (was wrong on NetWare)
* Require PHP 4.3.2 or higher strictly now.
Brion Vibber [Thu, 10 Nov 2005 07:46:56 +0000 (07:46 +0000)]
* (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
Ævar Arnfjörð Bjarmason [Thu, 10 Nov 2005 05:40:25 +0000 (05:40 +0000)]
* Add a creeping featureism that includes MediaWiki:$specialpage-summary at the top of the page if it exists.
Ævar Arnfjörð Bjarmason [Thu, 10 Nov 2005 05:37:56 +0000 (05:37 +0000)]
* Removing obsolete comment
Brion Vibber [Wed, 9 Nov 2005 10:58:54 +0000 (10:58 +0000)]
* Allow parser cache on redirect targets
Niklas Laxström [Wed, 9 Nov 2005 08:35:41 +0000 (08:35 +0000)]
Readd number separator
Brion Vibber [Wed, 9 Nov 2005 07:56:39 +0000 (07:56 +0000)]
* Forbid usernames that can be interpreted as titles with namespaces, as that leads to hard-to-manage names.
Tim Starling [Tue, 8 Nov 2005 11:54:04 +0000 (11:54 +0000)]
Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth requirements to the memcached server.
Brion Vibber [Tue, 8 Nov 2005 00:57:09 +0000 (00:57 +0000)]
* (bug 3817) Use localized date formats in preferences; 'no preference' option
localizable as 'datedefault' message. Tweaked lots of languages files...
Ævar Arnfjörð Bjarmason [Mon, 7 Nov 2005 14:55:23 +0000 (14:55 +0000)]
* Trim the first and last newlines of strings passed via <onlyinclude> to avoid whitespace buildup
Ævar Arnfjörð Bjarmason [Mon, 7 Nov 2005 12:39:24 +0000 (12:39 +0000)]
* (bug 3810) Translated the namespace names
Tim Starling [Mon, 7 Nov 2005 05:45:26 +0000 (05:45 +0000)]
noindex,nofollow on action=purge
Tim Starling [Mon, 7 Nov 2005 04:14:15 +0000 (04:14 +0000)]
Require POST method for action=purge, to prevent bots from hitting it
Tim Starling [Mon, 7 Nov 2005 04:10:02 +0000 (04:10 +0000)]
typo
Brion Vibber [Sat, 5 Nov 2005 10:53:21 +0000 (10:53 +0000)]
* Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
Corrects self-link in Atom 1.0 feeds.
Brion Vibber [Sat, 5 Nov 2005 10:38:46 +0000 (10:38 +0000)]
* (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
* Allow $wgFeedCacheTimeout of 0 to disable feed caching
Hooray for gratuitou s changes from atom 0.3 to 1.0!
Brion Vibber [Sat, 5 Nov 2005 09:01:38 +0000 (09:01 +0000)]
Change version number from '1.6alpha' to '1.6devel' so know-it-alls who bitch about how we're running alpha software can shut the fuck up
Brion Vibber [Sat, 5 Nov 2005 07:10:09 +0000 (07:10 +0000)]
* (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
Ævar Arnfjörð Bjarmason [Fri, 4 Nov 2005 22:55:51 +0000 (22:55 +0000)]
* Typo: </log> => </loc>
Ævar Arnfjörð Bjarmason [Fri, 4 Nov 2005 22:38:17 +0000 (22:38 +0000)]
* Don't make the url to the sitemap file a full url
Ævar Arnfjörð Bjarmason [Fri, 4 Nov 2005 20:50:00 +0000 (20:50 +0000)]
* Don't get page_is_redirect from page
Magnus Manske [Fri, 4 Nov 2005 15:32:26 +0000 (15:32 +0000)]
Additional hook
Ævar Arnfjörð Bjarmason [Fri, 4 Nov 2005 12:07:32 +0000 (12:07 +0000)]
* (bug 327��) modify teh rc putput
Brion Vibber [Fri, 4 Nov 2005 05:30:55 +0000 (05:30 +0000)]
(bug 3787) Don't replace variables and sigs in comments
Brion Vibber [Fri, 4 Nov 2005 02:33:50 +0000 (02:33 +0000)]
* (bug 3877) Render math images into temp directory, then move to hashed
subdir so you can render new math images and have them work
Tim Starling [Thu, 3 Nov 2005 23:57:04 +0000 (23:57 +0000)]
fix for PHP 5.1, yet another arbitrary change of return value
Brion Vibber [Thu, 3 Nov 2005 23:27:36 +0000 (23:27 +0000)]
* (bug 918) Search index incorrectly joined words at == headings ==
Brion Vibber [Thu, 3 Nov 2005 22:40:02 +0000 (22:40 +0000)]
* (bug 3487) Fix category edit preview with preview-on-bottom
Magnus Manske [Thu, 3 Nov 2005 21:20:01 +0000 (21:20 +0000)]
Changing/adding of topics now requires bureaucrat
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 11:53:21 +0000 (11:53 +0000)]
* Be smart about the amount of urls that go into the sitemaps rather than just
guessing: cutoff at 50000 urls or approx 2^20*10-500 bytes whichever comes
first
* Debug info
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 11:27:10 +0000 (11:27 +0000)]
* (bug 3270) show put rc_id in the IRC RC url for wikis that have $wgUseRCPatrol enabled
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 09:31:13 +0000 (09:31 +0000)]
* Optimization
* Use the average length of page titles as a limit rather than the insane theoretica limit
* 10MB = 20^2*10 not 20^2*1
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 08:16:50 +0000 (08:16 +0000)]
* Minor shuffling
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 08:10:23 +0000 (08:10 +0000)]
* Update the lastmod timestamp before writing an entry to the index
* Code cleanup
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 06:06:50 +0000 (06:06 +0000)]
* Renamed --path to --fspath
* Support --path
* Using <lastmod> for the sitemap index file
* Optionally disable gzip compression
* Support --help
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 04:23:02 +0000 (04:23 +0000)]
* Fixed regression: It's now possible to specify a custom hostname again
* Added magic code to make sure that the size of the sitemap file never exceeds that allowed by the standard
* Documented every function
* Made --path really work
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 02:22:53 +0000 (02:22 +0000)]
* The sitemap protocol supports any ISO 8601 timestamp, use an exact timestamp rather than just YYYY-MM-DD
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 02:21:48 +0000 (02:21 +0000)]
* Use wfTimestamp() instead of custom functions
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 02:21:01 +0000 (02:21 +0000)]
* Add support for TS_ISO_8601, used for Special:Import/Export and the sitemap
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 01:29:02 +0000 (01:29 +0000)]
* Added a isMain() function that's the inverse of isTalk(), am I supposed to be bothered to type "!" ?
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 01:24:32 +0000 (01:24 +0000)]
* Added support for a --path option to dump the output at a given path
* Tweaked the namespace priorities, all talk pages at 0.1
* Improved debug output
Ævar Arnfjörð Bjarmason [Thu, 3 Nov 2005 00:23:07 +0000 (00:23 +0000)]
* Completely rewrote this to use OO
* Support nonstandard namespaces
Jens Frank [Wed, 2 Nov 2005 23:14:33 +0000 (23:14 +0000)]
Change storage architecture in images/math/.
Old: images/math/
434be915b5fe2e0e63cad907f254dfd5.png
New: images/math/4/3/4/
434be915b5fe2e0e63cad907f254dfd5.png
Ævar Arnfjörð Bjarmason [Wed, 2 Nov 2005 22:28:54 +0000 (22:28 +0000)]
* Use page_touched rather than rev_timestamp, not as expensive and more correct, since a page might be changed through included templates
Ævar Arnfjörð Bjarmason [Wed, 2 Nov 2005 22:17:43 +0000 (22:17 +0000)]
* Pretty indenting
Ævar Arnfjörð Bjarmason [Wed, 2 Nov 2005 20:48:42 +0000 (20:48 +0000)]
* Remove redundant variable definition
Ævar Arnfjörð Bjarmason [Wed, 2 Nov 2005 19:25:10 +0000 (19:25 +0000)]
* Bah, use wfMsgForContent()
Tim Starling [Tue, 1 Nov 2005 22:29:39 +0000 (22:29 +0000)]
longer timeout when fetching interwiki map
Tim Starling [Tue, 1 Nov 2005 22:26:11 +0000 (22:26 +0000)]
Check for error response codes, don't proxy via localhost in command line mode
Ævar Arnfjörð Bjarmason [Tue, 1 Nov 2005 19:29:02 +0000 (19:29 +0000)]
* Use the preeeeeeeeety count
Ævar Arnfjörð Bjarmason [Tue, 1 Nov 2005 19:23:18 +0000 (19:23 +0000)]
* Use the preeety count
Ævar Arnfjörð Bjarmason [Tue, 1 Nov 2005 19:18:52 +0000 (19:18 +0000)]
* Use the pretty count function
Ævar Arnfjörð Bjarmason [Tue, 1 Nov 2005 19:17:31 +0000 (19:17 +0000)]
* A function for pretty counts
Ævar Arnfjörð Bjarmason [Tue, 1 Nov 2005 11:28:51 +0000 (11:28 +0000)]
* 3 => MW_MATH_SOURCE
* Coding style
Tim Starling [Tue, 1 Nov 2005 07:47:21 +0000 (07:47 +0000)]
PHP 5 compatibility
Brion Vibber [Tue, 1 Nov 2005 07:08:37 +0000 (07:08 +0000)]
* (bug 3845) Update attribute.php for 1.5 schema
Brion Vibber [Tue, 1 Nov 2005 06:48:29 +0000 (06:48 +0000)]
* (bug 3852) "Redirected from" link no longer obscured on double-redirects
Tim Starling [Tue, 1 Nov 2005 00:57:13 +0000 (00:57 +0000)]
Fix for some odd problems when reading from a non-tty
Tim Starling [Mon, 31 Oct 2005 22:36:35 +0000 (22:36 +0000)]
More informative error message for loss of session data on save
Brion Vibber [Mon, 31 Oct 2005 21:40:18 +0000 (21:40 +0000)]
* Fix Parser::unstrip on PHP 5.1.0RC4
Tim Starling [Mon, 31 Oct 2005 21:14:07 +0000 (21:14 +0000)]
workaround for any current or future exploit of the $GLOBALS overwrite vulnerability
Ævar Arnfjörð Bjarmason [Mon, 31 Oct 2005 11:47:48 +0000 (11:47 +0000)]
* If you use require_once "./$foo"; the script will only work from the
directory it's in
Ævar Arnfjörð Bjarmason [Mon, 31 Oct 2005 11:30:23 +0000 (11:30 +0000)]
* (bug 3844) Dummy language file that extends another language
Brion Vibber [Mon, 31 Oct 2005 09:57:38 +0000 (09:57 +0000)]
Quick demo hack to generate a plaintext link dump,
per the proposed wiki link database standard:
http://www.usemod.com/cgi-bin/mb.pl?LinkDatabase
Brion Vibber [Mon, 31 Oct 2005 01:30:03 +0000 (01:30 +0000)]
Don't forget to use the 'u' modifier on linktrail regexes that use character ranges! Without it they are interpreted as byte ranges and may match incorrect stuff.
Ævar Arnfjörð Bjarmason [Sun, 30 Oct 2005 11:25:50 +0000 (11:25 +0000)]
* (bug 3808) added nntp:// to the url protocol whitelist
* added worlwind:// to the url protocol whitelist
Ævar Arnfjörð Bjarmason [Sun, 30 Oct 2005 11:24:43 +0000 (11:24 +0000)]
* Rewrote the url protocol thing to not suck
Niklas Laxström [Sun, 30 Oct 2005 10:30:32 +0000 (10:30 +0000)]
Small updates
Alexander Sigachov [Sun, 30 Oct 2005 10:10:32 +0000 (10:10 +0000)]
Update of Ru and Udm language files
Brion Vibber [Sun, 30 Oct 2005 01:30:12 +0000 (01:30 +0000)]
* (bug 2885) Remove unnecessary reference parameter which broke classic skin
talk notification on PHP 5.0.5
Tom Gilder [Sun, 30 Oct 2005 00:25:49 +0000 (00:25 +0000)]
allow onloadFuncts to be set before wikibits.js is loaded
Magnus Manske [Sat, 29 Oct 2005 17:08:01 +0000 (17:08 +0000)]
Fixes requested by Alfio Puglisi
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 15:32:11 +0000 (15:32 +0000)]
* (bug 3827) Update
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 12:08:48 +0000 (12:08 +0000)]
* strtolower() => $wgContLang->lc()
* Merged two loops into one
* We're UTF-8 only, always use the /u switch on the regex
Brion Vibber [Sat, 29 Oct 2005 06:41:43 +0000 (06:41 +0000)]
* (bug 3761) Avoid deprecation warnings in Special:Import
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 06:29:19 +0000 (06:29 +0000)]
* Last commmit fixed, done properly now
Brion Vibber [Sat, 29 Oct 2005 06:14:38 +0000 (06:14 +0000)]
Restore default sig changed without explanation
Brion Vibber [Sat, 29 Oct 2005 06:02:08 +0000 (06:02 +0000)]
* (bug 3667) Add missing global in page move code
Might or might not mollify PHP 4.1.2, but it's a correctness thing anyway.
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 03:03:10 +0000 (03:03 +0000)]
* NS_USER => $row->namespace (it's going to be the same anyway)
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 03:01:44 +0000 (03:01 +0000)]
* Logic error: $row->namespace not NS_USER
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 02:47:49 +0000 (02:47 +0000)]
* brion, the preprocessResults() function you removed on the last commit is
there so that one large query gets run to check for the existance of pages
rather than up to 500 individual queries, of course it didn't work but that's
another issue alltogather..
Ævar Arnfjörð Bjarmason [Sat, 29 Oct 2005 01:54:37 +0000 (01:54 +0000)]
* If the user is at Special:Preferences and logs out, returnto them to the
default return location rather than to Special:Preferences which they can't
access when logged out