lhc/web/wiklou.git
15 years agoRemove 2 unused core messages "movenologin", "movenologintext".
Siebrand Mazeland [Fri, 1 Aug 2008 10:11:29 +0000 (10:11 +0000)]
Remove 2 unused core messages "movenologin", "movenologintext".

Appears to be used in 1 extension. May need fixing.
(not stable) extensions/LiquidThreads/LqtPages.php: $this->output->showErrorPage( 'movenologin', 'movenologintext' );

15 years ago* (bug 14987) Only fix double redirects on page move when the checkbox is checked
Alexandre Emsenhuber [Fri, 1 Aug 2008 09:44:47 +0000 (09:44 +0000)]
* (bug 14987) Only fix double redirects on page move when the checkbox is checked

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Fri, 1 Aug 2008 09:35:41 +0000 (09:35 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoRemove call to Linker::postParseLinkColour() which is useless and deprecated
Alexandre Emsenhuber [Fri, 1 Aug 2008 09:22:39 +0000 (09:22 +0000)]
Remove call to Linker::postParseLinkColour() which is useless and deprecated

15 years agoFix regression from r38325 -- caused first character of section name in a history...
Brion Vibber [Fri, 1 Aug 2008 02:02:08 +0000 (02:02 +0000)]
Fix regression from r38325 -- caused first character of section name in a history link to be trimmed.
Title::setFragment() does not do what you'd think it does. :)

15 years ago(bug 14995 again) Fix behavior of link() when it's provided with Titles that have...
Aryeh Gregor [Fri, 1 Aug 2008 01:47:02 +0000 (01:47 +0000)]
(bug 14995 again) Fix behavior of link() when it's provided with Titles that have no text, only a fragment.  getLocalURL() doesn't work here either.  Can we have a function that actually means "generate a link to whatever this Title points at"?

Also remove, as Tim so eloquently terms it, "that crap in the release notes", which I also think is unnecessary and crufty.

15 years agoUse Linker::link() in a couple more places, since I want to break lots more bits...
Aryeh Gregor [Fri, 1 Aug 2008 01:37:07 +0000 (01:37 +0000)]
Use Linker::link() in a couple more places, since I want to break lots more bits of the site interface.  Also clean up Skin::nameAndLogin(), although it's seemingly only used in Standard.

15 years agoRevert 38323 for now. Causes massive parser test failure. Also needs to update...
Aryeh Gregor [Fri, 1 Aug 2008 01:03:26 +0000 (01:03 +0000)]
Revert 38323 for now.  Causes massive parser test failure.  Also needs to update RELEASE-NOTES.

15 years agoRollback links should not get new/mw-redirect/stub classes, either.
Aryeh Gregor [Fri, 1 Aug 2008 00:55:29 +0000 (00:55 +0000)]
Rollback links should not get new/mw-redirect/stub classes, either.

15 years ago(bug 14997) Rollback links now work again, yay! But doesn't the code look so much...
Aryeh Gregor [Fri, 1 Aug 2008 00:54:08 +0000 (00:54 +0000)]
(bug 14997) Rollback links now work again, yay!  But doesn't the code look so much prettier?

15 years ago(bug 14995) Some link fragments in the interface stopped appearing, because Title...
Aryeh Gregor [Fri, 1 Aug 2008 00:47:26 +0000 (00:47 +0000)]
(bug 14995) Some link fragments in the interface stopped appearing, because Title::getLocalURL() doesn't include the fragment.  For some reason Title::getFullURL() does, however . . . more functions to clean up?  :)

15 years agoAdding links to a lot of messages to improve usability.
Siebrand Mazeland [Fri, 1 Aug 2008 00:30:13 +0000 (00:30 +0000)]
Adding links to a lot of messages to improve usability.

15 years agoChanging the code rendered for headers; removing <a name="$anchor">, making into...
Jon Harald Søby [Fri, 1 Aug 2008 00:22:39 +0000 (00:22 +0000)]
Changing the code rendered for headers; removing <a name="$anchor">, making into <h# id="$anchor"> instead. This removes one line from the output code, but more importantly enables CSS marking of a title based on its id. Probably not backwards-compatible with browsers like IE4 (brion checked with IE5) and Netscape 4, but hey, who cares?

15 years agoRevert r38302,38306 -- "Add an order by to the list of watched pages."
Brion Vibber [Thu, 31 Jul 2008 23:20:37 +0000 (23:20 +0000)]
Revert r38302,38306 -- "Add an order by to the list of watched pages."
This looks wrong -- an order by title wouldn't be indexed properly, and could be rather slow.

15 years agoNot setting various parameters no longer causes the ForeignAPIRepo to fail horribly...
Chad Horohoe [Thu, 31 Jul 2008 22:06:54 +0000 (22:06 +0000)]
Not setting various parameters no longer causes the ForeignAPIRepo to fail horribly. Thanks to Siebrand for pointing it out.

15 years agoLocalisation updates for core messages from Betawiki (2008-07-31 23:37 CEST)
Siebrand Mazeland [Thu, 31 Jul 2008 21:50:17 +0000 (21:50 +0000)]
Localisation updates for core messages from Betawiki (2008-07-31 23:37 CEST)

15 years agoUpdate 'sma' to 'Åarjelsaemien'.
Siebrand Mazeland [Thu, 31 Jul 2008 21:33:50 +0000 (21:33 +0000)]
Update 'sma' to 'Åarjelsaemien'.

15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Thu, 31 Jul 2008 21:31:01 +0000 (21:31 +0000)]
Localisation updates for core from Betawiki

