On Wed, 2017-01-25 at 13:45 +0000, John wrote: > Does the page exist already?
No. The issue is to create a link to a page which does not exist. I can hard-code HTML link in my PHP script, but I wonder if there is a better way. > On Wed, Jan 25, 2017 at 8:23 AM Victor Porton <por...@narod.ru> > wrote: > > > How to create a broken ("edit", "red") link to a page? > > > > That is I want to generate a HTML code which displays a link, > > clicking > > which leads to the editor (for a page). The link should be red. > > > > What is the right way to do this? > > _______________________________________________ > > Wikitech-l mailing list > > Wikitech-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l