lhc/web/wiklou.git
18 years agoAdd SearchPostgres.php
Greg Sabino Mullane [Wed, 5 Jul 2006 03:54:01 +0000 (03:54 +0000)]
Add SearchPostgres.php

18 years agoWrap entire thing in a transaction
Greg Sabino Mullane [Wed, 5 Jul 2006 03:49:36 +0000 (03:49 +0000)]
Wrap entire thing in a transaction
Reverse user_groups index
Change TEXT to CIDR where possible
Create partial indexes on page for speed
Change objectcache.value to bytea
Add tsearch2 stuff

18 years ago* Update to Slovenian translation (sl)
Niklas Laxström [Tue, 4 Jul 2006 20:50:21 +0000 (20:50 +0000)]
* Update to Slovenian translation (sl)
* Thanks to Klemen Kocjancic and Eleassar

18 years ago* Update to Venetian translation (vec)
Niklas Laxström [Tue, 4 Jul 2006 20:45:47 +0000 (20:45 +0000)]
* Update to Venetian translation (vec)
* Thanks to Nick1915

18 years ago* Restructured
Niklas Laxström [Tue, 4 Jul 2006 20:44:18 +0000 (20:44 +0000)]
* Restructured

18 years ago* Updates ro Romanian translation (ro)
Niklas Laxström [Tue, 4 Jul 2006 20:23:51 +0000 (20:23 +0000)]
* Updates ro Romanian translation (ro)

18 years agoFixed flow control in Image::getThumbnail()
Tim Starling [Tue, 4 Jul 2006 18:04:28 +0000 (18:04 +0000)]
Fixed flow control in Image::getThumbnail()

18 years agoUse wfDebugLog() for the job queue log.
Tim Starling [Tue, 4 Jul 2006 14:26:14 +0000 (14:26 +0000)]
Use wfDebugLog() for the job queue log.

18 years agoChanged the image directory global functions, they no longer create the directory...
Tim Starling [Tue, 4 Jul 2006 14:20:52 +0000 (14:20 +0000)]
Changed the image directory global functions, they no longer create the directory before they return it. This was inefficient, especially due to the need for multiple NFS stat calls for every image shown on a page during parse. The caller is now required to create the directory if necessary, and it can do so with the recently souped-up wfMkdirParents().

18 years agoMade wfMkdirParents() faster and more robust
Tim Starling [Tue, 4 Jul 2006 14:08:27 +0000 (14:08 +0000)]
Made wfMkdirParents() faster and more robust

18 years ago* Indonesian language updates
Rob Church [Tue, 4 Jul 2006 11:28:12 +0000 (11:28 +0000)]
* Indonesian language updates

18 years agoUpdate.
Rotem Liss [Tue, 4 Jul 2006 10:01:33 +0000 (10:01 +0000)]
Update.

18 years agoCall firstCallInit() before cloning $wgParser.
Tim Starling [Tue, 4 Jul 2006 09:13:10 +0000 (09:13 +0000)]
Call firstCallInit() before cloning $wgParser.

18 years ago* (bug 6185) Add standard user tool links to log page views
Rob Church [Tue, 4 Jul 2006 08:17:54 +0000 (08:17 +0000)]
* (bug 6185) Add standard user tool links to log page views

18 years agoMore profiling sections
Tim Starling [Tue, 4 Jul 2006 08:11:44 +0000 (08:11 +0000)]
More profiling sections

18 years agominor updates to German localisation (de)
Jimmy Collins [Tue, 4 Jul 2006 05:34:29 +0000 (05:34 +0000)]
minor updates to German localisation (de)

18 years ago* (bug 6504) Allow configuring session name with $wgSessionName
Rob Church [Tue, 4 Jul 2006 04:20:14 +0000 (04:20 +0000)]
* (bug 6504) Allow configuring session name with $wgSessionName

18 years agoRemove cruft; that happened in-branch, within 48 hours of the first change...don...
Rob Church [Tue, 4 Jul 2006 04:10:16 +0000 (04:10 +0000)]
Remove cruft; that happened in-branch, within 48 hours of the first change...don't be too OTT

18 years ago* (bug 6512) Link to page-specific logs on page histories
Rob Church [Tue, 4 Jul 2006 04:08:35 +0000 (04:08 +0000)]
* (bug 6512) Link to page-specific logs on page histories

18 years agoWhen parsing, if we encounter a blacklisted image, add the image to the output anyway...
Rob Church [Tue, 4 Jul 2006 03:40:37 +0000 (03:40 +0000)]
When parsing, if we encounter a blacklisted image, add the image to the output anyway, otherwise the imagelinks table is not quite correct.

