Aryeh Gregor
90ab0608e0
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
Chad Horohoe
8af4ead8f1
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
2010-05-27 15:56:53 +00:00
Chad Horohoe
9ce6f6560d
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
2010-05-26 22:25:32 +00:00
Raimond Spekking
d25551df5b
PLURAL needs wfMsgExt. Break long lines.
2010-03-19 12:36:01 +00:00
Yaron Koren
5c542ddfe4
Switched check to use wfEmptyMsg()
2010-03-18 13:24:26 +00:00
Yaron Koren
fdd41fd607
Removed middle "confirm" step if replacement text already exists in the wiki or is blank; made replacement look-and-feel closer to that of Special:Search in MW 1.16
2010-03-18 03:39:45 +00:00
Jeroen De Dauw
e6d87002d2
Stylized with Stylize.php to conform with MW's spacing conventions
2010-03-14 18:10:47 +00:00
Yaron Koren
40348e8383
Added fixes and better user reporting for category handling
2009-09-08 00:04:25 +00:00
Siebrand Mazeland
f5119d91e7
Follow-up on r55030 and r55031:
...
* move colons to messages instead of hard coded in the special page
* tweak messages
2009-08-14 18:50:41 +00:00
Yaron Koren
1d5acb0d7f
Added inputs for filtering by category and prefix
2009-08-14 17:28:25 +00:00
Yaron Koren
bf1fb51930
Fix for 'move pages' always getting set to true if there's an intermediate confirmation page; removed seemingly no-longer-necessary (?) escaping of slashes and single quotes in search string
2009-07-20 18:49:29 +00:00
Yaron Koren
2ebfcd4392
Fixed overcounting by one on number of pages
2009-07-16 19:54:10 +00:00
Yaron Koren
eb8b6dddd1
Fix for search strings for page titles containing spaces
2009-06-26 02:54:43 +00:00
Yaron Koren
447cb74f0c
Fixed incorrect capitalization of search string for page moves
2009-06-16 15:13:47 +00:00
Yaron Koren
131185985e
Fixed major bug in which textareas weren't getting displayed in IE
2009-05-27 04:59:00 +00:00
Yaron Koren
8eaac4c3f3
Version 0.6.2: 'replacetext_note' message removed
2009-05-26 14:01:32 +00:00
Siebrand Mazeland
7ba8e72dbc
Change deprecated userCanMove() to userCan( 'move', true ). No more occurences in core or extensions.
2009-05-24 08:52:19 +00:00
Yaron Koren
f75ad18ee6
Fixed handling of namespaces, including propagating them if user needs to
...
confirm a choice
2009-05-21 13:27:58 +00:00
Yaron Koren
fa07fe5832
Added sorting of result, better formatting of strings in user messages (both from Capmo)
2009-05-19 16:55:59 +00:00
Yaron Koren
1fc2f93ac0
Added namespace selector to page, fixed bad-page-ID bug
2009-05-19 15:19:15 +00:00
Yaron Koren
29a45d5382
Changed call to link() back to makeKnownLinkObj(), for compatibility with older MW versions; Capmo's fixes for strings that contain wiki text and handling of single apostrophes
2009-05-08 20:02:06 +00:00
Yaron Koren
968060a239
Fixed appearance of results page; unchecked 'watch moved pages' default; fixed handling of backslashes
2009-05-05 20:09:54 +00:00
Yaron Koren
03427575e4
Fixed moving pages when target string contains spaces
2009-04-30 22:23:59 +00:00
Yaron Koren
ceea77fd9e
Inputs for strings now textarea, to allow multi-line values; various bug fixes
...
and improvements
2009-04-30 18:55:08 +00:00
Yaron Koren
966d12d389
Fixed handling of replacement-confirm form; more general improvements
2009-04-27 20:55:00 +00:00
Yaron Koren
c25089af66
Replacement of text within pages now specified using a checkbox; 'watch moved
...
pages' option added; some wrapWikiMsg() calls replaced, since that function has
the unfortunate side effect (at least in some versions of MediaWiki) of calling
the parser prematurely
2009-04-27 18:48:27 +00:00
Siebrand Mazeland
889a5cb12e
stylize.php and trailing whitespace removed
2009-04-27 09:02:48 +00:00
Niklas Laxström
241d79f472
* Cleanup, may still contain some bugs due to it
2009-04-27 08:52:10 +00:00
Yaron Koren
843f12dbd7
Replaced escaping of quotes with complete HTML-escaping
2009-04-07 19:02:23 +00:00
Raimond Spekking
f117451af2
* Replace hardcoded '...' as indication of a truncation with the 'ellipsis' message
...
Per Brion's suggestion in http://lists.wikimedia.org/pipermail/wikitech-l/2008-December/040796.html
2009-02-13 19:13:48 +00:00
Yaron Koren
d3aa8c8a25
Added checkbox for setting whether page moves should result in a redirect
2009-01-22 23:40:30 +00:00
Yaron Koren
5e365e441a
Added same 'return to form' link to 'no replacements found' message
2009-01-18 16:46:12 +00:00
Yaron Koren
1486b66548
Added link back to form
2009-01-18 16:38:22 +00:00
Yaron Koren
f35862cebf
Fixed bug introduced in version 3.1
2009-01-18 16:22:10 +00:00
Yaron Koren
16f7be9bb5
Some code improvements per Aaron Schulz's code review
2009-01-08 05:48:04 +00:00
Siebrand Mazeland
7349f93023
* i18n updates: support plurals where needed
...
* avoid notice on special page
* $wgSpecialPageGroups for special page
* update wording for 'replacetext_blankwarning' and 'replacetext_cancel'
* note a FIXME in mediawiki.org code review
* bump version
2008-12-29 18:29:23 +00:00
Yaron Koren
b1753b0e0d
Added handling of changing titles of (i.e., moving) pages
2008-11-05 20:37:50 +00:00
Chad Horohoe
63f9a3066e
A whole bunch of formatting cleanup.
2008-10-13 12:34:00 +00:00
Yaron Koren
165f5f9a8f
Fixed SQL string escaping
2008-10-01 19:59:10 +00:00
Yaron Koren
f6090046cb
Improved access control
2008-09-18 16:29:10 +00:00
Yaron Koren
f6cc2df072
Fixed handling of backslashes; "invert selections" link is only shown if there
...
are more than five pages
2008-09-02 17:34:40 +00:00
Yaron Koren
a0c7d95f4f
Another bug fix
2008-08-07 19:08:34 +00:00
Yaron Koren
43c8c811c7
Added title as a hidden field in the various forms
2008-08-06 17:11:07 +00:00
Yaron Koren
90a7eec154
New class for handling 'ReplaceText' special page; contains most of the
...
extension's functionality
2008-08-06 16:09:35 +00:00