Commit graph

13 commits

Author SHA1 Message Date
Lucas Werkmeister
8e9f529cdb Use singular they to refer to IP address
The previous “him/her” does not cover all pronouns people might use, and
is also at odds with how MediaWiki usually addresses users whose gender
is not known.

Change-Id: I468fbd25ab80f21eb591c349117774fe8ce2d9dc
2018-12-13 17:41:36 +01:00
Bartosz Dziewoński
bebe29662b Do not use real message names in 'All_system_messages' preprocessor test
This file seems to be a stress-test for the MediaWiki preprocessor.
It doesn't really matter whether the messages references here exist.
As messages are occasionally renamed or deleted, and since this file
was generated in 2011, people keep getting confused when they grep
for a message name and run into this list (and sometimes needlessly
spend their time updating this file, as seen in its Git history).

This commit replaces all of the message names with their SHA1 hash
truncated to 8 hex characters.

Regexps used for matching:
(?<=\?title=MediaWiki\:)([^&{}<>|\[\]]+)
(?<=int:)([^&{}<>|\[\]]+)
(?<=\[\[MediaWiki_talk:)([^&{}<>|\[\]]+)
(?<=action=edit )([^&{}<>|\[\]]+)

Change-Id: I52a71c0cc0e6fa21a61420d52df755066c6e9a08
2017-03-08 17:02:53 +01:00
mjbmr
04f93370bb Replace 'emailpage' with 'emailuser'
Bug: T109614
Change-Id: I345d0091b17ef61499dc7d8c170308fd8194dc00
2015-08-20 10:49:03 +00:00
Mark A. Hershberger
671adf39db Remove i18n references to Popularpages
bug: T100676
Change-Id: I66002cbfb6b210fa08b57782665450b59439d17f
2015-06-15 17:48:52 -04:00
withoutaname
081c3d428b Remove unused system messages "loginstart", "loginend" and "loginend-https"
Change-Id: Ib55492fb0e61f364bdc2a599d926e78ba98fe698
2014-09-05 02:07:38 +00:00
kaldari
e517e9be57 Removing all disambiguation code from core
Disambiguation related functions have been re-implemented in the
Disambiguator extension.

Bug: 35981
Change-Id: I4afa30bf2677c6541ef355013f8eaef46abfbe03
Dependency: I41637ea43a9e5000bcb8a782441ce36f1068881f
2013-09-05 14:07:51 -07:00
Dan Collins
9846e2558c (bug 27936) Improve parser handling of nested braces.
Parser tests also included, test case and original patch supplied by
Bergi on bugzilla. Tested against the current version.

Change-Id: Id7ec4e694783dd0f682f65f39d8b9e59f82e58aa
2013-02-06 03:39:07 +00:00
Aaron Schulz
23d5a27e2e Reverted r86072, r86419 per CR. Lots of conflicts resolved here. Removes lineStart from r87346 code as well for preprocess parser tests. 2011-09-12 19:16:22 +00:00
Platonides
cbceed01fa Follow up r87220. r86795 tests are now embedded into PreprocessorTest.php 2011-05-03 19:53:13 +00:00
Mark A. Hershberger
2e6a9b9cea * Add preprocessor tests that Bergi supplied for Bug #28642
* Add Bergi to CREDITS
2011-04-23 21:26:04 +00:00
Platonides
9f63d96785 Change tests to match preprocessor changes in r86072.
sed -i 's/<root><\(template\|tplarg\)>/<root><\1 lineStart=\\"1\\">/' phpunit/includes/parser/PreprocessorTest.php
sed -i 's/<root><\(template\|tplarg\)>/<root><\1 lineStart="1">/' parser/preprocess/*.expected
2011-04-19 18:39:37 +00:00
Platonides
8a6475bd70 Don't look for pipes in the root node. 2011-01-22 16:34:14 +00:00
Platonides
069765d4b6 Add full articles to preprocessor tests.
* QuoteQuran.txt is GFDL/CC-BY-SA, created by [[en:User:Striver]] at http://en.wikipedia.org/w/index.php?title=Template:QuoteQuran/sandbox&oldid=237348988
* Factorial.txt is GFDL + CC-BY-SA, created by [[en:User:Polonium]] at http://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 
* All_system_messages.txt was generated by MediaWiki, so already GPL. Copied from http://tl.wiktionary.org/w/index.php?title=Suleras:All_system_messages&oldid=2765

Added along their preprocessed xml.
2011-01-21 23:03:33 +00:00