import pywikibot, re
from pywikibot.data import api

modele = '{{Traduction/Référence|xxxx}}'
def api_query(params, lang='fr', wiki='wikipedia'):
    try:
        query = api.Request(site=pywikibot.Site(lang, wiki), parameters=params)
    except pywikibot.NoUsername:
        return ''

    datas = query.submit()
    return datas

def creation_log():
    params = {
        'action': 'query',
        'list': 'recentchanges',
        'rctype': 'new',
        'rctag': 'contenttranslation',
        'rcprop': 'title',
        'rclimit': '100',
    }
    all_done = False

    datas = api_query(params)
    data = datas['query']['recentchanges']
    for d in data:
        yield pywikibot.Page(pywikibot.Site('fr'), d['title'])
r = '({{|<) ?(reflist|références|references) ?((\|[^}]+)? ?}}|[^>]+\/? ?>)' https://regex101.com/r/bB3SrN/1

for page in creation_log():
    print(page.title() + ': ' + str(re.search(r, page.text, re.I|re.U)))
Hôtel Russell: <_sre.SRE_Match object; span=(3413, 3424), match='{{reflist}}'>
The Waldorf Hilton, Londres: None
Le Méridien Piccadilly Hotel: <_sre.SRE_Match object; span=(1232, 1243), match='{{Reflist}}'>
Mandarin Oriental Munich: <_sre.SRE_Match object; span=(3743, 3754), match='{{Reflist}}'>
The Charles Hotel: <_sre.SRE_Match object; span=(1223, 1234), match='{{Reflist}}'>
Mary O'Connell (1778-1836): None
Hôtel Vier Jahreszeiten (Munich): None
Olive Fremstad: <_sre.SRE_Match object; span=(6750, 6788), match='{{Références|groupe="N"|colonnes = 2}}'>
Valentin Molitor: <_sre.SRE_Match object; span=(1891, 1915), match='{{Références|taille=30}}'>
Ron Stallworth: <_sre.SRE_Match object; span=(8677, 8691), match='<references />'>
Utilisateur:Kalliase/New York State Route 319: None
Grande synagogue d'Alger: <_sre.SRE_Match object; span=(2819, 2833), match='<references />'>
Brigitte Varangot: None
Anthony Blaxland Stransham: <_sre.SRE_Match object; span=(2946, 2960), match='<references />'>
Olive Wharry: <_sre.SRE_Match object; span=(11037, 11048), match='{{reflist}}'>
Egoz (navire): <_sre.SRE_Match object; span=(1411, 1425), match='<references />'>
Fusillade du Thurston High School: <_sre.SRE_Match object; span=(17207, 17220), match='{{reflist|2}}'>
Arqana: None
Jonathan Wilson (acteur): <_sre.SRE_Match object; span=(2617, 2630), match='{{reflist|2}}'>
Adama Njie: <_sre.SRE_Match object; span=(6123, 6139), match='{{Reflist|30em}}'>
Défi Momo: <_sre.SRE_Match object; span=(7953, 7967), match='{{Références}}'>
Amelia Kyambadde: <_sre.SRE_Match object; span=(5012, 5026), match='{{Références}}'>
Yascha Mounk: <_sre.SRE_Match object; span=(4110, 4138), match='<references responsive="" />'>
Veritas (winkel): <_sre.SRE_Match object; span=(8624, 8638), match='{{Références}}'>
Museu do Holocausto de Curitiba: <_sre.SRE_Match object; span=(2485, 2499), match='<references />'>
Antonio Sánchez (batteur): <_sre.SRE_Match object; span=(7965, 7979), match='{{Références}}'>
Synagogue d'Alexandrie: <_sre.SRE_Match object; span=(2174, 2188), match='<references />'>
Conseiller de comté (Suède): None
Elise Eskilsdotter: <_sre.SRE_Match object; span=(3685, 3707), match='{{Références|taille=}}'>
Utilisateur:Hyldrean/Cardinal limite: None
Matilda Tone: <_sre.SRE_Match object; span=(7266, 7290), match='{{Références|taille=40}}'>
Portrait de famille (Rembrandt): None
L'Amour et Psyché (van Dyck): None
Portrait de Vincent Ier de Gonzague, duc de Mantoue: None
Conversation sacrée (Cima da Conegliano): None
William J. Rutter: <_sre.SRE_Match object; span=(2897, 2911), match='{{Références}}'>
Ordre de bataille unioniste de Richmond: <_sre.SRE_Match object; span=(3008, 3033), match='{{Références|group=note}}'>
Ordre de bataille confédéré de Richmond: <_sre.SRE_Match object; span=(4788, 4813), match='{{Références|group=note}}'>
Heinz Awards: <_sre.SRE_Match object; span=(29691, 29705), match='{{Références}}'>
Ramon Auladell Domènech: <_sre.SRE_Match object; span=(1831, 1845), match='{{Références}}'>
Emma Nevada: <_sre.SRE_Match object; span=(4597, 4635), match='{{Références|groupe="N"|colonnes = 2}}'>
Aklys: <_sre.SRE_Match object; span=(1806, 1817), match='{{reflist}}'>
Miquel Recio Martín: <_sre.SRE_Match object; span=(1926, 1940), match='{{Références}}'>
Galina Kouzmenko: <_sre.SRE_Match object; span=(4003, 4017), match='{{Références}}'>
Kris Hopkins: <_sre.SRE_Match object; span=(4604, 4623), match='{{Références|30em}}'>
Ben Wallace (homme politique): <_sre.SRE_Match object; span=(6159, 6173), match='{{Références}}'>
Michele Civetta: <_sre.SRE_Match object; span=(3628, 3642), match='{{Références}}'>
Jake Berry: <_sre.SRE_Match object; span=(5652, 5671), match='{{Références|30em}}'>
Rishi Sunak: <_sre.SRE_Match object; span=(2553, 2564), match='{{reflist}}'>
Heather Wheeler: <_sre.SRE_Match object; span=(6010, 6029), match='{{Références|30em}}'>
Kit Malthouse: <_sre.SRE_Match object; span=(5943, 5971), match='{{Références|colwidth=35em}}'>
Felice Minotti: <_sre.SRE_Match object; span=(1374, 1388), match='{{Références}}'>
Cape Town Holocaust Centre: <_sre.SRE_Match object; span=(1880, 1894), match='<references />'>
Brandon Lewis: <_sre.SRE_Match object; span=(3817, 3836), match='{{Références|30em}}'>
Johnny Moore's Three Blazers: <_sre.SRE_Match object; span=(13503, 13517), match='<references />'>
Christian Friedrich Boetius: <_sre.SRE_Match object; span=(2228, 2242), match='{{Références}}'>
Bernard Braine: None
Alan Williams (homme politique): <_sre.SRE_Match object; span=(5190, 5204), match='{{References}}'>
Galeria Kaufhof: <_sre.SRE_Match object; span=(1985, 1999), match='{{Références}}'>
Catherine R. Kinney: <_sre.SRE_Match object; span=(2234, 2248), match='{{Références}}'>
Anne-Marie Sigmund: <_sre.SRE_Match object; span=(3364, 3378), match='<references />'>
Cullen Andrews Battle: <_sre.SRE_Match object; span=(6363, 6377), match='{{Références}}'>
Chute d'eau (M. C. Escher): <_sre.SRE_Match object; span=(3674, 3685), match='{{reflist}}'>
Waterfall (M. C. Escher): None
Margarete Behm: <_sre.SRE_Match object; span=(5072, 5086), match='<references />'>
Mary Ann Costello: <_sre.SRE_Match object; span=(3892, 3916), match='{{Références|taille=40}}'>
Claudia Castrosín Verdú: <_sre.SRE_Match object; span=(11178, 11197), match='{{Références|30em}}'>
SX Superstar: <_sre.SRE_Match object; span=(3085, 3096), match='{{reflist}}'>
Hugo II, Whodunit?: <_sre.SRE_Match object; span=(1644, 1658), match='<references />'>
Concertos grossos Opus 6 (Haendel): <_sre.SRE_Match object; span=(4594, 4608), match='{{Références}}'>
Camp de concentration de Renicci di Anghiari: <_sre.SRE_Match object; span=(1857, 1871), match='{{Références}}'>
Evryware: <_sre.SRE_Match object; span=(2164, 2178), match='<references />'>
Treasure Truck: <_sre.SRE_Match object; span=(12825, 12839), match='{{Références}}'>
Amy Carmichael: <_sre.SRE_Match object; span=(15099, 15113), match='{{Références}}'>
Maroua Mathlouthi: <_sre.SRE_Match object; span=(4571, 4585), match='<references />'>
Dr. Nadia Hashimi: None
BlueFace: <_sre.SRE_Match object; span=(2298, 2312), match='{{Références}}'>
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/srv/paws/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    376             try:  # Python 2.7, use buffering of HTTP responses
--> 377                 httplib_response = conn.getresponse(buffering=True)
    378             except TypeError:  # Python 2.6 and older, Python 3

TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-17-70f8f9a1fc08> in <module>()
      2 
      3 for page in creation_log():
----> 4     print(page.title() + ': ' + str(re.search(r, page.text, re.I|re.U)))

/srv/paws/pwb/pywikibot/page.py in text(self)
    617         if not hasattr(self, '_text') or self._text is None:
    618             try:
--> 619                 self._text = self.get(get_redirect=True)
    620             except pywikibot.NoPage:
    621                 # TODO: what other exceptions might be returned?

/srv/paws/pwb/pywikibot/tools/__init__.py in wrapper(*__args, **__kw)
   1744                              cls, depth)
   1745                     del __kw[old_arg]
-> 1746             return obj(*__args, **__kw)
   1747 
   1748         if not __debug__:

/srv/paws/pwb/pywikibot/page.py in get(self, force, get_redirect, sysop)
    472             del self.latest_revision_id
    473         try:
--> 474             self._getInternals(sysop)
    475         except pywikibot.IsRedirectPage:
    476             if not get_redirect:

/srv/paws/pwb/pywikibot/page.py in _getInternals(self, sysop)
    502         if self._latest_cached_revision() is None:
    503             try:
--> 504                 self.site.loadrevisions(self, content=True, sysop=sysop)
    505             except (pywikibot.NoPage, pywikibot.SectionError) as e:
    506                 self._getexception = e

