Commit graph

39844 commits

Author SHA1 Message Date
Brion Vibber
e13cec4802 Remove stray trailing commas on last items in array literals -- this breaks IE 6/7/8
Followup r105560
2011-12-15 00:38:09 +00:00
Jeroen De Dauw
ed8d203227 move logging pages to logging dir 2011-12-14 22:48:48 +00:00
Raimond Spekking
78a21b63ec Localisation updates for core and extension messages from translatewiki.net 2011-12-14 20:09:13 +00:00
Jeroen De Dauw
267eed076f follow up to r106215 r106218 106219 unless my search failed again, this ought to be the last one 2011-12-14 18:49:39 +00:00
Jeroen De Dauw
3062365928 follow up to r106215 r106218 forgot one >_> 2011-12-14 18:33:51 +00:00
Jeroen De Dauw
2001b88908 follow up to r106215, pass user 2011-12-14 18:32:36 +00:00
Siebrand Mazeland
40df5b1a9e WikiPage::viewUpdates() -> WikiPage::doViewUpdates() 2011-12-14 17:54:13 +00:00
Siebrand Mazeland
d093043131 Remove users of deprecated User::getSkin(). 2011-12-14 13:01:27 +00:00
Antoine Musso
28cec38f86 Comment out wfDeprecated() call in User::getSkin(), there's over 300 uses in /trunk
reverts r106174
2011-12-14 13:00:30 +00:00
Antoine Musso
f731b9cb92 revert r106183 : type / not setting followup 2011-12-14 12:59:05 +00:00
Sam Reed
649d7f84d7 Comment out wfDeprecated() call in User::getSkin(), there's over 300 uses in /trunk
Follows up some (cba to find) rev
2011-12-14 12:54:35 +00:00
Sam Reed
df182df59b Fix one usage of User::getSkin() in phase3 2011-12-14 12:52:20 +00:00
Raimond Spekking
409703b854 Self revert r106076 which was a revert of r106070. 2011-12-14 11:50:50 +00:00
Raimond Spekking
1be8a81633 Self revert r106080 which was a revert of r106070. 2011-12-14 11:49:09 +00:00
Neil Kandalgaonkar
c3b3e088a7 add bug reports to feedback 2011-12-14 01:26:28 +00:00
Brion Vibber
f6a2974c7b Fix for r106144 -- wrong syntax 2011-12-14 00:50:06 +00:00
Brion Vibber
5a6372103a Add BeforePageRedirect hook to OutputPage, allowing extensions to override redirect output.
This is needed by MobileFrontend to normalize some redirects to the mobile site, such as on login.
2011-12-14 00:38:21 +00:00
Brion Vibber
f1ce2ce952 * (bug 32461) Add two-digit short form year for Persian calendar ({{#time:xiy}})
Patch by Platonides https://bugzilla.wikimedia.org/attachment.cgi?id=9490&action=diff
Plus test case. Note the test case uses Latin-style digits because it's testing English; in fa you'd get the persian digits as in the examples on the bug.
2011-12-14 00:32:56 +00:00
Brion Vibber
0e6ff35c80 Update mediawiki & viewvc links on Special:Version to https 2011-12-13 23:54:27 +00:00
Jeroen De Dauw
026e477128 fix depracted method usage 2011-12-13 22:24:38 +00:00
Jeroen De Dauw
04b9a5d834 comment out another to soon placed warning 2011-12-13 21:37:19 +00:00
Jeroen De Dauw
a62e242a30 revert r106095, fix apparently not this simple 2011-12-13 21:34:16 +00:00
Antoine Musso
df036ede2b make xdebug messages above everything
This way we can actually read the message. Please note this actually hide
the content behind but I feel it is better to see the backtrace.

TODO: maybe add a debug.css stylesheets wich is only loaded for developers?
2011-12-13 21:31:38 +00:00
Jeroen De Dauw
3fbfee9b5f new method was added in the same rel, so wait before showing the notice. follow up to r106070 2011-12-13 21:19:10 +00:00
Jeroen De Dauw
29e81897f9 logName -> getName 2011-12-13 21:17:32 +00:00
Jeroen De Dauw
864252801a fix depracted method usage 2011-12-13 21:16:57 +00:00
Raimond Spekking
941f85940e Localisation updates for core and extension messages from translatewiki.net 2011-12-13 20:50:04 +00:00
Jeroen De Dauw
d117ac68d5 make docs more clear, method can only be used as is since 1.18, not 1.16 2011-12-13 20:45:35 +00:00
Raimond Spekking
af575ef7e4 Add section header for r105954/r105963 2011-12-13 20:35:02 +00:00
Raimond Spekking
629ba40146 Partly revert r106070 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of SpecialPage::getPage was deprecated in MediaWiki 1.18. [Called from SFFormLinker::getFormEditLinkForPage in /www/w/extensions/SemanticForms/includes/SF_FormLinker.php at line 207] in /www/w/includes/GlobalFunctions.php on line 3520
2011-12-13 20:23:19 +00:00
Brion Vibber
493a76d453 Followup r106070, r86347: copy some doc comments that apply to multiple functions so doxygen will pick them up 2011-12-13 20:20:03 +00:00
Raimond Spekking
dbd39d7b1e Partly revert r106070 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from TalkpageView::show in /www/w/extensions/LiquidThreads/pages/TalkpageView.php at line 251] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from MessageTable::contents in /www/w/extensions/Translate/utils/MessageTable.php at line 98] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from TranslationHelpers::ajaxEditLink in /www/w/extensions/Translate/utils/TranslationHelpers.php at line 1186] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from ThreadPermalinkView::getSubtitle in /www/w/extensions/LiquidThreads/pages/ThreadPermalinkView.php at line 153] in /www/w/includes/GlobalFunctions.php on line 3520
and maybe more
2011-12-13 20:10:30 +00:00
Jeroen De Dauw
4e8517761d fix deprecated method usage 2011-12-13 20:01:24 +00:00
Brion Vibber
832dac129a bug 33035: Followup r105925: set to null rather than unset so we don't get an undefined property error later
Apparently the unset() in Language::setCode() could cause the later is_null check in getHtmlCode() to fail, though I could not reproduce it myself.
2011-12-13 19:58:44 +00:00
Jeroen De Dauw
8e21d59caa fix deprecated method usage 2011-12-13 19:51:54 +00:00
Jeroen De Dauw
0b105ebf1d added missing deprecation notices 2011-12-13 19:51:03 +00:00
Sam Reed
7132aeb388 Followup r106046, pull ar_sha1 in getRevision 2011-12-13 16:58:52 +00:00
Sam Reed
d4c27f5c0b Fix:
PHP Notice: Undefined property: stdClass::$ar_sha1 in Revision.php on line 127
2011-12-13 16:57:02 +00:00
Sam Reed
7fc5a02098 Add a newline, the below isn't too readable
Fixing protocol-relative entries in the externallinks table...
10020030040050060070080090010001100120013001400150016001700180019002000Done, 2007 rows updated.
2011-12-13 16:51:24 +00:00
Robin Pepermans
f742577ac8 Add correct margin for dd when user language direction is different from intended direction, similar to ul/ol styles 2011-12-13 16:48:57 +00:00
Jeroen De Dauw
e04afc0bd0 Follow up to r106037; fix location of check 2011-12-13 16:42:56 +00:00
Jeroen De Dauw
b23168e057 Follow up to r105979; 2011-12-13 15:49:52 +00:00
Sam Reed
01f410911b Seriously, don't use "wgOut" as a function parameter name 2011-12-13 15:47:04 +00:00
Sam Reed
6e2acfd778 Public for all 2011-12-13 15:40:15 +00:00
Mark A. Hershberger
a8a0258cf2 Bug 16794 - $wgSharedDB PostgreSQL support
Updated fix from Luca Fulchir
2011-12-13 15:06:30 +00:00
Robin Pepermans
013410082a Removed Title::isValidCssJsSubpage(), deprecated since 1.17 (77309), and updated all remaining usage in extensions 2011-12-13 11:54:02 +00:00
Robin Pepermans
be2de16942 update all core usage of deprecated Title::userCanRead() 2011-12-13 11:05:30 +00:00
Raimond Spekking
3ad16ebc9e Fix PHP Notice: Use of Title::userCanRead was deprecated in MediaWiki 1.19. [Called from SpecialSearch::showHit in /www/w/includes/specials/SpecialSearch.php at line 549] in /www/w/includes/GlobalFunctions.php on line 3520
in consequence of r105985
2011-12-13 10:47:31 +00:00
Raimond Spekking
26bc235560 Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of wfUILang was deprecated in MediaWiki 1.18. [Called from TalkpageView::show in /www/w/extensions/LiquidThreads/pages/TalkpageView.php at line 289] in /www/w/includes/GlobalFunctions.php on line 3520
2011-12-13 10:40:32 +00:00
Raimond Spekking
1d1656de12 Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of Linker::makeLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of Linker::makeKnownLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520
2011-12-13 10:36:16 +00:00