lhc/web/wiklou.git
15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Wed, 23 Jul 2008 20:03:40 +0000 (20:03 +0000)]
Localisation updates: Adding/updating Persian translations

15 years ago(bug 8068) New __INDEX__ and __NOINDEX__ magic words allow control of search engine...
Aryeh Gregor [Wed, 23 Jul 2008 19:49:46 +0000 (19:49 +0000)]
(bug 8068) New __INDEX__ and __NOINDEX__ magic words allow control of search engine indexing on a per-article basis.  Remarks:
* Currently __INDEX__ will override __NOINDEX__ regardless of their relative positions, due to the way things are written.  Instead, the last one on the page should win.  This should be pretty easy to fix.
* __INDEX__ and __NOINDEX__ override $wgArticleRobotPolicies.  This is almost certainly incorrect, but it's not totally obvious how to fix it, because of the way the code is structured.  Probably not a big deal, but should probably be fixed at some point.
* Anyone can add and remove the magic words, and there's no config option to disable them.  It's not obvious whether this is okay or not.  It would be a one-line change to OutputPage.php to have a config option to ignore the magic words, maybe per-namespace or who knows what.

15 years agoRevert last commit for a moment, committed lots of stuff I didn't mean to.
Aryeh Gregor [Wed, 23 Jul 2008 19:27:13 +0000 (19:27 +0000)]
Revert last commit for a moment, committed lots of stuff I didn't mean to.

15 years agoFollow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy...
Aryeh Gregor [Wed, 23 Jul 2008 19:25:48 +0000 (19:25 +0000)]
Follow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy in extensions.

15 years agoRefactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in...
Aryeh Gregor [Wed, 23 Jul 2008 19:05:43 +0000 (19:05 +0000)]
Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in OutputPage to allow index and follow policy to be set separately.  Also now validates input to setRobotPolicy().  And renamed setRobotpolicy to setRobotPolicy, too.  If anyone was accessing $mRobotpolicy directly they're out of luck, though.

15 years agoDocumentation: note that $wgNamespaceRobotPolicies can't change the default for NS_SP...
Aryeh Gregor [Wed, 23 Jul 2008 17:53:27 +0000 (17:53 +0000)]
Documentation: note that $wgNamespaceRobotPolicies can't change the default for NS_SPECIAL.

15 years agoMore updates for 1.14
Tim Starling [Wed, 23 Jul 2008 16:17:56 +0000 (16:17 +0000)]
More updates for 1.14

15 years ago$wgVersion too
Alexandre Emsenhuber [Wed, 23 Jul 2008 16:13:07 +0000 (16:13 +0000)]
$wgVersion too

15 years agoHISTORY/RELEASE-NOTES to 1.14
Tim Starling [Wed, 23 Jul 2008 16:11:57 +0000 (16:11 +0000)]
HISTORY/RELEASE-NOTES to 1.14

15 years agoSome documentation for SFH_OBJECT_ARGS
Tim Starling [Wed, 23 Jul 2008 14:51:39 +0000 (14:51 +0000)]
Some documentation for SFH_OBJECT_ARGS

15 years agoLocalization fix.
Rotem Liss [Wed, 23 Jul 2008 10:32:00 +0000 (10:32 +0000)]
Localization fix.

15 years agoLocalization update for he.
Rotem Liss [Wed, 23 Jul 2008 09:52:39 +0000 (09:52 +0000)]
Localization update for he.

15 years agoMissing file for r37928
Tim Starling [Wed, 23 Jul 2008 08:48:20 +0000 (08:48 +0000)]
Missing file for r37928

15 years agoLocalisation updates for core messages from Betawiki (2008-07-23 10:30 CEST)
Siebrand Mazeland [Wed, 23 Jul 2008 08:45:41 +0000 (08:45 +0000)]
Localisation updates for core messages from Betawiki (2008-07-23 10:30 CEST)

15 years agoFix for r37928.
Siebrand Mazeland [Wed, 23 Jul 2008 08:39:55 +0000 (08:39 +0000)]
Fix for r37928.

So if you *do* decide to add messages during a freeze, then at least take the time to do it right.

15 years agoJust removing a few justs.
Siebrand Mazeland [Wed, 23 Jul 2008 08:25:23 +0000 (08:25 +0000)]
Just removing a few justs.

15 years agoRevert r37924 "(bug 14883) Create hook AlternateSkinPreferences to alternate skin...
Brion Vibber [Wed, 23 Jul 2008 07:59:38 +0000 (07:59 +0000)]
Revert r37924 "(bug 14883) Create hook AlternateSkinPreferences to alternate skin section in user preferences"
This hook seems pretty unclear to me. What's it meant to accomplish? It passes no data to be customized, and has no code interface for building a sustainable, forward-compatible extension from it.

15 years agoTypofix
Chad Horohoe [Wed, 23 Jul 2008 01:43:57 +0000 (01:43 +0000)]
Typofix

15 years ago* (bug 4578) Automatically fix redirects broken by a page move. Works via the job...
Tim Starling [Tue, 22 Jul 2008 22:44:34 +0000 (22:44 +0000)]
* (bug 4578) Automatically fix redirects broken by a page move. Works via the job queue, controllable by a checkbox on Special:Movepage.
* Renamed some excessively short variables in SpecialMovepage.php
* Allow $wgReservedUsernames to be localised using "msg:..." syntax

15 years agoMake Special:Recentchangeslinked display changes to transcluded pages (templatelinks...
Ilmari Karonen [Tue, 22 Jul 2008 22:37:55 +0000 (22:37 +0000)]
Make Special:Recentchangeslinked display changes to transcluded pages (templatelinks table) and embedded images (imagelinks table).  This should help a bit against the recent spate of template vandalism on enwiki.
Also make the "Show changes to pages linked" button work for categories.

Remaining issues / things to do:
 - Test performance of the UNION query on a larger dataset than my test wiki.
 - Add some checkboxes to allow filtering the results like on Special:Whatlinkshere.
 - Try to think of some way to make the behavior for categories less klugy.

15 years agoUse a history file with readline, so that readline history is carried over from one...
Tim Starling [Tue, 22 Jul 2008 21:47:53 +0000 (21:47 +0000)]
Use a history file with readline, so that readline history is carried over from one invocation to another

15 years ago* (bug 14883) Create hook AlternateSkinPreferences to alternate skin section in user...
Ryan Schmidt [Tue, 22 Jul 2008 21:28:11 +0000 (21:28 +0000)]
* (bug 14883) Create hook AlternateSkinPreferences to alternate skin section in user preferences

15 years agoUpdate skin names
Mohamed Magdy [Tue, 22 Jul 2008 17:28:21 +0000 (17:28 +0000)]
Update skin names

15 years agoupdate
Alexandre Emsenhuber [Tue, 22 Jul 2008 16:40:55 +0000 (16:40 +0000)]
update

15 years agoAPI: Change descriptions for some limit parameters to actually refer to the correct...
Roan Kattouw [Tue, 22 Jul 2008 13:26:15 +0000 (13:26 +0000)]
API: Change descriptions for some limit parameters to actually refer to the correct type of result

15 years agoLocalisation updates for core messages from Betawiki (2008-07-22 10:14 CEST)
Siebrand Mazeland [Tue, 22 Jul 2008 08:25:44 +0000 (08:25 +0000)]
Localisation updates for core messages from Betawiki (2008-07-22 10:14 CEST)

15 years agoRevert r37872 for now -- "(bug 2971) Standardize format of links to hist/diff in...
Brion Vibber [Mon, 21 Jul 2008 22:37:33 +0000 (22:37 +0000)]
Revert r37872 for now -- "(bug 2971) Standardize format of links to hist/diff in Special:Contributions."

This appears to have changed "(hist) (diff)" to "(diff; hist)". I'm a bit leery of callign that "standardization" as it changes it from looking like regular Recent Chagnes to looking like enhanced Recent Changes.
Might be good to do a look around at other things, which use for example commas or pipes in parens as well, and figure out which is best to stick with.

15 years agoAllow $wgCookiePrefix to be set by the user. Default is false which keeps current...
Chad Horohoe [Mon, 21 Jul 2008 21:51:51 +0000 (21:51 +0000)]
Allow $wgCookiePrefix to be set by the user. Default is false which keeps current behavior in Setup. Fixes bug 14843.

15 years agoCleanup from r37839: just put ipb_auto in the relevant arrays. We have those arrays...
Roan Kattouw [Mon, 21 Jul 2008 21:37:11 +0000 (21:37 +0000)]
Cleanup from r37839: just put ipb_auto in the relevant arrays. We have those arrays so we don't have to add if($fld_a || $fld_b) for every crazy flag combination in existence.

15 years agoPer r37889: $wgStyleVersion++;
Alexandre Emsenhuber [Mon, 21 Jul 2008 20:22:17 +0000 (20:22 +0000)]
Per r37889: $wgStyleVersion++;

15 years ago* Making <hr> 1px in Modern, like in Monobook
Jon Harald Søby [Mon, 21 Jul 2008 20:17:29 +0000 (20:17 +0000)]
* Making <hr> 1px in Modern, like in Monobook

15 years agoWe already have the skin in $this->data, no need to take it from $wgUser
Alexandre Emsenhuber [Mon, 21 Jul 2008 17:13:55 +0000 (17:13 +0000)]
We already have the skin in $this->data, no need to take it from $wgUser

15 years agoMinor grammar fixes, etc.
Greg Sabino Mullane [Mon, 21 Jul 2008 17:06:35 +0000 (17:06 +0000)]
Minor grammar fixes, etc.

15 years agoClarify Postgres text indexing process.
Greg Sabino Mullane [Mon, 21 Jul 2008 16:58:06 +0000 (16:58 +0000)]
Clarify Postgres text indexing process.

15 years agoUse the internal diff engine if the diff excutable is not found
Alexandre Emsenhuber [Mon, 21 Jul 2008 16:24:39 +0000 (16:24 +0000)]
Use the internal diff engine if the diff excutable is not found

15 years agoOops, forgot a line. Now this works in Modern too. Yay for code duplication . . .
Aryeh Gregor [Mon, 21 Jul 2008 13:15:19 +0000 (13:15 +0000)]
Oops, forgot a line.  Now this works in Modern too.  Yay for code duplication . . .

15 years agoUpdate the Chinese conversion tables
Shinjiman [Mon, 21 Jul 2008 04:53:43 +0000 (04:53 +0000)]
Update the Chinese conversion tables

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Mon, 21 Jul 2008 04:47:48 +0000 (04:47 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* The accesskey to edit a page is now disabled when editing the page, to prevent...
Aryeh Gregor [Mon, 21 Jul 2008 02:47:42 +0000 (02:47 +0000)]
* The accesskey to edit a page is now disabled when editing the page, to prevent conflicts with Safari shortcuts (Ctrl-E = go to end of line).
* Fix watch checkbox for real in Firefox 3.  It still wasn't working right, due to the duplicate use of the W accesskey for the watch/unwatch tab.  This is now disabled on edit.

15 years agotypo
Alexandre Emsenhuber [Sun, 20 Jul 2008 19:15:47 +0000 (19:15 +0000)]
typo

15 years ago(bug 2971) Standardize format of links to hist/diff in Special:Contributions.
Aryeh Gregor [Sun, 20 Jul 2008 17:42:14 +0000 (17:42 +0000)]
(bug 2971) Standardize format of links to hist/diff in Special:Contributions.

15 years ago* (bug 12568) configuration script now produce valid XHTML
Alexandre Emsenhuber [Sun, 20 Jul 2008 14:29:04 +0000 (14:29 +0000)]
* (bug 12568) configuration script now produce valid XHTML
* Updated copyright (taken from SpecialVersion.php)

15 years ago* order aplhabetically
Alexandre Emsenhuber [Sun, 20 Jul 2008 13:55:35 +0000 (13:55 +0000)]
* order aplhabetically
* avoid using $this

15 years agoRemoved some PHP4-ism
Alexandre Emsenhuber [Sat, 19 Jul 2008 20:52:53 +0000 (20:52 +0000)]
Removed some PHP4-ism

15 years agoAdd descriptionCacheExpiry to configuration example to avoid 2 notices.
Siebrand Mazeland [Sat, 19 Jul 2008 19:11:58 +0000 (19:11 +0000)]
Add descriptionCacheExpiry to configuration example to avoid 2 notices.

Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1071
Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1083

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Sat, 19 Jul 2008 18:16:58 +0000 (18:16 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoLocalisation updates for core messages from Betawiki (2008-07-19 19:07 CEST)
Siebrand Mazeland [Sat, 19 Jul 2008 17:40:22 +0000 (17:40 +0000)]
Localisation updates for core messages from Betawiki (2008-07-19 19:07 CEST)

15 years agoFix typo
Siebrand Mazeland [Sat, 19 Jul 2008 14:09:59 +0000 (14:09 +0000)]
Fix typo

15 years ago* Add PopularPages to group 'wiki' on Special:SpecialPages
Siebrand Mazeland [Sat, 19 Jul 2008 13:46:54 +0000 (13:46 +0000)]
* Add PopularPages to group 'wiki' on Special:SpecialPages
* remove trailing whitespace

15 years agoFix #12441 : generateSitemap.php --fspath parameter required a trailing slash
Antoine Musso [Sat, 19 Jul 2008 12:53:59 +0000 (12:53 +0000)]
Fix #12441 : generateSitemap.php --fspath parameter required a trailing slash

15 years agoFix 12384 : comment on maintenance/*php files
Antoine Musso [Sat, 19 Jul 2008 12:15:07 +0000 (12:15 +0000)]
Fix 12384 : comment on maintenance/*php files

15 years agoSecurity fix for API blocks query -- ipb_anon field wasn't being loaded when querying...
Brion Vibber [Sat, 19 Jul 2008 07:50:14 +0000 (07:50 +0000)]
Security fix for API blocks query -- ipb_anon field wasn't being loaded when querying for usernames but not flags, but this field is needed to tell whether a given row is an autoblock and needs the IP suppressed.

15 years agoCleanup for r37830 & earlier ($wgDirectoryMode default to wfMkdirParents()):
Brion Vibber [Sat, 19 Jul 2008 07:29:43 +0000 (07:29 +0000)]
Cleanup for r37830 & earlier ($wgDirectoryMode default to wfMkdirParents()):
Just check is_null() here. is_int() isn't necessarily safe, as numbers frequently get passed around in what are really strings. :)

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Fri, 18 Jul 2008 23:17:58 +0000 (23:17 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoAccesskeys for minor edit/watch checkboxes on edit now work in Firefox 3. It apparen...
Aryeh Gregor [Fri, 18 Jul 2008 19:36:42 +0000 (19:36 +0000)]
Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3.  It apparently doesn't like an accesskey being declared for both an input element and its label.

15 years agoLocalisation updates from Betawiki
Siebrand Mazeland [Fri, 18 Jul 2008 19:33:04 +0000 (19:33 +0000)]
Localisation updates from Betawiki
* Update magic words and special page aliases

15 years agoAdjust copyright info for sortable tables script: our version contains some modificat...
Aryeh Gregor [Fri, 18 Jul 2008 19:08:58 +0000 (19:08 +0000)]
Adjust copyright info for sortable tables script: our version contains some modifications and is not under the MIT license, but rather the GPL.

15 years ago$wgDefaultDirectoryChmod -> $wgDirectoryMode. Less crappy name + docs I should've...
Chad Horohoe [Fri, 18 Jul 2008 18:03:50 +0000 (18:03 +0000)]
$wgDefaultDirectoryChmod -> $wgDirectoryMode. Less crappy name + docs I should've written on the original commit.

15 years agoDisable plural checks for gn, hu, sah
Siebrand Mazeland [Fri, 18 Jul 2008 15:53:29 +0000 (15:53 +0000)]
Disable plural checks for gn, hu, sah

15 years agoLocalisation updates for core messages from Betawiki (2008-07-18 16:35 CEST)
Siebrand Mazeland [Fri, 18 Jul 2008 14:44:10 +0000 (14:44 +0000)]
Localisation updates for core messages from Betawiki (2008-07-18 16:35 CEST)

15 years agoFound the errno for deadlocks on MsSQL, let's return a proper bool instead of no-op.
Chad Horohoe [Fri, 18 Jul 2008 12:54:12 +0000 (12:54 +0000)]
Found the errno for deadlocks on MsSQL, let's return a proper bool instead of no-op.

15 years agoCheck for GROUP BY #.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:59:49 +0000 (03:59 +0000)]
Check for GROUP BY #.
Scan extensions directory as well, refactor that section.

15 years agoHandle new includes directory scheme.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:46:39 +0000 (03:46 +0000)]
Handle new includes directory scheme.

15 years agoNo more TYPE, look for (and default to) ENGINE.
Greg Sabino Mullane [Fri, 18 Jul 2008 03:29:40 +0000 (03:29 +0000)]
No more TYPE, look for (and default to) ENGINE.

15 years agoChange various uses of GROUP BY 1,2,3 and similar to use the actual column names...
Aryeh Gregor [Fri, 18 Jul 2008 01:31:18 +0000 (01:31 +0000)]
Change various uses of GROUP BY 1,2,3 and similar to use the actual column names.  This is more familiar and readable.  Also, MSSQL apparently doesn't support the numeric syntax.  See discussion at bug 9767.

This should cause no functional changes.  If it does, revert.

15 years agoLocalisation updates for core messages from Betawiki (2008-07-17 22:24 CEST)
Siebrand Mazeland [Thu, 17 Jul 2008 20:38:16 +0000 (20:38 +0000)]
Localisation updates for core messages from Betawiki (2008-07-17 22:24 CEST)

15 years agoPer r37799: $wgStyleVersion++;
Alexandre Emsenhuber [Thu, 17 Jul 2008 20:18:23 +0000 (20:18 +0000)]
Per r37799: $wgStyleVersion++;

15 years ago(bug 14845) Bug in prefs javascript
Huji [Thu, 17 Jul 2008 20:02:16 +0000 (20:02 +0000)]
(bug 14845) Bug in prefs javascript

15 years agoDoc tweaks:
Alexandre Emsenhuber [Thu, 17 Jul 2008 18:12:20 +0000 (18:12 +0000)]
Doc tweaks:
* Moved doc about primary scripts to scripts.txt
* Lines ending to 80 chars

15 years agoLocalisation updates. Remove non-existing parameter
Siebrand Mazeland [Thu, 17 Jul 2008 17:43:45 +0000 (17:43 +0000)]
Localisation updates. Remove non-existing parameter

15 years agofix in debug output
Alexandre Emsenhuber [Thu, 17 Jul 2008 16:55:21 +0000 (16:55 +0000)]
fix in debug output

15 years ago* Highlight flagged user contribs (bug 14814)
Aaron Schulz [Thu, 17 Jul 2008 14:55:30 +0000 (14:55 +0000)]
* Highlight flagged user contribs (bug 14814)
* Necessary hooks added

15 years agoRemove 2 messages in English
Siebrand Mazeland [Thu, 17 Jul 2008 13:48:14 +0000 (13:48 +0000)]
Remove 2 messages in English

15 years agoFix handling of non-unified diffs in wfDiff
Andrew Garrett [Thu, 17 Jul 2008 12:30:40 +0000 (12:30 +0000)]
Fix handling of non-unified diffs in wfDiff

15 years agoAdd wfDiff function, similar to wfMerge (some copied), used in AbuseFilter extension...
Andrew Garrett [Thu, 17 Jul 2008 12:19:51 +0000 (12:19 +0000)]
Add wfDiff function, similar to wfMerge (some copied), used in AbuseFilter extension to generate a line-by-line machine-readable diff between two texts. Shells out to diff utility.

15 years agoCleanup index clause
Aaron Schulz [Thu, 17 Jul 2008 12:09:58 +0000 (12:09 +0000)]
Cleanup index clause

15 years agoPutting 'whatlinkshere-barrow' in optinal rather than ignored list; such directional...
Huji [Thu, 17 Jul 2008 12:02:34 +0000 (12:02 +0000)]
Putting 'whatlinkshere-barrow' in optinal rather than ignored list; such directional items may need to be translated in RTL languages.

15 years agoCounts should be shown using localized digits, just as totals do.
Huji [Thu, 17 Jul 2008 12:01:29 +0000 (12:01 +0000)]
Counts should be shown using localized digits, just as totals do.

15 years agoRevert r37748 "(bug 14020) Added an API interface to Special:Unwatchedpages in the...
Brion Vibber [Thu, 17 Jul 2008 09:26:01 +0000 (09:26 +0000)]
Revert r37748 "(bug 14020) Added an API interface to Special:Unwatchedpages in the form of the apfilterwatched parameter to list=allpages. If $wgMiserMode is true or if the user doesn't have the 'unwatchedpages' right, apfilterwatched is ignored and a warning is output."
This is broken -- watched page filter results in a huge wash of duplicate rows -- one for each watcher for each page.

15 years ago* Fix double escaping issues introduced in r34320 (bug 14840)
Niklas Laxström [Thu, 17 Jul 2008 09:25:19 +0000 (09:25 +0000)]
* Fix double escaping issues introduced in r34320 (bug 14840)

15 years agoprivate -> protected (bug 14490)
Aaron Schulz [Thu, 17 Jul 2008 04:37:59 +0000 (04:37 +0000)]
private -> protected (bug 14490)

15 years agoAdd $wgDefaultDirectoryChmod, allows customizing the default chmod value. Set to...
Chad Horohoe [Wed, 16 Jul 2008 18:36:40 +0000 (18:36 +0000)]
Add $wgDefaultDirectoryChmod, allows customizing the default chmod value. Set to 0777 by default to keep current behavior.

15 years agotypo pt to pt-br
Leonardo Gregianin [Wed, 16 Jul 2008 18:07:16 +0000 (18:07 +0000)]
typo pt to pt-br

15 years agoLocalisation updates for core messages from Betawiki (2008-07-16 18:22 CEST)
Siebrand Mazeland [Wed, 16 Jul 2008 16:35:57 +0000 (16:35 +0000)]
Localisation updates for core messages from Betawiki (2008-07-16 18:22 CEST)

15 years ago* remove a double space
Siebrand Mazeland [Wed, 16 Jul 2008 16:12:52 +0000 (16:12 +0000)]
* remove a double space
* add newlines after sentence to facilitate localisation

No localisation updates required.

15 years ago(bug 14020) Added an API interface to Special:Unwatchedpages in the form of the apfil...
Roan Kattouw [Wed, 16 Jul 2008 15:42:55 +0000 (15:42 +0000)]
(bug 14020) Added an API interface to Special:Unwatchedpages in the form of the apfilterwatched parameter to list=allpages. If $wgMiserMode is true or if the user doesn't have the 'unwatchedpages' right, apfilterwatched is ignored and a warning is output.

15 years agoRevert r37741 for now "Changed getInternalLinkAttributesInternal parameters: now...
Brion Vibber [Wed, 16 Jul 2008 10:15:47 +0000 (10:15 +0000)]
Revert r37741 for now "Changed getInternalLinkAttributesInternal parameters: now accepts Title object if available, passes to hook. Also reordered some code in makeKnownLinkObj so that said hook can mangle the Title object. Reordering should have no other side-effects."
This seems a bit icky and inconsistent. If it's necessary to pass titles around here, it should be done consistently, with appropriate fixups and refactoring to the old spaghetti code.

15 years ago* Allow wikitext in file-info, file-info-size, svg-long-desc instead of mix of unesca...
Niklas Laxström [Wed, 16 Jul 2008 08:48:53 +0000 (08:48 +0000)]
* Allow wikitext in file-info, file-info-size, svg-long-desc instead of mix of unescaped and plain
* Format numbers in svg-long-desc

15 years agoChanged getInternalLinkAttributesInternal parameters: now accepts Title object if...
David McCabe [Wed, 16 Jul 2008 07:22:21 +0000 (07:22 +0000)]
Changed getInternalLinkAttributesInternal parameters: now accepts Title object if available, passes to hook. Also reordered some code in makeKnownLinkObj so that said hook can mangle the Title object. Reordering should have no other side-effects.

15 years agoRedoing r37642 ('Added possibility to filter by protocol in "list all links" mode...
Roan Kattouw [Tue, 15 Jul 2008 22:03:34 +0000 (22:03 +0000)]
Redoing r37642 ('Added possibility to filter by protocol in "list all links" mode') *really* right this time, the example broke because I had 'http' instead of '' on line 78.

15 years agoRevert r37717 -- if you didn't like the other reasons, the fact that it obviously...
Brion Vibber [Tue, 15 Jul 2008 21:53:36 +0000 (21:53 +0000)]
Revert r37717 -- if you didn't like the other reasons, the fact that it obviously wasn't tested and breaks the example might interest you.

15 years agoLocalisation updates for core messages from Betawiki (2008-07-15 23:25 CEST)
Siebrand Mazeland [Tue, 15 Jul 2008 21:40:16 +0000 (21:40 +0000)]
Localisation updates for core messages from Betawiki (2008-07-15 23:25 CEST)

15 years agoRevert r37686, 37687 for now:
Brion Vibber [Tue, 15 Jul 2008 21:35:32 +0000 (21:35 +0000)]
Revert r37686, 37687 for now:

"Improving extendibility of the sidebar improvements, css adding, and also JS variables."

"* New hooks:"
"** SkinSidebarSpecialBox and SkinSidebarOutputSpecialBox to allow extensions to add new custom boxes to Tim's new Sidebar system"
"** SkinSetupSiteCss to allow extensions to modify and add new stylesheets to load into the page. This one allows for fine positioning and can be very useful for things like an extension providing global css for a wiki farm."
"** SkinGlobalVariables to allow extensions to add new global variables to export to the JS variables in the page."

At least some of these appear to duplicate existing functionality -- extensions already can add new stylesheets and JS variables, and I'm pretty sure can add portals as well.

15 years agoRevert r37709 so I can cleanly revert other changes to these lines
Brion Vibber [Tue, 15 Jul 2008 21:33:26 +0000 (21:33 +0000)]
Revert r37709 so I can cleanly revert other changes to these lines

15 years agoRevert r37712 which was itself a revert of r37642 (filter by protocol in list-all...
Roan Kattouw [Tue, 15 Jul 2008 21:29:27 +0000 (21:29 +0000)]
Revert r37712 which was itself a revert of r37642 (filter by protocol in list-all-links mode). $protocol is validated already: only protocols in $wgUrlProtocols are accepted (line 168) and the : (and, if required, //) part is added in lines 57-65, making both reasons for the revert moot.

15 years agoRevert r37669: LinkerLinkAttributes hook doesn't seem to make a lot of sense. The...
Brion Vibber [Tue, 15 Jul 2008 21:16:32 +0000 (21:16 +0000)]
Revert r37669: LinkerLinkAttributes hook doesn't seem to make a lot of sense. The parameters passed can't be modified, and they are escaped for output, making it unsuitable as a general extension hook.

15 years agoRevert r37663 for now:
Brion Vibber [Tue, 15 Jul 2008 21:13:34 +0000 (21:13 +0000)]
Revert r37663 for now:
"* (bug 13815) In the comment for page moves, use the colon-separator message instead of a hardcoded colon."
"* So that this works properly, don't escape HTML entities in edit summaries.  I don't see any good reason for them to be escaped there.  Of course, this may result in old edit summaries displaying slightly differently if for some reason they included an entity, but in that case there's at least a 50% chance that they intended it to not be escaped in the first place."

This breaks the ability to easily discuss entities in summaries such as "add &nbsp;".

15 years agoRevert r37642 for now ('Added possibility to filter by protocol in "list all links...
Brion Vibber [Tue, 15 Jul 2008 20:51:07 +0000 (20:51 +0000)]
Revert r37642 for now ('Added possibility to filter by protocol in "list all links" mode.'):
* doesn't properly validate $protocol when building like query for protocol-only case, could lead to ugly slow arbitrary queries
* no : added to protocol -- will match false positives (eg 'http' matching 'https')

15 years agoAdded some tabs in the generated html so that it is easier to read the <head> element
Alexandre Emsenhuber [Tue, 15 Jul 2008 19:51:18 +0000 (19:51 +0000)]
Added some tabs in the generated html so that it is easier to read the <head> element

15 years agoRverting r37705, and r37706.
Siebrand Mazeland [Tue, 15 Jul 2008 19:30:42 +0000 (19:30 +0000)]
Rverting r37705, and r37706.
String freeze in place for core messages awaiting branching of MediaWiki 1.13 and giving translators a chance to localise to the current state. Please hold off on any changes until then.