/srv/paws/pwb/pywikibot/tools/__init__.py in wrapper(*__args, **__kw)
   1744                              cls, depth)
   1745                     del __kw[old_arg]
-> 1746             return obj(*__args, **__kw)
   1747 
   1748         if not __debug__:

/srv/paws/pwb/pywikibot/site.py in loadrevisions(self, page, content, revids, startid, endid, starttime, endtime, rvdir, user, excludeuser, section, sysop, step, total, rollback)
   4121             rvgen.set_maximum_items(-1)  # suppress use of rvlimit parameter
   4122 
-> 4123         for pagedata in rvgen:
   4124             if not self.sametitle(pagedata['title'],
   4125                                   page.title(with_section=False)):

/srv/paws/pwb/pywikibot/data/api.py in __iter__(self)
   3095         """Yield results."""
   3096         self._previous_dicts = {}
-> 3097         for result in super(PropertyGenerator, self).__iter__():
   3098             yield result
   3099         for result in self._previous_dicts.values():

/srv/paws/pwb/pywikibot/data/api.py in __iter__(self)
   2919                 prev_limit, new_limit, previous_result_had_data)
   2920             if not hasattr(self, "data"):
-> 2921                 self.data = self.request.submit()
   2922             if not self.data or not isinstance(self.data, dict):
   2923                 pywikibot.debug(

/srv/paws/pwb/pywikibot/data/api.py in submit(self)
   2179                                                                    paramstring)
   2180             rawdata, use_get = self._http_request(use_get, uri, body, headers,
-> 2181                                                   paramstring)
   2182             if rawdata is None:
   2183                 continue

/srv/paws/pwb/pywikibot/data/api.py in _http_request(self, use_get, uri, body, headers, paramstring)
   1938                 site=self.site, uri=uri,
   1939                 method='GET' if use_get else 'POST',
-> 1940                 body=body, headers=headers)
   1941         except Server504Error:
   1942             pywikibot.log('Caught HTTP 504 error; retrying')

/srv/paws/pwb/pywikibot/tools/__init__.py in wrapper(*__args, **__kw)
   1744                              cls, depth)
   1745                     del __kw[old_arg]
-> 1746             return obj(*__args, **__kw)
   1747 
   1748         if not __debug__:

/srv/paws/pwb/pywikibot/comms/http.py in request(site, uri, method, params, body, headers, data, **kwargs)
    315 
    316     baseuri = site.base_url(uri)
--> 317     r = fetch(baseuri, method, params, body, headers, **kwargs)
    318     site.throttle.retry_after = int(r.response_headers.get('retry-after', 0))
    319     return r.text

/srv/paws/pwb/pywikibot/comms/http.py in fetch(uri, method, params, body, headers, default_error_handling, use_fake_user_agent, data, **kwargs)
    512             headers['user-agent'] = fake_user_agent()
    513 
--> 514     request = _enqueue(uri, method, params, body, headers, **kwargs)
    515     assert(request._data is not None)  # if there's no data in the answer we're in trouble
    516     # Run the error handling callback in the callers thread so exceptions

/srv/paws/pwb/pywikibot/comms/http.py in _enqueue(uri, method, params, body, headers, data, **kwargs)
    468     request = threadedhttp.HttpRequest(
    469         uri, method, params, body, all_headers, callbacks, **kwargs)
--> 470     _http_process(session, request)
    471     return request
    472 

/srv/paws/pwb/pywikibot/comms/http.py in _http_process(session, http_request)
    382                                    headers=headers, auth=auth, timeout=timeout,
    383                                    verify=not ignore_validation,
--> 384                                    **http_request.kwargs)
    385     except Exception as e:
    386         http_request.data = e

/srv/paws/lib/python3.6/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
    510         }
    511         send_kwargs.update(settings)
--> 512         resp = self.send(prep, **send_kwargs)
    513 
    514         return resp

/srv/paws/lib/python3.6/site-packages/requests/sessions.py in send(self, request, **kwargs)
    620 
    621         # Send the request
--> 622         r = adapter.send(request, **kwargs)
    623 
    624         # Total elapsed time of the request (approximately)

/srv/paws/lib/python3.6/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    443                     decode_content=False,
    444                     retries=self.max_retries,
--> 445                     timeout=timeout
    446                 )
    447 

/srv/paws/lib/python3.6/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
    598                                                   timeout=timeout_obj,
    599                                                   body=body, headers=headers,
--> 600                                                   chunked=chunked)
    601 
    602             # If we're going to release the connection in ``finally:``, then

/srv/paws/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
    378             except TypeError:  # Python 2.6 and older, Python 3
    379                 try:
--> 380                     httplib_response = conn.getresponse()
    381                 except Exception as e:
    382                     # Remove the TypeError from the exception chain in Python 3;

/usr/lib/python3.6/http/client.py in getresponse(self)
   1329         try:
   1330             try:
-> 1331                 response.begin()
   1332             except ConnectionError:
   1333                 self.close()

/usr/lib/python3.6/http/client.py in begin(self)
    295         # read until we get a non-100 response
    296         while True:
--> 297             version, status, reason = self._read_status()
    298             if status != CONTINUE:
    299                 break

/usr/lib/python3.6/http/client.py in _read_status(self)
    256 
    257     def _read_status(self):
--> 258         line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    259         if len(line) > _MAXLINE:
    260             raise LineTooLong("status line")

/usr/lib/python3.6/socket.py in readinto(self, b)
    584         while True:
    585             try:
--> 586                 return self._sock.recv_into(b)
    587             except timeout:
    588                 self._timeout_occurred = True

/usr/lib/python3.6/ssl.py in recv_into(self, buffer, nbytes, flags)
   1007                   "non-zero flags not allowed in calls to recv_into() on %s" %
   1008                   self.__class__)
-> 1009             return self.read(nbytes, buffer)
   1010         else:
   1011             return socket.recv_into(self, buffer, nbytes, flags)

/usr/lib/python3.6/ssl.py in read(self, len, buffer)
    869             raise ValueError("Read on closed or unwrapped SSL socket.")
    870         try:
--> 871             return self._sslobj.read(len, buffer)
    872         except SSLError as x:
    873             if x.args[0] == SSL_ERROR_EOF and self.suppress_ragged_eofs:

/usr/lib/python3.6/ssl.py in read(self, len, buffer)
    629         """
    630         if buffer is not None:
--> 631             v = self._sslobj.read(len, buffer)
    632         else:
    633             v = self._sslobj.read(len)

KeyboardInterrupt: