lhc/web/wiklou.git
18 years agoFixing parser errors "no data" and "nothing but a caption".
Magnus Manske [Mon, 6 Feb 2006 15:47:14 +0000 (15:47 +0000)]
Fixing parser errors "no data" and "nothing but a caption".
This fix is cleaner than the first one; hopefully the test unit will recognize it
 this time...

18 years agoIntroduce "semiprotectedpagewarning" which appears when a user edits a page that...
Rob Church [Mon, 6 Feb 2006 09:49:28 +0000 (09:49 +0000)]
Introduce "semiprotectedpagewarning" which appears when a user edits a page that requires autoconfirmed permissions to edit. Note that other protection levels will take precedence over this; the regular "protectedpagewarning" will show in these cases.

18 years agoReport errors from ImageMagick convert back to the user. Specify output bit depth...
Tim Starling [Mon, 6 Feb 2006 05:19:46 +0000 (05:19 +0000)]
Report errors from ImageMagick convert back to the user. Specify output bit depth when calling convert, for those people who are using an inefficient Q16 binary for scaling (i.e. almost everyone). Tweaked -quality.

18 years agomake wfShellExec() work on windows a bit better
Tim Starling [Mon, 6 Feb 2006 05:14:58 +0000 (05:14 +0000)]
make wfShellExec() work on windows a bit better

18 years agoGrrr...remove duplicate $, thanks Niklas
Rob Church [Sun, 5 Feb 2006 22:59:53 +0000 (22:59 +0000)]
Grrr...remove duplicate $, thanks Niklas

18 years agoFix broken contribs link in block log
Rob Church [Sun, 5 Feb 2006 22:54:12 +0000 (22:54 +0000)]
Fix broken contribs link in block log

18 years ago* (bug 4828) Fix genitive month-name variable for cs, pl, uk
Brion Vibber [Sun, 5 Feb 2006 21:26:59 +0000 (21:26 +0000)]
* (bug 4828) Fix genitive month-name variable for cs, pl, uk
patch by Mormegil
http://bugzilla.wikimedia.org/attachment.cgi?id=1371&action=view

18 years agoDocument new hook to avoid brutal stabbing by Vibber the Vicious
Rob Church [Sun, 5 Feb 2006 18:53:37 +0000 (18:53 +0000)]
Document new hook to avoid brutal stabbing by Vibber the Vicious

18 years ago(bug 4860) Expose Title->userCan() as Hooks
Rob Church [Sun, 5 Feb 2006 18:47:40 +0000 (18:47 +0000)]
(bug 4860) Expose Title->userCan() as Hooks

18 years ago(bug 4875) Define a div containing the shared image description
Rob Church [Sun, 5 Feb 2006 18:32:55 +0000 (18:32 +0000)]
(bug 4875) Define a div containing the shared image description

18 years ago* Reset $wgActionPaths during parser test; corrects some false failures
Brion Vibber [Sun, 5 Feb 2006 01:37:49 +0000 (01:37 +0000)]
* Reset $wgActionPaths during parser test; corrects some false failures
  in the automated test report.

18 years ago* (bug 4867) Leave invalid EXIF date fields unformatted instead of
Brion Vibber [Sun, 5 Feb 2006 01:07:28 +0000 (01:07 +0000)]
* (bug 4867) Leave invalid EXIF date fields unformatted instead of
  showing a bogus current timestamp

18 years agoAdd warning for anon. edits
Rob Church [Sat, 4 Feb 2006 18:42:43 +0000 (18:42 +0000)]
Add warning for anon. edits

18 years agoFix oversight - was using $tbl_text instead of $tbl_txt
Rob Church [Sat, 4 Feb 2006 17:38:42 +0000 (17:38 +0000)]
Fix oversight - was using $tbl_text instead of $tbl_txt

18 years agoFix for parser test "A table with no data"
Magnus Manske [Fri, 3 Feb 2006 18:22:53 +0000 (18:22 +0000)]
Fix for parser test "A table with no data"