15 years agoAPI: Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
Bryan Tong Minh [Thu, 31 Jul 2008 20:10:36 +0000 (20:10 +0000)]
API: Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages

15 years ago(bug 14990) Don't hardcode MySQL backticks in table names for parser tests. Instead...
Aryeh Gregor [Thu, 31 Jul 2008 17:04:56 +0000 (17:04 +0000)]
(bug 14990) Don't hardcode MySQL backticks in table names for parser tests.  Instead, switch the database prefix back and forth.  This doesn't seem to either trash my wiki or change how well the parser tests run, but if you run this on Wikipedia without testing please don't blame me if it drops all tables on the   :)

  Of course, $wgDBprefix is not meant to be changed a few dozen times every time a script is run, but I don't think it will cause problems.  If it does, an alternative would be supporting a $prefix parameter to Database::tableName().

15 years agoFix r38302:
Aryeh Gregor [Thu, 31 Jul 2008 16:34:33 +0000 (16:34 +0000)]
Fix r38302:
* PHP syntax error: mixing double and single quotes
* Probably an SQL syntax error too, due to lack of a space, unless "wl_user = 123ORDER BY wl_title" works in non-MySQL databases.  It doesn't in MySQL, and if it does in other engines, it probably shouldn't.  :)

15 years agoNot so verbose, please.
Greg Sabino Mullane [Thu, 31 Jul 2008 16:19:15 +0000 (16:19 +0000)]
Not so verbose, please.

15 years agoAdd separate index for watchlist(wl_user) [Postgres]
Greg Sabino Mullane [Thu, 31 Jul 2008 16:18:59 +0000 (16:18 +0000)]
Add separate index for watchlist(wl_user) [Postgres]

15 years agoAdd an order by to the list of watched pages.
Greg Sabino Mullane [Thu, 31 Jul 2008 16:14:32 +0000 (16:14 +0000)]
Add an order by to the list of watched pages.

15 years agoPutting #mw_header in one line in Modern; this way, when you triple-click then copy...
Jon Harald Søby [Thu, 31 Jul 2008 14:05:29 +0000 (14:05 +0000)]
Putting #mw_header in one line in Modern; this way, when you triple-click then copy-paste the title of a page (in Firefox), you won't get two newlines as well.

15 years agoUpdate magic words
Meno25 [Thu, 31 Jul 2008 10:53:09 +0000 (10:53 +0000)]
Update magic words

15 years ago$wgCleanSignatures to disable Parser::cleanSig(). Requested by Wikia.
Tim Starling [Thu, 31 Jul 2008 09:41:28 +0000 (09:41 +0000)]
$wgCleanSignatures to disable Parser::cleanSig(). Requested by Wikia.

15 years agoset baserevid (part of bug 14984)
Aaron Schulz [Thu, 31 Jul 2008 07:39:05 +0000 (07:39 +0000)]
set baserevid (part of bug 14984)

15 years agoI honestly have no clue how this got committed; wasn't even using subversion. I reall...
Chad Horohoe [Thu, 31 Jul 2008 02:44:56 +0000 (02:44 +0000)]
I honestly have no clue how this got committed; wasn't even using subversion. I really need some sleep it seems.

15 years ago(no commit message)
Chad Horohoe [Thu, 31 Jul 2008 02:28:49 +0000 (02:28 +0000)]

15 years agoLocalisation updates Chinese
Shinjiman [Thu, 31 Jul 2008 01:37:53 +0000 (01:37 +0000)]
Localisation updates Chinese
Last minute changes for the release branch 1.13

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Thu, 31 Jul 2008 01:36:18 +0000 (01:36 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoSyntax fix.
Chad Horohoe [Thu, 31 Jul 2008 01:01:26 +0000 (01:01 +0000)]
Syntax fix.

15 years agoAdding accesskey="s" to forms in the following special pages:
Jon Harald Søby [Wed, 30 Jul 2008 23:41:02 +0000 (23:41 +0000)]
Adding accesskey="s" to forms in the following special pages:
* Special:BlockIP
* Special:EmailUser
* Special:ExpandTemplates
* Special:Export
* Special:Import
* Special:ParserDiffTest
* Special:UserRights

15 years agoAdd twelve new parser tests, of which four fail, to cover bug 6200. Brings failing...
Aryeh Gregor [Wed, 30 Jul 2008 23:33:13 +0000 (23:33 +0000)]
Add twelve new parser tests, of which four fail, to cover bug 6200.  Brings failing tests back up to 15 for me.

15 years agoChange the results for 6 out of 17 failing parser tests so that they pass. Now only...
Aryeh Gregor [Wed, 30 Jul 2008 22:39:40 +0000 (22:39 +0000)]
Change the results for 6 out of 17 failing parser tests so that they pass.  Now only 11 tests fail for me.  The remaining outcomes are:
* Invalid XML (this is nine of them)
* Double apostrophes in a link
* Something about language variants that I don't understand and so will leave alone

15 years agoUse Sanitizer::mergeAttributes() for Linker::linkAttribs(). Also clean up whitespace...
Aryeh Gregor [Wed, 30 Jul 2008 22:02:23 +0000 (22:02 +0000)]
Use Sanitizer::mergeAttributes() for Linker::linkAttribs().  Also clean up whitespace for mergeAttributes and reduce number of nested functions, and don't try to merge non-string 'class' arguments.  This last point is necessary so I can have 'class' => false work right for linkAttribs(), but it makes sense.  Parser tests pass.

15 years agoAs Brion points out, Linker::linkUrl() duplicates wfArrayToCGI. Fix that, and also...
Aryeh Gregor [Wed, 30 Jul 2008 21:52:15 +0000 (21:52 +0000)]
As Brion points out, Linker::linkUrl() duplicates wfArrayToCGI.  Fix that, and also respace/expand a comment in Title.php.

15 years agoAdd a comment, and fix up another. Writing the documentation before you write the...
Aryeh Gregor [Wed, 30 Jul 2008 21:11:17 +0000 (21:11 +0000)]
Add a comment, and fix up another.  Writing the documentation before you write the code is nice, until you scale back what the code tries to achieve and the documentation becomes wrong.  :)

15 years agoNew Linker::link() function, intended to replace Linker::make*Link*() functions....
Aryeh Gregor [Wed, 30 Jul 2008 21:02:28 +0000 (21:02 +0000)]
New Linker::link() function, intended to replace Linker::make*Link*() functions.  Cleaner interface and more cleanly written.  Convert a bunch of stuff to use it.  All parser tests pass (except the usual 17).

15 years agoLocalization update for he.
Rotem Liss [Wed, 30 Jul 2008 20:48:14 +0000 (20:48 +0000)]
Localization update for he.

15 years agoRevert r38214 (IPv6 check for $wgServerName) -- failing to load IP class in some...
Brion Vibber [Wed, 30 Jul 2008 20:14:52 +0000 (20:14 +0000)]
Revert r38214 (IPv6 check for $wgServerName) -- failing to load IP class in some situations as seen on Wikimedia live installation.
Haven't been able to reproduce locally, though.

15 years agoFix fatal error trying to run parser tests:
Aryeh Gregor [Wed, 30 Jul 2008 19:55:44 +0000 (19:55 +0000)]
Fix fatal error trying to run parser tests:

Notice: Undefined variable: prevResults in /var/www/trunk/phase3/maintenance/parserTests.inc on line 1098
Fatal error: Unsupported operand types in /var/www/trunk/phase3/maintenance/parserTests.inc on line 1098

15 years agoRevert r38229:
Brion Vibber [Wed, 30 Jul 2008 19:55:11 +0000 (19:55 +0000)]
Revert r38229:
"* Add a nice fieldset for consistency
* Switch result line and input form
* Do not show result line "Below is a list of 0 files...". We have the message 'noimages' instead."

Fieldset label duplicates inputbox label, which looks kind of odd to me.
Moving lines around when set is empty changes the click hotspot for "Show new images since..." link, which is pretty annoying when following new uploads

15 years agoRevert r38221, 38238 -- "Add new parser function {{apiurl}}. Also, add new global...
Brion Vibber [Wed, 30 Jul 2008 19:45:35 +0000 (19:45 +0000)]
Revert r38221, 38238 -- "Add new parser function {{apiurl}}. Also, add new global $wgApiScript because manually constructing the api script's path seemed like a bad idea."

I don't really like this in general; the API isn't meant for the UI and there should be little to no call to link to it from body content.

Additionally, I believe we're trying to move all new parser functions to the convention of using the # prefix to avoid conflict with the template namespace.

15 years agoLocalization update for he.
Rotem Liss [Wed, 30 Jul 2008 17:32:06 +0000 (17:32 +0000)]
Localization update for he.

15 years agoFixing capitalisation in two English messages
Jon Harald Søby [Wed, 30 Jul 2008 14:14:42 +0000 (14:14 +0000)]
Fixing capitalisation in two English messages

15 years agoI love case-sensitivity. Don't you?
Chad Horohoe [Wed, 30 Jul 2008 14:09:02 +0000 (14:09 +0000)]
I love case-sensitivity. Don't you?

15 years agoPartly revert of r38236. looks like a commit accident by Jhs
Raimond Spekking [Wed, 30 Jul 2008 14:05:20 +0000 (14:05 +0000)]
Partly revert of r38236. looks like a commit accident by Jhs

15 years agoChanging User:E's blog link from search to feed, so it works properly
Jon Harald Søby [Wed, 30 Jul 2008 13:58:55 +0000 (13:58 +0000)]
Changing User:E's blog link from search to feed, so it works properly

15 years agoRemove unused var $dims
Raimond Spekking [Wed, 30 Jul 2008 13:20:38 +0000 (13:20 +0000)]
Remove unused var $dims

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Wed, 30 Jul 2008 13:12:13 +0000 (13:12 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoAdd myself :)
Raimond Spekking [Wed, 30 Jul 2008 11:30:56 +0000 (11:30 +0000)]
Add myself :)

15 years ago* Add a nice fieldset for consistency
Raimond Spekking [Wed, 30 Jul 2008 11:29:18 +0000 (11:29 +0000)]
* Add a nice fieldset for consistency
* Switch result line and input form
* Do not show result line "Below is a list of 0 files...". We have the message 'noimages' instead.

15 years agoAdd text for header of the patrol log for consistency with all other log headers.
Raimond Spekking [Wed, 30 Jul 2008 10:42:18 +0000 (10:42 +0000)]
Add text for header of the patrol log for consistency with all other log headers.

15 years agoAdd/change a few punctuation marks (.) for consistency with other header/summary...
Raimond Spekking [Wed, 30 Jul 2008 10:13:17 +0000 (10:13 +0000)]
Add/change a few punctuation marks (.) for consistency with other header/summary messages.

15 years agoLocalisation updates for extension messages from Betawiki (2008-07-30 11:03 CEST)
Siebrand Mazeland [Wed, 30 Jul 2008 09:17:20 +0000 (09:17 +0000)]
Localisation updates for extension messages from Betawiki (2008-07-30 11:03 CEST)

15 years agoAdd new parser function {{apiurl}}. Also, add new global $wgApiScript because manuall...
Chad Horohoe [Wed, 30 Jul 2008 07:46:25 +0000 (07:46 +0000)]
Add new parser function {{apiurl}}. Also, add new global $wgApiScript because manually constructing the api script's path seemed like a bad idea.

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Wed, 30 Jul 2008 07:30:22 +0000 (07:30 +0000)]
Localisation updates: Adding/updating Persian translations

15 years ago* (bug 14968) Specifying blank action parameter triggers API error now
Victor Vasiliev [Wed, 30 Jul 2008 07:23:22 +0000 (07:23 +0000)]
* (bug 14968) Specifying blank action parameter triggers API error now

15 years agoSuperfluous unneccessary html markup removed from 3 messages.
Purodha B Blissenbach [Wed, 30 Jul 2008 07:19:13 +0000 (07:19 +0000)]
Superfluous unneccessary html markup removed from 3 messages.

15 years agoThe documented setting on MW.org (and in DefaultSettings) is $wgSearchForwardUrl...
Chad Horohoe [Wed, 30 Jul 2008 04:13:30 +0000 (04:13 +0000)]
The documented setting on MW.org (and in DefaultSettings) is $wgSearchForwardUrl, so tweaked Special:Search to use the newer (and better) titled setting. Should make it actually work as advertised now.

15 years ago(bug 14977) Installations on servers using IPv6 addresses for $wgServer were largely...
Chad Horohoe [Wed, 30 Jul 2008 03:23:38 +0000 (03:23 +0000)]
(bug 14977) Installations on servers using IPv6 addresses for $wgServer were largely unusable because $wgServer didn't wrap the IP in brackets

15 years agoBah! Partial revert of r38212. Unrelated file snuck into my commit window.
Chad Horohoe [Wed, 30 Jul 2008 03:07:54 +0000 (03:07 +0000)]
Bah! Partial revert of r38212. Unrelated file snuck into my commit window.

15 years agoRemove unused $wgServer global.
Chad Horohoe [Wed, 30 Jul 2008 03:05:23 +0000 (03:05 +0000)]
Remove unused $wgServer global.

15 years agoLocalisation updates Chinese
Shinjiman [Wed, 30 Jul 2008 01:55:35 +0000 (01:55 +0000)]
Localisation updates Chinese
Last minute changes for the release branch 1.13

15 years agoUpdate the Chinese conversion tables
Shinjiman [Wed, 30 Jul 2008 01:37:09 +0000 (01:37 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoalso revert the release note line :P
Brion Vibber [Tue, 29 Jul 2008 23:59:19 +0000 (23:59 +0000)]
also revert the release note line :P

15 years agoRevert r38196, r38204 -- "(bugs 6089, 13079) Show edit section links for transcluded...
Brion Vibber [Tue, 29 Jul 2008 23:56:30 +0000 (23:56 +0000)]
Revert r38196, r38204 -- "(bugs 6089, 13079) Show edit section links for transcluded template if, and only if the user can edit it, made Title::getUserPermissionsErrorsInternal() public so that it can be used in Parser and it can pass the User object from ParserOptions. " & co
Cause regression in 19 parser test cases, looks like messing up the tooltips for section edit links.

  19 previously failing test(s) now PASSING! :)
      * Bug 6563: Edit link generation for section shown by <includeonly>  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Bug 6563: Edit link generation for section suppressed by <includeonly>  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Basic section headings  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Section headings with TOC  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Handling of sections up to level 6 and beyond  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC regression (bug 9764)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC with wgMaxTocLevel=3 (bug 6204)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Resolving duplicate section names  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Resolving duplicate section names with differing case (bug 10721)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Template with sections, __NOTOC__  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Link inside a section heading  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC regression (bug 12077)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Fuzz testing: Parser14  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Fuzz testing: Parser14-table  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Inclusion of !userCanEdit() content  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Out-of-order TOC heading levels  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * -{}- tags within headlines (within html for parserConvert())  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Morwen/13: Unclosed link followed by heading  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * HHP2.2: Heuristics for headings in preprocessor parenthetical structures  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]

15 years agoDecapitalising all group-*-member messages in English; these words are neither proper...
Jon Harald Søby [Tue, 29 Jul 2008 21:49:00 +0000 (21:49 +0000)]
Decapitalising all group-*-member messages in English; these words are neither proper nouns nor used first in a sentence (or list), ergo they should be in lower-case

15 years agoPer talk with Simetrical, add a param to Title::quickUserCan and Title::userCan inste...
Alexandre Emsenhuber [Tue, 29 Jul 2008 20:35:11 +0000 (20:35 +0000)]
Per talk with Simetrical, add a param to Title::quickUserCan and Title::userCan instead of making Title::getUserPermissionsErrorsInternal() public, also update ParserCache to use this param

15 years agoOops, forgot RELEASE-NOTES for r38196
Alexandre Emsenhuber [Tue, 29 Jul 2008 18:18:32 +0000 (18:18 +0000)]
Oops, forgot RELEASE-NOTES for r38196

15 years ago* (bugs 6089, 13079) Show edit section links for transcluded template if, and only...
Alexandre Emsenhuber [Tue, 29 Jul 2008 17:28:26 +0000 (17:28 +0000)]
* (bugs 6089, 13079) Show edit section links for transcluded template if, and only if the user can edit it, made Title::getUserPermissionsErrorsInternal() public so that it can be used in Parser and it can pass the User object from ParserOptions.
* Get the stubthreshold option from ParserOptions and not from $wgUser

15 years ago* Number and date formats for my requested by Hintha@Betawiki
Niklas Laxström [Tue, 29 Jul 2008 16:13:49 +0000 (16:13 +0000)]
* Number and date formats for my requested by Hintha@Betawiki

15 years agoReduces the potential to be misinterpreted for few German Exif messages.
Purodha B Blissenbach [Tue, 29 Jul 2008 15:47:31 +0000 (15:47 +0000)]
Reduces the potential to be misinterpreted for few German Exif messages.

15 years agoRevert r38165 for now, breaks CentralAuth and I don't have that installed anywhere...
Aryeh Gregor [Tue, 29 Jul 2008 14:53:10 +0000 (14:53 +0000)]
Revert r38165 for now, breaks CentralAuth and I don't have that installed anywhere to debug.

15 years agoDouble-check that all old revision are set null.
Greg Sabino Mullane [Tue, 29 Jul 2008 14:14:10 +0000 (14:14 +0000)]
Double-check that all old revision are set null.

15 years agojobqueue changes
Domas Mituzas [Tue, 29 Jul 2008 10:05:59 +0000 (10:05 +0000)]
jobqueue changes

15 years agodon't count if you don't use it! :)
Domas Mituzas [Tue, 29 Jul 2008 10:01:58 +0000 (10:01 +0000)]
don't count if you don't use it! :)

