Commit graph

187 commits

Author SHA1 Message Date
Happy-melon
a9038b2c26 Some more documentation and replacing static Skin calls 2011-04-16 23:23:28 +00:00
Chad Horohoe
efe4525d2c Merge r81448 from REL1_17: reverting RevisionMove feature back out until somebody has the time to work on it again. Reverts r67094 and its followups in trunk: r67099, r67111, r67112, r67115, r67398, r81425, r81427 2011-04-15 23:28:13 +00:00
Niklas Laxström
fe6efad016 Fix mistake in r80248 and restructure a bit 2011-01-15 12:46:37 +00:00
Daniel Friesen
39ab3cfc9f Implement Message::isBlank and Message::isDisabled.
And while we're at it... update a random assortment of code using wfEmptyMsg to use the new wfMessage class and our exists/isBlank/isDisabled methods.
2011-01-14 10:51:05 +00:00
Roan Kattouw
2cedd4be96 (bug 25839) Set class="blockExpiry" and dir="ltr" (bug suggested direction: ltr; in CSS, but that doesn't work in this case) on the <span> containing the block expiry in Special:Log. It seems strange to unconditionally set dir="ltr" on something that may contain text in an RTL language, but it seems to leave the latter alone while fixing the display of ISO 8601 timestamps. It's definitely possible there's another issue with dir="ltr" that I overlooked here, so if this does break display of other expiries in RTL, please revert. 2010-11-08 15:23:42 +00:00
Jack Phoenix
9d8b35fe81 coding style tweaks 2010-08-21 12:00:28 +00:00
Alexandre Emsenhuber
29d6b582a1 Seems I forgot to commit these files in r70699 2010-08-08 14:28:01 +00:00
Platonides
a9b5c1402c Remove all calls to $wgMessageCache->loadAllMessages()
Deprecated and empty since r52503
2010-08-03 19:15:43 +00:00
Tobias
d73fb3713e New feature RevisionMove (bug 21312). Introducing SpecialRevisionMove.php and revisionmove permission. Experimental, use at own risk (no group has this permission by default, so it should not break anything unless you are foolish enough to experiment with it :)) 2010-05-30 18:00:01 +00:00
Alexandre Emsenhuber
3883ef644d Fixed some doxygen warnings and documented a bit 2010-05-18 20:59:14 +00:00
Alexandre Emsenhuber
ec6a5d1612 * (bug 16817) Group names in user rights log are now singular and in lowercase 2010-04-08 10:15:04 +00:00
Platonides
12e8349571 RevisionDeleter has added i18n to his friends list.
(bug 22903) Revdelete log entries now show in the user preferred language.
2010-03-22 22:28:15 +00:00
Mark A. Hershberger
c871b75a3e follow up r62231, r61779, r62175
* Fix up messages
* For new FileRepo::append(), use flags to determine whether to delete or not
* Add more error checking for appending
* Fix a couple of places in Revision.php and LogPage.php where DB errors were produced when comment was null
* Remove bogus checking for !$comment, etc on the DONE phase of chunked uploading
* Don't pretend to return a value when raising an exception
* Add more tests for chunked uploads
* Verify that Status::getErrorsArray() (at least where it is used in ApiUpload::execute()) returns an array that we can pass to dieUsageMessage()
* Ensure that checkWarnings(), etc work only on the complete file
2010-02-22 02:15:30 +00:00
Alexandre Emsenhuber
586be1e1eb * (bug 9794) User rights log entries for foreign user now links to the foreign user's page if possible 2010-01-09 15:23:27 +00:00
Sam Reed
b6e0df246f Attempt at normalistion of comparison styles - empty string on left and right hand side normalised to it being on the rhs
Before this change, there were (? being regex 0 or 1)

"" ===? 1
'' ===? 24
"" !==? 8
'' !==? 32

== "" 14
== '' 344
!= "" 9
!== "" 4
!= '' 151
!== '' 85


Rhs was the much more common, and the preferred style by many developers.. (Was a similar discussion in #mediawiki recently.. After that lolbugreport i think)

Where there is a string (non empty) on the lhs, and variable/method call on the rhs still need normalising
2010-01-06 19:59:42 +00:00
Chad Horohoe
a4e5e935b6 Mass convert NULL -> null. Left strings and comments alone, obviously. 2009-12-11 21:07:27 +00:00
OverlordQ
a989843cd0 Code cleanup, covert leading spaces into tabs per coding style 2009-11-14 21:27:13 +00:00
Jure Kajzer
785ad24aa7 Changed sequence names to a standard <table>_<field>_seq form.
Updated all nextSequenceValue calls with new sequence names.
OverlordQ stated he'll handle changes to Postgres scripts.
Need someone to change DB2 scripts.
2009-10-28 16:17:16 +00:00
Aaron Schulz
53fae36849 bug 20701: fixed strange breakage from r53173 2009-09-17 20:20:45 +00:00
Aaron Schulz
a8e60c1930 Set log_page on save 2009-09-16 13:28:01 +00:00
Aaron Schulz
7d2ed15a8c (bug 19864) Removed overzealous hiding of deleted (but not suppressed) rows from log/contribs list from sysops 2009-07-30 14:08:25 +00:00
Alexandre Emsenhuber
7ef830f8a8 (bug 19839) fix for r53173: Comments in log items are no more double escaped 2009-07-20 12:07:07 +00:00
Aaron Schulz
ce17d249dc (bug 19596) Fix more fucked up garbage from when $types was made into an array in various places. Log headers were missing. 2009-07-20 05:38:26 +00:00
Tim Starling
c35dba3c04 Fix dodgy uses of wfMsgHtml() and related HTML escaping 2009-07-13 15:36:41 +00:00
Aaron Schulz
97a54fd112 Fill in log_user_text column on log save 2009-06-27 10:17:01 +00:00
Siebrand Mazeland
8e23949bee Proper casing for getDBkey() 2009-05-24 08:29:10 +00:00
Niklas Laxström
d3b61fea7c Escaping fixes 2009-05-22 09:35:48 +00:00
Aaron Schulz
8432c504c3 Tweaks to r50567:
* Improved exception handling
* Removed redundant ls_log_id cond
* Added log_type to getLogQueryCond()
* Don't show duplicate rows in log results
* populateLogSearch now handles an older log_param format
2009-05-14 19:49:33 +00:00
Aaron Schulz
a69fb48274 [schema change] Use new log_search table to replace ugly code from r48839. Maintenance script added to populate the table with revisiondelete log items. 2009-05-13 22:03:32 +00:00
Siebrand Mazeland
547858b7fe Use link() instead of deprecated makeLinkObj() where possible. 2009-05-08 23:24:31 +00:00
Aaron Schulz
819ce6fa6a reverted change committed by mistake 2009-04-16 04:53:43 +00:00
Aaron Schulz
799911d7e5 Tweaked r49408: Improved hiding and changed 1 revision case handling 2009-04-16 04:51:43 +00:00
Aaron Schulz
6089178e53 use correct item for count display 2009-04-11 17:46:55 +00:00
Aaron Schulz
ec0dd5b272 (bug 18361) Suppression log should be in the UI language, not content language 2009-04-10 20:01:10 +00:00
Aaron Schulz
45e366b33f * Log unsuppressed names in the suppress log as normal
* Fixed reblock action display
* Add hiddenname flag and msg
2009-03-14 10:02:17 +00:00
Siebrand Mazeland
f66a0b97b0 * Use $wgLang->commaList( array ) instead of implode( ', ', array ) where possible
* remove a piece of commented out code in SpecialSearch.php
2009-03-08 19:40:09 +00:00
Andrew Garrett
82135e5103 Expand a bit 2009-03-04 01:44:02 +00:00
Andrew Garrett
24c44fdd5f Document r7855 2009-03-04 01:28:05 +00:00
Aaron Schulz
0eb7783c29 If an item isn't going into RC, don't send to UDP unless explicitly told to do so 2009-01-29 04:15:47 +00:00
Alexandre Emsenhuber
e89a1f8cf3 Use wfMsgForContent() when needed so that IRC notifications are always in content language and not user language 2009-01-25 18:45:42 +00:00
Aaron Schulz
b1b72a85f9 Use new notifyRC2UDP() function in LogPage to avoid duplicated code 2009-01-15 01:42:11 +00:00
Aaron Schulz
8f8509dba1 Tweak $udp param 2009-01-14 18:10:03 +00:00
Aaron Schulz
6059b4d6ad Minor code style tweaks & cleanup 2009-01-09 23:18:47 +00:00
Aaron Schulz
26ead265aa Check $wgLogRestrictions for udp-only case 2009-01-09 18:44:52 +00:00
Aaron Schulz
6ced476ceb Clean up log restrictions check 2009-01-09 18:38:10 +00:00
Aaron Schulz
9d9ad4dab8 Revert r45605 and generalize the ability to have logs go to UDP. 2009-01-09 18:30:47 +00:00
Raimond Spekking
3fd4899655 Replaced some hardcoded colons with the colon-separator message 2009-01-07 22:49:54 +00:00
Brion Vibber
2190984466 Revert r45231, r45235 "* (bug 674) Allow users to be blocked from editing a specific article"
Unexpected schema changes in the middle of code review and run-up to 1.14 freeze
2008-12-31 18:56:16 +00:00
Victor Vasiliev
1f67478d1f * (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
** Fixed most issues which were found before
2008-12-31 17:25:47 +00:00
Raimond Spekking
fe6e56ba66 * (Bug 16121) Add a note that a page move was without creating a redirect in the move log 2008-12-30 17:52:43 +00:00