18 years agoadd missing colon to searchsubtitle messages
Ilmari Karonen [Mon, 3 Jul 2006 19:06:44 +0000 (19:06 +0000)]
add missing colon to searchsubtitle messages

18 years ago* Update to German localisation (de)
Jimmy Collins [Mon, 3 Jul 2006 18:39:43 +0000 (18:39 +0000)]
* Update to German localisation (de)

18 years ago* (bug 6523) Fix SVG issue in rebuildImages.php
Brion Vibber [Mon, 3 Jul 2006 17:24:08 +0000 (17:24 +0000)]
* (bug 6523) Fix SVG issue in rebuildImages.php
patch from http://bugzilla.wikimedia.org/show_bug.cgi?id=6523

18 years agonicer debug output
Antoine Musso [Mon, 3 Jul 2006 16:45:51 +0000 (16:45 +0000)]
nicer debug output

18 years agoLog job execution time
Tim Starling [Mon, 3 Jul 2006 16:41:07 +0000 (16:41 +0000)]
Log job execution time

18 years agoAs we say on Wikipedia, might it not have been easier to fix it, rather than complain...
Tim Starling [Mon, 3 Jul 2006 16:30:46 +0000 (16:30 +0000)]
As we say on Wikipedia, might it not have been easier to fix it, rather than complain about it?

18 years ago(bug 6530) Update to Indonesian localisation (id) #25
Rotem Liss [Mon, 3 Jul 2006 15:08:41 +0000 (15:08 +0000)]
(bug 6530) Update to Indonesian localisation (id) #25

18 years agoUpdate.
Rotem Liss [Mon, 3 Jul 2006 14:37:51 +0000 (14:37 +0000)]
Update.

18 years ago(bug 6527) Allow customising interface text for the namespace selector label thing
Rob Church [Mon, 3 Jul 2006 14:29:19 +0000 (14:29 +0000)]
(bug 6527) Allow customising interface text for the namespace selector label thing

18 years agofixed raw suffix
Tim Starling [Mon, 3 Jul 2006 13:55:52 +0000 (13:55 +0000)]
fixed raw suffix

18 years agoFixed fatal error on old image deletion when squid was enabled
Tim Starling [Mon, 3 Jul 2006 13:27:19 +0000 (13:27 +0000)]
Fixed fatal error on old image deletion when squid was enabled

18 years agoGet the English extension messages to Special:Allmessages properly (this code of...
Rotem Liss [Mon, 3 Jul 2006 11:41:05 +0000 (11:41 +0000)]
Get the English extension messages to Special:Allmessages properly (this code of this special page should be rewritten, as it uses private variables).

18 years agoBetter to clone $wgParser rather than use it, otherwise things like {{int:}} would...
Tim Starling [Mon, 3 Jul 2006 11:17:27 +0000 (11:17 +0000)]
Better to clone $wgParser rather than use it, otherwise things like {{int:}} would be broken.

18 years agoUse $wgParser instead of constructing a new parser object. Constructing a new one...
Tim Starling [Mon, 3 Jul 2006 11:08:02 +0000 (11:08 +0000)]
Use $wgParser instead of constructing a new parser object. Constructing a new one is now more expensive than ever.

18 years agoGot rid of about 20 regex calls in braceSubstitution() relating to function-like...
Tim Starling [Mon, 3 Jul 2006 11:07:00 +0000 (11:07 +0000)]
Got rid of about 20 regex calls in braceSubstitution() relating to function-like constructs, replaced them with a hashtable lookup styled after the parser function extension interface. The function bodies were moved to CoreParserFunctions.php. Disabled PAGESINNAMESPACE by default, yet another O(N) count of page table rows.

18 years agoRevert addToArray() change, add isCaseSensitive()
Tim Starling [Mon, 3 Jul 2006 08:57:29 +0000 (08:57 +0000)]
Revert addToArray() change, add isCaseSensitive()

18 years agoCall the LanguageGetMagic hook only once (per language object)
Tim Starling [Mon, 3 Jul 2006 03:30:28 +0000 (03:30 +0000)]
Call the LanguageGetMagic hook only once (per language object)

18 years agoBetter extension function synonym cache
Tim Starling [Mon, 3 Jul 2006 03:29:57 +0000 (03:29 +0000)]
Better extension function synonym cache

18 years agoMade MagicWord::addToArray() support case-insensitive arrays
Tim Starling [Mon, 3 Jul 2006 03:29:32 +0000 (03:29 +0000)]
Made MagicWord::addToArray() support case-insensitive arrays

18 years ago* (bug 5962) Update to Italian localisation
Jimmy Collins [Sun, 2 Jul 2006 23:53:51 +0000 (23:53 +0000)]
* (bug 5962) Update to Italian localisation

18 years ago* remove some messages which are on the ignore list
Jimmy Collins [Sun, 2 Jul 2006 23:37:01 +0000 (23:37 +0000)]
* remove some messages which are on the ignore list

18 years ago* minor updates to exif messages (German)
Jimmy Collins [Sun, 2 Jul 2006 23:14:55 +0000 (23:14 +0000)]
* minor updates to exif messages (German)

18 years ago* Updates from Jhs
Niklas Laxström [Sun, 2 Jul 2006 23:11:58 +0000 (23:11 +0000)]
* Updates from Jhs

18 years agocapitalization, spacing (thanks robchurch)
Ilmari Karonen [Sun, 2 Jul 2006 23:07:02 +0000 (23:07 +0000)]
capitalization, spacing (thanks robchurch)

18 years agoa few searchsubtitles were still broken (my mistake); fix
Ilmari Karonen [Sun, 2 Jul 2006 22:54:38 +0000 (22:54 +0000)]
a few searchsubtitles were still broken (my mistake); fix

18 years ago"searchsubtitleinvalid" message for searches that are not valid titles
Ilmari Karonen [Sun, 2 Jul 2006 22:50:52 +0000 (22:50 +0000)]
"searchsubtitleinvalid" message for searches that are not valid titles

18 years agoMove 'style' attribute check to Sanitizer::checkCss, which can be called separately
Brion Vibber [Sun, 2 Jul 2006 22:45:16 +0000 (22:45 +0000)]
Move 'style' attribute check to Sanitizer::checkCss, which can be called separately

18 years ago* Updates from Siebrand
Niklas Laxström [Sun, 2 Jul 2006 22:37:31 +0000 (22:37 +0000)]
* Updates from Siebrand

18 years agonarf
Rob Church [Sun, 2 Jul 2006 21:55:17 +0000 (21:55 +0000)]
narf

18 years ago* Introduce 'BadImage' hook; see docs/hooks.txt for more information
Rob Church [Sun, 2 Jul 2006 21:54:34 +0000 (21:54 +0000)]
* Introduce 'BadImage' hook; see docs/hooks.txt for more information

18 years agofix 'searchsubtitle' in languages other than English
Ilmari Karonen [Sun, 2 Jul 2006 21:51:39 +0000 (21:51 +0000)]
fix 'searchsubtitle' in languages other than English

18 years ago* Introduce updateArticleCount maintenance script which uses a better check that...
Rob Church [Sun, 2 Jul 2006 21:35:25 +0000 (21:35 +0000)]
* Introduce updateArticleCount maintenance script which uses a better check that reflects what Article::isCountable() tests for

18 years ago(bug 1023) fix for <hr /> and <br /> tags (XHTML correctness)
Jimmy Collins [Sun, 2 Jul 2006 21:32:42 +0000 (21:32 +0000)]
(bug 1023) fix for <hr /> and <br /> tags (XHTML correctness)

18 years ago(bug 1023) More updates (XHTML-correctness)
Jimmy Collins [Sun, 2 Jul 2006 21:21:11 +0000 (21:21 +0000)]
(bug 1023) More updates (XHTML-correctness)

18 years agominor update to German localisation
Jimmy Collins [Sun, 2 Jul 2006 20:53:50 +0000 (20:53 +0000)]
minor update to German localisation

18 years agoRename "searchquery" to "searchsubtitle" in all remaining language files
Jimmy Collins [Sun, 2 Jul 2006 20:43:34 +0000 (20:43 +0000)]
Rename "searchquery" to "searchsubtitle" in all remaining language files

18 years agoUpdate.
Rotem Liss [Sun, 2 Jul 2006 19:53:15 +0000 (19:53 +0000)]
Update.

18 years ago* Updates from Erdal Ronahi
Niklas Laxström [Sun, 2 Jul 2006 19:50:44 +0000 (19:50 +0000)]
* Updates from Erdal Ronahi

18 years ago* Rename "searchquery" to "searchsubtitle" and support wiki text in it
Rob Church [Sun, 2 Jul 2006 19:36:11 +0000 (19:36 +0000)]
* Rename "searchquery" to "searchsubtitle" and support wiki text in it

18 years agoUpdate.
Rotem Liss [Sun, 2 Jul 2006 19:05:29 +0000 (19:05 +0000)]
Update.

18 years ago* (bug 6516) Update to Russian translation
Niklas Laxström [Sun, 2 Jul 2006 19:03:07 +0000 (19:03 +0000)]
* (bug 6516) Update to Russian translation

18 years agonew 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'
Ilmari Karonen [Sun, 2 Jul 2006 18:58:18 +0000 (18:58 +0000)]
new 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'

18 years ago* Updates
Niklas Laxström [Sun, 2 Jul 2006 18:51:20 +0000 (18:51 +0000)]
* Updates

18 years agofix breakage from r15226
Ilmari Karonen [Sun, 2 Jul 2006 18:42:58 +0000 (18:42 +0000)]
fix breakage from r15226

18 years agogetSynonyms()
Tim Starling [Sun, 2 Jul 2006 17:47:24 +0000 (17:47 +0000)]
getSynonyms()

18 years agoFunction synonym cache for faster lookup of internationalised parser function extensions
Tim Starling [Sun, 2 Jul 2006 17:43:32 +0000 (17:43 +0000)]
Function synonym cache for faster lookup of internationalised parser function extensions

18 years agobug
Tim Starling [Sun, 2 Jul 2006 16:29:18 +0000 (16:29 +0000)]
bug

18 years agoneed ImageFunctions.php
Tim Starling [Sun, 2 Jul 2006 16:29:06 +0000 (16:29 +0000)]
need ImageFunctions.php

18 years agoRemoved a couple of bogus autoload entries
Tim Starling [Sun, 2 Jul 2006 16:19:55 +0000 (16:19 +0000)]
Removed a couple of bogus autoload entries

18 years agoVarious performance and initialisation issues:
Tim Starling [Sun, 2 Jul 2006 15:57:59 +0000 (15:57 +0000)]
Various performance and initialisation issues:
* Made autoloader work for unserialize()
* Made XmlFunctions.php and HttpFunctions.php autoloadable modules, via Http:: and Xml::
* Made Image class autoloadable, global functions moved to ImageFunctions.php where they can be loaded on every invocation.
* Removed some unnecessary require_once() calls
* Deferred $wgValidSkinNames initialisation
* Fixed a couple of silly construct/initialise splits. My idea from C++ experience, bad practice in PHP.
* Deferred skin initialisation in ParserOptions
* Removed $wgMwRedir during an attempt to make MagicWord autoloadable. Didn't complete that, but removing the global is still the right direction.

18 years ago(bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
Ilmari Karonen [Sun, 2 Jul 2006 14:39:47 +0000 (14:39 +0000)]
(bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
more consistent: Accept just a namespace prefix and a colon, reject input
with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.

18 years agoFixed bugs
Tim Starling [Sun, 2 Jul 2006 12:00:31 +0000 (12:00 +0000)]
Fixed bugs

18 years ago* Fix regression in Polish genitive month forms
Brion Vibber [Sun, 2 Jul 2006 03:57:52 +0000 (03:57 +0000)]
* Fix regression in Polish genitive month forms

18 years agorevert r15214, change message name from oldrevisionnavigation to old-revision-navigation
Ilmari Karonen [Sat, 1 Jul 2006 21:00:32 +0000 (21:00 +0000)]
revert r15214, change message name from oldrevisionnavigation to old-revision-navigation

18 years agorm broken lines left by r15214
Ilmari Karonen [Sat, 1 Jul 2006 19:59:06 +0000 (19:59 +0000)]
rm broken lines left by r15214

18 years agoRemove 'oldrevisionnavigation' message, use 'revisionasof' with stuff appended instead
Ilmari Karonen [Sat, 1 Jul 2006 19:50:24 +0000 (19:50 +0000)]
Remove 'oldrevisionnavigation' message, use 'revisionasof' with stuff appended instead

18 years ago* Updates from Dbl2010, Ugur Basak and katpatuka
Niklas Laxström [Sat, 1 Jul 2006 19:38:51 +0000 (19:38 +0000)]
* Updates from Dbl2010, Ugur Basak and katpatuka

18 years agoRevert breakage from 15190. Broke 'Wikipedia' meta namespace
Brion Vibber [Sat, 1 Jul 2006 19:05:46 +0000 (19:05 +0000)]
Revert breakage from 15190. Broke 'Wikipedia' meta namespace

18 years agoadd (diff) links to old revision navigation bar; forgot the relnotes from last commit :(
Ilmari Karonen [Sat, 1 Jul 2006 18:51:07 +0000 (18:51 +0000)]
add (diff) links to old revision navigation bar; forgot the relnotes from last commit :(

18 years agoadd (diff) links to old revision navigation bar
Ilmari Karonen [Sat, 1 Jul 2006 18:47:36 +0000 (18:47 +0000)]
add (diff) links to old revision navigation bar

18 years agoRemoving a Hebrew alias of #REDIRECT which is a spelling mistake.
Rotem Liss [Sat, 1 Jul 2006 17:48:56 +0000 (17:48 +0000)]
Removing a Hebrew alias of #REDIRECT which is a spelling mistake.

18 years ago* (bug 502) Avoid silly tabs on bad title by using virtual special page
Brion Vibber [Sat, 1 Jul 2006 17:08:51 +0000 (17:08 +0000)]
* (bug 502) Avoid silly tabs on bad title by using virtual special page
patch by Ilmari Karonen
http://bugzilla.wikimedia.org/attachment.cgi?id=2034

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:39:06 +0000 (13:39 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:32:32 +0000 (13:32 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:25:41 +0000 (13:25 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:15:42 +0000 (13:15 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:09:57 +0000 (13:09 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:03:39 +0000 (13:03 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Sat, 1 Jul 2006 13:02:29 +0000 (13:02 +0000)]
* Restructured

18 years agoAlso checking if the user can create the page if not exist, not only if he can edit...
Rotem Liss [Sat, 1 Jul 2006 12:07:47 +0000 (12:07 +0000)]
Also checking if the user can create the page if not exist, not only if he can edit it, to decide if we should show 'edit' or 'view source'.

18 years agoFixing a wrongly-used private function (Title::userCan).
Rotem Liss [Sat, 1 Jul 2006 10:54:31 +0000 (10:54 +0000)]
Fixing a wrongly-used private function (Title::userCan).

18 years agoRemoving the additional protection of the system messages in maintenance/InitialiseMe...
Rotem Liss [Sat, 1 Jul 2006 10:22:09 +0000 (10:22 +0000)]
Removing the additional protection of the system messages in maintenance/InitialiseMessages.inc. The system messages are already protected using the permission "editinterface", which protects the whole MediaWiki namespace, and they require no additional protection. If we want that regular users will be able to edit the messages, for example, we are currently required to grant them the both permissions "editinterface" and "protect".

From now on, after adding new messages to MediaWiki namespace using the script, the protection level is not set, and the messages are editable only by the users which have the permission "editinterface", regardless the permission "protect" (which should be used for other purposes - protecting pages, and editing protected pages - not for editing system messages). This will separate the permissions, and won't require us to grant the permission "protect" in order to make the "editinterface" permission functional.

18 years ago(bug 6506) Update to German localisation (de)
Rotem Liss [Sat, 1 Jul 2006 09:39:23 +0000 (09:39 +0000)]
(bug 6506) Update to German localisation (de)

18 years agoFinally adding EXIF tags to Hebrew translation.
Rotem Liss [Sat, 1 Jul 2006 09:29:37 +0000 (09:29 +0000)]
Finally adding EXIF tags to Hebrew translation.

18 years agoExperimental: use absolute paths in require_once
Tim Starling [Sat, 1 Jul 2006 07:22:59 +0000 (07:22 +0000)]
Experimental: use absolute paths in require_once

18 years ago* Add target namespace override selector for transwiki imports.
Brion Vibber [Sat, 1 Jul 2006 07:00:49 +0000 (07:00 +0000)]
* Add target namespace override selector for transwiki imports.
  $wgImportTargetNamespace specifies the default, to be used for
  Wiktionary's 'Transwiki:' namespace etc.
Note that the pageOutCallback changed on WikiImporter. Not used externally yet, hopefully

18 years ago* Some updates
Niklas Laxström [Fri, 30 Jun 2006 22:57:27 +0000 (22:57 +0000)]
* Some updates

18 years agoExtension messages translation is now possible.
Rotem Liss [Fri, 30 Jun 2006 20:46:54 +0000 (20:46 +0000)]
Extension messages translation is now possible.

18 years ago* Restructured
Niklas Laxström [Fri, 30 Jun 2006 20:07:09 +0000 (20:07 +0000)]
* Restructured

18 years ago* (bug 6485) Update to Indonesian translation (id) #24
Niklas Laxström [Fri, 30 Jun 2006 19:55:16 +0000 (19:55 +0000)]
* (bug 6485) Update to Indonesian translation (id) #24