lhc/web/wiklou.git
17 years agoNew hook: AjaxAddScript. Used to load some more ajax javascripts
Antoine Musso [Sun, 21 Jan 2007 16:46:36 +0000 (16:46 +0000)]
New hook: AjaxAddScript. Used to load some more ajax javascripts

17 years agoUpdate.
Rotem Liss [Sun, 21 Jan 2007 16:16:44 +0000 (16:16 +0000)]
Update.

17 years agoIndent output when adding links and meta tags
Antoine Musso [Sun, 21 Jan 2007 16:01:50 +0000 (16:01 +0000)]
Indent output when adding links and meta tags

17 years ago* German translation update for Oversight extension
Leon Weber [Sun, 21 Jan 2007 15:37:05 +0000 (15:37 +0000)]
* German translation update for Oversight extension
* Partly revert of last patch with new Ajax function messages.
Patches by Raymond

17 years agoReorder conditions from Werdna's previous commit; shortcut if not a user CSS/JS subpa...
Rob Church [Sun, 21 Jan 2007 13:47:11 +0000 (13:47 +0000)]
Reorder conditions from Werdna's previous commit; shortcut if not a user CSS/JS subpage to avoid the expensive queries

17 years agoIgnore cascading protection for user CSS/JS subpages, as it's obvious that they were...
Andrew Garrett [Sun, 21 Jan 2007 12:43:07 +0000 (12:43 +0000)]
Ignore cascading protection for user CSS/JS subpages, as it's obvious that they were placed in user subpages to circumvent needing to protect them. This fixes at least one bot on enwiki

17 years ago* (bug 7859) yet another kazakh localisation patch.
Leon Weber [Sun, 21 Jan 2007 09:55:14 +0000 (09:55 +0000)]
* (bug 7859) yet another kazakh localisation patch.

17 years agoRemove any additional trailing slashes when subpaging is enabled
Antoine Musso [Sun, 21 Jan 2007 03:47:38 +0000 (03:47 +0000)]
Remove any additional trailing slashes when subpaging is enabled

17 years agoRevert r19529 ('ajax editors list'); per chat w/ hashar I recommend working on this...
Brion Vibber [Sun, 21 Jan 2007 03:14:06 +0000 (03:14 +0000)]
Revert r19529 ('ajax editors list'); per chat w/ hashar I recommend working on this as an extension for now. It seems pretty modular, and should be an ideal candidate for that.

17 years agoIndonesian translations for "ajax-se..." messages
Ivan Lanin [Sun, 21 Jan 2007 02:50:02 +0000 (02:50 +0000)]
Indonesian translations for "ajax-se..." messages

17 years ago'ok 1' when a file is not under revision control
Antoine Musso [Sat, 20 Jan 2007 23:39:43 +0000 (23:39 +0000)]
'ok 1' when a file is not under revision control

17 years ago* add a lame verbose statement
Antoine Musso [Sat, 20 Jan 2007 23:35:37 +0000 (23:35 +0000)]
* add a lame verbose statement
* add a test for svn:eol-style=native property

17 years ago(bug 8403) Respect bad image list exceptions in galleries on wiki pages
Rob Church [Sat, 20 Jan 2007 22:34:05 +0000 (22:34 +0000)]
(bug 8403) Respect bad image list exceptions in galleries on wiki pages

17 years ago* Update German translations
Leon Weber [Sat, 20 Jan 2007 22:01:57 +0000 (22:01 +0000)]
* Update German translations
* Move makesysop messages of ksh to extension localisation
Patches by Raymond.
/me slaps Raymond.

17 years ago* Finnish update
Niklas Laxström [Sat, 20 Jan 2007 21:36:41 +0000 (21:36 +0000)]
* Finnish update

17 years agoAdded missing comma in hashar's updater
Leon Weber [Sat, 20 Jan 2007 21:28:25 +0000 (21:28 +0000)]
Added missing comma in hashar's updater

17 years agoFix an error introduced with r19483. Pointed out by LeonWP.
Antoine Musso [Sat, 20 Jan 2007 21:22:31 +0000 (21:22 +0000)]
Fix an error introduced with r19483. Pointed out by LeonWP.

17 years agoAssuming we mostly want a quiet output.
Antoine Musso [Sat, 20 Jan 2007 21:18:49 +0000 (21:18 +0000)]
Assuming we mostly want a quiet output.

17 years agoOptional feature : 'Ajax show editors' based on an idea by Tim Starling
Antoine Musso [Sat, 20 Jan 2007 21:05:36 +0000 (21:05 +0000)]
Optional feature : 'Ajax show editors' based on an idea by Tim Starling
Merge from hashar's branch.

17 years ago(bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up...
Rob Church [Sat, 20 Jan 2007 20:45:52 +0000 (20:45 +0000)]
(bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up their Commons upload links

17 years agoAdd some parser tests for URL-encoding in URL functions. The second case could be...
Rob Church [Sat, 20 Jan 2007 20:15:33 +0000 (20:15 +0000)]
Add some parser tests for URL-encoding in URL functions. The second case could be difficult to fix, because something like {{localurl:Some page|amp=&&b=2}} is ambiguous.

17 years agoIntroduce 'CustomEditor' hook; see docs/hooks.txt for more information
Rob Church [Sat, 20 Jan 2007 19:51:21 +0000 (19:51 +0000)]
Introduce 'CustomEditor' hook; see docs/hooks.txt for more information

17 years ago* (bug 8712) Expose user groups as a JavaScript global [patch c/o AzaToth]
Rob Church [Sat, 20 Jan 2007 19:38:51 +0000 (19:38 +0000)]
* (bug 8712) Expose user groups as a JavaScript global [patch c/o AzaToth]
* Tweak release notes from hashar's last commmit

17 years agoFix #8703 : correct Limburgish namespace translations
Antoine Musso [Sat, 20 Jan 2007 19:36:16 +0000 (19:36 +0000)]
Fix #8703 : correct Limburgish namespace translations

17 years agoCheck for interface existence in wfLoadAllExtensions() too, otherwise if an extension...
Rob Church [Sat, 20 Jan 2007 19:24:37 +0000 (19:24 +0000)]
Check for interface existence in wfLoadAllExtensions() too, otherwise if an extension comes with an interface [e.g. BookInformation], the require() can cause it to be double-initialised (the implementing classes will have been loaded, which will have caused PHP to autoload the interface definition) leading to a fatal error

17 years agoar: fix the 'create a new page' on search page when no exact match found
Antoine Musso [Sat, 20 Jan 2007 19:22:11 +0000 (19:22 +0000)]
ar: fix the 'create a new page' on search page when no exact match found

17 years ago* (bug 8715) Warn users when editing an interface message whether or not the message...
Rob Church [Sat, 20 Jan 2007 19:17:45 +0000 (19:17 +0000)]
* (bug 8715) Warn users when editing an interface message whether or not the message page exists
* Format default "cascadeprotectedwarning" better
* Code readability tweak in Title::isProtected()

17 years agoreport number of failed tests as well
Antoine Musso [Sat, 20 Jan 2007 19:15:49 +0000 (19:15 +0000)]
report number of failed tests as well

17 years agouserCan(Edit|Create|Move) are deprecated : do not use them
Antoine Musso [Sat, 20 Jan 2007 17:58:38 +0000 (17:58 +0000)]
userCan(Edit|Create|Move) are deprecated : do not use them

17 years agoWe forgot userCanCreate()
Antoine Musso [Sat, 20 Jan 2007 17:57:52 +0000 (17:57 +0000)]
We forgot userCanCreate()

17 years agoCopy a test from parserTests.txt
Antoine Musso [Sat, 20 Jan 2007 15:54:09 +0000 (15:54 +0000)]
Copy a test from parserTests.txt

17 years ago* Added getter for fallback
Niklas Laxström [Sat, 20 Jan 2007 15:31:32 +0000 (15:31 +0000)]
* Added getter for fallback

17 years agoFix doxygen groups
Antoine Musso [Sat, 20 Jan 2007 15:20:40 +0000 (15:20 +0000)]
Fix doxygen groups

17 years agoUse Doxygen @addtogroup instead of phpdoc @package && @subpackage
Antoine Musso [Sat, 20 Jan 2007 15:09:52 +0000 (15:09 +0000)]
Use Doxygen @addtogroup instead of phpdoc @package && @subpackage

17 years agoFix.
Rotem Liss [Sat, 20 Jan 2007 15:04:45 +0000 (15:04 +0000)]
Fix.

17 years ago* (bug 8691) Update to Japanese localisation (ja)
Niklas Laxström [Sat, 20 Jan 2007 14:47:13 +0000 (14:47 +0000)]
* (bug 8691) Update to Japanese localisation (ja)

17 years ago* SECURITY: dont source the settings file
Antoine Musso [Sat, 20 Jan 2007 14:45:18 +0000 (14:45 +0000)]
* SECURITY: dont source the settings file
* Enable man pages generation

17 years agoFix capital letters left in the stylesheets and scripts messages in several langauge...
Rotem Liss [Sat, 20 Jan 2007 14:44:59 +0000 (14:44 +0000)]
Fix capital letters left in the stylesheets and scripts messages in several langauge files.

17 years ago* Updates to Korean from klutzy
Niklas Laxström [Sat, 20 Jan 2007 14:17:49 +0000 (14:17 +0000)]
* Updates to Korean from klutzy

17 years agosmall comment for devs
Antoine Musso [Sat, 20 Jan 2007 13:37:25 +0000 (13:37 +0000)]
small comment for devs

17 years agoRename constructors to __constructor
Antoine Musso [Sat, 20 Jan 2007 13:34:31 +0000 (13:34 +0000)]
Rename constructors to __constructor

17 years agoTypo.
Rotem Liss [Sat, 20 Jan 2007 13:30:59 +0000 (13:30 +0000)]
Typo.

17 years agoFix.
Rotem Liss [Sat, 20 Jan 2007 13:20:00 +0000 (13:20 +0000)]
Fix.

17 years ago(bug 8708) Namespace translations for Zealandic language
Rob Church [Sat, 20 Jan 2007 13:05:00 +0000 (13:05 +0000)]
(bug 8708) Namespace translations for Zealandic language

17 years agowhitespaces killing
Antoine Musso [Sat, 20 Jan 2007 12:59:34 +0000 (12:59 +0000)]
whitespaces killing

17 years agoSplit out ParserOptions and ParserOutput classes in their own files.
Antoine Musso [Sat, 20 Jan 2007 12:50:56 +0000 (12:50 +0000)]
Split out ParserOptions and ParserOutput classes in their own files.
Made using svn copy so the logs are kept.

17 years ago(bug 8701) Check database lock status when blocking/unblocking users
Rob Church [Fri, 19 Jan 2007 21:32:49 +0000 (21:32 +0000)]
(bug 8701) Check database lock status when blocking/unblocking users

17 years agoFix#8677 : Update to french language. Patch by Korrigan <le.korrigan@gmail.com>
Antoine Musso [Fri, 19 Jan 2007 17:53:21 +0000 (17:53 +0000)]
Fix#8677 : Update to french language. Patch by Korrigan <le.korrigan@gmail.com>

17 years agoUpdate statistics, change default behaviro to just test, not delete thousands of...
Steve Sanbeg [Fri, 19 Jan 2007 17:16:45 +0000 (17:16 +0000)]
Update statistics, change default behaviro to just test, not delete thousands of pages

17 years ago* Last commit to these files was based on an obsolete revision that was merged
Ævar Arnfjörð Bjarmason [Fri, 19 Jan 2007 14:47:11 +0000 (14:47 +0000)]
* Last commit to these files was based on an obsolete revision that was merged
  incorrectly. This has changes from the second-last revision with newlines munged

17 years ago r56629@Arsia: avar | 2007-01-19 11:52:12 +0000
Ævar Arnfjörð Bjarmason [Fri, 19 Jan 2007 12:01:43 +0000 (12:01 +0000)]
 r56629@Arsia:  avar | 2007-01-19 11:52:12 +0000
 * Regression test to make sure we use unix newlines

17 years ago r56628@Arsia: avar | 2007-01-19 11:51:14 +0000
Ævar Arnfjörð Bjarmason [Fri, 19 Jan 2007 12:01:04 +0000 (12:01 +0000)]
 r56628@Arsia:  avar | 2007-01-19 11:51:14 +0000
 * Regression test to make sure we use <?php ?> tags

17 years ago r56626@Arsia: avar | 2007-01-19 11:48:24 +0000
Ævar Arnfjörð Bjarmason [Fri, 19 Jan 2007 11:59:29 +0000 (11:59 +0000)]
 r56626@Arsia:  avar | 2007-01-19 11:48:24 +0000
 * Ran dos2unix(1) on php files with dos newlines

17 years agoNormalize / to DIRECTORY_SEPARATOR in wfRelativePath() input, plays nicer on Windows
Brion Vibber [Fri, 19 Jan 2007 10:40:57 +0000 (10:40 +0000)]
Normalize / to DIRECTORY_SEPARATOR in wfRelativePath() input, plays nicer on Windows

17 years agoFix for MySQL strict mode; explicitly set the deprecated page_restrictions field...
Brion Vibber [Fri, 19 Jan 2007 09:50:19 +0000 (09:50 +0000)]
Fix for MySQL strict mode; explicitly set the deprecated page_restrictions field when inserting a new page record.
Also removed the now-useless $restrictions parameter from Article::insertOn(); it was optional and wasn't used anywhere anyway.
Aaaand while in there, cleaned up an unnecessary reference parameter (old php 4 compat)

17 years agoPrettify test runner a bit:
Brion Vibber [Fri, 19 Jan 2007 09:00:45 +0000 (09:00 +0000)]
Prettify test runner a bit:
* cleaner line breaks at start and end
* 'ALL TESTS PASSED!' and 'some tests failed!' so people stop whinging about the giant 'FAILED!'
and remove some redundant includes

17 years ago* (bug 8690) Updates to Ripuarian localisation files by Caesius noh en
Leon Weber [Fri, 19 Jan 2007 05:29:32 +0000 (05:29 +0000)]
* (bug 8690) Updates to Ripuarian localisation files by Caesius noh en
  Idee vum Manes. Patch by Raymond.

17 years agoassuming which should close them as they are opened
Antoine Musso [Thu, 18 Jan 2007 22:45:42 +0000 (22:45 +0000)]
assuming which should close them as they are opened

17 years agobroken ietf url
Antoine Musso [Thu, 18 Jan 2007 22:37:36 +0000 (22:37 +0000)]
broken ietf url

17 years agoFix breakage made by r19452 (ietf URL changed)
Antoine Musso [Thu, 18 Jan 2007 22:35:01 +0000 (22:35 +0000)]
Fix breakage made by r19452 (ietf URL changed)

17 years agoGerman localisation update, patch by raymond.
Leon Weber [Thu, 18 Jan 2007 16:12:03 +0000 (16:12 +0000)]
German localisation update, patch by raymond.

17 years ago* (bug 8656) Moved Makesysop messages from the language files to the
Leon Weber [Thu, 18 Jan 2007 14:49:40 +0000 (14:49 +0000)]
* (bug 8656) Moved Makesysop messages from the language files to the
  extension language file
* MessagesEn.php: smarter URL for rfcurl (with navigation links)

17 years agoSome release notes TLC; break a few more lines at ~80 columns, reword a few bits...
Rob Church [Thu, 18 Jan 2007 14:46:45 +0000 (14:46 +0000)]
Some release notes TLC; break a few more lines at ~80 columns, reword a few bits, etc.

17 years agoOdd indenting?
Rob Church [Thu, 18 Jan 2007 13:37:54 +0000 (13:37 +0000)]
Odd indenting?

17 years ago(bug 8688) Handle underscores/spaces in Special:Blockip and Special:Ipblocklist in...
Rob Church [Thu, 18 Jan 2007 13:36:51 +0000 (13:36 +0000)]
(bug 8688) Handle underscores/spaces in Special:Blockip and Special:Ipblocklist in a consistent manner

17 years agoRelease notes cruft
Rob Church [Thu, 18 Jan 2007 11:38:11 +0000 (11:38 +0000)]
Release notes cruft

17 years agoLocalisation updates from 80686 and Raymond.
Manuel Schneider [Thu, 18 Jan 2007 09:49:28 +0000 (09:49 +0000)]
Localisation updates from 80686 and Raymond.

17 years ago* (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
Rob Church [Thu, 18 Jan 2007 07:44:25 +0000 (07:44 +0000)]
* (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info

17 years ago* Fix API revision list on PHP 5.2.1; bad reference assignment
Brion Vibber [Thu, 18 Jan 2007 02:01:47 +0000 (02:01 +0000)]
* Fix API revision list on PHP 5.2.1; bad reference assignment

17 years agoIndonesian (id) translation for Special:Undelete messages
Ivan Lanin [Thu, 18 Jan 2007 01:54:50 +0000 (01:54 +0000)]
Indonesian (id) translation for Special:Undelete messages

17 years ago* Escaping and Xml
Niklas Laxström [Thu, 18 Jan 2007 00:52:15 +0000 (00:52 +0000)]
* Escaping and Xml

17 years ago* (bug 8673) Minor fix for web service API content-type header
Brion Vibber [Thu, 18 Jan 2007 00:01:20 +0000 (00:01 +0000)]
* (bug 8673) Minor fix for web service API content-type header

17 years ago* Escape page title
Niklas Laxström [Wed, 17 Jan 2007 23:44:43 +0000 (23:44 +0000)]
* Escape page title

17 years ago* Label was not working
Niklas Laxström [Wed, 17 Jan 2007 23:43:35 +0000 (23:43 +0000)]
* Label was not working

17 years ago* Escaping
Niklas Laxström [Wed, 17 Jan 2007 23:34:52 +0000 (23:34 +0000)]
* Escaping

17 years agorm some debug code; it still leaves entries that were modified by upgrade scripts...
Steve Sanbeg [Wed, 17 Jan 2007 23:09:54 +0000 (23:09 +0000)]
rm some debug code; it still leaves entries that were modified by upgrade scripts, but it does remove most of them

17 years ago r56373@Arsia: avar | 2007-01-17 23:05:33 +0000
Ævar Arnfjörð Bjarmason [Wed, 17 Jan 2007 23:05:55 +0000 (23:05 +0000)]
 r56373@Arsia:  avar | 2007-01-17 23:05:33 +0000
 * Copy this from ../Test/ so make test works out of the box

17 years agouse parser->getTitle() to get possible private $parser->mTitle
Antoine Musso [Wed, 17 Jan 2007 22:57:06 +0000 (22:57 +0000)]
use parser->getTitle() to get possible private $parser->mTitle

17 years ago* Use the nice xml function we have
Niklas Laxström [Wed, 17 Jan 2007 22:44:34 +0000 (22:44 +0000)]
* Use the nice xml function we have

17 years agowhitespaces
Antoine Musso [Wed, 17 Jan 2007 22:32:40 +0000 (22:32 +0000)]
whitespaces

17 years ago* Escaping
Niklas Laxström [Wed, 17 Jan 2007 22:25:19 +0000 (22:25 +0000)]
* Escaping

17 years ago* Escaping
Niklas Laxström [Wed, 17 Jan 2007 22:09:30 +0000 (22:09 +0000)]
* Escaping

17 years agoIgnore self closing on closing tags ( '</div />' now gives '</div>')
Antoine Musso [Wed, 17 Jan 2007 22:06:32 +0000 (22:06 +0000)]
Ignore self closing on closing tags ( '</div />' now gives '</div>')
Fix parsertest "Don't fall for the self-closing div"

17 years agoSanitizer now correctly escapes lonely '>' occuring before the first wikitag.
Antoine Musso [Wed, 17 Jan 2007 21:52:37 +0000 (21:52 +0000)]
Sanitizer now correctly escapes lonely '>' occuring before the first wikitag.
Fix parsertest: "Always escape literal '>' in output, not just after '<'"

17 years agomaintenance script to delete mediawiki messages silently, to upgrade without flooding...
Steve Sanbeg [Wed, 17 Jan 2007 21:47:55 +0000 (21:47 +0000)]
maintenance script to delete mediawiki messages silently, to upgrade without flooding RC & logs

17 years ago* Fix hardcoded background color in parserTests.php
Antoine Musso [Wed, 17 Jan 2007 21:24:41 +0000 (21:24 +0000)]
* Fix hardcoded background color in parserTests.php
* AnsiTermColorer::reset() now calls color(0)
* parserTests.php : remove 'light' option for --color switch

17 years agoFix #6171 : magically close tags in tables when not using Tidy.
Antoine Musso [Wed, 17 Jan 2007 20:55:26 +0000 (20:55 +0000)]
Fix #6171 : magically close tags in tables when not using Tidy.

17 years agowhitespaces killing
Antoine Musso [Wed, 17 Jan 2007 19:48:48 +0000 (19:48 +0000)]
whitespaces killing

17 years agoSome parser tests to go with r19397
Rob Church [Wed, 17 Jan 2007 19:48:37 +0000 (19:48 +0000)]
Some parser tests to go with r19397

17 years ago(bug 8678) Fix detection of self-links for numeric titles in Parser
Rob Church [Wed, 17 Jan 2007 19:29:11 +0000 (19:29 +0000)]
(bug 8678) Fix detection of self-links for numeric titles in Parser

17 years ago* plaintext
Niklas Laxström [Wed, 17 Jan 2007 18:42:04 +0000 (18:42 +0000)]
* plaintext

17 years ago(bug 8676) Regression in previewing deleted revisions; use $this->mTargetObj, not...
Rob Church [Wed, 17 Jan 2007 18:31:30 +0000 (18:31 +0000)]
(bug 8676) Regression in previewing deleted revisions; use $this->mTargetObj, not the protected $archive->title

17 years ago* Unsupport html
Niklas Laxström [Wed, 17 Jan 2007 18:13:56 +0000 (18:13 +0000)]
* Unsupport html

17 years ago* Updates
Niklas Laxström [Wed, 17 Jan 2007 15:30:09 +0000 (15:30 +0000)]
* Updates

17 years agoUpdate.
Rotem Liss [Wed, 17 Jan 2007 14:18:08 +0000 (14:18 +0000)]
Update.

17 years agopretty up the timestamps in 1.4->1.5 schema conversion. unix timestamp... sucks?
Brion Vibber [Wed, 17 Jan 2007 13:12:18 +0000 (13:12 +0000)]
pretty up the timestamps in 1.4->1.5 schema conversion. unix timestamp... sucks?

17 years ago- $term = htmlspecialchars( $term );
Andrew Garrett [Wed, 17 Jan 2007 12:19:53 +0000 (12:19 +0000)]
- $term = htmlspecialchars( $term );
+ $term = urlencode( $term );

($terms is used in a URL, and hence should be url-encoded rather than html-encoded)

17 years ago* (bug 8641) Fix order of updates to ipblocks table
Brion Vibber [Wed, 17 Jan 2007 11:51:01 +0000 (11:51 +0000)]
* (bug 8641) Fix order of updates to ipblocks table

The update for ipb_anon_only does a total replacement of the ipblocks table in order to apply a unique index at the same time. A later change, adding the ipb_enable_autoblock field, was erroneously listed _before_ this change in the updates list. As a result, upgrades from 1.7 or earlier would end up missing this field as the ipb_anon_only update's new copy of the table dropped the field. A second updater run would restore it, but this should no longer be necessary.

17 years agoI WILL UPDATE RELEASE-NOTES
Andrew Garrett [Wed, 17 Jan 2007 10:50:40 +0000 (10:50 +0000)]
I WILL UPDATE RELEASE-NOTES
I WILL UPDATE RELEASE-NOTES
I WILL UPDATE RELEASE-NOTES
I WILL UPDATE RELEASE-NOTES
I WILL UPDATE RELEASE-NOTES
Looks like we've found brion's new method of discipline

17 years agoAdd autoconfirmation by edit count. Users must have existed for more than wgAutoConfi...
Andrew Garrett [Wed, 17 Jan 2007 10:43:04 +0000 (10:43 +0000)]
Add autoconfirmation by edit count. Users must have existed for more than wgAutoConfirmAge seconds, and have wgAutoConfirmCount edits in order to be considered autoconfirmed.