Skip to content

Commit

Permalink
use Anonymous Hyperlinks for wikipedia link
Browse files Browse the repository at this point in the history
  • Loading branch information
guokan-shang committed May 29, 2015
1 parent d266e1a commit fa36638
Show file tree
Hide file tree
Showing 30 changed files with 91 additions and 92 deletions.
6 changes: 3 additions & 3 deletions Behavioral/ChainOfResponsibilities/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Chain Of Responsibilities`_
============================
`Chain Of Responsibilities`__
=============================

Purpose:
--------
Expand Down Expand Up @@ -67,4 +67,4 @@ Tests/ChainTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/ChainOfResponsibilities
.. _`Chain Of Responsibilities`: http://en.wikipedia.org/wiki/Chain_of_responsibility_pattern
.. __: http://en.wikipedia.org/wiki/Chain_of_responsibility_pattern
6 changes: 3 additions & 3 deletions Behavioral/Command/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Command`_
==========
`Command`__
===========

Purpose
-------
Expand Down Expand Up @@ -74,4 +74,4 @@ Tests/CommandTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Command
.. _`Command`: http://en.wikipedia.org/wiki/Command_pattern
.. __: http://en.wikipedia.org/wiki/Command_pattern
6 changes: 3 additions & 3 deletions Behavioral/Iterator/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Iterator`_
===========
`Iterator`__
============

Purpose
-------
Expand Down Expand Up @@ -67,4 +67,4 @@ Tests/IteratorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Iterator
.. _`Iterator`: http://en.wikipedia.org/wiki/Iterator_pattern
.. __: http://en.wikipedia.org/wiki/Iterator_pattern
6 changes: 3 additions & 3 deletions Behavioral/Mediator/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Mediator`_
===========
`Mediator`__
============

Purpose
-------
Expand Down Expand Up @@ -70,4 +70,4 @@ Tests/MediatorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Mediator
.. _`Mediator`: http://en.wikipedia.org/wiki/Mediator_pattern
.. __: http://en.wikipedia.org/wiki/Mediator_pattern
6 changes: 3 additions & 3 deletions Behavioral/Memento/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Memento`_
==========
`Memento`__
===========

Purpose
-------
Expand Down Expand Up @@ -65,4 +65,4 @@ Tests/MementoTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Memento
.. _`Memento`: http://en.wikipedia.org/wiki/Memento_pattern
.. __: http://en.wikipedia.org/wiki/Memento_pattern
6 changes: 3 additions & 3 deletions Behavioral/NullObject/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Null Object`_
==============
`Null Object`__
===============

Purpose
-------
Expand Down Expand Up @@ -72,4 +72,4 @@ Tests/LoggerTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/NullObject
.. _`Null Object`: http://en.wikipedia.org/wiki/Null_Object_pattern
.. __: http://en.wikipedia.org/wiki/Null_Object_pattern
6 changes: 3 additions & 3 deletions Behavioral/Observer/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Observer`_
===========
`Observer`__
============

Purpose
-------
Expand Down Expand Up @@ -55,4 +55,4 @@ Tests/ObserverTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Observer
.. _`Observer`: http://en.wikipedia.org/wiki/Observer_pattern
.. __: http://en.wikipedia.org/wiki/Observer_pattern
6 changes: 3 additions & 3 deletions Behavioral/Specification/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Specification`_
================
`Specification`__
=================

Purpose
-------
Expand Down Expand Up @@ -78,4 +78,4 @@ Tests/SpecificationTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Specification
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
.. __: http://en.wikipedia.org/wiki/Specification_pattern
6 changes: 3 additions & 3 deletions Behavioral/State/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`State`_
========
`State`__
=========

Purpose
-------
Expand Down Expand Up @@ -54,4 +54,4 @@ Test
----

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/State
.. _`State`: http://en.wikipedia.org/wiki/State_pattern
.. __: http://en.wikipedia.org/wiki/State_pattern
6 changes: 3 additions & 3 deletions Behavioral/Strategy/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Strategy`_
===========
`Strategy`__
============

Terminology:
------------
Expand Down Expand Up @@ -68,4 +68,4 @@ Tests/StrategyTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Strategy
.. _`Strategy`: http://en.wikipedia.org/wiki/Strategy_pattern
.. __: http://en.wikipedia.org/wiki/Strategy_pattern
6 changes: 3 additions & 3 deletions Behavioral/TemplateMethod/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Template Method`_
==================
`Template Method`__
===================

Purpose
-------
Expand Down Expand Up @@ -61,4 +61,4 @@ Tests/JourneyTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/TemplateMethod
.. _`Template Method`: http://en.wikipedia.org/wiki/Template_method_pattern
.. __: http://en.wikipedia.org/wiki/Template_method_pattern
6 changes: 3 additions & 3 deletions Behavioral/Visitor/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Visitor`_
==========
`Visitor`__
===========

Purpose
-------
Expand Down Expand Up @@ -65,4 +65,4 @@ Tests/VisitorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Visitor
.. _`Visitor`: http://en.wikipedia.org/wiki/Visitor_pattern
.. __: http://en.wikipedia.org/wiki/Visitor_pattern
6 changes: 3 additions & 3 deletions Creational/AbstractFactory/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Abstract Factory`_
===================
`Abstract Factory`__
====================

Purpose
-------
Expand Down Expand Up @@ -91,4 +91,4 @@ Tests/AbstractFactoryTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/AbstractFactory
.. _`Abstract Factory`: http://en.wikipedia.org/wiki/Abstract_factory_pattern
.. __: http://en.wikipedia.org/wiki/Abstract_factory_pattern
6 changes: 3 additions & 3 deletions Creational/Builder/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Builder`_
==========
`Builder`__
===========

Purpose
-------
Expand Down Expand Up @@ -102,4 +102,4 @@ Tests/DirectorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Builder
.. _`Builder`: http://en.wikipedia.org/wiki/Builder_pattern
.. __: http://en.wikipedia.org/wiki/Builder_pattern
6 changes: 3 additions & 3 deletions Creational/FactoryMethod/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Factory Method`_
=================
`Factory Method`__
==================

Purpose
-------
Expand Down Expand Up @@ -80,4 +80,4 @@ Tests/FactoryMethodTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/FactoryMethod
.. _`Factory Method`: http://en.wikipedia.org/wiki/Factory_method_pattern
.. __: http://en.wikipedia.org/wiki/Factory_method_pattern
6 changes: 3 additions & 3 deletions Creational/Pool/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Pool`_
=======
`Pool`__
========

The **object pool pattern** is a software creational design pattern that
uses a set of initialized objects kept ready to use – a "pool" – rather
Expand Down Expand Up @@ -67,4 +67,4 @@ Tests/TestWorker.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Pool
.. _`Pool`: http://en.wikipedia.org/wiki/Object_pool_pattern
.. __: http://en.wikipedia.org/wiki/Object_pool_pattern
6 changes: 3 additions & 3 deletions Creational/Prototype/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Prototype`_
============
`Prototype`__
=============

Purpose
-------
Expand Down Expand Up @@ -53,4 +53,4 @@ Test
----

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Prototype
.. _`Prototype`: http://en.wikipedia.org/wiki/Prototype_pattern
.. __: http://en.wikipedia.org/wiki/Prototype_pattern
6 changes: 3 additions & 3 deletions Creational/Singleton/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Singleton`_
============
`Singleton`__
=============

**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND
MAINTAINABILITY USE DEPENDENCY INJECTION!**
Expand Down Expand Up @@ -47,4 +47,4 @@ Tests/SingletonTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Singleton
.. _`Singleton`: http://en.wikipedia.org/wiki/Singleton_pattern
.. __: http://en.wikipedia.org/wiki/Singleton_pattern
6 changes: 3 additions & 3 deletions More/Delegation/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Delegation`_
=============
`Delegation`__
==============

Purpose
-------
Expand Down Expand Up @@ -51,4 +51,4 @@ Tests/DelegationTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/More/Delegation
.. _`Delegation`: http://en.wikipedia.org/wiki/Delegation_pattern
.. __: http://en.wikipedia.org/wiki/Delegation_pattern
6 changes: 3 additions & 3 deletions More/ServiceLocator/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Service Locator`_
==================
`Service Locator`__
===================

Purpose
-------
Expand Down Expand Up @@ -81,4 +81,4 @@ Tests/ServiceLocatorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/More/ServiceLocator
.. _`Service Locator`: http://en.wikipedia.org/wiki/Service_locator_pattern
.. __: http://en.wikipedia.org/wiki/Service_locator_pattern
6 changes: 3 additions & 3 deletions Structural/Adapter/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Adapter / Wrapper`_
====================
`Adapter / Wrapper`__
=====================

Purpose
-------
Expand Down Expand Up @@ -68,4 +68,4 @@ Tests/AdapterTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Adapter
.. _`Adapter / Wrapper`: http://en.wikipedia.org/wiki/Adapter_pattern
.. __: http://en.wikipedia.org/wiki/Adapter_pattern
8 changes: 4 additions & 4 deletions Structural/Bridge/README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
`Bridge`_
=========
`Bridge`__
==========

Purpose
-------

Decouple an abstraction from its implementation so that the two can vary
independently. (http://en.wikipedia.org/wiki/Bridge\_pattern)
independently.

Sample:
^^^^^^^
Expand Down Expand Up @@ -71,4 +71,4 @@ Tests/BridgeTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Bridge
.. _`Bridge`: http://en.wikipedia.org/wiki/Bridge_pattern
.. __: http://en.wikipedia.org/wiki/Bridge_pattern
6 changes: 3 additions & 3 deletions Structural/Composite/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Composite`_
============
`Composite`__
=============

Purpose
-------
Expand Down Expand Up @@ -62,4 +62,4 @@ Tests/CompositeTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Composite
.. _`Composite`: http://en.wikipedia.org/wiki/Composite_pattern
.. __: http://en.wikipedia.org/wiki/Composite_pattern
6 changes: 3 additions & 3 deletions Structural/DataMapper/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Data Mapper`_
==============
`Data Mapper`__
===============

Purpose
-------
Expand Down Expand Up @@ -57,4 +57,4 @@ Tests/DataMapperTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/DataMapper
.. _`Data Mapper`: http://en.wikipedia.org/wiki/Data_mapper_pattern
.. __: http://en.wikipedia.org/wiki/Data_mapper_pattern
6 changes: 3 additions & 3 deletions Structural/Decorator/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Decorator`_
============
`Decorator`__
=============

Purpose
-------
Expand Down Expand Up @@ -65,4 +65,4 @@ Tests/DecoratorTest.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Decorator
.. _`Decorator`: http://en.wikipedia.org/wiki/Decorator_pattern
.. __: http://en.wikipedia.org/wiki/Decorator_pattern
6 changes: 3 additions & 3 deletions Structural/DependencyInjection/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Dependency Injection`_
=======================
`Dependency Injection`__
========================

Purpose
-------
Expand Down Expand Up @@ -85,4 +85,4 @@ Tests/config.php
:linenos:

.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/DependencyInjection
.. _`Dependency Injection`: http://en.wikipedia.org/wiki/Dependency_injection
.. __: http://en.wikipedia.org/wiki/Dependency_injection
Loading

0 comments on commit fa36638

Please sign in to comment.