18 years agoSuppress XML error details when detailed output is off
Brion Vibber [Fri, 3 Feb 2006 09:28:13 +0000 (09:28 +0000)]
Suppress XML error details when detailed output is off

18 years ago* (bug 3347) strip linebreaks in math error source
Brion Vibber [Fri, 3 Feb 2006 06:36:05 +0000 (06:36 +0000)]
* (bug 3347) strip linebreaks in math error source

18 years ago* (bug 4303) Add $wgFavicon to change the shorticon icon link from
Brion Vibber [Fri, 3 Feb 2006 04:04:05 +0000 (04:04 +0000)]
* (bug 4303) Add $wgFavicon to change the shorticon icon link from
  the default /favicon.ico or disable it (if set to false)
  Patch by nekocue

18 years ago* Fix extra namespace for Bulgarian
Brion Vibber [Fri, 3 Feb 2006 03:18:11 +0000 (03:18 +0000)]
* Fix extra namespace for Bulgarian

18 years agoBug 4549. "Temporary" means that it's cleared in parse() or some other frequently...
Tim Starling [Thu, 2 Feb 2006 13:42:50 +0000 (13:42 +0000)]
Bug 4549. "Temporary" means that it's cleared in parse() or some other frequently-called member function, which those two variables clearly weren't. They were in fact persistent. They should have been state variables. Also removed obsolete and unused transclusion code, which would have suffered the same problem if it was used.

18 years agoMore robust directory structure migration, should fix bug #2532, except for Brion...
Tim Starling [Thu, 2 Feb 2006 07:07:39 +0000 (07:07 +0000)]
More robust directory structure migration, should fix bug #2532, except for Brion's complaint that the directory structure should be completely different, which he is free to fix in his own time.

18 years agotypo in diff feed style
Brion Vibber [Thu, 2 Feb 2006 03:40:16 +0000 (03:40 +0000)]
typo in diff feed style

18 years ago* (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
Brion Vibber [Wed, 1 Feb 2006 21:24:04 +0000 (21:24 +0000)]
* (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
  and seems to work ok with other bits. No longer including the IE
  workarounds JavaScript for IE 7 and above.

18 years agoUse a.external instead of a[href ^="http://"] to detect external links. This is to...
Tim Starling [Wed, 1 Feb 2006 04:44:23 +0000 (04:44 +0000)]
Use a.external instead of a[href ^=""] to detect external links. This is to support interwiki transclusion with action=render. The protocol-specific rules below still seem to work.

18 years agoVarious improvements to interwiki transclusion. Introduced {{raw:..}}, to force raw...
Tim Starling [Wed, 1 Feb 2006 04:41:53 +0000 (04:41 +0000)]
Various improvements to interwiki transclusion. Introduced {{raw:..}}, to force raw transclusion when subst: isn't in use. Referer header set in wfGetHTTP(), this could be for weak (honour-bound) detection of the external site, for statistics or license notices.

18 years agodocumentation, code cleanup
Tim Starling [Wed, 1 Feb 2006 04:34:47 +0000 (04:34 +0000)]
documentation, code cleanup

18 years agoFeature karma: removing a useless feature that I recently committed.
Tim Starling [Tue, 31 Jan 2006 04:10:01 +0000 (04:10 +0000)]
Feature karma: removing a useless feature that I recently committed.

18 years agoFixes and improvements to interwiki transclusion:
Tim Starling [Tue, 31 Jan 2006 03:44:08 +0000 (03:44 +0000)]
Fixes and improvements to interwiki transclusion:
* allow interwiki {{subst:...}} using action=raw fetches
* Allowed non-MSIE browsers to access action=raw via the article alias. This is necessary to allow action=raw transclusion, since the only known URL is the article path, not the script path.
* Specify a user agent in wfGetHttp() fetches, when using curl.
* Added transcache table to tables.sql, it was in the updater but not there for some reason.
* Fixed transcache expiry, added option
* Allow interwiki transclusion outside the template namespace using leading colon syntax. Syntax is counterintuitive at times, e.g. to subst the wikipedia main page you would use {{subst::Wikipedia:Main_Page}} not {{subst:Wikipedia::Main_Page}}.

18 years ago* (bug 4795) correction to texvc color patches
Brion Vibber [Tue, 31 Jan 2006 01:13:04 +0000 (01:13 +0000)]
* (bug 4795) correction to texvc color patches

18 years agoUpdate documentation URL
Antoine Musso [Mon, 30 Jan 2006 22:52:34 +0000 (22:52 +0000)]
Update documentation URL

18 years agoremove more tabs
Brion Vibber [Mon, 30 Jan 2006 21:43:23 +0000 (21:43 +0000)]
remove more tabs

18 years agoremove memcached polution ... ah, and namespace notices on the way
Domas Mituzas [Mon, 30 Jan 2006 15:40:46 +0000 (15:40 +0000)]
remove memcached polution ... ah, and namespace notices on the way

18 years ago* (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
Brion Vibber [Mon, 30 Jan 2006 03:34:23 +0000 (03:34 +0000)]
* (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
In a perfect world, HTML would have a version of the <style> element
which applies only to its own contents and is allowed in the body.
Or, secondarily, XSLT could be much much easier to use.

18 years agofix whitespace consistency
Brion Vibber [Mon, 30 Jan 2006 01:04:10 +0000 (01:04 +0000)]
fix whitespace consistency

18 years agoClean up code in, and add contributions link to block log items
Rob Church [Sun, 29 Jan 2006 23:24:01 +0000 (23:24 +0000)]
Clean up code in, and add contributions link to block log items

18 years agoFix overlooked hard-coded table name (reported in bug 4748)
Rob Church [Sun, 29 Jan 2006 17:37:23 +0000 (17:37 +0000)]
Fix overlooked hard-coded table name (reported in bug 4748)

18 years agoUpdate for Russian language
Alexander Sigachov [Sun, 29 Jan 2006 14:43:42 +0000 (14:43 +0000)]
Update for Russian language

18 years ago* Adjust user login/creation form hooks to work with a captcha plugin
Brion Vibber [Sun, 29 Jan 2006 07:35:28 +0000 (07:35 +0000)]
* Adjust user login/creation form hooks to work with a captcha plugin

18 years agoParser test case for bug 4783
Brion Vibber [Sat, 28 Jan 2006 21:51:01 +0000 (21:51 +0000)]
Parser test case for bug 4783

18 years agoFix for bug 4783 : {{ns:0}} does not render
Magnus Manske [Sat, 28 Jan 2006 21:44:57 +0000 (21:44 +0000)]
Fix for bug 4783 : {{ns:0}} does not render

18 years agofix for externallinks
Brion Vibber [Sat, 28 Jan 2006 21:42:42 +0000 (21:42 +0000)]
fix for externallinks

18 years agoNamespace notice (fix for bug 4469) is back:
Magnus Manske [Sat, 28 Jan 2006 17:36:08 +0000 (17:36 +0000)]
Namespace notice (fix for bug 4469) is back:
Namespace-specific notice to be displayed below site-notice. Edit messages like "MediaWiki:Namespacenotice-" plus namespace name, which is blank for main namespace, or like e.g. "User_talk".

18 years ago* Include timestamp in wfDebugLog breakouts
Brion Vibber [Sat, 28 Jan 2006 11:42:35 +0000 (11:42 +0000)]
* Include timestamp in wfDebugLog breakouts

18 years agoWas never committed to HEAD for some reason
Tim Starling [Sat, 28 Jan 2006 08:22:24 +0000 (08:22 +0000)]
Was never committed to HEAD for some reason

18 years agoForgot to add the new link tables to Article::doDeleteArticle()
Tim Starling [Sat, 28 Jan 2006 00:35:34 +0000 (00:35 +0000)]
Forgot to add the new link tables to Article::doDeleteArticle()

18 years agoMaintenance script to find and remove links to a given domain (cleanupSpam.php)
Tim Starling [Fri, 27 Jan 2006 23:37:19 +0000 (23:37 +0000)]
Maintenance script to find and remove links to a given domain (cleanupSpam.php)

18 years agoRevert last commit -- hardcoded 'Wikipedia' strings
Brion Vibber [Fri, 27 Jan 2006 21:31:06 +0000 (21:31 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings

18 years agoRevert last commit -- hardcoded 'Wikipedia' strings.
Brion Vibber [Fri, 27 Jan 2006 21:29:49 +0000 (21:29 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings.

18 years agoupdated Czech translation from bug 1120. NB:I've uncommented the Magic Words, so...
Rowan Collins [Fri, 27 Jan 2006 13:56:27 +0000 (13:56 +0000)]
updated Czech translation from bug 1120. NB:I've uncommented the Magic Words, so if there was a reason they were commented, please revert!

18 years agoUpdated 'ms' (Bahasai Melayu) language files, from bug 4770 with some manual fixes.
Rowan Collins [Fri, 27 Jan 2006 13:06:26 +0000 (13:06 +0000)]
Updated 'ms' (Bahasai Melayu) language files, from bug 4770 with some manual fixes.

18 years agoMaintenance script to reassign edits from one user to another
Rob Church [Thu, 26 Jan 2006 21:41:40 +0000 (21:41 +0000)]
Maintenance script to reassign edits from one user to another

18 years agoformatNum in langRu
Alexander Sigachov [Thu, 26 Jan 2006 21:27:31 +0000 (21:27 +0000)]
formatNum in langRu

18 years agoInclude deleted edits in the CountEdits support function; will affect removeUnusedAcc...
Rob Church [Thu, 26 Jan 2006 18:07:34 +0000 (18:07 +0000)]
Include deleted edits in the CountEdits support function; will affect removeUnusedAccounts script

18 years ago* Added externallinks table, to track links to arbitrary URLs
Tim Starling [Thu, 26 Jan 2006 13:29:14 +0000 (13:29 +0000)]
* Added externallinks table, to track links to arbitrary URLs
* Convert unnecessary URL escape codes in external links to their equivalent
  character before doing anything with them. This prevents certain kinds of
  spam filter evasion. (Parser.php only)

18 years agoDon't use tidy. Command line option to specify the end ID. Clear the link cache after...
Tim Starling [Thu, 26 Jan 2006 11:25:26 +0000 (11:25 +0000)]
Don't use tidy. Command line option to specify the end ID. Clear the link cache after each article to keep memory usage down.

18 years ago* Use revision rate for ETA in dump generation; it tends to be more stable
Brion Vibber [Thu, 26 Jan 2006 08:06:05 +0000 (08:06 +0000)]
* Use revision rate for ETA in dump generation; it tends to be more stable
  than the per-page count for full-history dumps.

18 years agoFixed Special:Unlockdb, had been broken since 1.5beta1
Tim Starling [Thu, 26 Jan 2006 07:02:53 +0000 (07:02 +0000)]
Fixed Special:Unlockdb, had been broken since 1.5beta1

18 years ago* Maintenance script to delete unused text records
Rob Church [Wed, 25 Jan 2006 21:08:29 +0000 (21:08 +0000)]
* Maintenance script to delete unused text records
* Maintenance script to delete non-current revisions
* Maintenance script to wipe a page and all revisions from the database

18 years agoNote:
Domas Mituzas [Wed, 25 Jan 2006 21:06:30 +0000 (21:06 +0000)]
Note:
Allow lagged external storage
Do not tidy user interface messages
Fix revision fetching query (propagate equality manually :)

18 years agodo not trust equality propagation, help optimizer a bit ;-)
Domas Mituzas [Wed, 25 Jan 2006 20:50:39 +0000 (20:50 +0000)]
do not trust equality propagation, help optimizer a bit ;-)

18 years agoAdd Special:Listredirects to list of query pages; wasn't being cached
Rob Church [Wed, 25 Jan 2006 15:09:52 +0000 (15:09 +0000)]
Add Special:Listredirects to list of query pages; wasn't being cached

18 years agoAdded $wgInvisibleGroups, to hide groups from Special:Listusers
Tim Starling [Wed, 25 Jan 2006 12:01:26 +0000 (12:01 +0000)]
Added $wgInvisibleGroups, to hide groups from Special:Listusers

18 years agoremove some more profiling hooks from commonly used calls
Domas Mituzas [Wed, 25 Jan 2006 11:25:56 +0000 (11:25 +0000)]
remove some more profiling hooks from commonly used calls

18 years agoremove profiling hooks from hooks ;-)
Domas Mituzas [Wed, 25 Jan 2006 10:51:12 +0000 (10:51 +0000)]
remove profiling hooks from hooks ;-)

18 years agoFix dependence on hardcoded UNIQ_PREFIX.
Zheng Zhu [Tue, 24 Jan 2006 19:33:36 +0000 (19:33 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.

18 years agoFix dependence on hardcoded UNIQ_PREFIX.
Zheng Zhu [Tue, 24 Jan 2006 18:36:45 +0000 (18:36 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.

18 years agoAnother pecial error
Niklas Laxström [Mon, 23 Jan 2006 23:12:11 +0000 (23:12 +0000)]
Another pecial error

18 years agoergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache
Domas Mituzas [Mon, 23 Jan 2006 22:32:44 +0000 (22:32 +0000)]
ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache

18 years agoa Bug which I mentally fixed long ago
Niklas Laxström [Mon, 23 Jan 2006 22:01:46 +0000 (22:01 +0000)]
a Bug which I mentally fixed long ago

18 years agoallow to enable full tidy
Domas Mituzas [Mon, 23 Jan 2006 20:57:57 +0000 (20:57 +0000)]
allow to enable full tidy

18 years agofix previews
Domas Mituzas [Mon, 23 Jan 2006 20:44:56 +0000 (20:44 +0000)]
fix previews

18 years ago* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
Brion Vibber [Mon, 23 Jan 2006 19:41:03 +0000 (19:41 +0000)]
* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
  pages with only one revision. Fixes message diff link on first edit.

18 years agowhitespace, use member variable instead of function
Domas Mituzas [Mon, 23 Jan 2006 19:05:09 +0000 (19:05 +0000)]
whitespace, use member variable instead of function

18 years agoTidy up only article views, previews, image pages and diffs.
Domas Mituzas [Mon, 23 Jan 2006 18:37:46 +0000 (18:37 +0000)]
Tidy up only article views, previews, image pages and diffs.

18 years ago*g*, bypass lag checks for external store (as it already fallbacks to master)
Domas Mituzas [Mon, 23 Jan 2006 15:28:17 +0000 (15:28 +0000)]
*g*, bypass lag checks for external store (as it already fallbacks to master)

18 years agoallow bypassing lag checks
Domas Mituzas [Mon, 23 Jan 2006 15:27:44 +0000 (15:27 +0000)]
allow bypassing lag checks

18 years agoconvertPlural fix in LanguageRu.php
Alexander Sigachov [Mon, 23 Jan 2006 15:15:08 +0000 (15:15 +0000)]
convertPlural fix in LanguageRu.php

18 years agoRevert changes to skin since that's now the fourth user complaint
Rob Church [Mon, 23 Jan 2006 01:00:04 +0000 (01:00 +0000)]
Revert changes to skin since that's now the fourth user complaint

18 years ago* (bug 4633) Add (previous 200) (next 200) also above catlinks
Rob Church [Sun, 22 Jan 2006 23:10:56 +0000 (23:10 +0000)]
* (bug 4633) Add (previous 200) (next 200) also above catlinks

18 years ago* wfGetSiteNotice() gets called on DB errors (wtf?) so depending on $wgUser
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 12:38:13 +0000 (12:38 +0000)]
* wfGetSiteNotice() gets called on DB errors (wtf?) so depending on $wgUser
  which depends on the database for this executing successfully is not a very
  good idea...

18 years agofix $wgDebugDumpSql for backup bits; quick hack, flag wasn't passed. need a cleaner...
Brion Vibber [Sun, 22 Jan 2006 11:44:50 +0000 (11:44 +0000)]
fix $wgDebugDumpSql for backup bits; quick hack, flag wasn't passed. need a cleaner func for opening a second connection

18 years agoSmall corrections
Niklas Laxström [Sun, 22 Jan 2006 11:30:50 +0000 (11:30 +0000)]
Small corrections

18 years ago* (bug 4615) Update for Portuguese language (pt)
Niklas Laxström [Sun, 22 Jan 2006 11:15:29 +0000 (11:15 +0000)]
* (bug 4615) Update for Portuguese language (pt)

18 years ago* Suppress useless percentage indicator on output from 7za during dumps
Brion Vibber [Sun, 22 Jan 2006 07:03:03 +0000 (07:03 +0000)]
* Suppress useless percentage indicator on output from 7za during dumps

18 years ago* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
Brion Vibber [Sun, 22 Jan 2006 04:05:30 +0000 (04:05 +0000)]
* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1

18 years ago* #p-cactions : left: 10.5em => 11.5em; A little spacing is nice;)
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 02:03:35 +0000 (02:03 +0000)]
* #p-cactions : left: 10.5em => 11.5em; A little spacing is nice;)

18 years agoWhoops, URL encoding (ta Brion)
Rob Church [Sun, 22 Jan 2006 01:12:19 +0000 (01:12 +0000)]
Whoops, URL encoding (ta Brion)

18 years agoSame for core messages and language...
Domas Mituzas [Sun, 22 Jan 2006 00:49:58 +0000 (00:49 +0000)]
Same for core messages and language...

18 years agoMove AllMessages arrays to separate files:
Domas Mituzas [Sun, 22 Jan 2006 00:40:23 +0000 (00:40 +0000)]
Move AllMessages arrays to separate files:
- will allow efficient compiling of Language* classes
- will allow compiling message arrays into constant databases

18 years ago* Don't show a block link if the user doesn't exist/isn't a valid IP (e.g. MediaWiki...
Rob Church [Sun, 22 Jan 2006 00:30:01 +0000 (00:30 +0000)]
* Don't show a block link if the user doesn't exist/isn't a valid IP (e.g. MediaWiki default)
* Link to block log

18 years agoAdd block link to Special:Contributions
Rob Church [Sat, 21 Jan 2006 23:08:34 +0000 (23:08 +0000)]
Add block link to Special:Contributions

18 years agosneak preview of split language file
Domas Mituzas [Sat, 21 Jan 2006 22:24:23 +0000 (22:24 +0000)]
sneak preview of split language file

18 years agoComment $wgDebugDumpSql
Rob Church [Sat, 21 Jan 2006 21:57:02 +0000 (21:57 +0000)]
Comment $wgDebugDumpSql

18 years agoDocument previous change
Rob Church [Sat, 21 Jan 2006 20:32:19 +0000 (20:32 +0000)]
Document previous change

18 years agoCheck for "block" permission, not "protect" permission, when determining whether...
Rob Church [Sat, 21 Jan 2006 20:29:17 +0000 (20:29 +0000)]
Check for "block" permission, not "protect" permission, when determining whether or not to show a block link in the toolbox

18 years agotypo
Domas Mituzas [Sat, 21 Jan 2006 17:08:41 +0000 (17:08 +0000)]
typo

18 years agodon't look at this diff, it is too lame ;)
Domas Mituzas [Sat, 21 Jan 2006 16:50:22 +0000 (16:50 +0000)]
don't look at this diff, it is too lame ;)

18 years agooops, $this and some globals
Domas Mituzas [Sat, 21 Jan 2006 16:44:46 +0000 (16:44 +0000)]
oops, $this and some globals

18 years agolocal cdb-based interwiki cache
Domas Mituzas [Sat, 21 Jan 2006 16:23:45 +0000 (16:23 +0000)]
local cdb-based interwiki cache

18 years agoWhen reading from meta's interwiki map, *.wikimedia.org should be set as local (e...
Rowan Collins [Sat, 21 Jan 2006 13:25:41 +0000 (13:25 +0000)]
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons).