Alexandre Emsenhuber
29d6b582a1
Seems I forgot to commit these files in r70699
2010-08-08 14:28:01 +00:00
Platonides
37466055b6
Add used global $wgOut.
2010-07-25 17:45:04 +00:00
Sam Reed
04f68827d0
Removal of unused globals
...
Removal of one setting of a variable to '', then not using further
2010-07-24 19:11:52 +00:00
Alexandre Emsenhuber
1c45a572c5
Fixed some doxygen warnings
2010-06-03 21:00:51 +00:00
Aryeh Gregor
74a21f3bd1
Remove most named character references from output
...
Recommit of r66254 to trunk. This was just
find extensions phase3 -iname '*.php' \! -iname '*.i18n.php' \! -iname 'Messages*.php' \! -iname '*_Messages.php' -exec sed -i 's/ /\ /g;s/—/―/g;s/•/•/g;s/á/á/g;s/´/´/g;s/à/à/g;s/α/α/g;s/ä/ä/g;s/ç/ç/g;s/©/©/g;s/↓/↓/g;s/°/°/g;s/é/é/g;s/ê/ê/g;s/ë/ë/g;s/è/è/g;s/€/€/g;s/↔//g;s/…/…/g;s/í/í/g;s/ì/ì/g;s/←/←/g;s/“/“/g;s/·/·/g;s/−/−/g;s/–/–/g;s/ó/ó/g;s/ô/ô/g;s/œ/œ/g;s/ò/ò/g;s/õ/õ/g;s/ö/ö/g;s/£/£/g;s/′/′/g;s/″/″/g;s/»/»/g;s/→/→/g;s/”/”/g;s/Σ/Σ/g;s/×/×/g;s/ú/ú/g;s/↑/↑/g;s/ü/ü/g;s/¥/¥/g' {} +
followed by reading over every single line of the resulting diff and
fixing a whole bunch of false positives. The reason for this change is
given in <http://lists.wikimedia.org/pipermail/wikitech-l/2010-April/047617.html >.
I cleared it with Tim and Brion on IRC before committing. It might
cause a few problems, but I tried to be careful; please report any
issues.
I skipped all messages files. I plan to make a follow-up commit that
alters wfMsgExt() with 'escapenoentities' to sanitize all the entities.
That way, the only messages that will be problems will be ones that
output raw HTML, and we want to get rid of those anyway.
This should get rid of all named entities everywhere except messages. I
skipped a few things like   that I noticed in manual inspection,
because they weren't well-formed XML anyway.
Also, to everyone who uses non-breaking spaces when they could use a
normal space, or nothing at all, or CSS padding: I still hate you. Die.
2010-05-30 17:33:59 +00:00
Andrew Garrett
8812fd2f9a
Ugly temporary fix for bug 21279:
...
* When a revision cannot be found in the revision table, look for it in the archive table.
* If both deleted and undeleted revisions are covered by the same log entry, show two links (see bug 23663)
2010-05-23 14:19:20 +00:00
Alexandre Emsenhuber
e137cda2c9
* (bug 23078) "All public logs" option on Special:Log is now always the first item
2010-04-07 12:16:56 +00:00
Alexandre Emsenhuber
991c975fd0
* Follow-up r63914: SpecialPage has methods for that, use them ;)
...
* Fix a case mismatch in LogEventsList.php
2010-03-18 17:36:43 +00:00
Aaron Schulz
a780a43df9
* Split up logLine() with helper functions
...
* Added NO_EXTRA_USER_LINKS param to hide talk|contribs links
* Fixed bizarre $time comparison (compared display time and a UNIX const time)
* Added 'flags' param to showLogExtract() params
2010-03-01 22:47:12 +00:00
Tobias
001b4fe211
provided option for showLogExtract to wrap result. Added log for create protected page
2010-01-16 11:24:23 +00:00
Alexandre Emsenhuber
71745e17f3
* If two log type have the same description, they're now both displayed in the type selector on Special:Log
...
This just happened on the French Wiktionary where http://fr.wiktionary.org/wiki/MediaWiki:Suppressionlog and http://fr.wiktionary.org/wiki/MediaWiki:Dellogpage had the same value and the "delete" log was missing
2010-01-01 19:49:37 +00:00
Aryeh Gregor
66f4b07051
Delete refs to variable removed in r59692
2009-12-11 19:43:04 +00:00
Alexandre Emsenhuber
0f0e1b307d
* (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logempty" when used in log extract
2009-12-04 18:37:54 +00:00
OverlordQ
7a42a4da7e
(bug 20150): Change query to explicity select distinct rows instead of doing it using a group by, RevDelete works on PG now
2009-12-03 02:37:49 +00:00
Aaron Schulz
7610cc4ba6
Restored r59537 - fixed silly typo
2009-11-29 16:39:47 +00:00
Siebrand Mazeland
11892fcc51
Revert r59537. Breaks page deletion with "PHP Notice: Array to string conversion in /var/www/w/includes/db/Database.php on line 1433" and ""IndexPager::reallyDoQuery (LogPager)". Database returned error "1176: Key 'Array' doesn't exist in table 'logging' (localhost)"."
2009-11-29 10:49:47 +00:00
Aaron Schulz
56aeff78e3
* Made log_user_type_time index available when needed
...
* Don't allow type,time index when 2+ types are given
* Make sure $this->types becomes an array in limitType() ('' -> array() case was left out)
* A few code style tweaks
2009-11-29 00:01:21 +00:00
Aaron Schulz
90dcb3c1f2
* bug 21267 change "show/hide" to "show", if user cannot submit Special:Revisiondelete
...
* Added revDeleteLinkDisabled() function
2009-10-30 02:14:22 +00:00
Max Semenik
ae57ab1eec
(bug 20275) Fixed LIKE queries on SQLite backend
...
* All manually built LIKE queries in the core are replaced with a wrapper function Database::buildLike()
* This function automatically performs all escaping, so Database::escapeLike() is now almost never used
2009-10-21 19:53:03 +00:00
Alexandre Emsenhuber
25f9a38bfe
* (bug 21079) There is no more line wrapping between label and field in Special:Log
2009-10-17 08:29:15 +00:00
Aaron Schulz
ffd4b0f837
Refactored unmaintainable userCan() code by making central userCanBitfield() functions
2009-10-15 11:31:33 +00:00
Aaron Schulz
631fbc8029
Removed inapplicable deletedtext userCan() check
2009-10-15 10:46:28 +00:00
Alexandre Emsenhuber
5fc70f85f9
* removed trailing spaces
...
* spacing fixes
2009-10-11 19:55:56 +00:00
Domas Mituzas
c51f0d34e3
um, don't die with fatal error?
2009-10-10 20:44:46 +00:00
Aaron Schulz
193f333a38
blank invalid usernames for "revision author" field too
2009-10-10 02:48:19 +00:00
Aaron Schulz
89d0686a19
Fill in class names for r57530
2009-10-10 02:12:53 +00:00
Aaron Schulz
6309a1f175
Follow up r57530 elsewhere
2009-10-09 19:01:39 +00:00
Aaron Schulz
332d1421c0
Made log extracts default to 25 items
2009-10-02 18:04:58 +00:00
Aaron Schulz
c2f7ea4d7b
* Renamed deletedcontent to deletedtext
...
* Removed deletedrevision and used deletedhistory/deletedtext instead
2009-09-30 19:50:35 +00:00
Aaron Schulz
942a84716a
* Split off deletedrevision (view only) right and give it to sysops
...
* Allow show/hide link on top revision just like history
2009-09-28 03:09:48 +00:00
Tobias
98303b05be
Follow-up on r55909: showLogExtract can now tell Pager to ignore wgRequest offset. Needed for block notice on SpecialContributions. Also small fix for SpecialBlockip (after r56420)
2009-09-20 22:07:44 +00:00
Niklas Laxström
c4a604a984
Shut up warnings from r56420 that have annoyed us few days :o
2009-09-18 13:57:13 +00:00
Tobias
bebaf1325d
Follow-up on r56284: LogEventsList::showLogExtract gets associative array for additional parameters. Adjusted all calls that use additional parameters. Also improved Special:Blockip, which now uses those new parameters instead of using own functions. Fixed HistoryPage which was broken with r56251.
2009-09-16 17:17:16 +00:00
Siebrand Mazeland
b0fbc438d2
Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated
2009-09-14 19:56:22 +00:00
Siebrand Mazeland
c17bd28e1e
Support GENDER in 'renameuser-renamed-notice', changing LogEventsList::showLogExtract for that:
...
* param $msgKey from String to Array, where first element is the message key, additional elements are parameters for the key
Comment by Nikerabbit: "... that is cargo train number of parameters :o". I tried not to make it worse.
2009-09-14 18:58:25 +00:00
Alex Z
71a97237b5
Replace the user rename log display for non-existent userpages with a hook (followup to r56251).
...
Update for Renameuser extension to follow.
Also make docs for LogEventsList::showLogExtract() actually useful
2009-09-14 18:10:13 +00:00
Aaron Schulz
89870efc54
bug 18472 Suppression log filtered by "offender", as Oversight log can be
2009-09-14 17:09:13 +00:00
Alex Z
68eb4a8aeb
Fixes for r56284:
...
* Parse the message shown in the box
* Fix undefined variable notice
2009-09-14 02:17:31 +00:00
Tobias
666a552694
Follow-up on r56251 - merging showLogs and showLogExtract
2009-09-13 22:21:11 +00:00
Happy-melon
19e3322915
(bug 18880) Make LogEventsList::showLogExtract() more versatile by allowing it to take a string-by-reference instead of OutputPage; hence allowing it to be used for buffered content.
2009-08-31 11:54:53 +00:00
Andrew Garrett
c54d80c9cf
Rewrite some spaghetti code in Special:Log to fix invalid HTML, now uses proper Xml:: methods
2009-08-10 17:36:57 +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
Aaron Schulz
3df971b423
Add diff links to suppress log for deleted revs too
2009-07-26 10:05:50 +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
Siebrand Mazeland
2f82bccb39
Use localised parentheses and $wgLang->pipeList() instead of hardcoded parentheses and pipe characters.
2009-07-19 14:47:03 +00:00
Aaron Schulz
390eb15b79
Fix bogus var reference
2009-06-22 03:06:04 +00:00
Siebrand Mazeland
6f9d6cbcf9
Fix double escaping issues. Related to r51559 and friends.
2009-06-15 12:32:59 +00:00
Jure Kajzer
c3fafd96f7
Added bitwise operations to DatabaseBase and overloaded in DatabaseOracle.
2009-06-13 06:31:38 +00:00
Aaron Schulz
d151328e13
Follow up to r51465, replaced old index name reference (gave errors)
2009-06-09 01:38:55 +00:00
Siebrand Mazeland
7661bbeba5
Replace a few remaining uses of deprecated makeKnownLinkObj() by link[Known]() in core. Only uses in core remaining are in includes/Linker.php (all related to deprecated methods) and includes/parser/Parser.php.
...
Linking this to r51559 for CodeReview as there is some discussion there, and these changes are very similar.
2009-06-08 10:07:33 +00:00