15 years agodon't limit random range, no need, and not efficient
Domas Mituzas [Tue, 29 Jul 2008 09:51:02 +0000 (09:51 +0000)]
don't limit random range, no need, and not efficient

15 years agoLocalisation updates for extension messages from Betawiki
Siebrand Mazeland [Tue, 29 Jul 2008 08:55:53 +0000 (08:55 +0000)]
Localisation updates for extension messages from Betawiki
* Great to have German 'core' on board!

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

15 years agoUpdate the Chinese conversion tables
Shinjiman [Tue, 29 Jul 2008 02:37:24 +0000 (02:37 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoMerge TitleArray and UserArray into one unified class, ObjectArray. Adding support...
Aryeh Gregor [Tue, 29 Jul 2008 00:51:08 +0000 (00:51 +0000)]
Merge TitleArray and UserArray into one unified class, ObjectArray.  Adding support for a new type of object will now just take a few lines.

15 years agoUh, also I shouldn't introduce syntax errors while fixing regressions.
Aryeh Gregor [Tue, 29 Jul 2008 00:36:31 +0000 (00:36 +0000)]
Uh, also I shouldn't introduce syntax errors while fixing regressions.

15 years agoPartially revert r38162. Caused bugs due to incredibly incomprehensible parameter...
Aryeh Gregor [Tue, 29 Jul 2008 00:35:43 +0000 (00:35 +0000)]
Partially revert r38162.  Caused bugs due to incredibly incomprehensible parameter list for makeKnownLinkObj.  (Hint: $aprops and $style do virtually the same thing, except that the latter has a completely misleading name and documentation.)
There is no salvation possible for this method.  It must die.

15 years agoLinker.php cleanup:
Aryeh Gregor [Tue, 29 Jul 2008 00:08:25 +0000 (00:08 +0000)]
Linker.php cleanup:
* Allow makeLinkObj to accept an associative array of arguments for $aprops, so Brion's eyes can be saved from melting.
* Fail fast when various methods are passed non-Titles, don't just return some garbage and hope no one notices.
* Whitespace, wfDeprecated().

15 years agoRecommit r38149, with the fatal error fixed. The EditSectionLinkForOther hook is...
Aryeh Gregor [Mon, 28 Jul 2008 23:52:55 +0000 (23:52 +0000)]
Recommit r38149, with the fatal error fixed.  The EditSectionLinkForOther hook is now removed entirely -- EditSectionLink is run unconditionally instead.  This is extremely unlikely to break any extensions.

15 years ago* (bug 14966) Fix SearchEngineDummy class for silently non-functional search
Brion Vibber [Mon, 28 Jul 2008 23:42:30 +0000 (23:42 +0000)]
* (bug 14966) Fix SearchEngineDummy class for silently non-functional search
  on Sqlite instead of horribly fatal error breaky one.

15 years agoRevert r38149 for now, causes regressions in API parsing.
Brion Vibber [Mon, 28 Jul 2008 23:00:14 +0000 (23:00 +0000)]
Revert r38149 for now, causes regressions in API parsing.
Bug 14965 - https://bugzilla.wikimedia.org/show_bug.cgi?id=14965

PHP Catchable fatal error:  Argument 1 passed to Title::equals() must be an instance of Title, null given, called in /usr/local/apache/common-local/php-1.5/includes/Linker.php on line 1323 and defined in /usr/local/apache/common-local/php-1.5/includes/Title.php on line 3003
$wgTitle isn't available in this sort of background rendering.

15 years agoAdd type hint to Title::equals(); this lets the error log give us something useful...
Brion Vibber [Mon, 28 Jul 2008 22:52:14 +0000 (22:52 +0000)]
Add type hint to Title::equals(); this lets the error log give us something useful like this:
  Catchable fatal error: Argument 1 passed to Title::equals() must be an instance of Title, null given, called in /Library/WebServer/Documents/trunk/includes/Linker.php on line 1323 and defined in /Library/WebServer/Documents/trunk/includes/Title.php on line 3003
instead of something useless like this:
  Fatal error: Call to a member function getInterwiki() on a non-object in /Library/WebServer/Documents/trunk/includes/Title.php on line 3005

This particular error was caused by a regression in r38149, which uses $wgTitle in Linker::doEditSectionLink(); this fails when doing parses via the API at perhaps at other times.

See bug 14965 (https://bugzilla.wikimedia.org/show_bug.cgi?id=14965)

15 years ago* Recursion loop check added to Categoryfinder class
Brion Vibber [Mon, 28 Jul 2008 20:59:17 +0000 (20:59 +0000)]
* Recursion loop check added to Categoryfinder class

Infinite loops were causing segfaults in combination with Collection extension

15 years agoLinker::doEditSectionLink() and Linker::doEditSectionLinkForOther() and their respect...
Aryeh Gregor [Mon, 28 Jul 2008 20:33:43 +0000 (20:33 +0000)]
Linker::doEditSectionLink() and Linker::doEditSectionLinkForOther() and their respective hooks are redundant and confusing.  They do exactly the same thing with a slightly different interface.  Their hooks are not only redundant but relatively ineffective, because they wrap in brackets and a span *after* the hook returns.  This makes them useless for, e.g., changing the section edit link to an image (can't remove brackets), or using any block-level element (wrapped in a span).

Make Linker::doEditSectionLink() public, and change its interface to be like that of editSectionLink().  Use that in Parser (which is the only place that uses the old functions that I can find), and mark the old two functions deprecated.  Add a hook 'DoEditSectionLink' with a new, clean interface, which is run immediately before the return so it can override the whole function.  Advise people in hooks.txt to use the new hook, not the old ones.

15 years ago* Fix magic words related regression for bg
Niklas Laxström [Mon, 28 Jul 2008 20:25:22 +0000 (20:25 +0000)]
* Fix magic words related regression for bg

15 years agoFix r38146 -- this is why redundant style declarations are bad. When one is removed...
Brion Vibber [Mon, 28 Jul 2008 19:22:23 +0000 (19:22 +0000)]
Fix r38146 -- this is why redundant style declarations are bad. When one is removed, you discover they didn't match! :)

15 years agoand another modern tweak -- don't @import the common styles now that we've got <link>s
Brion Vibber [Mon, 28 Jul 2008 19:14:42 +0000 (19:14 +0000)]
and another modern tweak -- don't @import the common styles now that we've got <link>s

15 years ago* Per talk with brion, use wfArrayToCGI()\n* Avoid blank lines between CSS <link>
Alexandre Emsenhuber [Mon, 28 Jul 2008 19:10:13 +0000 (19:10 +0000)]
* Per talk with brion, use wfArrayToCGI()\n* Avoid blank lines between CSS <link>

15 years ago* (bug 14954) Fix regression in Modern and Simple skins
Brion Vibber [Mon, 28 Jul 2008 19:09:38 +0000 (19:09 +0000)]
* (bug 14954) Fix regression in Modern and Simple skins

Earlier r38139 patched up Modern, but didn't address Simple.

15 years ago* (bug 14923) Add method for getting a TitleArray for a particular category.
Robert Leverington [Mon, 28 Jul 2008 19:02:40 +0000 (19:02 +0000)]
* (bug 14923) Add method for getting a TitleArray for a particular category.

15 years agoSome tweaks for r38116:
Alexandre Emsenhuber [Mon, 28 Jul 2008 16:54:06 +0000 (16:54 +0000)]
Some tweaks for r38116:
* Ported Modern too, MediaWiki:Common.css and MediaWiki:Modern.css are missing in that skin
* Don't throw E_NOTICE if $wgUseSiteCss is false

Also prettify two things:
* Align <head> items at two tabs for SkinTemplate skins
* Use an array for query string for MediaWiki:Common.css, MediaWiki:<skin>.css and gen=css