lhc/web/wiklou.git
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

18 years ago* (bug 6498) Use localized forms for image size in Special:Undelete
Brion Vibber [Fri, 30 Jun 2006 19:03:36 +0000 (19:03 +0000)]
* (bug 6498) Use localized forms for image size in Special:Undelete

18 years ago* (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
Brion Vibber [Fri, 30 Jun 2006 18:28:08 +0000 (18:28 +0000)]
* (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set

18 years agodidn't get around to this before since it was PHP 4.3+ only...
Brion Vibber [Fri, 30 Jun 2006 17:21:29 +0000 (17:21 +0000)]
didn't get around to this before since it was PHP 4.3+ only...
* Use mysql_real_escape_string instead of addslashes for string escaping in
  the MySQL Database class. This may fix some rare breakage with binary fields.
  Note that MediaWiki does not support the multibyte character sets where a
  "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
  in this regard due to the bit patterns which make head and tail bytes
  distinct.

18 years ago* Fix and export namespaces
Niklas Laxström [Fri, 30 Jun 2006 12:26:50 +0000 (12:26 +0000)]
* Fix and export namespaces

18 years agoRevert accidental commit of experimentation
Rob Church [Fri, 30 Jun 2006 09:15:41 +0000 (09:15 +0000)]
Revert accidental commit of experimentation

18 years ago(bug 6493) Preserve language selections in the mode switch link on Special:Userlogin
Rob Church [Fri, 30 Jun 2006 09:13:53 +0000 (09:13 +0000)]
(bug 6493) Preserve language selections in the mode switch link on Special:Userlogin

18 years ago* Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
Rob Church [Fri, 30 Jun 2006 08:34:21 +0000 (08:34 +0000)]
* Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true

18 years ago* (bug 6488) Show relevant log fragment in Special:Movepage
Rob Church [Fri, 30 Jun 2006 08:27:46 +0000 (08:27 +0000)]
* (bug 6488) Show relevant log fragment in Special:Movepage

18 years ago* (bug 6491) Apply bad image list in category galleries
Brion Vibber [Thu, 29 Jun 2006 23:54:01 +0000 (23:54 +0000)]
* (bug 6491) Apply bad image list in category galleries
Patch from Ilmari Karonen
http://bugzilla.wikimedia.org/attachment.cgi?id=2024

18 years agoGallery code cleanup patch by Ilmari Karonen
Brion Vibber [Thu, 29 Jun 2006 23:27:13 +0000 (23:27 +0000)]
Gallery code cleanup patch by Ilmari Karonen
http://bugzilla.wikimedia.org/attachment.cgi?id=2028&action=view

18 years ago* Added Javanese localization (jv)
Niklas Laxström [Thu, 29 Jun 2006 21:33:41 +0000 (21:33 +0000)]
* Added Javanese localization (jv)
* Thanks to Borgx and Meursault2004

18 years ago* ChangesList assumes rc_bot exists
Niklas Laxström [Thu, 29 Jun 2006 19:56:32 +0000 (19:56 +0000)]
* ChangesList assumes rc_bot exists

18 years agoRemove no longer needed schema setting.
Greg Sabino Mullane [Thu, 29 Jun 2006 17:25:17 +0000 (17:25 +0000)]
Remove no longer needed schema setting.

18 years agoPull wgDBschema: not needed as a configuration param any more.
Greg Sabino Mullane [Thu, 29 Jun 2006 17:24:41 +0000 (17:24 +0000)]
Pull wgDBschema: not needed as a configuration param any more.

18 years agoAdd tsearch2 schema setting stuff.
Greg Sabino Mullane [Thu, 29 Jun 2006 17:24:04 +0000 (17:24 +0000)]
Add tsearch2 schema setting stuff.
Give tableExists an optional schema argument.

18 years agoRemove DBschema - too confusing with other uses of "schema"
Greg Sabino Mullane [Thu, 29 Jun 2006 17:23:30 +0000 (17:23 +0000)]
Remove DBschema - too confusing with other uses of "schema"
Add ts2schema and mwschema for postgres, config only: the user will absorb them

18 years agoAdd newline to end.
Greg Sabino Mullane [Thu, 29 Jun 2006 17:22:00 +0000 (17:22 +0000)]
Add newline to end.

18 years ago* Removed references to Project:protected page from default messages
Niklas Laxström [Thu, 29 Jun 2006 14:15:12 +0000 (14:15 +0000)]
* Removed references to Project:protected page from default messages

18 years ago* Added formatnum magic word
Niklas Laxström [Thu, 29 Jun 2006 13:37:06 +0000 (13:37 +0000)]
* Added formatnum magic word

18 years ago* (bug 6489) Use appropriate link colour on Special:Shortpages
Rob Church [Thu, 29 Jun 2006 13:28:19 +0000 (13:28 +0000)]
* (bug 6489) Use appropriate link colour on Special:Shortpages

18 years ago* Really support plural in imagelisttext
Niklas Laxström [Thu, 29 Jun 2006 12:51:28 +0000 (12:51 +0000)]
* Really support plural in imagelisttext

18 years agoUpdate.
Rotem Liss [Thu, 29 Jun 2006 11:04:12 +0000 (11:04 +0000)]
Update.

18 years agoForce early binding of SpecialPage descendants.
Tim Starling [Thu, 29 Jun 2006 08:26:30 +0000 (08:26 +0000)]
Force early binding of SpecialPage descendants.

18 years agoMake sure search_path mojo only performed once.
Greg Sabino Mullane [Thu, 29 Jun 2006 01:55:52 +0000 (01:55 +0000)]
Make sure search_path mojo only performed once.
Add temporary commit() method.
Add limitResultForUpdate method (does nothing).
Add update_interwiki method to parse interwiki.sql file.

18 years agoMake do_all_updates mysql only.
Greg Sabino Mullane [Thu, 29 Jun 2006 01:47:57 +0000 (01:47 +0000)]
Make do_all_updates mysql only.
Write wgDBport to config file.

18 years agoAdd searchindex table back in, lots of reformatting.
Greg Sabino Mullane [Thu, 29 Jun 2006 01:44:12 +0000 (01:44 +0000)]
Add searchindex table back in, lots of reformatting.

18 years ago* (bug 6006) Allow hiding the password change fields using an authentication plugin
Rob Church [Thu, 29 Jun 2006 00:57:56 +0000 (00:57 +0000)]
* (bug 6006) Allow hiding the password change fields using an authentication plugin